Project

General

Profile

Actions

Bug #10684

closed

ComputeOrchestrationTest::only physical interfaces are matched test failures

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

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

Description

Since #10664 was merged, test_develop is failing with:

  1) Failure:
test_0001_matching fog attributes only for physical interfaces(ComputeOrchestrationTest::only physical interfaces are matched) [/var/lib/workspace/workspace/test_develop/database/postgresql/ruby/1.9.3/app/models/concerns/orchestration/compute.rb:295]:
unexpected invocation: #<Mock:vm>.select_nic([], #<Nic::Base:0xd10f4c0>)
unsatisfied expectations:
- expected exactly once, invoked twice: #<Mock:vm>.select_nic(any_parameters)
satisfied expectations:
- allowed any number of times, not yet invoked: #<Foreman::Model::Libvirt:0xccf8d50>.provided_attributes(any_parameters)
- expected never, not yet invoked: #<Mock:vm>.select_nic([], #<Nic::Base:0xd1ec820>)
- allowed any number of times, invoked once: #<Mock:vm>.interfaces(any_parameters)
- allowed any number of times, invoked once: #<Host::Managed:0xd162f08>.validate_foreman_attr(any_parameters)

  2) Failure:
test_0002_adding only physical interfaces(ComputeOrchestrationTest::only physical interfaces are matched) [/var/lib/workspace/workspace/test_develop/database/postgresql/ruby/1.9.3/test/unit/orchestration/compute_test.rb:40]:
<1> expected but was
<2>.

http://ci.theforeman.org/job/test_develop/1328/


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #10664: Virtual interfaces does not work with compute resourcesClosedMarek Hulán06/01/2015Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #10664: Virtual interfaces does not work with compute resources added
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2424 added
  • Pull request deleted ()
Actions #3

Updated by Marek Hulán over 9 years ago

  • Assignee set to Marek Hulán
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 35
Actions #5

Updated by Marek Hulán over 9 years ago

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

Also available in: Atom PDF