Project

General

Profile

Actions

Bug #15791

closed

Intermittent DHCPServerMicrosoftTest failures on ruby 1.8.7

Added by Anonymous over 7 years ago. Updated over 5 years ago.

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

Description

Due to non-deterministic order of hash key iteration when assigning values to dhcp options.


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #13575: Don't fail due to missing PXEClient DHCP opt on 2008R2ClosedGuido Günther02/05/2016Actions
Actions #1

Updated by Anonymous over 7 years ago

  • Related to Bug #13575: Don't fail due to missing PXEClient DHCP opt on 2008R2 added
Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/442 added
Actions #3

Updated by Dominic Cleal over 7 years ago

DHCPServerMicrosoftTest.test_should_raise_on_option_error
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: 1.2.3.4.execute('scope 192.168.166.0 set reservedoptionvalue 192.168.166.11 60 String \'\'', nil, true)
satisfied expectations:
- expected exactly once, invoked once: 1.2.3.4.execute('scope 192.168.166.0 set reservedoptionvalue 192.168.166.11 12 String \'test.example.com\'', nil, true)
- expected exactly once, invoked once: 1.2.3.4.execute('scope 192.168.166.0 add reservedip 192.168.166.11 0011bbccddee test.example.com', 'Added DHCP reservation for test.example.com (192.168.166.11 / 00:11:bb:cc:dd:ee)')
- allowed any number of times, not yet invoked: 1.2.3.4.execute(regexp_matches(/\Ascope 192.168.216.0 Show ReservedOptionValue 192.168.216.25/), regexp_matches(/\AQueried .+ options/))
- allowed any number of times, not yet invoked: 1.2.3.4.execute('scope 192.168.205.0 Show OptionValue', 'Queried 192.168.205.0 options')
- allowed any number of times, not yet invoked: 1.2.3.4.execute('scope 192.168.216.0 show client 1', 'Enumerated hosts on 192.168.216.0')
- allowed any number of times, invoked once: 1.2.3.4.execute('show scope', 'Enumerated the scopes on 1.2.3.4')
 (Test::Unit::AssertionFailedError)
/var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/3.6.0/ruby/1.8.7/test/dhcp_ms_native/server_ms_test.rb:262:in `test_should_raise_on_option_error'    
Actions #4

Updated by Anonymous over 7 years ago

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

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 175
Actions #6

Updated by Greg Sutcliffe over 5 years ago

  • Target version deleted (1.12.2)
Actions

Also available in: Atom PDF