Allow ENV variables for urls #1669
Annotations
10 errors and 1 warning
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb#L56
Failure: test_0001_Deletes host records on cloud success
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 79debe4c-ec53-491d-a4aa-d469b1deffaf: NoMethodError: undefined method `with_insights_on_premise?' for ForemanRhCloud:Module
foreman-tasks (10.0.2) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:21:in `block in <class:RemoveInsightsHostJobTest>'
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb#L56
Failure: test_0003_Paginates the hosts list
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 86863e40-479c-4ab8-a331-b11befdc0451: NoMethodError: undefined method `with_insights_on_premise?' for ForemanRhCloud:Module
foreman-tasks (10.0.2) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:57:in `block in <class:RemoveInsightsHostJobTest>'
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb#L56
Failure: test_0004_Uses scoped_search to select hosts
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 7174dbeb-ed48-41a3-ad24-bd90d7a3e85e: NoMethodError: undefined method `with_insights_on_premise?' for ForemanRhCloud:Module
foreman-tasks (10.0.2) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (10.0.2) lib/foreman_tasks.rb:55:in `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:76:in `block in <class:RemoveInsightsHostJobTest>'
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb#L28
Failure: test_0002_Does not delete hosts on cloud failure
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:ForemanInventoryUpload::Async::RemoveInsightsHostsJob>.execute_cloud_request(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: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)>.manifest_expired?(any_parameters)
- allowed any number of times, invoked never: #<Mock:response>.body(any_parameters)
- allowed any number of times, invoked never: #<Mock:response>.code(any_parameters)
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb#L103
Failure: test_0007_should forward errors to the client
Expected: "Cloud request failed"
Actual: nil
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb#L46
Failure: test_0002_should respond with the same content type
--- expected
+++ actual
@@ -1 +1,4 @@
-"Cloud response body"
+"{
+ \"error\": {\"message\":\"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs.\"}
+}
+"
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/unit/services/foreman_rh_cloud/cloud_status_service_test.rb#L32
Failure: test_0001_generates ping response for each org
Expected false to be truthy.
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/unit/services/foreman_rh_cloud/cloud_status_service_test.rb#L55
Failure: test_0002_generates ping error response for org
Expected /TEST RESPONSE ORG 0/ to match # encoding: US-ASCII
# valid: true
"undefined method `with_insights_on_premise?' for ForemanRhCloud:Module".
|
Run rake test:foreman_rh_cloud:
foreman_rh_cloud/test/controllers/inventory_upload/cloud_status_controller_test.rb#L35
Failure: test_0001_return ping status hash for each organization
Expected false to be truthy.
|
Run rake test:foreman_rh_cloud
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