Skip to content

Add Global params for host obfuscation and migrate off settings #1614

Add Global params for host obfuscation and migrate off settings

Add Global params for host obfuscation and migrate off settings #1614

Triggered via pull request November 8, 2024 20:55
Status Failure
Total duration 10m 26s
Artifacts 29

ruby_tests.yml

on: pull_request
Rubocop  /  Rubocop
49s
Rubocop / Rubocop
Matrix: Ruby
Fit to window
Zoom out
Zoom in

Annotations

34 errors
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L204
Failure: test_0006_generates obfuscated ip_address fields without inisghts-client Expected: "10.230.230.1" Actual: "0.0.0.1"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L276
Failure: test_0009_obfuscates fqdn when setting set --- expected +++ actual @@ -1,3 +1 @@ -# encoding: US-ASCII -# valid: true -"87fc39162c32756b31b658238f5433fe408076f5.example.com" +"host41"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb#L192
Failure: test_0001_It executes cloud presence announcer KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:32:in `generate_job_invocation' foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:17:in `block in <class:CloudConnectorAnnounceTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb#L192
Failure: test_0003_Starts cloud connector configuration job KeyError: Factory not registered: "job_invocation" foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb:39:in `block in <class:InventoryControllerTest>'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/controllers/insights_cloud/api/cloud_request_controller_test.rb#L63
Failure: test_0002_Starts playbook run for correct directive unexpected invocation: JobInvocationComposer.for_feature(:rh_cloud_connector_run_playbook, [100, 99], {:playbook_url => "https://cloud.redhat.com/api/v1/remediations/1234/playbook", :organization_id => 447626489, :report_url => "https://cloud.redhat.com/api/v1/ingres/upload", :report_interval => 30, :correlation_id => "6684b9dd-0d16-42c1-b13a-9f45be59e3b6"}) unsatisfied expectations: - expected exactly once, invoked never: #<Mock:composer>.job_invocation(any_parameters) - expected exactly once, invoked never: #<Mock:composer>.trigger!(any_parameters) - expected exactly once, invoked never: JobInvocationComposer.for_feature() 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)
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0002_It reports single progress message for done host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0003_It reports two progress messages for in progress host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0001_It reports finish playbook messages KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb#L192
Failure: test_0003_Starts cloud connector configuration job KeyError: Factory not registered: "job_invocation" foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb:39:in `block in <class:InventoryControllerTest>'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0003_It reports two progress messages for in progress host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0001_It reports finish playbook messages KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0002_It reports single progress message for done host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb#L192
Failure: test_0001_It executes cloud presence announcer KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:32:in `generate_job_invocation' foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:17:in `block in <class:CloudConnectorAnnounceTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L276
Failure: test_0009_obfuscates fqdn when setting set --- expected +++ actual @@ -1,3 +1 @@ -# encoding: US-ASCII -# valid: true -"e0a301c49093561a1d717964691ac166e6a7000f.example.com" +"host77"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L204
Failure: test_0006_generates obfuscated ip_address fields without inisghts-client Expected: "10.230.230.1" Actual: "0.0.0.6"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb#L192
Failure: test_0001_It executes cloud presence announcer KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:32:in `generate_job_invocation' foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:17:in `block in <class:CloudConnectorAnnounceTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0002_It reports single progress message for done host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0001_It reports finish playbook messages KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0003_It reports two progress messages for in progress host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
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/api/inventory_controller_test.rb#L192
Failure: test_0003_Starts cloud connector configuration job KeyError: Factory not registered: "job_invocation" foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb:39:in `block in <class:InventoryControllerTest>'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L276
Failure: test_0009_obfuscates fqdn when setting set --- expected +++ actual @@ -1,3 +1 @@ -# encoding: US-ASCII -# valid: true -"27cb053c63dea50c9eb81f5b6e2cefdede55b6ba.example.com" +"host104"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L204
Failure: test_0006_generates obfuscated ip_address fields without inisghts-client Expected: "10.230.230.1" Actual: "0.0.0.4"
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/api/inventory_controller_test.rb#L192
Failure: test_0003_Starts cloud connector configuration job KeyError: Factory not registered: "job_invocation" foreman_rh_cloud/test/controllers/inventory_upload/api/inventory_controller_test.rb:39:in `block in <class:InventoryControllerTest>'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0002_It reports single progress message for done host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0001_It reports finish playbook messages KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb#L192
Failure: test_0003_It reports two progress messages for in progress host KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:189:in `generate_job_invocation' foreman_rh_cloud/test/jobs/connector_playbook_execution_reporter_task_test.rb:25:in `block in <class:ConnectorPlaybookExecutionReporterTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb#L192
Failure: test_0001_It executes cloud presence announcer KeyError: Factory not registered: "job_template" Did you mean? "templates" foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:32:in `generate_job_invocation' foreman_rh_cloud/test/jobs/cloud_connector_announce_task_test.rb:17:in `block in <class:CloudConnectorAnnounceTaskTest>' test/test_helper.rb:88:in `before_setup'
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L204
Failure: test_0006_generates obfuscated ip_address fields without inisghts-client Expected: "10.230.230.1" Actual: "0.0.0.1"
Ruby (develop) / test:foreman_rh_cloud - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_rh_cloud/test/unit/slice_generator_test.rb#L276
Failure: test_0009_obfuscates fqdn when setting set --- expected +++ actual @@ -1,3 +1 @@ -# encoding: US-ASCII -# valid: true -"9a0e0f15b8f80bc2e80796aa93c04519cffcdcbb.example.com" +"host85"
Ruby (develop) / Test suite
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-develop-dbseed.lock
5.57 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
5.57 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testforemanrhcloud.lock
5.57 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
5.57 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
5.57 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.lock
5.57 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock
5.58 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
5.58 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testforemanrhcloud.lock
5.58 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
5.58 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.lock
5.58 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.lock
5.58 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
2.77 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-develop-testforemanrhcloud.js
8.08 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.js
8.08 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-develop-testforemanrhcloud.js
8.08 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.js
8.08 KB
logs-ruby-27-node-14-pg-13-foreman-develop-testforemanrhcloud Expired
62.4 KB
logs-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud Expired
61.8 KB
logs-ruby-30-node-14-pg-13-foreman-develop-testforemanrhcloud Expired
61.5 KB
logs-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud Expired
61.8 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
416 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-testforemanrhcloud.json
416 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
435 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-testforemanrhcloud.json
435 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
416 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-testforemanrhcloud.json
416 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemanrhcloudRAILSENVproductionDATABASEURLnulldbnohost.json
435 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-testforemanrhcloud.json
435 KB