Project

General

Profile

Actions

Bug #25867

closed

Repository controller transient test failures

Added by Justin Sherrill about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
Response body: {"displayMessage":"Fatal Error: See logs for details or contact system administrator","errors":["stack level too deep"]} (Minitest::Assertion)
/var/lib/workspace/workspace/katello-pr-test/test/controllers/api/v2/repositories_controller_test.rb:58

Caused by:

2019-01-11T21:26:25 [E|app|] SystemStackError: stack level too deep
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:171:in `dup'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:171:in `block in as_json'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:171:in `each'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:171:in `map'

SNIP

 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:56:in `as_json'
 | /var/lib/workspace/workspace/katello-pr-test/app/services/katello/repository_type.rb:33:in `as_json'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:152:in `map'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:152:in `as_json'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/json/encoding.rb:35:in `encode'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/json/encoding.rb:22:in `encode'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/object/json.rb:41:in `to_json'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/actionpack-5.2.1/lib/action_controller/metal/renderers.rb:157:in `block in <module:Renderers>'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/actionpack-5.2.1/lib/action_controller/metal/renderers.rb:150:in `block in _render_to_body_with_renderer'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activesupport-5.2.1/lib/active_support/core_ext/benchmark.rb:14:in `ms'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:31:in `cleanup_view_runtime'
 | /usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-4335/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:45:in `render'
 | /var/lib/workspace/workspace/katello-pr-test/app/controllers/katello/api/v2/repositories_controller.rb:231:in `repository_types'

Actions #1

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7926 added
Actions #2

Updated by Andrew Kofink about 6 years ago

  • Target version set to Katello 3.12.0
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Jonathon Turel about 6 years ago

  • Target version changed from Katello 3.12.0 to Katello 3.11.0
Actions

Also available in: Atom PDF