Skip to content

Build Test Lint of 44/merge by @jeremyf #123

Build Test Lint of 44/merge by @jeremyf

Build Test Lint of 44/merge by @jeremyf #123

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

38 tests run, 19 passed, 14 skipped, 5 failed.

Annotations

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)>'

Check failure on line 20 in spec/presenters/hyku/admin/group/navigation_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with edit page has 3 tabs

expected #<Integer:7> => 3
     got #<Integer:9> => 4

Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don't care about
object identity in this example.
Raw output
Failure/Error: expect(subject.count).to be(3)

  expected #<Integer:7> => 3
       got #<Integer:9> => 4

  Compared using equal?, which compares object identity,
  but expected and actual are not the same object. Use
  `expect(actual).to eq(expected)` if you don't care about
  object identity in this example.
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb:20: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 52 in spec/presenters/hyku/admin/group/navigation_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with remve page has 3 tabs

expected #<Integer:7> => 3
     got #<Integer:9> => 4

Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don't care about
object identity in this example.
Raw output
Failure/Error: expect(subject.count).to be(3)

  expected #<Integer:7> => 3
       got #<Integer:9> => 4

  Compared using equal?, which compares object identity,
  but expected and actual are not the same object. Use
  `expect(actual).to eq(expected)` if you don't care about
  object identity in this example.
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb:52: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 36 in spec/presenters/hyku/admin/group/navigation_presenter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with members page has 3 tabs

expected #<Integer:7> => 3
     got #<Integer:9> => 4

Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don't care about
object identity in this example.
Raw output
Failure/Error: expect(subject.count).to be(3)

  expected #<Integer:7> => 3
       got #<Integer:9> => 4

  Compared using equal?, which compares object identity,
  but expected and actual are not the same object. Use
  `expect(actual).to eq(expected)` if you don't care about
  object identity in this example.
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb:36: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)>'