Project

General

Profile

Actions

Bug #13129

closed

Intermittent failures in native MS test_records_should_have_options tests

Added by Dominic Cleal over 8 years ago. Updated almost 6 years ago.

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

Description

Intermittent test failures on Ruby 1.8.7 from the following two native MS DHCP tests:

undefined method `[]' for nil:NilClass (NoMethodError)
/var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/modules/dhcp_native_ms/dhcp_native_ms_main.rb:148:in `loadRecordOptions'
/var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/test/dhcp_ms_native/server_ms_test.rb:188:in `test_records_should_have_options'
undefined method `[]' for nil:NilClass (NoMethodError)
/var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/modules/dhcp_native_ms/dhcp_native_ms_main.rb:148:in `loadRecordOptions'
/var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/test/dhcp_ms_native/server_ms_test.rb:196:in `test_records_should_have_options_and_values'

It appears that @subnet_service.all_leases("172.29.205.0").first is likely returning nil.


Related issues 3 (0 open3 closed)

Related to Smart Proxy - Bug #4148: Unable to delete DHCP reservations on MS DCHP serversResolved01/21/2014Actions
Related to Smart Proxy - Bug #5481: Foreman Proxy unable to remove DHCP reservation: "IP / mac - is static - unable to delete"Resolved04/28/2014Actions
Related to Smart Proxy - Bug #2320: Foreman Proxy on Windows: Vendor Class not found ErrorDuplicate03/14/2013Actions
Actions #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/smart-proxy/pull/362 added
Actions #2

Updated by Anonymous about 8 years ago

  • Related to Bug #4148: Unable to delete DHCP reservations on MS DCHP servers added
Actions #3

Updated by Anonymous about 8 years ago

  • Related to Bug #5481: Foreman Proxy unable to remove DHCP reservation: "IP / mac - is static - unable to delete" added
Actions #4

Updated by Dominic Cleal about 8 years ago

  • Category changed from Tests to DHCP
  • translation missing: en.field_release set to 123
Actions #5

Updated by Anonymous about 8 years ago

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

Updated by Anonymous about 8 years ago

  • Related to Bug #2320: Foreman Proxy on Windows: Vendor Class not found Error added
Actions

Also available in: Atom PDF