Update base image #2268
Update base image #2268
9 fail, 50 skipped, 1 968 pass in 19m 4s
3 files 3 suites 19m 4s ⏱️
2 027 tests 1 968 ✅ 50 💤 9 ❌
2 054 runs 1 993 ✅ 52 💤 9 ❌
Results for commit 4094d05.
Annotations
Check warning on line 0 in ./spec/models/featured_collection_list_spec.rb
github-actions / Test Results
FeaturedCollectionList featured_collections when sorting the featured collections when the featured collections have not been manually ordered is sorted by title (spec.models.featured_collection_list_spec) failed
artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
expected: ["Collection Title 9", "Collection Title 10"] got: ["Collection Title 10", "Collection Title 9"] (compared using ==)
Failure/Error: expect(instance.featured_collections.map(&:presenter).map(&:title).flatten).to eq [collection1.title.first, collection2.title.first]
expected: ["Collection Title 9", "Collection Title 10"]
got: ["Collection Title 10", "Collection Title 9"]
(compared using ==)
./spec/models/featured_collection_list_spec.rb:48:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/helpers/hyrax_helper_spec.rb
github-actions / Test Results
HyraxHelper#directory_image with uploaded directory image returns the uploaded directory image (spec.helpers.hyrax_helper_spec) failed
artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
expected: nil got: false (compared using ==)
Failure/Error: expect(helper.directory_image).to eq(Site.instance.directory_image.url)
expected: nil
got: false
(compared using ==)
./spec/helpers/hyrax_helper_spec.rb:31:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/helpers/hyrax_helper_spec.rb
github-actions / Test Results
HyraxHelper#banner_image with uploaded banner image returns the uploaded banner image (spec.helpers.hyrax_helper_spec) failed
artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
expected: nil got: "https://user-images.githubusercontent.com/101482/29949206-ffa60d2c-8e67-11e7-988d-4910b8787d56.jpg" (compared using ==)
Failure/Error: expect(helper.banner_image).to eq(Site.instance.banner_image.url)
expected: nil
got: "https://user-images.githubusercontent.com/101482/29949206-ffa60d2c-8e67-11e7-988d-4910b8787d56.jpg"
(compared using ==)
./spec/helpers/hyrax_helper_spec.rb:12:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/sites_controller_spec.rb
github-actions / Test Results
SitesController with an administrator site with existing directory image #update with remove_directory_image deletes a directory image (spec.controllers.sites_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
expected true got false
Failure/Error: expect(Site.instance.directory_image?).to be true
expected true
got false
./spec/controllers/sites_controller_spec.rb:81:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/sites_controller_spec.rb
github-actions / Test Results
SitesController with an administrator site with existing directory image when update fails #update with remove_directory_image sets error flash (spec.controllers.sites_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
expected true got false
Failure/Error: expect(Site.instance.directory_image?).to be true
expected true
got false
./spec/controllers/sites_controller_spec.rb:99:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/sites_controller_spec.rb
github-actions / Test Results
SitesController with an administrator site with existing logo image and logo text #update with remove_logo_image deletes both image and text (spec.controllers.sites_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
expected true got false
Failure/Error: expect(Site.instance.logo_image?).to be true
expected true
got false
./spec/controllers/sites_controller_spec.rb:123:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/sites_controller_spec.rb
github-actions / Test Results
SitesController with an administrator site with existing banner image #update with remove_banner_image deletes a banner image (spec.controllers.sites_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
expected true got false
Failure/Error: expect(Site.instance.banner_image?).to be true
expected true
got false
./spec/controllers/sites_controller_spec.rb:45:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/hyrax/admin/appearances_controller_spec.rb
github-actions / Test Results
Hyrax::Admin::AppearancesController with an administrator PUT #update with valid params sets a banner image (spec.controllers.hyrax.admin.appearances_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Validation failed: Banner image Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `magick identify /tmp/mini_magick20240719-68-b0upcv.jpg` failed with status: 1 and error: identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/741.
Failure/Error:
site.update!(banner_attributes.merge(logo_attributes)
.merge(favicon_attributes)
.merge(directory_attributes)
.merge(default_image_attributes))
ActiveRecord::RecordInvalid:
Validation failed: Banner image Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `magick identify /tmp/mini_magick20240719-68-b0upcv.jpg` failed with status: 1 and error:
identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/741.
./app/forms/hyrax/forms/admin/appearance_decorator.rb:450:in `update!'
./app/controllers/hyrax/admin/appearances_controller_decorator.rb:27:in `update'
/usr/local/bundle/gems/actiontext-6.1.7.8/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/gems/actiontext-6.1.7.8/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/usr/local/bundle/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:35:in `block in process'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:104:in `catch'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:35:in `process'
/usr/local/bundle/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/hyrax/admin/appearances_controller_spec.rb:47:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/hyrax/admin/appearances_controller_spec.rb
github-actions / Test Results
Hyrax::Admin::AppearancesController with an administrator PUT #update with valid params sets a directory image (spec.controllers.hyrax.admin.appearances_controller_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
Validation failed: Directory image Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `magick identify /tmp/mini_magick20240719-68-3ogzoz.jpg` failed with status: 1 and error: identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/741.
Failure/Error:
site.update!(banner_attributes.merge(logo_attributes)
.merge(favicon_attributes)
.merge(directory_attributes)
.merge(default_image_attributes))
ActiveRecord::RecordInvalid:
Validation failed: Directory image Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `magick identify /tmp/mini_magick20240719-68-3ogzoz.jpg` failed with status: 1 and error:
identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/741.
./app/forms/hyrax/forms/admin/appearance_decorator.rb:450:in `update!'
./app/controllers/hyrax/admin/appearances_controller_decorator.rb:27:in `update'
/usr/local/bundle/gems/actiontext-6.1.7.8/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/gems/actiontext-6.1.7.8/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
/usr/local/bundle/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:35:in `block in process'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:104:in `catch'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:104:in `_catch_warden'
/usr/local/bundle/gems/devise-4.9.3/lib/devise/test/controller_helpers.rb:35:in `process'
/usr/local/bundle/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
./spec/controllers/hyrax/admin/appearances_controller_spec.rb:56:in `block (5 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'