Skip to content

Fixes #37983 - Remove syspurpose addons from Katello #1481

Fixes #37983 - Remove syspurpose addons from Katello

Fixes #37983 - Remove syspurpose addons from Katello #1481

Triggered via pull request October 30, 2024 15:58
Status Failure
Total duration 25m 36s
Artifacts 29

ruby.yml

on: pull_request
Matrix: angular
Ruby  /  Setup matrix
4s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby  /  Test suite
1s
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

41 errors
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L469
Failure: test_registration NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605ab0b5c28> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/app/services/katello/registration_manager.rb:182:in `register_host' katello/test/services/katello/registration_manager_test.rb:219:in `test_registration' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L375
Failure: test_registration_existing_host_dead_backend_service not all expectations were satisfied unsatisfied expectations: - expected exactly twice, invoked never: #<AnyInstance:Host::Managed(id: integer, name: string, last_compile: datetime, last_report: datetime, updated_at: datetime, created_at: datetime, root_pass: text, architecture_id: integer, operatingsystem_id: integer, ptable_id: integer, medium_id: integer, build: boolean, comment: text, disk: text, installed_at: datetime, model_id: integer, hostgroup_id: integer, owner_id: integer, owner_type: string, enabled: boolean, puppet_ca_proxy_id: integer, managed: boolean, use_image: boolean, image_file: string, uuid: string, compute_resource_id: integer, puppet_proxy_id: integer, certname: string, image_id: integer, organization_id: integer, location_id: integer, type: string, otp: string, realm_id: integer, compute_profile_id: integer, provision_method: string, grub_pass: string, global_status: integer, lookup_value_matcher: string, pxe_loader: string, initiated_at: datetime, build_errors: text, creator_id: integer)>.update_candlepin_associations(any_parameters) - expected exactly twice, invoked never: Katello::RegistrationManager.remove_host_artifacts(any_parameters) - expected exactly once, invoked never: Katello::Resources::Candlepin::Consumer.destroy(any_parameters) - expected exactly once, invoked never: Katello::Resources::Candlepin::Consumer.create(["5"], {:name => "foobar.example.com", :facts => {"network.hostname" => "foo.example.com"}, :type => "system"}, [], #<Organization:0x5f0a0>) satisfied expectations: - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Katello::Pulp3::Repository>.test_remote_name(any_parameters) - allowed any number of times, invoked never: Katello::Ping.ping(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_key(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_cert(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ca_cert(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanAnsible::StructuredFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Katello::RhsmFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanChef::FactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanSalt::FactImporter>.ensure_no_active_transaction(any_parameters) - expected never, invoked never: #<Katello::Host::ContentFacet:0x5ed58>.destroy(any_parameters) - expected never, invoked never: #<Host::Managed:0x5ed08>.destroy(any_parameters) - expected never, invoked never: Katello::RegistrationManager.remove_partially_registered_new_host(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Organization(id: integer, name: string, type: string, created_at: datetime, updated_at: datetime, ignore_types: text, description: text, label: string, ancestry: string, title: string, manifest_refreshed_at: datetime, created_in_katello: boolean)>.simple_content_access?(any_parameters)
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L469
Failure: test_unregister_host_resets_content_source NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605af6d2558> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/host/managed.rb:762:in `refresh_global_status!' app/models/host/managed.rb:771:in `refresh_statuses' katello/app/models/katello/host/content_facet.rb:249:in `calculate_and_import_applicability' katello/app/services/katello/registration_manager.rb:328:in `remove_host_artifacts' katello/app/services/katello/registration_manager.rb:146:in `unregister_host' katello/test/services/katello/registration_manager_test.rb:320:in `test_unregister_host_resets_content_source' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L469
Failure: test_registration_existing_host NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605aa7f8040> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/app/services/katello/registration_manager.rb:160:in `register_host' katello/test/services/katello/registration_manager_test.rb:279:in `test_registration_existing_host' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L469
Failure: test_registration_activation_key NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605ae041488> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/app/services/katello/registration_manager.rb:182:in `register_host' katello/test/services/katello/registration_manager_test.rb:239:in `test_registration_activation_key' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L363
Failure: test_registration_dead_candlepin not all expectations were satisfied unsatisfied expectations: - expected exactly once, invoked never: Host.find(any_parameters) - expected exactly once, invoked never: #<Host::Managed:0x6a388>.destroy(any_parameters) - expected exactly once, invoked never: Katello::Resources::Candlepin::Consumer.create(["5"], {:name => "foobar.example.com", :facts => {"network.hostname" => "foo.example.com"}, :type => "system", :uuid => "954edcfe-6c4b-441a-aa58-b5a274ed3bc2"}, [], #<Organization:0x6a3b0>) satisfied expectations: - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Katello::Pulp3::Repository>.test_remote_name(any_parameters) - allowed any number of times, invoked never: Katello::Ping.ping(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_key(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_cert(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ca_cert(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:PuppetFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanAnsible::StructuredFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Katello::RhsmFactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanChef::FactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:ForemanSalt::FactImporter>.ensure_no_active_transaction(any_parameters) - allowed any number of times, invoked never: #<Organization:0x6a3b0>.simple_content_access?(any_parameters)
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/models/concerns/host_managed_extensions_test.rb#L24
Failure: test_update_organization [Katello::Errors::HostRegisteredException] exception expected, not Class: <NoMethodError> Message: <"undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605a4bcce38>\nDid you mean? purpose_usage_changed?"> ---Backtrace--- katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/app/models/katello/concerns/host_managed_extensions.rb:38:in `update' katello/test/models/concerns/host_managed_extensions_test.rb:25:in `block in test_update_organization' katello/test/models/concerns/host_managed_extensions_test.rb:24:in `test_update_organization' ---------------
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/host_collections_controller_test.rb#L469
Failure: test_remove_hosts_existing NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605aacd4de8> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/test/controllers/api/v2/host_collections_controller_test.rb:13:in `models' katello/test/controllers/api/v2/host_collections_controller_test.rb:22:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/host_collections_controller_test.rb#L469
Failure: test_show NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x00005605abab78e8> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/test/controllers/api/v2/host_collections_controller_test.rb:13:in `models' katello/test/controllers/api/v2/host_collections_controller_test.rb:22:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_hosts_dry_run NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd28303000> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_use_name NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd2dc69c48> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_saves_invalid_host NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd3025e1d8> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_skips_unify_if_registered NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd30ed0308> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_all NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd319e45f0> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_two NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd287c54f8> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_use_name_uppercase NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd2e1978a0> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_two_compute_resource NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd30367b10> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_all_no_mac_match NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd30f289b8> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/lib/tasks/unify_hosts_test.rb#L469
Failure: test_unify_two_managed NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet:0x000055bd31b05060> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' katello/test/lib/tasks/unify_hosts_test.rb:30:in `setup_two_hosts' katello/test/lib/tasks/unify_hosts_test.rb:20:in `setup'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/rhsm/candlepin_proxies_controller_test.rb#L212
Failure: test_0002_should allow update facts for admin Expected response to be a <200: OK>, but was a <500: Internal Server Error>. Expected: 200 Actual: 500
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/models/erratum_test.rb#L469
Failure: test_returns_installable_errata_for_host_with_hostgroup NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980190962, host_id: 980190962, uuid: "uuid-1", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: "2024-10-30 16:05:28.505720000 +0000", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: nil, convert2rhel_through_foreman: nil> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/test/models/erratum_test.rb:221:in `test_returns_installable_errata_for_host_with_hostgroup'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/actions/candlepin/activation_key_test.rb#L29
Failure: test_0001_runs unexpected invocation: Katello::Resources::Candlepin::ActivationKey.update("foo", 1, "Premium", true, "test role", "test usage") unsatisfied expectations: - expected exactly once, invoked never: Katello::Resources::Candlepin::ActivationKey.update("foo", 1, "Premium", true, "test role", "test usage", ["test1"]) satisfied expectations: - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Katello::Pulp3::Repository>.test_remote_name(any_parameters) - allowed any number of times, invoked once: Katello::Ping.ping(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_key(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ssl_client_cert(any_parameters) - allowed any number of times, invoked never: Cert::Certs.ca_cert(any_parameters)
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/services/katello/registration_manager_test.rb#L469
Failure: test_re_register_build_mode NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980190989, host_id: 980190995, uuid: "uuid-32-327", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: "2024-10-30 16:05:28.505720000 +0000", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: "existing_system_uuid", convert2rhel_through_foreman: nil> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/app/models/katello/concerns/host_managed_extensions.rb:38:in `update' katello/test/services/katello/registration_manager_test.rb:107:in `test_re_register_build_mode'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/host_module_streams_controller_test.rb#L56
Failure: test_view_permissions NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980190962, host_id: 980190962, uuid: "uuid-1", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: "2024-10-30 16:05:28.505720000 +0000", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: nil, convert2rhel_through_foreman: nil> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/test/controllers/api/v2/host_module_streams_controller_test.rb:60:in `block (2 levels) in test_view_permissions' test/active_support_test_case_helper.rb:91:in `as_user' test/active_support_test_case_helper.rb:97:in `as_admin' katello/test/controllers/api/v2/host_module_streams_controller_test.rb:58:in `block in test_view_permissions' katello/test/support/controller_support.rb:21:in `block in check_permission' katello/test/support/controller_support.rb:10:in `each' katello/test/support/controller_support.rb:10:in `check_permission' katello/test/support/controller_support.rb:70:in `assert_authorized' katello/test/support/controller_support.rb:41:in `assert_protected_action' katello/test/controllers/api/v2/host_module_streams_controller_test.rb:56:in `test_view_permissions'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/models/concerns/host_managed_extensions_test.rb#L24
Failure: test_update_organization [Katello::Errors::HostRegisteredException] exception expected, not Class: <NoMethodError> Message: <"undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980191001, host_id: 980191021, uuid: \"uuid-44-316\", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: \"2024-10-30 16:05:28.505720000 +0000\", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: nil, convert2rhel_through_foreman: nil>\nDid you mean? purpose_usage_changed?"> ---Backtrace--- katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/app/models/katello/concerns/host_managed_extensions.rb:38:in `update' katello/test/models/concerns/host_managed_extensions_test.rb:25:in `block in test_update_organization' katello/test/models/concerns/host_managed_extensions_test.rb:24:in `test_update_organization' ---------------
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/rhsm/candlepin_proxies_controller_test.rb#L469
Failure: test_0001_can update the rhel lifecycle status NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980191003, host_id: 980191034, uuid: "uuid-46-439", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: "2024-10-30 16:05:28.505720000 +0000", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: nil, convert2rhel_through_foreman: nil> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/app/models/katello/concerns/subscription_facet_host_extensions.rb:40:in `block (2 levels) in <module:SubscriptionFacetHostExtensions>' app/models/concerns/orchestration.rb:44:in `around_save_orchestration' app/models/concerns/foreman/sti.rb:20:in `save' katello/app/models/katello/concerns/host_managed_extensions.rb:38:in `update' katello/test/controllers/api/rhsm/candlepin_proxies_controller_test.rb:457:in `block (3 levels) in <module:Katello>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/models/concerns/host_managed_extensions_test.rb#L469
Failure: test_backend_update_needed? NoMethodError: undefined method `purpose_addon_ids_changed?' for #<Katello::Host::SubscriptionFacet id: 980191011, host_id: 980191060, uuid: "uuid-54-413", last_checkin: nil, service_level: nil, release_version: nil, autoheal: false, registered_at: "2024-10-30 16:05:28.505720000 +0000", registered_through: nil, user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: nil, purpose_role: nil, dmi_uuid: nil, convert2rhel_through_foreman: nil> Did you mean? purpose_usage_changed? katello/app/models/katello/host/subscription_facet.rb:278:in `block in backend_update_needed?' katello/app/models/katello/host/subscription_facet.rb:277:in `each' katello/app/models/katello/host/subscription_facet.rb:277:in `backend_update_needed?' katello/test/models/concerns/host_managed_extensions_test.rb:225:in `test_backend_update_needed?'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/actions/katello/host/update_system_purpose_test.rb#L37
Failure: test_unset_value_with_empty_string_array ArgumentError: wrong number of arguments (given 5, expected 4) katello/app/lib/actions/katello/host/update_system_purpose.rb:5:in `plan' katello/test/actions/katello/host/update_system_purpose_test.rb:51:in `test_unset_value_with_empty_string_array'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/actions/katello/host/update_system_purpose_test.rb#L37
Failure: test_dont_clear_host_values_on_nil_params ArgumentError: wrong number of arguments (given 5, expected 4) katello/app/lib/actions/katello/host/update_system_purpose.rb:5:in `plan' katello/test/actions/katello/host/update_system_purpose_test.rb:37:in `test_dont_clear_host_values_on_nil_params'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L199
Failure: test_set_content_view_environments_with_invalid_content_view_environs_param Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000190938\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000190938\u003e"]}. Expected: 422 Actual: 500
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L175
Failure: test_set_content_view_environments_with_valid_ids_param Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000191950\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000191950\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L187
Failure: test_set_content_view_environments_with_invalid_ids_param Expected response to be a <422: unprocessable_entity>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000192968\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000192968\u003e"]}. Expected: 422 Actual: 500
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L161
Failure: test_set_content_view_environments_with_valid_content_view_environs_param Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000195a28\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000195a28\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L267
Failure: test_create_with_unpermitted_attributes Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000196180\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x00000000196180\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L94
Failure: test_host_contents_environments_param Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001973a0\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001973a0\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L134
Failure: test_host_update_with_env_only Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001983b8\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001983b8\u003e"]}. Expected: 422 Actual: 500
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L117
Failure: test_host_contents_cve_ids_param Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x0000000019c170\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x0000000019c170\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L68
Failure: test_content_facet_attributes_assigned_as_cve Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x0000000019ec18\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x0000000019ec18\u003e"]}
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/hosts_controller_test.rb#L235
Failure: test_update_subscription_facet Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001a2700\u003e","errors":["undefined method `purpose_addon_params' for #\u003cApi::V2::HostsController:0x000000001a2700\u003e"]}
Ruby / Test suite
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-develop-dbseed.lock
5.44 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.44 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testkatello.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testkatello.lock
5.44 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock
5.45 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.45 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testkatello.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testkatello.lock
5.45 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
2.66 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-develop-testkatello.js
8.08 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testkatello.js
8.08 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-develop-testkatello.js
8.08 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testkatello.js
8.08 KB
logs-ruby-27-node-14-pg-13-foreman-develop-testkatello Expired
3.69 MB
logs-ruby-27-node-18-pg-13-foreman-develop-testkatello Expired
3.67 MB
logs-ruby-30-node-14-pg-13-foreman-develop-testkatello Expired
3.71 MB
logs-ruby-30-node-18-pg-13-foreman-develop-testkatello Expired
3.68 MB
package-lock-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
303 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-testkatello.json
303 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
319 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-testkatello.json
319 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
303 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-testkatello.json
303 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
319 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-testkatello.json
319 KB