Allow ENV variables for urls #1682
ruby_tests.yml
on: pull_request
Rubocop
/
Rubocop
46s
Matrix: Ruby
Annotations
21 errors and 8 warnings
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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.
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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".
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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.\"}
+}
+"
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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.
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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 4cc852bf-8362-4c37-b7f9-9c79b6b227de: 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>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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 9f70c723-a0d4-49c2-a209-ffcad483d0f9: 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>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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)
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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 13945684-c334-4663-ab14-6e75a76e2cd2: 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>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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 4035dde6-af0d-44ef-a629-3d978eb98b6f: 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 `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:57:in `block in <class:RemoveInsightsHostJobTest>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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 e302a998-b7f1-4996-89ed-32044de19984: 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 `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:21:in `block in <class:RemoveInsightsHostJobTest>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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)
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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 88ea1263-ecfa-4b3a-b513-c5eed351a00a: 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 `sync_task'
foreman_rh_cloud/test/jobs/remove_insights_hosts_job_test.rb:76:in `block in <class:RemoveInsightsHostJobTest>'
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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.
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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".
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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.\"}
+}
+"
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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.
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
Ruby (develop) / Test suite
Process completed with exit code 1.
|
Rubocop / Rubocop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / Setup matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / db:seed - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / db:seed - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / plugin:assets:precompile[foreman_rh_cloud] RAILS_ENV=production DATABASE_URL=nulldb://nohost - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / plugin:assets:precompile[foreman_rh_cloud] RAILS_ENV=production DATABASE_URL=nulldb://nohost - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
Expired
|
5.62 KB |
sha256:1d9abd0d2adce3c405511648f8741df9a448465b22080bc8f9040d0c32940d2e
|
|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
5.62 KB |
sha256:1d9abd0d2adce3c405511648f8741df9a448465b22080bc8f9040d0c32940d2e
|
|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.lock
Expired
|
5.62 KB |
sha256:aad482b578e8df00011dc6ba08efb4f29fa5463e3c2b2abd12d924e8f194ee81
|
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
Expired
|
5.64 KB |
sha256:07bf65f6e9b7d6a31b5a2954d013ead1a856db24d4889e885974e9cc342b18d4
|
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
5.64 KB |
sha256:07bf65f6e9b7d6a31b5a2954d013ead1a856db24d4889e885974e9cc342b18d4
|
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.lock
Expired
|
5.64 KB |
sha256:b53570f1ccac3037c52800122bf9d50e0e31614d256e7c2428888f3c2e69a57f
|
|
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
Expired
|
2.81 KB |
sha256:2bcdc9206adab7911ab3414e431295f51ee80ad2447dd8a78322930b2df03bc5
|
|
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.js
Expired
|
8.1 KB |
sha256:de438b2de1944c5b5f8bf033056cace950b92c6ea11debbd5d19e8491049262c
|
|
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.js
Expired
|
8.1 KB |
sha256:bf1e9d8113811b21df8af2da85452f37b1f7306b19d0a6a250ec3d947530da34
|
|
logs-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud
Expired
|
71.5 KB |
sha256:1ab353028e6067a4e0e5729b749e2d235914404b9114b802b2d528414ab5e01d
|
|
logs-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud
Expired
|
69.8 KB |
sha256:162a79b08199b3ce013579f28b4e74bb748174c957353cb428459e44449b3344
|
|
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
440 KB |
sha256:a599bfdad51f7565e89f84846b9d32dc2a90389c0e6a5d51df126ff65de6fe9c
|
|
package-lock-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.json
Expired
|
440 KB |
sha256:937f590df45be71f111aa11cd129f4949bf3c28e3e91bb27924465978d2184ed
|
|
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
440 KB |
sha256:937f590df45be71f111aa11cd129f4949bf3c28e3e91bb27924465978d2184ed
|
|
package-lock-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.json
Expired
|
440 KB |
sha256:2d125e7071c704a28067665cac1575a91b5743283ccc56429381bcf83ef66cc9
|
|