Fixes #38117 - Refresh smart proxy sync history when proxy is updated #1854
Annotations
5 errors and 1 warning
Run rake test:katello:
katello/test/controllers/api/v2/capsule_content_controller_test.rb#L69
Failure: test_remove_lifecycle_environment
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
Run rake test:katello:
katello/test/models/concerns/smart_proxy_extensions_test.rb#L488
Failure: test_update_content_view_counts
unexpected invocation: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule()
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 once: #<AnyInstance:SmartProxy(id: integer, name: string, url: string, created_at: datetime, updated_at: datetime, pubkey: text, expired_logs: string, puppet_path: text, download_policy: string, http_proxy_id: integer, content_counts: jsonb)>.associate_features(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b04c0>.backend_service(#<SmartProxy:0x8b0a10>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b0538>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b0538>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule(nil, #<Katello::ContentView:0x8b0a38>)
|
Run rake test:katello:
katello/test/models/concerns/smart_proxy_extensions_test.rb#L488
Failure: test_update_global_content_counts
unexpected invocation: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule()
unsatisfied expectations:
- expected exactly once, invoked twice: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule(any_parameters)
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 once: #<AnyInstance:SmartProxy(id: integer, name: string, url: string, created_at: datetime, updated_at: datetime, pubkey: text, expired_logs: string, puppet_path: text, download_policy: string, http_proxy_id: integer, content_counts: jsonb)>.associate_features(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b0ec0>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Yum:0x8b0ee8>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Yum:0x8b0ee8>.count_by_pulpcore_type(Katello::Pulp3::Srpm)
- expected exactly once, invoked once: #<Katello::Repository:0x8b10f0>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::File:0x8b1168>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b1258>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::AnsibleCollection:0x8b12d0>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b1460>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b14d8>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b14d8>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<Katello::Repository:0x8b1618>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b1690>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b1690>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<Katello::Repository:0x8b1780>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Generic:0x8b17f8>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b18e8>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Apt:0x8b1960>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b1a50>.backend_service(#<SmartProxy:0x8b2ba8>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Generic:0x8b1ac8>.latest_content_counts(any_parameters)
|
Run rake test:katello:
katello/test/models/concerns/smart_proxy_extensions_test.rb#L488
Failure: test_update_environment_content_counts
unexpected invocation: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule()
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 once: #<AnyInstance:SmartProxy(id: integer, name: string, url: string, created_at: datetime, updated_at: datetime, pubkey: text, expired_logs: string, puppet_path: text, download_policy: string, http_proxy_id: integer, content_counts: jsonb)>.associate_features(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x8b2e28>.backend_service(#<SmartProxy:0x8b3378>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b2ea0>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x8b2ea0>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule(#<Katello::KTEnvironment:0x8b33a0>, nil)
|
Run rake test:katello
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading