Skip to content

Failure in api/3_create/repository/project_archive_compare_spec.rb | Create Compare archives of different user projects with the same name and check they're different download archives of each user project then check they are different

Full description

Create Compare archives of different user projects with the same name and check they're different download archives of each user project then check they are different

File path

./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb

Stack trace

     Failure/Error: project_archive_download.file
     
     NoMethodError:
       undefined method `file' for #<RestClient::Response:0x00007f5cea608e68>
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:72:in `download_project_archive_via_api'
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:38:in `block (5 levels) in <module:QA>'
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:37:in `each'
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:37:in `block (4 levels) in <module:QA>'
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:34:in `each'
     # ./qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb:34:in `block (3 levels) in <module:QA>'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
     # ./qa/specs/spec_helper.rb:149:in `block (2 levels) in <top (required)>'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
     # ./vendor/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
     # ./qa/specs/knapsack_runner.rb:15:in `run'
     # tasks/knapsack.rake:15:in `block (2 levels) in <top (required)>'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:279:in `block in execute'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:279:in `each'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:279:in `execute'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
     # ./vendor/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'

First happened in (unknown? approx 30 August 2022) dashboards.quality.gitlab.net
Sample Failure Job: https://gitlab.com/gitlab-org/gitlab/-/jobs/2978196958

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347748

Failure Report

https://dashboards.quality.gitlab.net/goto/1rpjENM4z?orgId=1

image