Skip to content

Fixes #37587 - Reuse API parameter handling from base #1170

Fixes #37587 - Reuse API parameter handling from base

Fixes #37587 - Reuse API parameter handling from base #1170

Triggered via pull request August 30, 2024 18:21
Status Failure
Total duration 1h 2m 10s
Artifacts 28

ruby.yml

on: pull_request
Matrix: angular
Ruby  /  Setup matrix
7s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby  /  Test suite
4s
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_invalid_column NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x00000000189a20> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:127:in `test_scoped_search_invalid_column'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_not_supported_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x00000000189b10> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:158:in `test_scoped_search_not_supported_error'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_statement_invalid_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x0000000018a628> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:173:in `test_scoped_search_statement_invalid_error'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_not_supported_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x0000000092e2a8> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:158:in `test_scoped_search_not_supported_error'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_invalid_column NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x0000000092e488> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:127:in `test_scoped_search_invalid_column'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_statement_invalid_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x0000000092e578> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:173:in `test_scoped_search_statement_invalid_error'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_statement_invalid_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x000000001b2830> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:173:in `test_scoped_search_statement_invalid_error'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_invalid_column NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x000000001b2a60> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:127:in `test_scoped_search_invalid_column'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: katello/test/controllers/api/v2/api_controller_test.rb#L119
Failure: test_scoped_search_not_supported_error NameError: undefined local variable or method `page' for #<Katello::Api::V2::ApiController:0x000000001b2b50> katello/app/controllers/katello/api/v2/api_controller.rb:119:in `rescue in scoped_search' katello/app/controllers/katello/api/v2/api_controller.rb:54:in `scoped_search' katello/test/controllers/api/v2/api_controller_test.rb:158:in `test_scoped_search_not_supported_error'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 60 minutes.
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb#L56
Failure: test_yum_refresh RuntimeError: Neutered Exception ForemanTasks::TaskError: Task a0db991a-d7ae-4a27-ba90-383ad4f67e64: VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: POST https://fv-az692-64/pulp/api/v3/acs/rpm/rpm/ VCR is currently using the following cassette: - /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/actions/pulp3/alternate_content_source_refresh/yum_refresh.yml - :record => :none - :match_requests_on => [:method, :path, :params, :body_json] Under the current configuration VCR can not find a suitable HTTP interaction to replay and is prevented from recording new requests. There are a few ways you can deal with this: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * You can use the :new_episodes record mode to allow VCR to record this new request to the existing cassette [2]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [3]. * The current record mode (:none) does not allow requests to be recorded. You can temporarily change the record mode to :once, delete the cassette file and re-run your tests to allow the cassette to be recorded with this request [4]. * The cassette contains 30 HTTP interactions that have not been played back. If your request is non-deterministic, you may need to change your :match_requests_on cassette option to be more lenient or use a custom request matcher to allow it to match [5]. [1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging [2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes [3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request [4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none [5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching ================================================================================ foreman-tasks (9.2.3) lib/foreman_tasks.rb:56:in `block in sync_task' foreman-tasks (9.2.3) lib/foreman_tasks.rb:55:in `tap' foreman-tasks (9.2.3) lib/foreman_tasks.rb:55:in `sync_task' katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb:55:in `test_yum_refresh' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb#L56
Failure: test_yum_refresh_updates_remote RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 5f85cbb4-1578-4375-89d0-62eafebe14d5: VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: POST https://fv-az692-64/pulp/api/v3/acs/rpm/rpm/ VCR is currently using the following cassette: - /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/actions/pulp3/alternate_content_source_refresh/yum_refresh_updates_remote.yml - :record => :none - :match_requests_on => [:method, :path, :params, :body_json] Under the current configuration VCR can not find a suitable HTTP interaction to replay and is prevented from recording new requests. There are a few ways you can deal with this: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * You can use the :new_episodes record mode to allow VCR to record this new request to the existing cassette [2]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [3]. * The current record mode (:none) does not allow requests to be recorded. You can temporarily change the record mode to :once, delete the cassette file and re-run your tests to allow the cassette to be recorded with this request [4]. * The cassette contains 32 HTTP interactions that have not been played back. If your request is non-deterministic, you may need to change your :match_requests_on cassette option to be more lenient or use a custom request matcher to allow it to match [5]. [1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging [2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes [3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request [4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none [5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching ================================================================================ foreman-tasks (9.2.3) lib/foreman_tasks.rb:56:in `block in sync_task' foreman-tasks (9.2.3) lib/foreman_tasks.rb:55:in `tap' foreman-tasks (9.2.3) lib/foreman_tasks.rb:55:in `sync_task' katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb:62:in `test_yum_refresh_updates_remote' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Ruby / 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.44 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.44 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testkatello.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.44 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testkatello.lock
5.44 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock
5.45 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.45 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testkatello.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.45 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testkatello.lock
5.45 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
2.66 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-develop-testkatello.js
7.97 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testkatello.js
7.97 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-develop-testkatello.js
7.97 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testkatello.js
7.97 KB
logs-ruby-27-node-18-pg-13-foreman-develop-testkatello Expired
3.76 MB
logs-ruby-30-node-14-pg-13-foreman-develop-testkatello Expired
3.76 MB
logs-ruby-30-node-18-pg-13-foreman-develop-testkatello Expired
3.75 MB
package-lock-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
306 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-testkatello.json
306 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
323 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-testkatello.json
323 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
306 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-testkatello.json
306 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
323 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-testkatello.json
323 KB