Fixes #38117 - Refresh smart proxy sync history when proxy is updated #1865
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_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:0x7dc1e8>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Yum:0x7dc210>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Yum:0x7dc210>.count_by_pulpcore_type(Katello::Pulp3::Srpm)
- expected exactly once, invoked once: #<Katello::Repository:0x7dc418>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::File:0x7dc490>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x7dc580>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::AnsibleCollection:0x7dc5f8>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x7dc788>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7dc800>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7dc800>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<Katello::Repository:0x7dc940>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7dc9b8>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7dc9b8>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<Katello::Repository:0x7dcaa8>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Generic:0x7dcb20>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x7dcc10>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Apt:0x7dcc88>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Repository:0x7dcd78>.backend_service(#<SmartProxy:0x7de038>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Generic:0x7dcdf0>.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:0x7de8a8>.backend_service(#<SmartProxy:0x7dee20>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7de920>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7de920>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule(#<Katello::KTEnvironment:0x7dee48>, nil)
|
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:0x7df820>.backend_service(#<SmartProxy:0x7dfd70>)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7df898>.latest_content_counts(any_parameters)
- expected exactly once, invoked once: #<Katello::Pulp3::Repository::Docker:0x7df898>.count_by_pulpcore_type(Katello::Pulp3::DockerManifestList)
- expected exactly once, invoked once: #<AnyInstance:Katello::SmartProxyHelper>.repositories_available_to_capsule(nil, #<Katello::ContentView:0x7dfd98>)
|
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