Skip to content

Build Test Lint of 46/merge by @jeremyf #127

Build Test Lint of 46/merge by @jeremyf

Build Test Lint of 46/merge by @jeremyf #127

GitHub Actions / JUnit Test Report failed Oct 4, 2023 in 0s

32 tests run, 16 passed, 13 skipped, 3 failed.

Annotations

Check failure on line 29 in spec/controllers/hyrax/hyrax/images_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/controllers/hyrax/hyrax/images_controller_spec.rb.Hyrax::ImagesController#presenter initializes a presenter

Blacklight::Exceptions::RecordNotFound
Raw output
Failure/Error: subject { controller.send :presenter }

Blacklight::Exceptions::RecordNotFound:
  Blacklight::Exceptions::RecordNotFound
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:14:in `find'
/usr/local/bundle/gems/blacklight-6.25.0/app/models/concerns/blacklight/document/active_model_shim.rb:29:in `find'
/usr/local/bundle/gems/hyrax-3.5.0/app/search_builders/hyrax/filter_suppressed_with_roles.rb:25:in `only_active_works'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:147:in `block (2 levels) in processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:146:in `each'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:146:in `block in processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:145:in `tap'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:145:in `processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:119:in `to_hash'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:61:in `block in send_and_receive'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:59:in `send_and_receive'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:22:in `search'
/usr/local/bundle/gems/blacklight-6.25.0/app/controllers/concerns/blacklight/search_helper.rb:59:in `search_results'
./hyrax-webapp/app/controllers/concerns/hyrax/works_controller_behavior.rb:290:in `search_result_document'
./hyrax-webapp/app/controllers/concerns/hyrax/works_controller_behavior.rb:221:in `presenter'
./spec/controllers/hyrax/hyrax/images_controller_spec.rb:20:in `block (3 levels) in <top (required)>'
./spec/controllers/hyrax/hyrax/images_controller_spec.rb:29:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'

Check failure on line 80 in spec/models/bulkrax/csv_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/models/bulkrax/csv_entry_spec.rb.Bulkrax::CsvEntry#build_metadata assigns factory_class and parsed_metadata

No such file or directory @ rb_sysopen - /app/samvera/hyrax-webapp/spec/fixtures/csv/entry.csv
Raw output
Failure/Error: entry.build_metadata

Errno::ENOENT:
  No such file or directory @ rb_sysopen - /app/samvera/hyrax-webapp/spec/fixtures/csv/entry.csv
/usr/local/bundle/gems/bulkrax-5.3.0/app/models/bulkrax/csv_entry.rb:27:in `read_data'
/usr/local/bundle/gems/bulkrax-5.3.0/app/parsers/bulkrax/csv_parser.rb:19:in `records'
/usr/local/bundle/gems/bulkrax-5.3.0/app/parsers/bulkrax/csv_parser.rb:84:in `import_fields'
/usr/local/bundle/gems/bulkrax-5.3.0/app/models/bulkrax/importer.rb:73:in `default_field_mapping'
/usr/local/bundle/gems/bulkrax-5.3.0/app/models/bulkrax/importer.rb:66:in `mapping'
/usr/local/bundle/gems/bulkrax-5.3.0/app/parsers/bulkrax/csv_parser.rb:96:in `missing_elements'
/usr/local/bundle/gems/bulkrax-5.3.0/app/parsers/bulkrax/csv_parser.rb:88:in `required_elements?'
/usr/local/bundle/gems/bulkrax-5.3.0/app/models/bulkrax/csv_entry.rb:92:in `validate_record'
/usr/local/bundle/gems/bulkrax-5.3.0/app/models/bulkrax/csv_entry.rb:72:in `build_metadata'
./spec/models/bulkrax/csv_entry_spec.rb:80:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'

Check failure on line 55 in spec/search_builders/adv_search_builder_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/search_builders/adv_search_builder_spec.rb.AdvSearchBuilder.default_processor_chain is expected to eq [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]

expected: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]
     got: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]

(compared using ==)

Diff:

@@ -8,11 +8,11 @@
  :add_group_config_to_solr,
  :add_facet_paging_to_solr,
  :add_range_limit_params,
- :add_advanced_parse_q_to_solr,
- :add_advanced_search_to_solr,
  :add_access_controls_to_solr_params,
  :filter_models,
  :only_active_works,
+ :add_advanced_parse_q_to_solr,
+ :add_advanced_search_to_solr,
  :add_access_controls_to_solr_params,
  :show_works_or_works_that_contain_files,
  :show_only_active_records,
Raw output
Failure/Error: it { is_expected.to eq(expected_default_processor_chain) }

  expected: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]
       got: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]

  (compared using ==)

  Diff:

  @@ -8,11 +8,11 @@
    :add_group_config_to_solr,
    :add_facet_paging_to_solr,
    :add_range_limit_params,
  - :add_advanced_parse_q_to_solr,
  - :add_advanced_search_to_solr,
    :add_access_controls_to_solr_params,
    :filter_models,
    :only_active_works,
  + :add_advanced_parse_q_to_solr,
  + :add_advanced_search_to_solr,
    :add_access_controls_to_solr_params,
    :show_works_or_works_that_contain_files,
    :show_only_active_records,
./spec/search_builders/adv_search_builder_spec.rb:55:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'