Skip to content

Support IPv6 in LldpNeighbors #105

Support IPv6 in LldpNeighbors

Support IPv6 in LldpNeighbors #105

Triggered via pull request January 21, 2025 12:49
Status Failure
Total duration 11m 15s
Artifacts 15

ruby.yml

on: pull_request
rubocop  /  Rubocop
23s
rubocop / Rubocop
Ruby  /  Setup matrix
4s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby  /  Test suite
2s
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 10 warnings
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0041_provision_interface isn't touched with no peer on the same VLAN Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:458:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0044_former provision_interface is cleanup up after switching to bond0 Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:482:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0043_provision_interface is not switched to bond0 if disabled Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:474:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0042_provision_interface is switched to bond0 with more than one interface on the same VLAN Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:466:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0006_#list_by_pvid pairs interfaces by PVID NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:46:in `bond_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:28:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0003_#get_neighbors_by_interface gives a valid pair for LLDP facts with matching PVID NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:46:in `bond_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:13:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0007_#list_by_pvid supports multiple PVIDs NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:32:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0002_#get_neighbors_by_interface gives nothing with unmatching PVID in LLDP facts NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:9:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0005_#list_by_pvid gives an empty Hash without LLDP facts NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:24:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0041_provision_interface isn't touched with no peer on the same VLAN Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:458:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0043_provision_interface is not switched to bond0 if disabled Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:474:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0042_provision_interface is switched to bond0 with more than one interface on the same VLAN Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:466:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/host_discovered_test.rb#L56
Failure: test_0044_former provision_interface is cleanup up after switching to bond0 Foreman::Exception: ERF42-4717 [Foreman::Exception]: Invalid facts, must be a Hash foreman_discovery/app/models/host/discovered.rb:56:in `import_host' foreman_discovery/test/test_helper_discovery.rb:158:in `block in discover_host_from_facts' app/models/concerns/foreman/thread_session.rb:108:in `as' app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' foreman_discovery/test/test_helper_discovery.rb:157:in `discover_host_from_facts' foreman_discovery/test/unit/host_discovered_test.rb:482:in `block in <class:HostDiscoveredTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0003_#get_neighbors_by_interface gives a valid pair for LLDP facts with matching PVID NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:46:in `bond_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:13:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0007_#list_by_pvid supports multiple PVIDs NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:32:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0005_#list_by_pvid gives an empty Hash without LLDP facts NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:24:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0006_#list_by_pvid pairs interfaces by PVID NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:46:in `bond_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:28:in `block in <class:LldpNeighborsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_discovery/test/unit/lldp_neighbors_test.rb#L87
Failure: test_0002_#get_neighbors_by_interface gives nothing with unmatching PVID in LLDP facts NoMethodError: undefined method `keys' for nil:NilClass foreman_discovery/app/services/foreman_discovery/lldp_neighbors.rb:87:in `from_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:50:in `neighbors' foreman_discovery/test/unit/lldp_neighbors_test.rb:42:in `lldp_facts' foreman_discovery/test/unit/lldp_neighbors_test.rb:9:in `block in <class:LldpNeighborsTest>'
Ruby / Test suite
Process completed with exit code 1.
rubocop / Rubocop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby / Setup matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby / db:seed - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby / Existing database - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby / Existing database - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby / db:seed - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
4.73 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
4.73 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforemandiscovery.lock
4.73 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
4.74 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
4.74 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforemandiscovery.lock
4.74 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
915 Bytes
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testforemandiscovery.js
8.1 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testforemandiscovery.js
8.1 KB
logs-ruby-27-node-18-pg-13-foreman-develop-testforemandiscovery Expired
155 KB
logs-ruby-30-node-18-pg-13-foreman-develop-testforemandiscovery Expired
154 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
428 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-testforemandiscovery.json
428 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
428 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-testforemandiscovery.json
428 KB