Skip to content

Update hyrax && remove moved code #2035

Update hyrax && remove moved code

Update hyrax && remove moved code #2035

GitHub Actions / Test Results failed Nov 14, 2024 in 0s

21 fail, 50 skipped, 1 969 pass in 17m 49s

    3 files      3 suites   17m 49s ⏱️
2 040 tests 1 969 ✅ 50 💤 21 ❌
2 067 runs  1 994 ✅ 52 💤 21 ❌

Results for commit 081c553.

Annotations

Check warning on line 0 in ./spec/features/work_editor_role_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Work Editor role create permissions can create a work (spec.features.work_editor_role_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 6s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'
/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
./app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::CapybaraError:
  Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
  /usr/local/bundle/gems/capybara-3.39.2/lib/capybara/session.rb:163:in `raise_server_error!'

Check warning on line 0 in ./spec/controllers/hyrax/generic_works_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::GenericWorksController#presenter initializes a presenter (spec.controllers.hyrax.generic_works_controller_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/controllers/hyrax/generic_works_controller_spec.rb:7:in `block (2 levels) in <top (required)>'
./spec/controllers/hyrax/generic_works_controller_spec.rb:16:in `block (3 levels) in <top (required)>'
./spec/controllers/hyrax/generic_works_controller_spec.rb:19:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/features/create_oer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Create a Oer a logged in user with the :work_depositor role is expected to have text "My Test Work" (spec.features.create_oer_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 7s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'
/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
./app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "My Test Work" in "Puma caught this error: Unsupported argument type: Valkyrie::ID (ActiveJob::SerializationError)\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/serializers.rb:30:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:122:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `block in serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:161:in `block in serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each_with_object'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:116:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `block in serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:166:in `serialize_arguments'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:154:in `serialize_arguments_if_needed'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:101:in `serialize'\n/app/samvera/hyrax-webapp/lib/active_job_tenant.rb:57:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:40:in `job_to_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:29:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:59:in `block in enqueue'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:21:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:31:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:9:in `block (2 levels) in <module:Instrumentation>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `block in tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:55:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:22:in `perform_later'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'\n/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'\n<internal:kernel>:124:in `then'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'\n/usr/local/lib/ruby/3.2.0/forwardable.rb:240:in `acquire_lock_for'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rendering.rb:30:in `process_action'\n(eval):3:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/samvera/hyrax-webapp/app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activerecord/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/abstract_controller/base.rb:165:in `process'\n(eval):3:in `process'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:190:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:254:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'\n/app/samvera/hyrax-webapp/lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'\n/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'"
  /usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/matchers.rb:678:in `block in assert_text'

Check warning on line 0 in ./spec/features/create_generic_work_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Create a GenericWork a logged in user with the :work_depositor role is expected to have text "My Test Work" (spec.features.create_generic_work_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 5s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'
/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
./app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "My Test Work" in "Puma caught this error: Unsupported argument type: Valkyrie::ID (ActiveJob::SerializationError)\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/serializers.rb:30:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:122:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `block in serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:161:in `block in serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each_with_object'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:116:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `block in serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:166:in `serialize_arguments'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:154:in `serialize_arguments_if_needed'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:101:in `serialize'\n/app/samvera/hyrax-webapp/lib/active_job_tenant.rb:57:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:40:in `job_to_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:29:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:59:in `block in enqueue'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:21:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:31:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:9:in `block (2 levels) in <module:Instrumentation>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `block in tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:55:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:22:in `perform_later'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'\n/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'\n<internal:kernel>:124:in `then'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'\n/usr/local/lib/ruby/3.2.0/forwardable.rb:240:in `acquire_lock_for'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rendering.rb:30:in `process_action'\n(eval):3:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/samvera/hyrax-webapp/app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activerecord/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/abstract_controller/base.rb:165:in `process'\n(eval):3:in `process'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:190:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:254:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'\n/app/samvera/hyrax-webapp/lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'\n/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'"
  /usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/matchers.rb:678:in `block in assert_text'

Check warning on line 0 in ./spec/controllers/hyrax/images_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::ImagesController#presenter initializes a presenter (spec.controllers.hyrax.images_controller_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/controllers/hyrax/images_controller_spec.rb:9:in `block (2 levels) in <top (required)>'
./spec/controllers/hyrax/images_controller_spec.rb:14:in `block (3 levels) in <top (required)>'
./spec/controllers/hyrax/images_controller_spec.rb:17:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/features/create_etd_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Create a Etd a logged in user with the :work_depositor role can create an Etd (spec.features.create_etd_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 8s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'
/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
./app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/builder.rb:244:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "My Test Work" in "Puma caught this error: Unsupported argument type: Valkyrie::ID (ActiveJob::SerializationError)\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/serializers.rb:30:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:122:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `block in serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:161:in `block in serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each_with_object'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:116:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `block in serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:166:in `serialize_arguments'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:154:in `serialize_arguments_if_needed'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:101:in `serialize'\n/app/samvera/hyrax-webapp/lib/active_job_tenant.rb:57:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:40:in `job_to_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:29:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:59:in `block in enqueue'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:21:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:31:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:9:in `block (2 levels) in <module:Instrumentation>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `block in tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:55:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:22:in `perform_later'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'\n/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'\n<internal:kernel>:124:in `then'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'\n/usr/local/lib/ruby/3.2.0/forwardable.rb:240:in `acquire_lock_for'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rendering.rb:30:in `process_action'\n(eval):3:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/samvera/hyrax-webapp/app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activerecord/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/abstract_controller/base.rb:165:in `process'\n(eval):3:in `process'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:190:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:254:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'\n/app/samvera/hyrax-webapp/lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/builder.rb:244:in `call'\n/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'"
  /usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/matchers.rb:678:in `block in assert_text'

Check warning on line 0 in ./spec/presenters/hyrax/oer_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::OerPresenter#manifest #sequence_rendering returns a hash containing the rendering information (spec.presenters.hyrax.oer_presenter_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyrax/oer_presenter_spec.rb:136:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:145:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyrax/oer_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::OerPresenter#manifest #manifest_metadata returns an array of metadata values (spec.presenters.hyrax.oer_presenter_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyrax/oer_presenter_spec.rb:136:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:191:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyrax/oer_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::OerPresenter#manifest admin users #editor? (spec.presenters.hyrax.oer_presenter_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyrax/oer_presenter_spec.rb:136:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:137:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:24:in `block (2 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:179:in `block (5 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:181:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyrax/oer_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::OerPresenter#work_presenters filters out members that are file sets (spec.presenters.hyrax.oer_presenter_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyrax/oer_presenter_spec.rb:127:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:128:in `block (3 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:11:in `block (2 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:24:in `block (2 levels) in <top (required)>'
./spec/presenters/hyrax/oer_presenter_spec.rb:131:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/requests/work_editor_role_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Work Editor role read permissions with restricted visibility can see the show page for works deposited by other users (spec.requests.work_editor_role_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 1s]
Raw output
expected the response to have a success status code (2xx) but it was 401
Failure/Error: expect(response).to have_http_status(:success)
  expected the response to have a success status code (2xx) but it was 401
./spec/requests/work_editor_role_spec.rb:75:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/factory_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Factories :generic_work_resource without being indexed exists in the metadata storage but not the index (spec.factory_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
expected `[#<SolrHit({"_version_"=>1815728858306969600, "admin_set_id_ssim"=>[""], "date_modified_dtsi"=>"2024-...", "timestamp"=>"2024-11-14T19:52:57.725Z", "valkyrie_bsi"=>true, "visibility_ssi"=>"restricted"})>].empty?` to be truthy, got false
Failure/Error: expect(Hyrax::SolrService.query("id:#{resource.id}")).to be_empty
  expected `[#<SolrHit({"_version_"=>1815728858306969600, "admin_set_id_ssim"=>[""], "date_modified_dtsi"=>"2024-...", "timestamp"=>"2024-11-14T19:52:57.725Z", "valkyrie_bsi"=>true, "visibility_ssi"=>"restricted"})>].empty?` to be truthy, got false
./spec/factory_spec.rb:13:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/features/create_image_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Create a Image a logged in user with the :work_depositor role is expected to have text "My Test Work" (spec.features.create_image_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 6s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'
/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'
/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
./app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/builder.rb:244:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'
/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "My Test Work" in "Puma caught this error: Unsupported argument type: Valkyrie::ID (ActiveJob::SerializationError)\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/serializers.rb:30:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:122:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `block in serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:106:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:161:in `block in serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `each_with_object'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:160:in `serialize_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:116:in `serialize_argument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `block in serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `map'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/arguments.rb:34:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:166:in `serialize_arguments'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:154:in `serialize_arguments_if_needed'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/core.rb:101:in `serialize'\n/app/samvera/hyrax-webapp/lib/active_job_tenant.rb:57:in `serialize'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:40:in `job_to_hash'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/queue_adapters/test_adapter.rb:29:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:59:in `block in enqueue'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:21:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:31:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/instrumentation.rb:9:in `block (2 levels) in <module:Instrumentation>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `block in tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:22:in `tag_logger'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:55:in `enqueue'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activejob/lib/active_job/enqueuing.rb:22:in `perform_later'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:94:in `block in attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:25:in `block (2 levels) in lock'\n/usr/local/bundle/gems/redlock-1.3.2/lib/redlock/client.rb:81:in `lock'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:23:in `block in lock'\n<internal:kernel>:124:in `then'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:37:in `block in method_missing'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:14:in `with'\n/usr/local/bundle/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb:36:in `method_missing'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/lock_manager.rb:22:in `lock'\n/usr/local/lib/ruby/3.2.0/forwardable.rb:240:in `acquire_lock_for'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/work_uploads_handler.rb:92:in `attach'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/steps/add_file_sets.rb:27:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `each'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/transactions/transaction.rb:97:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/services/hyrax/action/create_valkyrie_work.rb:55:in `perform'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:201:in `create_valkyrie_work'\n/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/app/controllers/concerns/hyrax/works_controller_behavior.rb:71:in `create'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rendering.rb:30:in `process_action'\n(eval):3:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/samvera/hyrax-webapp/app/controllers/concerns/hyku/works_controller_behavior.rb:84:in `inject_show_theme_views'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `instance_exec'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:137:in `run_callbacks'\n(eval):2:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `block in instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/notifications.rb:203:in `instrument'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activerecord/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/abstract_controller/base.rb:165:in `process'\n(eval):3:in `process'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:190:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_controller/metal.rb:254:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `each'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/journey/router.rb:32:in `serve'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'\n/app/samvera/hyrax-webapp/lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'\n/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'\n/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/usr/local/bundle/gems/activesupport-6.1.7.6/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:37:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/tagged_logging.rb:99:in `tagged'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/static.rb:24:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/actionpack/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'\n/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'\n/usr/local/bundle/gems/rack-2.2.9/lib/rack/builder.rb:244:in `call'\n/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/server/middleware.rb:60:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/configuration.rb:252:in `call'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:77:in `block in handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:340:in `with_force_shutdown'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/request.rb:76:in `handle_request'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/server.rb:443:in `process_client'\n/usr/local/bundle/gems/puma-5.6.9/lib/puma/thread_pool.rb:147:in `block in spawn_thread'"
  /usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/matchers.rb:678:in `block in assert_text'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter when the work has valid doi and isbns #isbns extracts ISBNs from the identifiers (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:9:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:91:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter when the work has valid doi and isbns #doi extracts the DOI from the identifiers (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:9:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:85:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? for an image file (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? for a video file (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? for an audio file (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? for a PDF file when the tenant is not configured to use IIIF Print (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? for a PDF file when the tenant is configured to use IIIF Print (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/presenters/hyku/work_show_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyku::WorkShowPresenter#iiif_viewer? method owner (spec.presenters.hyku.work_show_presenter_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Unsupported argument type: Valkyrie::ID
Failure/Error: super.merge('tenant' => Apartment::Tenant.current)

ActiveJob::SerializationError:
  Unsupported argument type: Valkyrie::ID
./lib/active_job_tenant.rb:57:in `serialize'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:37:in `convert_and_migrate_resource'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/freyja/persister.rb:26:in `save'
/usr/local/bundle/bundler/gems/hyrax-a9c8e9cd3c59/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:16:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/presenters/hyku/work_show_presenter_spec.rb:4:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:5:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:6:in `block (2 levels) in <top (required)>'
./spec/presenters/hyku/work_show_presenter_spec.rb:23:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'