I350 Derivatives & Update IiifPrint #1584
GitHub Actions / Test Results
failed
Jun 7, 2024 in 0s
2 fail, 30 skipped, 1 721 pass in 16m 2s
Annotations
Check warning on line 0 in ./spec/tasks/rake_spec.rb
github-actions / Test Results
Rake tasks tenantize:task runs against all tenants (spec.tasks.rake_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
(#<Account id: nil, tenant: nil, cname: nil, created_at: nil, updated_at: nil, solr_endpoint_id: nil, fcrepo_endpoint_id: nil, name: "first", redis_endpoint_id: nil, is_public: false, settings: {"smtp_settings"=>{"from"=>"", "user_name"=>"", "password"=>"", "address"=>"", "domain"=>"", "port"=>"", "authentication"=>"", "enable_starttls_auto"=>""}}, data_cite_endpoint_id: nil, search_only: false>).switch(no args) expected: 1 time with any arguments received: 2 times
Failure/Error:
account.switch do
Rake::Task[args.task_name].invoke(*args.extras)
# Re-enable the task or it won't be run the next iteration
Rake::Task[args.task_name].reenable
end
(#<Account id: nil, tenant: nil, cname: nil, created_at: nil, updated_at: nil, solr_endpoint_id: nil, fcrepo_endpoint_id: nil, name: "first", redis_endpoint_id: nil, is_public: false, settings: {"smtp_settings"=>{"from"=>"", "user_name"=>"", "password"=>"", "address"=>"", "domain"=>"", "port"=>"", "authentication"=>"", "enable_starttls_auto"=>""}}, data_cite_endpoint_id: nil, search_only: false>).switch(no args)
expected: 1 time with any arguments
received: 2 times
./lib/tasks/tenantize_task.rake:12:in `block (3 levels) in <top (required)>'
./lib/tasks/tenantize_task.rake:10:in `each'
./lib/tasks/tenantize_task.rake:10:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `block in execute'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `each'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `execute'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:199:in `synchronize'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:199:in `invoke_with_call_chain'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:188:in `invoke'
./spec/support/rake.rb:10:in `block in run_task'
./spec/support/rake.rb:25:in `capture_stdout_stderr'
./spec/support/rake.rb:8:in `run_task'
./spec/tasks/rake_spec.rb:78:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39: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'
Check warning on line 0 in ./spec/tasks/rake_spec.rb
github-actions / Test Results
Rake tasks tenantize:task when run against specified tenants runs against a single tenant and ignores bogus tenants (spec.tasks.rake_spec) failed
artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
(#<Account id: nil, tenant: nil, cname: nil, created_at: nil, updated_at: nil, solr_endpoint_id: nil, fcrepo_endpoint_id: nil, name: "first", redis_endpoint_id: nil, is_public: false, settings: {"smtp_settings"=>{"from"=>"", "user_name"=>"", "password"=>"", "address"=>"", "domain"=>"", "port"=>"", "authentication"=>"", "enable_starttls_auto"=>""}}, data_cite_endpoint_id: nil, search_only: false>).switch(no args) expected: 1 time with any arguments received: 2 times
Failure/Error:
account.switch do
Rake::Task[args.task_name].invoke(*args.extras)
# Re-enable the task or it won't be run the next iteration
Rake::Task[args.task_name].reenable
end
(#<Account id: nil, tenant: nil, cname: nil, created_at: nil, updated_at: nil, solr_endpoint_id: nil, fcrepo_endpoint_id: nil, name: "first", redis_endpoint_id: nil, is_public: false, settings: {"smtp_settings"=>{"from"=>"", "user_name"=>"", "password"=>"", "address"=>"", "domain"=>"", "port"=>"", "authentication"=>"", "enable_starttls_auto"=>""}}, data_cite_endpoint_id: nil, search_only: false>).switch(no args)
expected: 1 time with any arguments
received: 2 times
./lib/tasks/tenantize_task.rake:12:in `block (3 levels) in <top (required)>'
./lib/tasks/tenantize_task.rake:10:in `each'
./lib/tasks/tenantize_task.rake:10:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `block in execute'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `each'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:279:in `execute'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:199:in `synchronize'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:199:in `invoke_with_call_chain'
/usr/local/bundle/gems/rake-13.1.0/lib/rake/task.rb:188:in `invoke'
./spec/support/rake.rb:10:in `block in run_task'
./spec/support/rake.rb:25:in `capture_stdout_stderr'
./spec/support/rake.rb:8:in `run_task'
./spec/tasks/rake_spec.rb:98:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39: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'
Loading