Skip to content

Pbcore export nils #434

Pbcore export nils

Pbcore export nils #434

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

222 tests run, 202 passed, 17 skipped, 3 failed.

Annotations

Check failure on line 44 in spec/services/ams/export/search/digital_instantiations_search_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/ams/export/search/digital_instantiations_search_spec.rb.AMS::Export::Search::DigitalInstantiationsSearch solr_documents returns all of the DigitalInstantiation Solr documents that are members of the the Assets records returned by the search params

expected `[].empty?` to return false, got true
Raw output
Failure/Error: expect(solr_documents).not_to be_empty
  expected `[].empty?` to return false, got true
./spec/services/ams/export/search/digital_instantiations_search_spec.rb:44:in `block (3 levels) in <top (required)>'

Check failure on line 12 in spec/indexers/physical_instantiation_resource_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/indexers/physical_instantiation_resource_indexer_spec.rb.PhysicalInstantiationResourceIndexer behaves like a Hyrax::Resource indexer #to_solr indexes base resource fields

expected {"admin_set_id_ssim" => [""], "admin_set_sim" => nil, "admin_set_tesim" => nil, "alternate_ids_sim" => ["id1"..." => [], "title_tesim" => [], "tracks_tesim" => nil, "valkyrie_bsi" => true, "visibility_ssi" => "restricted"} to include {:has_model_ssim => "PhysicalInstantiationResource"}
Diff:
@@ -1,4 +1,72 @@
-:alternate_ids_sim => (a collection containing exactly "id1" and "id2"),
-:has_model_ssim => "PhysicalInstantiationResource",
-:human_readable_type_tesim => "Physical instantiation resource",
+"admin_set_id_ssim" => [""],
+"admin_set_sim" => nil,
+"admin_set_tesim" => nil,
+"alternate_ids_sim" => ["id1", "id2"],
+"alternative_modes_tesim" => nil,
+"annotation_tesim" => [],
+"based_near_label_tesim" => [],
+"based_near_sim" => [],
+"based_near_tesim" => [],
+"bulkrax_identifier_sim" => nil,
+"bulkrax_identifier_tesim" => nil,
+"channel_configuration_tesim" => nil,
+"colors_tesim" => nil,
+"contributor_tesim" => [],
+"creator_tesim" => [],
+"date_created_tesim" => [],
+"date_modified_dtsi" => nil,
+"date_sim" => [],
+"date_tesim" => [],
+"date_uploaded_dtsi" => nil,
+"depositor_ssim" => [nil],
+"depositor_tesim" => [nil],
+"description_tesim" => [],
+"digitization_date_tesim" => nil,
+"dimensions_tesim" => [],
+"duration_tesim" => nil,
+"edit_access_group_ssim" => [],
+"edit_access_person_ssim" => [],
+"embargo_history_ssim" => nil,
+"format_tesim" => nil,
+"generations_sim" => [],
+"generations_tesim" => [],
+"generic_type_si" => "Work",
+"hasRelatedImage_ssim" => [""],
+"hasRelatedMediaFragment_ssim" => [""],
+"has_model_ssim" => "PhysicalInstantiation",
+"holding_organization_sim" => nil,
+"holding_organization_tesim" => nil,
+"human_readable_type_tesim" => "Physical instantiation resource",
+"id" => "",
+"isPartOf_ssim" => [""],
+"keyword_sim" => [],
+"keyword_tesim" => [],
+"lease_history_ssim" => nil,
+"local_instantiation_identifier_tesim" => [],
+"location_tesim" => nil,
+"media_type_sim" => nil,
+"media_type_tesim" => nil,
+"member_ids_ssim" => [],
+"member_of_collection_ids_ssim" => [],
+"read_access_group_ssim" => [],
+"read_access_person_ssim" => [],
+"related_url_tesim" => [],
+"resource_type_sim" => [],
+"resource_type_tesim" => [],
+"rights_link_tesim" => [],
+"rights_statement_tesim" => [],
+"rights_summary_tesim" => [],
+"standard_tesim" => nil,
+"subject_sim" => [],
+"subject_tesim" => [],
+"suppressed_bsi" => false,
+"system_create_dtsi" => nil,
+"system_modified_dtsi" => nil,
+"thumbnail_path_ss" => "/assets/physical_instantiation_resource-c7f3613fd9291a465c07f39ba4671f6cd3ef15c440034204f6c783b5a01a6d99.png",
+"time_start_tesim" => nil,
+"title_sim" => [],
+"title_tesim" => [],
+"tracks_tesim" => nil,
+"valkyrie_bsi" => true,
+"visibility_ssi" => "restricted",
Raw output
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }

  expected {"admin_set_id_ssim" => [""], "admin_set_sim" => nil, "admin_set_tesim" => nil, "alternate_ids_sim" => ["id1"..." => [], "title_tesim" => [], "tracks_tesim" => nil, "valkyrie_bsi" => true, "visibility_ssi" => "restricted"} to include {:has_model_ssim => "PhysicalInstantiationResource"}
  Diff:
  @@ -1,4 +1,72 @@
  -:alternate_ids_sim => (a collection containing exactly "id1" and "id2"),
  -:has_model_ssim => "PhysicalInstantiationResource",
  -:human_readable_type_tesim => "Physical instantiation resource",
  +"admin_set_id_ssim" => [""],
  +"admin_set_sim" => nil,
  +"admin_set_tesim" => nil,
  +"alternate_ids_sim" => ["id1", "id2"],
  +"alternative_modes_tesim" => nil,
  +"annotation_tesim" => [],
  +"based_near_label_tesim" => [],
  +"based_near_sim" => [],
  +"based_near_tesim" => [],
  +"bulkrax_identifier_sim" => nil,
  +"bulkrax_identifier_tesim" => nil,
  +"channel_configuration_tesim" => nil,
  +"colors_tesim" => nil,
  +"contributor_tesim" => [],
  +"creator_tesim" => [],
  +"date_created_tesim" => [],
  +"date_modified_dtsi" => nil,
  +"date_sim" => [],
  +"date_tesim" => [],
  +"date_uploaded_dtsi" => nil,
  +"depositor_ssim" => [nil],
  +"depositor_tesim" => [nil],
  +"description_tesim" => [],
  +"digitization_date_tesim" => nil,
  +"dimensions_tesim" => [],
  +"duration_tesim" => nil,
  +"edit_access_group_ssim" => [],
  +"edit_access_person_ssim" => [],
  +"embargo_history_ssim" => nil,
  +"format_tesim" => nil,
  +"generations_sim" => [],
  +"generations_tesim" => [],
  +"generic_type_si" => "Work",
  +"hasRelatedImage_ssim" => [""],
  +"hasRelatedMediaFragment_ssim" => [""],
  +"has_model_ssim" => "PhysicalInstantiation",
  +"holding_organization_sim" => nil,
  +"holding_organization_tesim" => nil,
  +"human_readable_type_tesim" => "Physical instantiation resource",
  +"id" => "",
  +"isPartOf_ssim" => [""],
  +"keyword_sim" => [],
  +"keyword_tesim" => [],
  +"lease_history_ssim" => nil,
  +"local_instantiation_identifier_tesim" => [],
  +"location_tesim" => nil,
  +"media_type_sim" => nil,
  +"media_type_tesim" => nil,
  +"member_ids_ssim" => [],
  +"member_of_collection_ids_ssim" => [],
  +"read_access_group_ssim" => [],
  +"read_access_person_ssim" => [],
  +"related_url_tesim" => [],
  +"resource_type_sim" => [],
  +"resource_type_tesim" => [],
  +"rights_link_tesim" => [],
  +"rights_statement_tesim" => [],
  +"rights_summary_tesim" => [],
  +"standard_tesim" => nil,
  +"subject_sim" => [],
  +"subject_tesim" => [],
  +"suppressed_bsi" => false,
  +"system_create_dtsi" => nil,
  +"system_modified_dtsi" => nil,
  +"thumbnail_path_ss" => "/assets/physical_instantiation_resource-c7f3613fd9291a465c07f39ba4671f6cd3ef15c440034204f6c783b5a01a6d99.png",
  +"time_start_tesim" => nil,
  +"title_sim" => [],
  +"title_tesim" => [],
  +"tracks_tesim" => nil,
  +"valkyrie_bsi" => true,
  +"visibility_ssi" => "restricted",
Shared Example Group: "a Hyrax::Resource indexer" called from ./spec/indexers/physical_instantiation_resource_indexer_spec.rb:12
/usr/local/bundle/bundler/gems/hyrax-b7891b758411/lib/hyrax/specs/shared_specs/indexers.rb:20:in `block (3 levels) in <top (required)>'

Check failure on line 12 in spec/indexers/essence_track_resource_indexer_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/indexers/essence_track_resource_indexer_spec.rb.EssenceTrackResourceIndexer behaves like a Hyrax::Resource indexer #to_solr indexes base resource fields

expected {"admin_set_id_ssim" => [""], "admin_set_sim" => nil, "admin_set_tesim" => nil, "alternate_ids_sim" => ["id1"..."track_id_tesim" => [], "track_type_tesim" => nil, "valkyrie_bsi" => true, "visibility_ssi" => "restricted"} to include {:has_model_ssim => "EssenceTrackResource"}
Diff:
@@ -1,4 +1,65 @@
-:alternate_ids_sim => (a collection containing exactly "id1" and "id2"),
-:has_model_ssim => "EssenceTrackResource",
-:human_readable_type_tesim => "Essence track resource",
+"admin_set_id_ssim" => [""],
+"admin_set_sim" => nil,
+"admin_set_tesim" => nil,
+"alternate_ids_sim" => ["id1", "id2"],
+"annotation_tesim" => [],
+"aspect_ratio_tesim" => nil,
+"based_near_label_tesim" => [],
+"based_near_sim" => [],
+"based_near_tesim" => [],
+"bit_depth_tesim" => nil,
+"bulkrax_identifier_sim" => nil,
+"bulkrax_identifier_tesim" => nil,
+"contributor_tesim" => [],
+"creator_tesim" => [],
+"data_rate_tesim" => nil,
+"date_created_tesim" => [],
+"date_modified_dtsi" => nil,
+"date_uploaded_dtsi" => nil,
+"depositor_ssim" => [nil],
+"depositor_tesim" => [nil],
+"description_tesim" => [],
+"duration_tesim" => nil,
+"edit_access_group_ssim" => [],
+"edit_access_person_ssim" => [],
+"embargo_history_ssim" => nil,
+"encoding_tesim" => nil,
+"frame_height_tesim" => nil,
+"frame_rate_tesim" => nil,
+"frame_width_tesim" => nil,
+"generic_type_si" => "Work",
+"hasRelatedImage_ssim" => [""],
+"hasRelatedMediaFragment_ssim" => [""],
+"has_model_ssim" => "EssenceTrack",
+"human_readable_type_tesim" => "Essence track resource",
+"id" => "",
+"isPartOf_ssim" => [""],
+"keyword_sim" => [],
+"keyword_tesim" => [],
+"lease_history_ssim" => nil,
+"member_ids_ssim" => [],
+"member_of_collection_ids_ssim" => [],
+"playback_speed_tesim" => nil,
+"playback_speed_units_tesim" => nil,
+"read_access_group_ssim" => [],
+"read_access_person_ssim" => [],
+"related_url_tesim" => [],
+"resource_type_sim" => [],
+"resource_type_tesim" => [],
+"rights_statement_tesim" => [],
+"sample_rate_tesim" => nil,
+"standard_tesim" => nil,
+"subject_sim" => [],
+"subject_tesim" => [],
+"suppressed_bsi" => false,
+"system_create_dtsi" => nil,
+"system_modified_dtsi" => nil,
+"thumbnail_path_ss" => "/assets/essence_track_resource-50e7206f348d76dd505af318fbb5c42939be954630bb3a58e99e054259e0123e.png",
+"time_start_tesim" => nil,
+"title_sim" => [],
+"title_tesim" => [],
+"track_id_tesim" => [],
+"track_type_tesim" => nil,
+"valkyrie_bsi" => true,
+"visibility_ssi" => "restricted",
Raw output
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }

  expected {"admin_set_id_ssim" => [""], "admin_set_sim" => nil, "admin_set_tesim" => nil, "alternate_ids_sim" => ["id1"..."track_id_tesim" => [], "track_type_tesim" => nil, "valkyrie_bsi" => true, "visibility_ssi" => "restricted"} to include {:has_model_ssim => "EssenceTrackResource"}
  Diff:
  @@ -1,4 +1,65 @@
  -:alternate_ids_sim => (a collection containing exactly "id1" and "id2"),
  -:has_model_ssim => "EssenceTrackResource",
  -:human_readable_type_tesim => "Essence track resource",
  +"admin_set_id_ssim" => [""],
  +"admin_set_sim" => nil,
  +"admin_set_tesim" => nil,
  +"alternate_ids_sim" => ["id1", "id2"],
  +"annotation_tesim" => [],
  +"aspect_ratio_tesim" => nil,
  +"based_near_label_tesim" => [],
  +"based_near_sim" => [],
  +"based_near_tesim" => [],
  +"bit_depth_tesim" => nil,
  +"bulkrax_identifier_sim" => nil,
  +"bulkrax_identifier_tesim" => nil,
  +"contributor_tesim" => [],
  +"creator_tesim" => [],
  +"data_rate_tesim" => nil,
  +"date_created_tesim" => [],
  +"date_modified_dtsi" => nil,
  +"date_uploaded_dtsi" => nil,
  +"depositor_ssim" => [nil],
  +"depositor_tesim" => [nil],
  +"description_tesim" => [],
  +"duration_tesim" => nil,
  +"edit_access_group_ssim" => [],
  +"edit_access_person_ssim" => [],
  +"embargo_history_ssim" => nil,
  +"encoding_tesim" => nil,
  +"frame_height_tesim" => nil,
  +"frame_rate_tesim" => nil,
  +"frame_width_tesim" => nil,
  +"generic_type_si" => "Work",
  +"hasRelatedImage_ssim" => [""],
  +"hasRelatedMediaFragment_ssim" => [""],
  +"has_model_ssim" => "EssenceTrack",
  +"human_readable_type_tesim" => "Essence track resource",
  +"id" => "",
  +"isPartOf_ssim" => [""],
  +"keyword_sim" => [],
  +"keyword_tesim" => [],
  +"lease_history_ssim" => nil,
  +"member_ids_ssim" => [],
  +"member_of_collection_ids_ssim" => [],
  +"playback_speed_tesim" => nil,
  +"playback_speed_units_tesim" => nil,
  +"read_access_group_ssim" => [],
  +"read_access_person_ssim" => [],
  +"related_url_tesim" => [],
  +"resource_type_sim" => [],
  +"resource_type_tesim" => [],
  +"rights_statement_tesim" => [],
  +"sample_rate_tesim" => nil,
  +"standard_tesim" => nil,
  +"subject_sim" => [],
  +"subject_tesim" => [],
  +"suppressed_bsi" => false,
  +"system_create_dtsi" => nil,
  +"system_modified_dtsi" => nil,
  +"thumbnail_path_ss" => "/assets/essence_track_resource-50e7206f348d76dd505af318fbb5c42939be954630bb3a58e99e054259e0123e.png",
  +"time_start_tesim" => nil,
  +"title_sim" => [],
  +"title_tesim" => [],
  +"track_id_tesim" => [],
  +"track_type_tesim" => nil,
  +"valkyrie_bsi" => true,
  +"visibility_ssi" => "restricted",
Shared Example Group: "a Hyrax::Resource indexer" called from ./spec/indexers/essence_track_resource_indexer_spec.rb:12
/usr/local/bundle/bundler/gems/hyrax-b7891b758411/lib/hyrax/specs/shared_specs/indexers.rb:20:in `block (3 levels) in <top (required)>'