Fixes #38055 - Fix future-dated subscriptions #1748
Annotations
7 errors and 1 warning
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc"}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x492a28>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x492a28>.to_str(any_parameters)
|
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools_quantities_only_true
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [], included_fields: ["id", "quantity"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc"}, extra_params: [], included_fields: ["id", "quantity"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x492cf8>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x492cf8>.to_str(any_parameters)
|
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools_quantities_only_false
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc"}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x493180>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x493180>.to_str(any_parameters)
|
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools_attachable
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:consumer => :foo_id, :sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:consumer => :foo_id, :sort_by => "Product.name", :order => "asc"}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x4936a8>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x4936a8>.to_str(any_parameters)
- expected exactly once, invoked once: Katello::Resources::Candlepin::UpstreamPool.upstream_consumer_id(any_parameters)
|
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools_total_with_header
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc"}, extra_params: [], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x493b30>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x493b30>.to_str(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x493b58>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x493b58>.to_str(any_parameters)
|
Run rake test:katello:
katello/test/models/upstream_pool_test.rb#L10
Failure: test_fetch_pools_with_pool_ids
unexpected invocation: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc", :add_future => true}, extra_params: [[:poolid, "id"]], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
unsatisfied expectations:
- expected exactly once, invoked never: Katello::UpstreamPool.request_params(base_params: {:sort_by => "Product.name", :order => "asc"}, extra_params: [[:poolid, "id"]], included_fields: ["id", "activeSubscription", "quantity", "startDate", "endDate", "contractNumber", "consumed", "productName", "productId", "subscriptionId"])
- expected exactly once, invoked never: Katello::Resources::Candlepin::UpstreamPool.get(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 never: #<Mock:0x494030>.headers(any_parameters)
- allowed any number of times, invoked never: #<Mock:0x494030>.to_str(any_parameters)
- expected exactly once, invoked once: Katello::Candlepin::PoolService.local_to_upstream_ids(any_parameters)
|
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