Skip to content

make iiif_print and s3 backed valkyrie storage play nicely together #2018

make iiif_print and s3 backed valkyrie storage play nicely together

make iiif_print and s3 backed valkyrie storage play nicely together #2018

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

1 fail, 50 skipped, 1 989 pass in 17m 58s

    3 files      3 suites   17m 58s ⏱️
2 040 tests 1 989 ✅ 50 💤 1 ❌
2 067 runs  2 014 ✅ 52 💤 1 ❌

Results for commit 40b16a8.

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

RemoveSolrCollectionJob destroys the solr collection (spec.jobs.remove_solr_collection_job_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
One of the following schema(s) is invalid: "f7ce19d9-9519-45d8-a36f-20b02135e1ab" "f7ce19d9-9519-45d8-a36f-20b02135e1ab", "shared_extensions"
Failure/Error:
  Apartment::Tenant.switch(current_tenant) do
    yield
  end

Apartment::TenantNotFound:
  One of the following schema(s) is invalid: "f7ce19d9-9519-45d8-a36f-20b02135e1ab" "f7ce19d9-9519-45d8-a36f-20b02135e1ab", "shared_extensions"
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:79:in `rescue in connect_to_new'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:64:in `connect_to_new'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:71:in `block in switch!'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:68:in `switch!'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:84:in `switch'
./lib/active_job_tenant.rb:83:in `switch'
./lib/active_job_tenant.rb:64:in `perform_now'
./spec/jobs/remove_solr_collection_job_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
ActiveRecord::StatementInvalid:
  Could not find schema f7ce19d9-9519-45d8-a36f-20b02135e1ab
  /usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:66:in `connect_to_new'