Actions
Bug #27499
closedFix discovery tests after bond import core change
Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Yes
Description
Couple of:
Error Message unexpected invocation: Subnet(id: integer, network: string, mask: string, priority: integer, name: text, vlanid: integer, created_at: datetime, updated_at: datetime, dhcp_id: integer, tftp_id: integer, gateway: string, dns_primary: string, dns_secondary: string, from: string, to: string, dns_id: integer, boot_mode: string, ipam: string, type: string, description: text, mtu: integer, template_id: integer, httpboot_id: integer, discovery_id: integer).subnet_for("10.35.27.2")... Stacktrace unexpected invocation: Subnet(id: integer, network: string, mask: string, priority: integer, name: text, vlanid: integer, created_at: datetime, updated_at: datetime, dhcp_id: integer, tftp_id: integer, gateway: string, dns_primary: string, dns_secondary: string, from: string, to: string, dns_id: integer, boot_mode: string, ipam: string, type: string, description: text, mtu: integer, template_id: integer, httpboot_id: integer, discovery_id: integer).subnet_for("10.35.27.2") unsatisfied expectations: - expected exactly once, not yet invoked: Subnet(id: integer, network: string, mask: string, priority: integer, name: text, vlanid: integer, created_at: datetime, updated_at: datetime, dhcp_id: integer, tftp_id: integer, gateway: string, dns_primary: string, dns_secondary: string, from: string, to: string, dns_id: integer, boot_mode: string, ipam: string, type: string, description: text, mtu: integer, template_id: integer, httpboot_id: integer, discovery_id: integer).subnet_for("10.35.27.3") satisfied expectations: - allowed any number of times, invoked 61 times: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, not yet invoked: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) (Minitest::Assertion) /home/jenkins/workspace/foreman_discovery-pull-request/database/postgresql/label/fast/ruby/2.3/plugin/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb:27
Updated by Lukas Zapletal over 5 years ago
- Related to Bug #26727: Bond interfaces as primary nic create invalid records added
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/486 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases Discovery Plugin 16.0 added
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|4a8ff4edd113acded608c2596e6e5dfa6d988315.
Actions