Project

General

Profile

Bug #15791

Intermittent DHCPServerMicrosoftTest failures on ruby 1.8.7

Added by Dmitri Dolguikh over 4 years ago. Updated over 2 years ago.

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

Description

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


Related issues

Related to Smart Proxy - Bug #13575: Don't fail due to missing PXEClient DHCP opt on 2008R2Closed2016-02-05

Associated revisions

Revision bce15a5d (diff)
Added by Dmitri Dolguikh over 4 years ago

Fixes #15791 - no more intermittent test failures in ms dhcp test

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

#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)

Also available in: Atom PDF