Bug #15791
Intermittent DHCPServerMicrosoftTest failures on ruby 1.8.7
Description
Due to non-deterministic order of hash key iteration when assigning values to dhcp options.
Related issues
Associated revisions
History
#1
Updated by Dmitri Dolguikh over 4 years ago
- Related to Bug #13575: Don't fail due to missing PXEClient DHCP opt on 2008R2 added
#2
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/442 added
#3
Updated by Dominic Cleal over 4 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'
#4
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset bce15a5de363f6ba41476e4b66ae4d680d50bfe9.
#5
Updated by Dominic Cleal over 4 years ago
- Legacy Backlogs Release (now unused) set to 175
#6
Updated by Greg Sutcliffe over 2 years ago
- Target version deleted (
1.12.2)
Fixes #15791 - no more intermittent test failures in ms dhcp test