Project

General

Profile

Actions

Bug #14414

closed

Intermittent test failure: undefined method `debug' for #<Logging::Logger:...>

Added by Dominic Cleal about 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The following error was thrown in an integration test:

HostJSTest::edit page.test_0003_correctly override global params (from HostJSTest__edit page)
NoMethodError: undefined method `debug' for #<Logging::Logger:0x00000004f30fd0>
    app/models/concerns/foreman/thread_session.rb:54:in `current='
    app/controllers/concerns/foreman/controller/authentication.rb:10:in `authenticate'
    app/controllers/concerns/foreman/controller/authentication.rb:46:in `require_login'
    app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
    lib/middleware/catch_json_parse_errors.rb:9:in `call' (NoMethodError)
/var/lib/workspace/workspace/test_develop/database/postgresql/ruby/2.0.0/slave/fast/app/models/concerns/foreman/thread_session.rb:54

The timings indicate this is probably at the end of the test.

HostJSTest::edit page#test_0001_class parameters and overrides are displayed correctly for strings = 5.15 s = .
HostJSTest::edit page#test_0002_can override puppetclass lookup values = 2.49 s = .
HostJSTest::edit page#test_0003_correctly override global params = 2.69 s = E
HostJSTest::create new host page#test_0001_default primary interface is in the overview table = 2.92 s = .
HostJSTest::create new host page#test_0002_choosing a hostgroup overrides other host attributes = 3.95 s = .
Actions

Also available in: Atom PDF