Skip to content

fix 2 for sonyci_id #447

fix 2 for sonyci_id

fix 2 for sonyci_id #447

GitHub Actions / JUnit Test Report failed Dec 20, 2023 in 0s

386 tests run, 355 passed, 27 skipped, 4 failed.

Annotations

Check failure on line 40 in spec/services/ams/export/delivery/aapb_delivery_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/ams/export/delivery/aapb_delivery_spec.rb.AMS::Export::Delivery::AAPBDelivery#ingester returns an AMS::AAPBRemoteIngester instance configured with ENV vars

Not a gid:// URI scheme: #<URI::GID gid://>
Raw output
Failure/Error: find(GlobalID.new(gid).model_id)

URI::BadURIError:
  Not a gid:// URI scheme: #<URI::GID gid://>
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:150:in `check_scheme'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `new'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `parse'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/global_id.rb:45:in `initialize'
./app/models/admin_data.rb:21:in `new'
./app/models/admin_data.rb:21:in `find_by_gid'
./app/models/solr_document.rb:553:in `admin_data'
./app/models/solr_document.rb:558:in `annotations'
./app/models/ams/pbcore_xml_export_extension.rb:331:in `prepare_annotations'
./app/models/ams/pbcore_xml_export_extension.rb:161:in `prepare_asset'
./app/models/ams/pbcore_xml_export_extension.rb:19:in `block (2 levels) in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:433:in `insert'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:415:in `method_missing'
./app/models/ams/pbcore_xml_export_extension.rb:17:in `block in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:331:in `initialize'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `new'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `pbcore_xml_builder'
./app/models/ams/pbcore_xml_export_extension.rb:9:in `export_as_pbcore'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (3 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (2 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `each'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `block in write_to_file'
/usr/local/bundle/gems/rubyzip-1.3.0/lib/zip/file.rb:114:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:16:in `write_to_file'
./app/services/ams/export/results/base.rb:8:in `initialize'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `new'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:26:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:31:in `block (3 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:40:in `block (3 levels) in <top (required)>'

Check failure on line 55 in spec/services/ams/export/delivery/aapb_delivery_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/ams/export/delivery/aapb_delivery_spec.rb.AMS::Export::Delivery::AAPBDelivery#deliver calls AAPBRemoteIngester#run!

Not a gid:// URI scheme: #<URI::GID gid://>
Raw output
Failure/Error: find(GlobalID.new(gid).model_id)

URI::BadURIError:
  Not a gid:// URI scheme: #<URI::GID gid://>
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:150:in `check_scheme'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `new'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `parse'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/global_id.rb:45:in `initialize'
./app/models/admin_data.rb:21:in `new'
./app/models/admin_data.rb:21:in `find_by_gid'
./app/models/solr_document.rb:553:in `admin_data'
./app/models/solr_document.rb:558:in `annotations'
./app/models/ams/pbcore_xml_export_extension.rb:331:in `prepare_annotations'
./app/models/ams/pbcore_xml_export_extension.rb:161:in `prepare_asset'
./app/models/ams/pbcore_xml_export_extension.rb:19:in `block (2 levels) in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:433:in `insert'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:415:in `method_missing'
./app/models/ams/pbcore_xml_export_extension.rb:17:in `block in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:331:in `initialize'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `new'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `pbcore_xml_builder'
./app/models/ams/pbcore_xml_export_extension.rb:9:in `export_as_pbcore'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (3 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (2 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `each'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `block in write_to_file'
/usr/local/bundle/gems/rubyzip-1.3.0/lib/zip/file.rb:114:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:16:in `write_to_file'
./app/services/ams/export/results/base.rb:8:in `initialize'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `new'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:26:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:55:in `block (3 levels) in <top (required)>'

Check failure on line 55 in spec/services/ams/export/delivery/aapb_delivery_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/ams/export/delivery/aapb_delivery_spec.rb.AMS::Export::Delivery::AAPBDelivery#deliver populates the #notification_data with the remote ingest output

Not a gid:// URI scheme: #<URI::GID gid://>
Raw output
Failure/Error: find(GlobalID.new(gid).model_id)

URI::BadURIError:
  Not a gid:// URI scheme: #<URI::GID gid://>
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:150:in `check_scheme'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `new'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `parse'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/global_id.rb:45:in `initialize'
./app/models/admin_data.rb:21:in `new'
./app/models/admin_data.rb:21:in `find_by_gid'
./app/models/solr_document.rb:553:in `admin_data'
./app/models/solr_document.rb:558:in `annotations'
./app/models/ams/pbcore_xml_export_extension.rb:331:in `prepare_annotations'
./app/models/ams/pbcore_xml_export_extension.rb:161:in `prepare_asset'
./app/models/ams/pbcore_xml_export_extension.rb:19:in `block (2 levels) in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:433:in `insert'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:415:in `method_missing'
./app/models/ams/pbcore_xml_export_extension.rb:17:in `block in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:331:in `initialize'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `new'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `pbcore_xml_builder'
./app/models/ams/pbcore_xml_export_extension.rb:9:in `export_as_pbcore'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (3 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (2 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `each'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `block in write_to_file'
/usr/local/bundle/gems/rubyzip-1.3.0/lib/zip/file.rb:114:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:16:in `write_to_file'
./app/services/ams/export/results/base.rb:8:in `initialize'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `new'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:26:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:55:in `block (3 levels) in <top (required)>'

Check failure on line 55 in spec/services/ams/export/delivery/aapb_delivery_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/ams/export/delivery/aapb_delivery_spec.rb.AMS::Export::Delivery::AAPBDelivery#deliver updates the :last_pushed value to the current time for each asset

Not a gid:// URI scheme: #<URI::GID gid://>
Raw output
Failure/Error: find(GlobalID.new(gid).model_id)

URI::BadURIError:
  Not a gid:// URI scheme: #<URI::GID gid://>
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:150:in `check_scheme'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `new'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/uri/gid.rb:66:in `parse'
/usr/local/bundle/gems/globalid-1.2.1/lib/global_id/global_id.rb:45:in `initialize'
./app/models/admin_data.rb:21:in `new'
./app/models/admin_data.rb:21:in `find_by_gid'
./app/models/solr_document.rb:553:in `admin_data'
./app/models/solr_document.rb:558:in `annotations'
./app/models/ams/pbcore_xml_export_extension.rb:331:in `prepare_annotations'
./app/models/ams/pbcore_xml_export_extension.rb:161:in `prepare_asset'
./app/models/ams/pbcore_xml_export_extension.rb:19:in `block (2 levels) in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:433:in `insert'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:415:in `method_missing'
./app/models/ams/pbcore_xml_export_extension.rb:17:in `block in pbcore_xml_builder'
/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/builder.rb:331:in `initialize'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `new'
./app/models/ams/pbcore_xml_export_extension.rb:16:in `pbcore_xml_builder'
./app/models/ams/pbcore_xml_export_extension.rb:9:in `export_as_pbcore'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (3 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:21:in `block (2 levels) in write_to_file'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `each'
./app/services/ams/export/results/pbcore_zip_results.rb:17:in `block in write_to_file'
/usr/local/bundle/gems/rubyzip-1.3.0/lib/zip/file.rb:114:in `open'
./app/services/ams/export/results/pbcore_zip_results.rb:16:in `write_to_file'
./app/services/ams/export/results/base.rb:8:in `initialize'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `new'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:21:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:26:in `block (2 levels) in <top (required)>'
./spec/services/ams/export/delivery/aapb_delivery_spec.rb:55:in `block (3 levels) in <top (required)>'