Project

General

Profile

Actions

Bug #10234

closed

Host/NicTest test failures

Added by Dominic Cleal almost 9 years ago. Updated almost 6 years ago.

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

Description

Since #9391 was merged, two tests are failing on develop:

http://ci.theforeman.org/job/test_develop/1252/#showFailuresLink

HostTest::location or organizations are not enabled.test_0013_should import from external nodes output

<"2.3.4.12"> expected but was
<"3.3.4.12">. (test_0013_should import from external nodes output)
/var/lib/workspace/workspace/test_develop/database/mysql/ruby/1.9.3/test/unit/host_test.rb:632    
NicTest.test_0017_Alias subnet can only use static boot mode if it's managed

undefined method `organization' for nil:NilClass (NoMethodError)
/var/lib/workspace/workspace/test_develop/database/mysql/ruby/1.9.3/app/models/nic/base.rb:233:in `validate_host_taxonomy'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:649:in `_run__3611290445695528397__validate__4520985510384080569__callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activemodel-3.2.21/lib/active_model/validations.rb:228:in `run_validations!'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activemodel-3.2.21/lib/active_model/validations/callbacks.rb:53:in `block in run_validations!'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:458:in `_run__3611290445695528397__validation__4520985510384080569__callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activemodel-3.2.21/lib/active_model/validations/callbacks.rb:53:in `run_validations!'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activemodel-3.2.21/lib/active_model/validations.rb:195:in `valid?'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_develop-3/gems/activerecord-3.2.21/lib/active_record/validations.rb:69:in `valid?'
/var/lib/workspace/workspace/test_develop/database/mysql/ruby/1.9.3/app/models/concerns/orchestration.rb:48:in `valid?'
/var/lib/workspace/workspace/test_develop/database/mysql/ruby/1.9.3/test/unit/nic_test.rb:150:in `block in <class:NicTest>'

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #9391: subnet without organization/location and host using the subnet in org/loc => unable to set org/loc on the subnetClosedShimon Shtein02/15/2015Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Related to Bug #9391: subnet without organization/location and host using the subnet in org/loc => unable to set org/loc on the subnet added
Actions #2

Updated by Dominic Cleal almost 9 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/2316 added
  • Pull request deleted ()
Actions #3

Updated by Daniel Lobato Garcia almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF