Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Green sirenia or bust! #6976

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

rubocop

9706493
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

WIP Green sirenia or bust! #6976

rubocop
9706493
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Nov 23, 2024 in 0s

26 fail, 107 skipped, 5 135 pass in 1h 21m 0s

    10 files  +     9      10 suites  +9   1h 21m 0s ⏱️ + 1h 21m 0s
 5 268 tests + 5 267   5 135 ✅ + 5 135  107 💤 +107  26 ❌ +25 
13 153 runs  +11 412  12 912 ✅ +11 172  207 💤 +207  34 ❌ +33 

Results for commit 9706493. ± Comparison against earlier commit 83a2e2c.

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: batch deleting destroys the selected works (spec.features.batch_edit_spec)

artifacts/spec-reports-sirenia-0/rspec-sirenia-0.xml [took 6s]
Raw output
Discovered tombstone resource at /test/a4/2e/94/96/a42e9496-04ae-4f91-abc7-d3305533d8ef, departed at: 2024-11-22T23:33:05.184588Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/a4/2e/94/96/a42e9496-04ae-4f91-abc7-d3305533d8ef, departed at: 2024-11-22T23:33:05.184588Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/hyrax/batch_edits_controller.rb:46:in `block in destroy_collection'
./app/controllers/hyrax/batch_edits_controller.rb:41:in `each'
./app/controllers/hyrax/batch_edits_controller.rb:41:in `destroy_collection'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:254:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:49:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/flipflop-2.8.0/lib/flipflop/feature_cache.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:98:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:37:in `call_app'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:37:in `tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `tagged'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/app/bundle/ruby/3.2.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/method_override.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/executor.rb:14:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:74:in `block in call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `each'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/animation_disabler.rb:25:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/middleware.rb:60:in `call'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/configuration.rb:272:in `call'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:100:in `block in handle_request'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:99:in `handle_request'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:464:in `process_client'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:245:in `block in run'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "Batch delete complete" in "Puma caught this error: Discovered tombstone resource at /test/a4/2e/94/96/a42e9496-04ae-4f91-abc7-d3305533d8ef, departed at: 2024-11-22T23:33:05.184588Z (Ldp::Gone)\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'\n<internal:kernel>:90:in `tap'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'\n/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'\n/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'\n/app/samvera/hyrax-engine/app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `each'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:46:in `block in destroy_collection'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:41:in `each'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:41:in `destroy_collection'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'\n/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'\n/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:254:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:49:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/flipflop-2.8.0/lib/flipflop/feature_cache.rb:12:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:37:in `call_app'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `block in call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:37:in `tagged'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `tagged'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/app/bundle/ruby/3.2.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/method_override.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:74:in `block in call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `each'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `call'\n/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/animation_disabler.rb:25:in `call'\n/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/middleware.rb:60:in `call'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/configuration.rb:272:in `call'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:100:in `block in handle_request'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:378:in `with_force_shutdown'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:99:in `handle_request'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:464:in `process_client'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:245:in `block in run'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:155:in `block in spawn_thread'"
  /app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/matchers.rb:703:in `block in assert_text'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Browse Dashboard allows me to delete works in upload_sets (spec.features.browse_dashboard_works_spec)

artifacts/spec-reports-sirenia-0/rspec-sirenia-0.xml [took 5s]
Raw output
Discovered tombstone resource at /test/95/13/62/54/95136254-5095-4947-95b8-e92f3cde688a, departed at: 2024-11-22T23:34:01.362540Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/95/13/62/54/95136254-5095-4947-95b8-e92f3cde688a, departed at: 2024-11-22T23:34:01.362540Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/hyrax/batch_edits_controller.rb:46:in `block in destroy_collection'
./app/controllers/hyrax/batch_edits_controller.rb:41:in `each'
./app/controllers/hyrax/batch_edits_controller.rb:41:in `destroy_collection'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:254:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:49:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/flipflop-2.8.0/lib/flipflop/feature_cache.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:98:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:37:in `call_app'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:37:in `tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `tagged'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/app/bundle/ruby/3.2.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/method_override.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/executor.rb:14:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:74:in `block in call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `each'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/animation_disabler.rb:25:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/middleware.rb:60:in `call'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/configuration.rb:272:in `call'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:100:in `block in handle_request'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:99:in `handle_request'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:464:in `process_client'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:245:in `block in run'
/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
------------------
--- Caused by: ---
Capybara::ExpectationNotMet:
  expected to find text "Batch delete complete" in "Puma caught this error: Discovered tombstone resource at /test/95/13/62/54/95136254-5095-4947-95b8-e92f3cde688a, departed at: 2024-11-22T23:34:01.362540Z (Ldp::Gone)\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'\n<internal:kernel>:90:in `tap'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'\n/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'\n/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'\n/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'\n/app/samvera/hyrax-engine/app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'\n/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:99:in `block in call'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `each'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `inject'\n/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'\n/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:46:in `block in destroy_collection'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:41:in `each'\n/app/samvera/hyrax-engine/app/controllers/hyrax/batch_edits_controller.rb:41:in `destroy_collection'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'\n/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'\n/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'\n/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:254:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:33:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/mapper.rb:49:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'\n/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/permissions_policy.rb:22:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/content_security_policy.rb:19:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/cookies.rb:697:in `call'\n/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/flipflop-2.8.0/lib/flipflop/feature_cache.rb:12:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:98:in `run_callbacks'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:37:in `call_app'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `block in call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `block in tagged'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:37:in `tagged'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `tagged'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n/app/bundle/ruby/3.2.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/method_override.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'\n/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/executor.rb:14:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'\n/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'\n/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:74:in `block in call'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `each'\n/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `call'\n/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/animation_disabler.rb:25:in `call'\n/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/server/middleware.rb:60:in `call'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/configuration.rb:272:in `call'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:100:in `block in handle_request'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:378:in `with_force_shutdown'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/request.rb:99:in `handle_request'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:464:in `process_client'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/server.rb:245:in `block in run'\n/app/bundle/ruby/3.2.0/gems/puma-6.4.3/lib/puma/thread_pool.rb:155:in `block in spawn_thread'"
  /app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/matchers.rb:703:in `block in assert_text'

Check warning on line 0 in ./spec/services/hyrax/statistics/works/count_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Hyrax::Statistics::Works::Count.by_permission retrieves by no date given, a start date given, and an end date given (spec.services.hyrax.statistics.works.count_spec)

artifacts/spec-reports-sirenia-0/rspec-sirenia-0.xml [took 1s]
Raw output
undefined method `run_query' for #<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 @adapter=#<Valkyrie::Persistence::Fedora::MetadataAdapter:0x00007f5e4cf8bfe0 @connection=#<Ldp::Client:0x00007f5e514b4e28 @options={}, @http=#<Faraday::Connection:0x00007f5e4d0b74f0 @parallel_manager=nil, @headers={"Authorization"=>"Basic ZmVkb3JhQWRtaW46ZmVkb3JhQWRtaW4=", "User-Agent"=>"Faraday v2.12.1"}, @params={}, @options=#<Faraday::RequestOptions (empty)>, @ssl=#<Faraday::SSLOptions (empty)>, @default_parallel_manager=nil, @manual_proxy=false, @builder=#<Faraday::RackBuilder:0x00007f5e51484c00 @adapter=Faraday::Adapter::NetHttp, @handlers=[Faraday::Multipart::Middleware, Faraday::Request::UrlEncoded], @app=#<Faraday::Multipart::Middleware:0x00007f5e453738e0 @app=#<Faraday::Request::UrlEncoded:0x00007f5e45373ae8 @app=#<Faraday::Adapter::NetHttp:0x00007f5e4047fc98 @ssl_cert_store=nil, @app=#<Proc:0x00007f5e45373f70(&:response) (lambda)>, @connection_options={}, @config_block=nil>, @options={}>, @options={}>>, @url_prefix=#<URI::HTTP http://fcrepo:8080/fcrepo/rest>, @proxy=nil>>, @base_path="test", @schema=#<Valkyrie::Persistence::Fedora::PermissiveSchema:0x00007f5e4cffc808 @schema={:sample_attribute=>#<RDF::URI:0x359bc0 URI:http://hyrax-example.com/sample_attribute>, :monograph_title=>#<RDF::URI:0x359bd4 URI:http://hyrax-example.com/monograph_title>, :record_info=>#<RDF::URI:0x359be8 URI:http://hyrax-example.com/record_info>, :place_of_publication=>#<RDF::URI:0x359bfc URI:http://hyrax-example.com/place_of_publication>, :genre=>#<RDF::URI:0x359c10 URI:http://hyrax-example.com/genre>, :series_title=>#<RDF::URI:0x359c24 URI:http://hyrax-example.com/series_title>, :target_audience=>#<RDF::URI:0x359c38 URI:http://hyrax-example.com/target_audience>, :table_of_contents=>#<RDF::URI:0x359c4c URI:http://hyrax-example.com/table_of_contents>, :date_of_issuance=>#<RDF::URI:0x359c60 URI:http://hyrax-example.com/date_of_issuance>, :department=>#<RDF::URI:0x359c74 URI:http://hyrax-example.com/department>, :course=>#<RDF::URI:0x359c88 URI:http://hyrax-example.com/course>, :title=>#<RDF::URI:0x359c9c URI:http://purl.org/dc/terms/title>, :date_modified=>#<RDF::URI:0x359cb0 URI:http://purl.org/dc/terms/modified>, :date_uploaded=>#<RDF::URI:0x359cc4 URI:http://purl.org/dc/terms/dateSubmitted>, :depositor=>#<RDF::URI:0x359cd8 URI:http://id.loc.gov/vocabulary/relators/dpt>, :creator=>#<RDF::URI:0x359cec URI:http://purl.org/dc/elements/1.1/creator>, :license=>#<RDF::URI:0x359d00 URI:http://purl.org/dc/terms/license>, :abstract=>#<RDF::URI:0x359d14 URI:http://purl.org/dc/terms/abstract>, :based_near=>#<RDF::URI:0x359d28 URI:http://xmlns.com/foaf/0.1/based_near>, :contributor=>#<RDF::URI:0x359d3c URI:http://purl.org/dc/elements/1.1/contributor>, :date_created=>#<RDF::URI:0x359d50 URI:http://purl.org/dc/terms/created>, :description=>#<RDF::URI:0x359d64 URI:http://purl.org/dc/elements/1.1/description>, :identifier=>#<RDF::URI:0x359d78 URI:http://purl.org/dc/terms/identifier>, :keyword=>#<RDF::URI:0x359d8c URI:http://schema.org/keywords>, :label=>#<RDF::URI:0x359da0 URI:info:fedora/fedora-system:def/model#downloadFilename>, :language=>#<RDF::URI:0x359db4 URI:http://purl.org/dc/elements/1.1/language>, :publisher=>#<RDF::URI:0x359dc8 URI:http://purl.org/dc/elements/1.1/publisher>, :related_url=>#<RDF::URI:0x359ddc URI:http://www.w3.org/2000/01/rdf-schema#seeAlso>, :relative_path=>#<RDF::URI:0x359df0 URI:http://scholarsphere.psu.edu/ns#relativePath>, :resource_type=>#<RDF::URI:0x359e04 URI:http://purl.org/dc/terms/type>, :rights_notes=>#<RDF::URI:0x359e18 URI:http://purl.org/dc/elements/1.1/rights>, :rights_statement=>#<RDF::URI:0x359e2c URI:http://www.europeana.eu/schemas/edm/rights>, :source=>#<RDF::URI:0x359e40 URI:http://purl.org/dc/terms/source>, :subject=>#<RDF::URI:0x359e54 URI:http://purl.org/dc/elements/1.1/subject>, :access_right=>#<RDF::URI:0x359e68 URI:http://purl.org/dc/terms/accessRights>, :alternative_title=>#<RDF::URI:0x359e7c URI:http://purl.org/dc/terms/alternative>, :arkivo_checksum=>#<RDF::URI:0x359e90 URI:http://scholarsphere.psu.edu/ns#arkivoChecksum>, :bibliographic_citation=>#<RDF::URI:0x359ea4 URI:http://purl.org/dc/terms/bibliographicCitation>, :import_url=>#<RDF::URI:0x359eb8 URI:http://scholarsphere.psu.edu/ns#importUrl>, :access_to=>#<RDF::URI:0x359ecc URI:http://www.w3.org/ns/auth/acl#accessTo>, :admin_set_id=>#<RDF::URI:0x359ee0 URI:http://purl.org/dc/terms/isPartOf>, :agent=>#<RDF::URI:0x359ef4 URI:http://www.w3.org/ns/auth/acl#agent>, :byte_order=>#<RDF::URI:0x359f08 URI:http://sweet.jpl.nasa.gov/2.2/reprDataFormat.owl#byteOrder>, :color_space=>#<RDF::URI:0x359f1c URI:http://www.w3.org/2003/12/exif/ns#colorSpace>, :compression=>#<RDF::URI:0x359f30 URI:http://vocabulary.samvera.org/ns#compressionScheme>, :created_at=>#<RDF::URI:0x359f44 URI:http://vocabulary.samvera.org/ns#created_at>, :file_identifier=>#<RDF::URI:0x359f58 URI:http://vocabulary.samvera.org/ns#fileIdentifier>, :file_ids=>#<RDF::URI:0x359f6c URI:http://pcdm.org/models#hasFile>, :file_set_id=>#<RDF::URI:0x359f80 URI:http://vocabulary.samvera.org/ns#fileSetId>, :format_label=>#<RDF::URI:0x359f94 URI:http://www.loc.gov/premis/rdf/v1#hasFormatName>, :height=>#<RDF::URI:0x359fa8 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#height>, :id=>#<RDF::URI:0x359fbc URI:http://purl.org/dc/terms/id>, :internal_resource=>#<RDF::URI:0x359fd0 URI:info:fedora/fedora-system:def/model#hasModel>, :mime_type=>#<RDF::URI:0x359fe4 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMimeType>, :mode=>#<RDF::URI:0x359ff8 URI:http://www.w3.org/ns/auth/acl#mode>, :original_filename=>#<RDF::URI:0x35a00c URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#filename>, :pcdm_use=>#<RDF::URI:0x35a020 URI:http://vocabulary.samvera.org/ns#pcdmUse>, :permissions=>#<RDF::URI:0x35a034 URI:http://vocabulary.samvera.org/ns#permissions>, :recorded_size=>#<RDF::URI:0x35a048 URI:http://www.loc.gov/premis/rdf/v1#hasSize>, :representative_id=>#<RDF::URI:0x35a05c URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasRelatedMediaFragment>, :state=>#<RDF::URI:0x35a070 URI:http://fedora.info/definitions/1/0/access/ObjState#objState>, :thumbnail_id=>#<RDF::URI:0x35a084 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasRelatedImage>, :updated_at=>#<RDF::URI:0x35a098 URI:http://vocabulary.samvera.org/ns#updatedAt>, :valid=>#<RDF::URI:0x35a0ac URI:http://vocabulary.samvera.org/ns#valid>, :well_formed=>#<RDF::URI:0x35a0c0 URI:http://vocabulary.samvera.org/ns#wellFormed>, :width=>#<RDF::URI:0x35a0d4 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#width>}>, @fedora_version=6.5, @pairtree_count=4, @pairtree_length=2, @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, @custom_queries=#<Valkyrie::Persistence::CustomQueryContainer:0x00007f5e51f7bcf8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>, @query_handlers={:find_collections_for=>#<Hyrax::CustomQueries::Navigators::CollectionMembers:0x00007f5e4cef49d8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_members_of=>#<Hyrax::CustomQueries::Navigators::CollectionMembers:0x00007f5e4cef4988 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_collections=>#<Hyrax::CustomQueries::Navigators::ChildCollectionsNavigator:0x00007f5e4cef4938 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_collection_ids=>#<Hyrax::CustomQueries::Navigators::ChildCollectionsNavigator:0x00007f5e4cef48e8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_collections=>#<Hyrax::CustomQueries::Navigators::ParentCollectionsNavigator:0x00007f5e4cef4898 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_collection_ids=>#<Hyrax::CustomQueries::Navigators::ParentCollectionsNavigator:0x00007f5e4cef4848 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_file_sets=>#<Hyrax::CustomQueries::Navigators::ChildFileSetsNavigator:0x00007f5e4cef47f8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_file_set_ids=>#<Hyrax::CustomQueries::Navigators::ChildFileSetsNavigator:0x00007f5e4cef47a8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_works=>#<Hyrax::CustomQueries::Navigators::ChildWorksNavigator:0x00007f5e4cef4758 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_work_ids=>#<Hyrax::CustomQueries::Navigators::ChildWorksNavigator:0x00007f5e4cef4708 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_work=>#<Hyrax::CustomQueries::Navigators::ParentWorkNavigator:0x00007f5e4cef46b8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_work_id=>#<Hyrax::CustomQueries::Navigators::ParentWorkNavigator:0x00007f5e4cef4668 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_files=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4618 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_original_file=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef45c8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_extracted_text=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4578 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_thumbnail=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4528 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_access_control_for=>#<Hyrax::CustomQueries::FindAccessControl:0x00007f5e4cef44d8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_collections_by_type=>#<Hyrax::CustomQueries::FindCollectionsByType:0x00007f5e4cef4488 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_file_metadata_by=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4438 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_file_metadata_by_alternate_identifier=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef43e8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_file_metadata_by_ids=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4398 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_file_metadata_by_use=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4348 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_ids_by_model=>#<Hyrax::CustomQueries::FindIdsByModel:0x00007f5e4cef42f8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_by_alternate_ids=>#<Hyrax::CustomQueries::FindManyByAlternateIds:0x00007f5e4cef42a8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_models_by_access=>#<Hyrax::CustomQueries::FindModelsByAccess:0x00007f5e4cef4258 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_count_by=>#<Hyrax::CustomQueries::FindCountBy:0x00007f5e4cef4208 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_by_date_range=>#<Hyrax::CustomQueries::FindByDateRange:0x00007f5e4cef41b8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>}>>
Failure/Error: query_service.run_query(find_models_by_access_query, internal_array, models)

NoMethodError:
  undefined method `run_query' for #<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 @adapter=#<Valkyrie::Persistence::Fedora::MetadataAdapter:0x00007f5e4cf8bfe0 @connection=#<Ldp::Client:0x00007f5e514b4e28 @options={}, @http=#<Faraday::Connection:0x00007f5e4d0b74f0 @parallel_manager=nil, @headers={"Authorization"=>"Basic ZmVkb3JhQWRtaW46ZmVkb3JhQWRtaW4=", "User-Agent"=>"Faraday v2.12.1"}, @params={}, @options=#<Faraday::RequestOptions (empty)>, @ssl=#<Faraday::SSLOptions (empty)>, @default_parallel_manager=nil, @manual_proxy=false, @builder=#<Faraday::RackBuilder:0x00007f5e51484c00 @adapter=Faraday::Adapter::NetHttp, @handlers=[Faraday::Multipart::Middleware, Faraday::Request::UrlEncoded], @app=#<Faraday::Multipart::Middleware:0x00007f5e453738e0 @app=#<Faraday::Request::UrlEncoded:0x00007f5e45373ae8 @app=#<Faraday::Adapter::NetHttp:0x00007f5e4047fc98 @ssl_cert_store=nil, @app=#<Proc:0x00007f5e45373f70(&:response) (lambda)>, @connection_options={}, @config_block=nil>, @options={}>, @options={}>>, @url_prefix=#<URI::HTTP http://fcrepo:8080/fcrepo/rest>, @proxy=nil>>, @base_path="test", @schema=#<Valkyrie::Persistence::Fedora::PermissiveSchema:0x00007f5e4cffc808 @schema={:sample_attribute=>#<RDF::URI:0x359bc0 URI:http://hyrax-example.com/sample_attribute>, :monograph_title=>#<RDF::URI:0x359bd4 URI:http://hyrax-example.com/monograph_title>, :record_info=>#<RDF::URI:0x359be8 URI:http://hyrax-example.com/record_info>, :place_of_publication=>#<RDF::URI:0x359bfc URI:http://hyrax-example.com/place_of_publication>, :genre=>#<RDF::URI:0x359c10 URI:http://hyrax-example.com/genre>, :series_title=>#<RDF::URI:0x359c24 URI:http://hyrax-example.com/series_title>, :target_audience=>#<RDF::URI:0x359c38 URI:http://hyrax-example.com/target_audience>, :table_of_contents=>#<RDF::URI:0x359c4c URI:http://hyrax-example.com/table_of_contents>, :date_of_issuance=>#<RDF::URI:0x359c60 URI:http://hyrax-example.com/date_of_issuance>, :department=>#<RDF::URI:0x359c74 URI:http://hyrax-example.com/department>, :course=>#<RDF::URI:0x359c88 URI:http://hyrax-example.com/course>, :title=>#<RDF::URI:0x359c9c URI:http://purl.org/dc/terms/title>, :date_modified=>#<RDF::URI:0x359cb0 URI:http://purl.org/dc/terms/modified>, :date_uploaded=>#<RDF::URI:0x359cc4 URI:http://purl.org/dc/terms/dateSubmitted>, :depositor=>#<RDF::URI:0x359cd8 URI:http://id.loc.gov/vocabulary/relators/dpt>, :creator=>#<RDF::URI:0x359cec URI:http://purl.org/dc/elements/1.1/creator>, :license=>#<RDF::URI:0x359d00 URI:http://purl.org/dc/terms/license>, :abstract=>#<RDF::URI:0x359d14 URI:http://purl.org/dc/terms/abstract>, :based_near=>#<RDF::URI:0x359d28 URI:http://xmlns.com/foaf/0.1/based_near>, :contributor=>#<RDF::URI:0x359d3c URI:http://purl.org/dc/elements/1.1/contributor>, :date_created=>#<RDF::URI:0x359d50 URI:http://purl.org/dc/terms/created>, :description=>#<RDF::URI:0x359d64 URI:http://purl.org/dc/elements/1.1/description>, :identifier=>#<RDF::URI:0x359d78 URI:http://purl.org/dc/terms/identifier>, :keyword=>#<RDF::URI:0x359d8c URI:http://schema.org/keywords>, :label=>#<RDF::URI:0x359da0 URI:info:fedora/fedora-system:def/model#downloadFilename>, :language=>#<RDF::URI:0x359db4 URI:http://purl.org/dc/elements/1.1/language>, :publisher=>#<RDF::URI:0x359dc8 URI:http://purl.org/dc/elements/1.1/publisher>, :related_url=>#<RDF::URI:0x359ddc URI:http://www.w3.org/2000/01/rdf-schema#seeAlso>, :relative_path=>#<RDF::URI:0x359df0 URI:http://scholarsphere.psu.edu/ns#relativePath>, :resource_type=>#<RDF::URI:0x359e04 URI:http://purl.org/dc/terms/type>, :rights_notes=>#<RDF::URI:0x359e18 URI:http://purl.org/dc/elements/1.1/rights>, :rights_statement=>#<RDF::URI:0x359e2c URI:http://www.europeana.eu/schemas/edm/rights>, :source=>#<RDF::URI:0x359e40 URI:http://purl.org/dc/terms/source>, :subject=>#<RDF::URI:0x359e54 URI:http://purl.org/dc/elements/1.1/subject>, :access_right=>#<RDF::URI:0x359e68 URI:http://purl.org/dc/terms/accessRights>, :alternative_title=>#<RDF::URI:0x359e7c URI:http://purl.org/dc/terms/alternative>, :arkivo_checksum=>#<RDF::URI:0x359e90 URI:http://scholarsphere.psu.edu/ns#arkivoChecksum>, :bibliographic_citation=>#<RDF::URI:0x359ea4 URI:http://purl.org/dc/terms/bibliographicCitation>, :import_url=>#<RDF::URI:0x359eb8 URI:http://scholarsphere.psu.edu/ns#importUrl>, :access_to=>#<RDF::URI:0x359ecc URI:http://www.w3.org/ns/auth/acl#accessTo>, :admin_set_id=>#<RDF::URI:0x359ee0 URI:http://purl.org/dc/terms/isPartOf>, :agent=>#<RDF::URI:0x359ef4 URI:http://www.w3.org/ns/auth/acl#agent>, :byte_order=>#<RDF::URI:0x359f08 URI:http://sweet.jpl.nasa.gov/2.2/reprDataFormat.owl#byteOrder>, :color_space=>#<RDF::URI:0x359f1c URI:http://www.w3.org/2003/12/exif/ns#colorSpace>, :compression=>#<RDF::URI:0x359f30 URI:http://vocabulary.samvera.org/ns#compressionScheme>, :created_at=>#<RDF::URI:0x359f44 URI:http://vocabulary.samvera.org/ns#created_at>, :file_identifier=>#<RDF::URI:0x359f58 URI:http://vocabulary.samvera.org/ns#fileIdentifier>, :file_ids=>#<RDF::URI:0x359f6c URI:http://pcdm.org/models#hasFile>, :file_set_id=>#<RDF::URI:0x359f80 URI:http://vocabulary.samvera.org/ns#fileSetId>, :format_label=>#<RDF::URI:0x359f94 URI:http://www.loc.gov/premis/rdf/v1#hasFormatName>, :height=>#<RDF::URI:0x359fa8 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#height>, :id=>#<RDF::URI:0x359fbc URI:http://purl.org/dc/terms/id>, :internal_resource=>#<RDF::URI:0x359fd0 URI:info:fedora/fedora-system:def/model#hasModel>, :mime_type=>#<RDF::URI:0x359fe4 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMimeType>, :mode=>#<RDF::URI:0x359ff8 URI:http://www.w3.org/ns/auth/acl#mode>, :original_filename=>#<RDF::URI:0x35a00c URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#filename>, :pcdm_use=>#<RDF::URI:0x35a020 URI:http://vocabulary.samvera.org/ns#pcdmUse>, :permissions=>#<RDF::URI:0x35a034 URI:http://vocabulary.samvera.org/ns#permissions>, :recorded_size=>#<RDF::URI:0x35a048 URI:http://www.loc.gov/premis/rdf/v1#hasSize>, :representative_id=>#<RDF::URI:0x35a05c URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasRelatedMediaFragment>, :state=>#<RDF::URI:0x35a070 URI:http://fedora.info/definitions/1/0/access/ObjState#objState>, :thumbnail_id=>#<RDF::URI:0x35a084 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasRelatedImage>, :updated_at=>#<RDF::URI:0x35a098 URI:http://vocabulary.samvera.org/ns#updatedAt>, :valid=>#<RDF::URI:0x35a0ac URI:http://vocabulary.samvera.org/ns#valid>, :well_formed=>#<RDF::URI:0x35a0c0 URI:http://vocabulary.samvera.org/ns#wellFormed>, :width=>#<RDF::URI:0x35a0d4 URI:http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#width>}>, @fedora_version=6.5, @pairtree_count=4, @pairtree_length=2, @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, @custom_queries=#<Valkyrie::Persistence::CustomQueryContainer:0x00007f5e51f7bcf8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>, @query_handlers={:find_collections_for=>#<Hyrax::CustomQueries::Navigators::CollectionMembers:0x00007f5e4cef49d8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_members_of=>#<Hyrax::CustomQueries::Navigators::CollectionMembers:0x00007f5e4cef4988 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_collections=>#<Hyrax::CustomQueries::Navigators::ChildCollectionsNavigator:0x00007f5e4cef4938 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_collection_ids=>#<Hyrax::CustomQueries::Navigators::ChildCollectionsNavigator:0x00007f5e4cef48e8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_collections=>#<Hyrax::CustomQueries::Navigators::ParentCollectionsNavigator:0x00007f5e4cef4898 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_collection_ids=>#<Hyrax::CustomQueries::Navigators::ParentCollectionsNavigator:0x00007f5e4cef4848 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_file_sets=>#<Hyrax::CustomQueries::Navigators::ChildFileSetsNavigator:0x00007f5e4cef47f8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_file_set_ids=>#<Hyrax::CustomQueries::Navigators::ChildFileSetsNavigator:0x00007f5e4cef47a8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_works=>#<Hyrax::CustomQueries::Navigators::ChildWorksNavigator:0x00007f5e4cef4758 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_child_work_ids=>#<Hyrax::CustomQueries::Navigators::ChildWorksNavigator:0x00007f5e4cef4708 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_work=>#<Hyrax::CustomQueries::Navigators::ParentWorkNavigator:0x00007f5e4cef46b8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_parent_work_id=>#<Hyrax::CustomQueries::Navigators::ParentWorkNavigator:0x00007f5e4cef4668 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_files=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4618 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_original_file=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef45c8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_extracted_text=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4578 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_thumbnail=>#<Hyrax::CustomQueries::Navigators::FindFiles:0x00007f5e4cef4528 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_access_control_for=>#<Hyrax::CustomQueries::FindAccessControl:0x00007f5e4cef44d8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_collections_by_type=>#<Hyrax::CustomQueries::FindCollectionsByType:0x00007f5e4cef4488 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_file_metadata_by=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4438 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_file_metadata_by_alternate_identifier=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef43e8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_file_metadata_by_ids=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4398 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_file_metadata_by_use=>#<Hyrax::CustomQueries::FindFileMetadata:0x00007f5e4cef4348 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_ids_by_model=>#<Hyrax::CustomQueries::FindIdsByModel:0x00007f5e4cef42f8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_many_by_alternate_ids=>#<Hyrax::CustomQueries::FindManyByAlternateIds:0x00007f5e4cef42a8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_models_by_access=>#<Hyrax::CustomQueries::FindModelsByAccess:0x00007f5e4cef4258 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_count_by=>#<Hyrax::CustomQueries::FindCountBy:0x00007f5e4cef4208 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>, :find_by_date_range=>#<Hyrax::CustomQueries::FindByDateRange:0x00007f5e4cef41b8 @query_service=#<Valkyrie::Persistence::Fedora::QueryService:0x00007f5e4cef4a28 ...>>}>>
./app/services/hyrax/custom_queries/find_models_by_access.rb:32:in `find_models_by_access'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/custom_query_container.rb:55:in `block (2 levels) in register_query_handler'
./app/services/hyrax/statistics/valkyrie_query_service.rb:38:in `where_access_is'
./app/services/hyrax/statistics/query_service.rb:28:in `where_public'
./app/services/hyrax/statistics/works/count.rb:38:in `by_permission'
./app/services/hyrax/statistics/works/count.rb:16:in `by_permission'
./spec/services/hyrax/statistics/works/count_spec.rb:29:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/models/featured_work_list_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: FeaturedWorkList featured_works when one of the works is deleted is a list of the remaining featured work objects, each with the generic_work's solr_doc (spec.models.featured_work_list_spec)

artifacts/spec-reports-sirenia-0/rspec-sirenia-0.xml [took 0s]
Raw output
Discovered tombstone resource at /test/48/94/d3/a8/4894d3a8-e92c-41e6-9846-0fe7733d4155, departed at: 2024-11-22T23:37:17.547346Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/48/94/d3/a8/4894d3a8-e92c-41e6-9846-0fe7733d4155, departed at: 2024-11-22T23:37:17.547346Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/models/featured_work_list_spec.rb:24:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/hyrax/transactions/work_destroy_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::Transactions::WorkDestroy#call deletes the file set (spec.hyrax.transactions.work_destroy_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/e1/19/9e/72/e1199e72-e1a7-4c8e-a38f-5ebaf900ff22, departed at: 2024-11-22T23:35:35.984903Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/e1/19/9e/72/e1199e72-e1a7-4c8e-a38f-5ebaf900ff22, departed at: 2024-11-22T23:35:35.984903Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/hyrax/transactions/work_destroy_spec.rb:32:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/hyrax/transactions/work_destroy_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::Transactions::WorkDestroy#call succeeds (spec.hyrax.transactions.work_destroy_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/6c/df/8b/a5/6cdf8ba5-3d90-4bad-a4a2-e3f47f4a4a52, departed at: 2024-11-22T23:35:35.290100Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/6c/df/8b/a5/6cdf8ba5-3d90-4bad-a4a2-e3f47f4a4a52, departed at: 2024-11-22T23:35:35.290100Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/hyrax/transactions/work_destroy_spec.rb:20:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/hyrax/transactions/work_destroy_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::Transactions::WorkDestroy#call deletes the access control resource (spec.hyrax.transactions.work_destroy_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/26/ab/79/ec/26ab79ec-6c50-479e-ab7f-0b095a4b0a7c, departed at: 2024-11-22T23:35:34.641614Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/26/ab/79/ec/26ab79ec-6c50-479e-ab7f-0b095a4b0a7c, departed at: 2024-11-22T23:35:34.641614Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/hyrax/transactions/work_destroy_spec.rb:39:in `block (4 levels) in <top (required)>'
./spec/hyrax/transactions/work_destroy_spec.rb:39:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/hyrax/transactions/work_destroy_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::Transactions::WorkDestroy#call deletes the work (spec.hyrax.transactions.work_destroy_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/1b/dd/54/4e/1bdd544e-4f98-4795-a64a-7a0f118e8c63, departed at: 2024-11-22T23:35:36.698054Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/1b/dd/54/4e/1bdd544e-4f98-4795-a64a-7a0f118e8c63, departed at: 2024-11-22T23:35:36.698054Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/hyrax/transactions/work_destroy_spec.rb:25:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/hyrax/transactions/work_destroy_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::Transactions::WorkDestroy#call with attached files deletes them (spec.hyrax.transactions.work_destroy_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 2s]
Raw output
Discovered tombstone resource at /test/02/82/d0/3e/0282d03e-49a5-424c-8626-b18c544df43e, departed at: 2024-11-22T23:35:39.779529Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/02/82/d0/3e/0282d03e-49a5-424c-8626-b18c544df43e, departed at: 2024-11-22T23:35:39.779529Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/hyrax/transactions/work_destroy_spec.rb:53:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/javascripts/jasmine_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: Jasmine expects all jasmine tests to pass (spec.javascripts.jasmine_spec)

artifacts/spec-reports-dassie-3/rspec-dassie-3.xml [took 1s]
artifacts/spec-reports-koppie-3/rspec-koppie-3.xml [took 2s]
artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 1s]
Raw output
 expected: 0      got: 1  (compared using ==)
Failure/Error: expect($CHILD_STATUS.exitstatus).to eq 0

  expected: 0
       got: 1

  (compared using ==)
./spec/javascripts/jasmine_spec.rb:21:in `block (2 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::WorksControllerBehavior#destroy when the user has edit access tells the user what they deleted (spec.controllers.concerns.hyrax.works_controller_behavior_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/c6/b7/b8/f5/c6b7b8f5-6494-4047-8a47-208bbea97a52, departed at: 2024-11-22T23:38:40.279297Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/c6/b7/b8/f5/c6b7b8f5-6494-4047-8a47-208bbea97a52, departed at: 2024-11-22T23:38:40.279297Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in `destroy'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:424:in `delete'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/concerns/hyrax/works_controller_behavior_spec.rb:338:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::WorksControllerBehavior#destroy when the user has edit access deletes the work (spec.controllers.concerns.hyrax.works_controller_behavior_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/1d/e9/5c/0a/1de95c0a-fa71-44da-929c-7f2787a130c8, departed at: 2024-11-22T23:38:39.295490Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/1d/e9/5c/0a/1de95c0a-fa71-44da-929c-7f2787a130c8, departed at: 2024-11-22T23:38:39.295490Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in `destroy'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:424:in `delete'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/concerns/hyrax/works_controller_behavior_spec.rb:331:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::WorksControllerBehavior#destroy when the user has edit access is a success (spec.controllers.concerns.hyrax.works_controller_behavior_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/fc/ae/4f/78/fcae4f78-13d5-4e2e-93dc-af4b9f0d1914, departed at: 2024-11-22T23:38:39.799629Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/fc/ae/4f/78/fcae4f78-13d5-4e2e-93dc-af4b9f0d1914, departed at: 2024-11-22T23:38:39.799629Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in `destroy'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:424:in `delete'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/concerns/hyrax/works_controller_behavior_spec.rb:325:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: Hyrax::WorksControllerBehavior#destroy when the user has edit access with trophies deletes the trophies (spec.controllers.concerns.hyrax.works_controller_behavior_spec)

artifacts/spec-reports-sirenia-3/rspec-sirenia-3.xml [took 0s]
Raw output
Discovered tombstone resource at /test/b6/de/73/3f/b6de733f-a6a9-40d4-a6fc-2dd8aa61b273, departed at: 2024-11-22T23:38:40.813585Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/b6/de/73/3f/b6de733f-a6a9-40d4-a6fc-2dd8aa61b273, departed at: 2024-11-22T23:38:40.813585Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in `destroy'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:424:in `delete'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/concerns/hyrax/works_controller_behavior_spec.rb:347:in `block (5 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Creating a new Work as admin when there are multiple admin sets allows default admin set to be the first item in the select menu (spec.features.create_work_admin_spec)

artifacts/spec-reports-sirenia-1/rspec-sirenia-1.xml [took 21s]
Raw output
expected to find visible select box "generic_work_admin_set_id" that is not disabled with "Default Admin Set" selected but there were no matches. Also found "Another Admin Set\nDefault Admin Set", which matched the selector but not all filters. Expected "Default Admin Set" to be selected found ["Another Admin Set"]
Failure/Error: expect(page).to have_select('generic_work_admin_set_id', selected: 'Default Admin Set')
  expected to find visible select box "generic_work_admin_set_id" that is not disabled with "Default Admin Set" selected but there were no matches. Also found "Another Admin Set\nDefault Admin Set", which matched the selector but not all filters. Expected "Default Admin Set" to be selected found ["Another Admin Set"]
./spec/features/create_work_admin_spec.rb:26:in `block (3 levels) in <top (required)>'
./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Deleting a work After deleting a work from the work show page redirects to my dashboard (spec.features.delete_work_spec)

artifacts/spec-reports-sirenia-1/rspec-sirenia-1.xml [took 2s]
Raw output
Discovered tombstone resource at /test/1b/66/07/bc/1b6607bc-31b9-457f-981c-83aa5bc293ac, departed at: 2024-11-22T23:32:29.781097Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/1b/66/07/bc/1b6607bc-31b9-457f-981c-83aa5bc293ac, departed at: 2024-11-22T23:32:29.781097Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in `destroy'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:254:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `each'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/routing/route_set.rb:842:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/app/bundle/ruby/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/flipflop-2.8.0/lib/flipflop/feature_cache.rb:12:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:98:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:37:in `call_app'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `block in call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:37:in `tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/tagged_logging.rb:99:in `tagged'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/rack/logger.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/app/bundle/ruby/3.2.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/method_override.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/executor.rb:14:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/static.rb:24:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
/app/bundle/ruby/3.2.0/gems/railties-6.1.7.10/lib/rails/engine.rb:539:in `call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:74:in `block in call'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `each'
/app/bundle/ruby/3.2.0/gems/rack-2.2.10/lib/rack/urlmap.rb:58:in `call'
/app/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'
/app/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request'
/app/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `delete'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/browser.rb:81:in `process'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/browser.rb:56:in `process_and_follow_redirects'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/browser.rb:51:in `follow'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/node.rb:245:in `follow_link'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/node.rb:66:in `click'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/node.rb:131:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/rack_test/node.rb:131:in `click'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/element.rb:172:in `block in click'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/element.rb:608:in `block in perform_click_action'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/base.rb:84:in `synchronize'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/element.rb:608:in `perform_click_action'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/element.rb:171:in `click'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/node/actions.rb:26:in `click_link_or_button'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/session.rb:774:in `click_on'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/dsl.rb:52:in `call'
/app/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/dsl.rb:52:in `click_on'
./spec/features/delete_work_spec.rb:13:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Hyrax::TransfersPresenter#incoming_proxy_deposits When the incoming request is for a deleted work does not show that work (spec.presenters.hyrax.transfers_presenter_spec)

artifacts/spec-reports-sirenia-1/rspec-sirenia-1.xml [took 0s]
Raw output
Discovered tombstone resource at /test/18/a1/59/26/18a15926-072e-4e20-904d-e9213cc6adce, departed at: 2024-11-22T23:34:37.785267Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/18/a1/59/26/18a15926-072e-4e20-904d-e9213cc6adce, departed at: 2024-11-22T23:34:37.785267Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./spec/presenters/hyrax/transfers_presenter_spec.rb:36:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Hyrax::BatchEditsController update with work resources is successful (spec.controllers.hyrax.batch_edits_controller_spec)

artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 1s]
Raw output
Discovered tombstone resource at /test/34/05/cf/fc/3405cffc-450f-43d2-ad71-1bb3a021b1f4, departed at: 2024-11-22T23:37:26.148565Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/34/05/cf/fc/3405cffc-450f-43d2-ad71-1bb3a021b1f4, departed at: 2024-11-22T23:37:26.148565Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/hyrax/batch_edits_controller.rb:113:in `block in destroy_batch'
./app/controllers/hyrax/batch_edits_controller.rb:108:in `each'
./app/controllers/hyrax/batch_edits_controller.rb:108:in `destroy_batch'
./app/controllers/hyrax/batch_edits_controller.rb:91:in `update'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:418:in `put'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/hyrax/batch_edits_controller_spec.rb:190:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Hyrax::BatchEditsController update with work resources redirects to the return controller (spec.controllers.hyrax.batch_edits_controller_spec)

artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 1s]
Raw output
Discovered tombstone resource at /test/36/ab/c2/94/36abc294-d4a8-4a4a-bc56-6b8be222c632, departed at: 2024-11-22T23:37:27.656693Z
Failure/Error:
  Hyrax.query_service.find_parents(resource: object).each do |parent|
    parent.member_ids -= [object.id]
    Hyrax.persister.save(resource: parent)
    Hyrax.index_adapter.save(resource: parent)
    Hyrax.publisher.publish('object.membership.updated', object: parent, user: user)
  end

Ldp::Gone:
  Discovered tombstone resource at /test/36/ab/c2/94/36abc294-d4a8-4a4a-bc56-6b8be222c632, departed at: 2024-11-22T23:37:27.656693Z
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:119:in `block in check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:117:in `check_for_errors'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:53:in `block in get'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp.rb:43:in `instrument'
/app/bundle/ruby/3.2.0/gems/ldp-1.2.1/lib/ldp/client/methods.rb:33:in `get'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:108:in `content_with_inbound'
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/persistence/fedora/query_service.rb:42:in `find_parents'
./app/services/hyrax/listeners/member_cleanup_listener.rb:19:in `on_object_deleted'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `call'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:46:in `block in publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:38:in `block in process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `each'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:34:in `process'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/bus.rb:45:in `publish'
/app/bundle/ruby/3.2.0/gems/dry-events-1.0.1/lib/dry/events/publisher.rb:207:in `publish'
./lib/hyrax/transactions/steps/delete_resource.rb:45:in `publish_changes'
./lib/hyrax/transactions/steps/delete_resource.rb:31:in `call'
./lib/hyrax/transactions/transaction.rb:99:in `block in call'
./lib/hyrax/transactions/transaction.rb:97:in `each'
./lib/hyrax/transactions/transaction.rb:97:in `inject'
./lib/hyrax/transactions/transaction.rb:97:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `block in call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do/mixin.rb:40:in `call'
/app/bundle/ruby/3.2.0/gems/dry-monads-1.6.0/lib/dry/monads/do.rb:131:in `call'
./app/controllers/hyrax/batch_edits_controller.rb:113:in `block in destroy_batch'
./app/controllers/hyrax/batch_edits_controller.rb:108:in `each'
./app/controllers/hyrax/batch_edits_controller.rb:108:in `destroy_batch'
./app/controllers/hyrax/batch_edits_controller.rb:91:in `update'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:228:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rendering.rb:30:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/rendering.rb:20:in `with_renderer'
/app/bundle/ruby/3.2.0/gems/actiontext-6.1.7.10/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/callbacks.rb:41:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/rescue.rb:22:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.10/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/abstract_controller/base.rb:165:in `process'
/app/bundle/ruby/3.2.0/gems/actionview-6.1.7.10/lib/action_view/rendering.rb:39:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/metal.rb:190:in `dispatch'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:580:in `process_controller_response'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:499:in `process'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `block in process'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `catch'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/app/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/test/controller_helpers.rb:35:in `process'
/app/bundle/ruby/3.2.0/gems/actionpack-6.1.7.10/lib/action_controller/test_case.rb:418:in `put'
/app/bundle/ruby/3.2.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/hyrax/batch_edits_controller_spec.rb:198:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/jobs/create_work_job_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: CreateWorkJob#perform with a Valkyrie model it creates a work and a file_set (spec.jobs.create_work_job_spec)

artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 1s]
Raw output
 expected: ["File One"]      got: ["Embargo test CHANGED"]  (compared using ==)
Failure/Error: expect(work.title).to eq ['File One']

  expected: ["File One"]
       got: ["Embargo test CHANGED"]

  (compared using ==)
./spec/jobs/create_work_job_spec.rb:79:in `block (4 levels) in <top (required)>'
./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: Hyrax::Indexers::FileSetIndexer#to_solr has fields (spec.indexers.hyrax.indexers.file_set_indexer_spec)

artifacts/spec-reports-koppie-2/rspec-koppie-2.xml [took 0s]
artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 0s]
Raw output
Unable to find a StorageAdapter
Failure/Error: Valkyrie::StorageAdapter.adapter_for(id: resource.file_identifier)

Valkyrie::StorageAdapter::AdapterNotFoundError:
  Unable to find a StorageAdapter
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/storage_adapter.rb:64:in `adapter_for'
./app/services/hyrax/versioning_service.rb:26:in `initialize'
./app/services/hyrax/versioning_service.rb:106:in `new'
./app/services/hyrax/versioning_service.rb:106:in `latest_version_of'
./app/models/hyrax/file_set.rb:80:in `iiif_id'
./app/indexers/hyrax/indexers/file_set_indexer.rb:20:in `block in to_solr'
./app/indexers/hyrax/indexers/file_set_indexer.rb:15:in `to_solr'
./app/indexers/hyrax/indexers/resource_indexer.rb:59:in `generate_solr_document'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:134:in `block (3 levels) in <top (required)>'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:137:in `block (3 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: Hyrax::Indexers::FileSetIndexer#to_solr with an expired embargo sets the embargo expiration date and visibility settings (spec.indexers.hyrax.indexers.file_set_indexer_spec)

artifacts/spec-reports-koppie-2/rspec-koppie-2.xml [took 0s]
artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 0s]
Raw output
Unable to find a StorageAdapter
Failure/Error: Valkyrie::StorageAdapter.adapter_for(id: resource.file_identifier)

Valkyrie::StorageAdapter::AdapterNotFoundError:
  Unable to find a StorageAdapter
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/storage_adapter.rb:64:in `adapter_for'
./app/services/hyrax/versioning_service.rb:26:in `initialize'
./app/services/hyrax/versioning_service.rb:106:in `new'
./app/services/hyrax/versioning_service.rb:106:in `latest_version_of'
./app/models/hyrax/file_set.rb:80:in `iiif_id'
./app/indexers/hyrax/indexers/file_set_indexer.rb:20:in `block in to_solr'
./app/indexers/hyrax/indexers/file_set_indexer.rb:15:in `to_solr'
./app/indexers/hyrax/indexers/resource_indexer.rb:59:in `generate_solr_document'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:134:in `block (3 levels) in <top (required)>'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:263:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: Hyrax::Indexers::FileSetIndexer#to_solr with a valid embargo sets the embargo expiration date and visibility settings (spec.indexers.hyrax.indexers.file_set_indexer_spec)

artifacts/spec-reports-koppie-2/rspec-koppie-2.xml [took 0s]
artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 0s]
Raw output
Unable to find a StorageAdapter
Failure/Error: Valkyrie::StorageAdapter.adapter_for(id: resource.file_identifier)

Valkyrie::StorageAdapter::AdapterNotFoundError:
  Unable to find a StorageAdapter
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/storage_adapter.rb:64:in `adapter_for'
./app/services/hyrax/versioning_service.rb:26:in `initialize'
./app/services/hyrax/versioning_service.rb:106:in `new'
./app/services/hyrax/versioning_service.rb:106:in `latest_version_of'
./app/models/hyrax/file_set.rb:80:in `iiif_id'
./app/indexers/hyrax/indexers/file_set_indexer.rb:20:in `block in to_solr'
./app/indexers/hyrax/indexers/file_set_indexer.rb:15:in `to_solr'
./app/indexers/hyrax/indexers/resource_indexer.rb:59:in `generate_solr_document'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:134:in `block (3 levels) in <top (required)>'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:250:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: Hyrax::Indexers::FileSetIndexer#to_solr with a valid lease sets the lease expiration date and visibility settings (spec.indexers.hyrax.indexers.file_set_indexer_spec)

artifacts/spec-reports-koppie-2/rspec-koppie-2.xml [took 0s]
artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 0s]
Raw output
Unable to find a StorageAdapter
Failure/Error: Valkyrie::StorageAdapter.adapter_for(id: resource.file_identifier)

Valkyrie::StorageAdapter::AdapterNotFoundError:
  Unable to find a StorageAdapter
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/storage_adapter.rb:64:in `adapter_for'
./app/services/hyrax/versioning_service.rb:26:in `initialize'
./app/services/hyrax/versioning_service.rb:106:in `new'
./app/services/hyrax/versioning_service.rb:106:in `latest_version_of'
./app/models/hyrax/file_set.rb:80:in `iiif_id'
./app/indexers/hyrax/indexers/file_set_indexer.rb:20:in `block in to_solr'
./app/indexers/hyrax/indexers/file_set_indexer.rb:15:in `to_solr'
./app/indexers/hyrax/indexers/resource_indexer.rb:59:in `generate_solr_document'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:134:in `block (3 levels) in <top (required)>'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:276:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Check warning on line 0 in ./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: Hyrax::Indexers::FileSetIndexer#to_solr when original_file is not versioned does not have version info indexed (spec.indexers.hyrax.indexers.file_set_indexer_spec)

artifacts/spec-reports-koppie-2/rspec-koppie-2.xml [took 0s]
artifacts/spec-reports-sirenia-2/rspec-sirenia-2.xml [took 0s]
Raw output
Unable to find a StorageAdapter
Failure/Error: Valkyrie::StorageAdapter.adapter_for(id: resource.file_identifier)

Valkyrie::StorageAdapter::AdapterNotFoundError:
  Unable to find a StorageAdapter
/app/bundle/ruby/3.2.0/bundler/gems/valkyrie-4aeffacb4bf3/lib/valkyrie/storage_adapter.rb:64:in `adapter_for'
./app/services/hyrax/versioning_service.rb:26:in `initialize'
./app/services/hyrax/versioning_service.rb:106:in `new'
./app/services/hyrax/versioning_service.rb:106:in `latest_version_of'
./app/models/hyrax/file_set.rb:80:in `iiif_id'
./app/indexers/hyrax/indexers/file_set_indexer.rb:20:in `block in to_solr'
./app/indexers/hyrax/indexers/file_set_indexer.rb:15:in `to_solr'
./app/indexers/hyrax/indexers/resource_indexer.rb:59:in `generate_solr_document'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:134:in `block (3 levels) in <top (required)>'
./spec/indexers/hyrax/indexers/file_set_indexer_spec.rb:240:in `block (4 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'