Skip to content

Link Build Test of 6914/merge by @orangewolf #82

Link Build Test of 6914/merge by @orangewolf

Link Build Test of 6914/merge by @orangewolf #82

GitHub Actions / Test Results failed Oct 10, 2024 in 0s

52 fail, 297 skipped, 6 358 pass in 2h 17m 57s

    17 files  ±0      17 suites  ±0   2h 17m 57s ⏱️ + 1m 31s
 6 707 tests ±0   6 358 ✅  - 51  297 💤 ±0  52 ❌ +51 
13 183 runs  ±0  12 731 ✅  - 55  396 💤 +1  56 ❌ +54 

Results for commit d20bde8. ± Comparison against earlier commit 0bdcfb4.

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MigrateFilesToValkyrieJob it migrates all derivatives along with a file (spec.jobs.migrate_files_to_valkyrie_job_spec)

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 2s]
Raw output
undefined method `original_filename' for #<Hydra::PCDM::File uri="http://fcrepo:8080/rest/test/71/09/b3/f9/7109b3f9-4fcf-4af6-8fa1-2c9837e9984c/files/e883d92d-e9c2-4dd9-84f5-0c20bebc4594" >
Failure/Error: saved_metadata.original_filename = filename if saved_metadata.original_filename.blank?

NoMethodError:
  undefined method `original_filename' for #<Hydra::PCDM::File uri="http://fcrepo:8080/rest/test/71/09/b3/f9/7109b3f9-4fcf-4af6-8fa1-2c9837e9984c/files/e883d92d-e9c2-4dd9-84f5-0c20bebc4594" >
/app/bundle/ruby/3.2.0/gems/activemodel-6.1.7.8/lib/active_model/attribute_methods.rb:469:in `method_missing'
./app/services/hyrax/valkyrie_upload.rb:61:in `upload'
./app/services/hyrax/valkyrie_upload.rb:26:in `file'
./app/jobs/migrate_files_to_valkyrie_job.rb:48:in `block (2 levels) in migrate_files!'
./app/jobs/migrate_files_to_valkyrie_job.rb:42:in `block in migrate_files!'
./app/jobs/migrate_files_to_valkyrie_job.rb:37:in `each'
./app/jobs/migrate_files_to_valkyrie_job.rb:37:in `migrate_files!'
./app/jobs/migrate_files_to_valkyrie_job.rb:12:in `perform'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/execution.rb:48:in `block in perform_now'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:21:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:31:in `instrument'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:14:in `block (2 levels) in <module:Instrumentation>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:22:in `block in tag_logger'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:37:in `tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in `tagged'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:22:in `tag_logger'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:15:in `block (2 levels) in <module:Logging>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/execution.rb:47:in `perform_now'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/execution.rb:25:in `block in execute'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/railtie.rb:47:in `block (4 levels) in <class:Railtie>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/reloader.rb:72:in `block in wrap'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/reloader.rb:71:in `wrap'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/railtie.rb:46:in `block (3 levels) in <class:Railtie>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/execution.rb:23:in `execute'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/queue_adapters/test_adapter.rb:50:in `perform_or_enqueue'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/queue_adapters/test_adapter.rb:30:in `enqueue'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/enqueuing.rb:59:in `block in enqueue'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:21:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:31:in `instrument'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/instrumentation.rb:9:in `block (2 levels) in <module:Instrumentation>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:22:in `block in tag_logger'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:37:in `tagged'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in `tagged'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:22:in `tag_logger'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `instance_exec'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/enqueuing.rb:55:in `enqueue'
/app/bundle/ruby/3.2.0/gems/activejob-6.1.7.8/lib/active_job/enqueuing.rb:22:in `perform_later'
./lib/freyja/persister.rb:35:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/jobs/migrate_files_to_valkyrie_job_spec.rb:11:in `block (2 levels) in <top (required)>'
./spec/jobs/migrate_files_to_valkyrie_job_spec.rb:43:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:309: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle custom-typed RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:109: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store booleans (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:166: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Double RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Integer RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:144: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Decimal RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:130: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Date RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:116: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can delete objects (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:264: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store DateTimes (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:173: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can override default id generation with a provided id (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:216: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can save nested resources (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:69: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can delete all objects but only from postgres (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:47:in `block (2 levels) in save_all'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:46:in `map'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:46:in `block in save_all'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:209:in `transaction'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:45:in `save_all'
./spec/lib/freyja/persister_spec.rb:274: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store integers (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:195: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can save multiple resources at once (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:47:in `block (2 levels) in save_all'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:46:in `map'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:46:in `block in save_all'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/app/bundle/ruby/3.2.0/gems/activesupport-6.1.7.8/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/app/bundle/ruby/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/transactions.rb:209:in `transaction'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/persister.rb:45:in `save_all'
./spec/lib/freyja/persister_spec.rb:61: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base doesn't override a resource that already has an ID (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:248: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store Times (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:181: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Time RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:158: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store Floats (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:189: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base stores created_at/updated_at (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:90: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can store Valkyrie::IDs (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:207: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle language-typed RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:151: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle DateTime RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:123: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can handle Boolean RDF properties (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:102: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can persist single values (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:78: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/lib/freyja/persister_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Freyja::Persister When passing a Valkyrie::Resource that was never an ActiveFedora::Base can save a resource (spec.lib.freyja.persister_spec) failed

artifacts/spec-reports-dassie-4/rspec-dassie-4.xml [took 0s]
Raw output
unknown attribute 'metadata' for Custom.
Failure/Error: new_resource = resource_factory.to_resource(object: orm_object)

ActiveFedora::UnknownAttributeError:
  unknown attribute 'metadata' for Custom.
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:48:in `_assign_attribute'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:43:in `block in _assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `each'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:42:in `_assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/attribute_assignment.rb:36:in `assign_attributes'
/app/bundle/ruby/3.2.0/gems/active-fedora-14.0.1/lib/active_fedora/core.rb:37:in `initialize'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `new'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:27:in `resource'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/orm_converter.rb:19:in `convert!'
/app/bundle/ruby/3.2.0/gems/valkyrie-3.3.0/lib/valkyrie/persistence/postgres/resource_factory.rb:20:in `to_resource'
./lib/freyja/persister.rb:34:in `convert_and_migrate_resource'
./lib/freyja/persister.rb:26:in `save'
./spec/lib/freyja/persister_spec.rb:54: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)>'