Transient failure in qa/specs/features/api/4_verify/pipeline_deletion_spec.rb:60 # Verify Pipeline when deleted via API is not found
Summary
Found in master
: https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/931426470
From the logs, the API response on the DELETE
IS 409
, a conflict. Passes in following run.
Stack trace
1) Verify Pipeline when deleted via API is not found
Failure/Error: raise "Pipeline response does not have a 'message' key: #{deleted_pipeline}" unless deleted_pipeline&.key?('message')
RuntimeError:
Pipeline response does not have a 'message' key: {"id"=>2, "sha"=>"3ce2c792696c439f81d9da18ad69c1382c7d8a75", "ref"=>"master", "status"=>"success", "created_at"=>"2020-12-24T18:04:31.053Z", "updated_at"=>"2020-12-24T18:04:35.587Z", "web_url"=>"http://gitlab-ee-cb909333.test/gitlab-qa-sandbox-group/qa-test-2020-12-24-18-01-07-3e4b3cdff4795436/project-with-pipeline-0b2b491abcc46757/-/pipelines/2", "before_sha"=>"0000000000000000000000000000000000000000", "tag"=>false, "yaml_errors"=>nil, "user"=>{"id"=>1, "name"=>"Administrator", "username"=>"root", "state"=>"active", "avatar_url"=>"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon", "web_url"=>"http://gitlab-ee-cb909333.test/root"}, "started_at"=>"2020-12-24T18:04:33.473Z", "finished_at"=>"2020-12-24T18:04:35.563Z", "committed_at"=>nil, "duration"=>1, "coverage"=>nil, "detailed_status"=>{"icon"=>"status_success", "text"=>"passed", "label"=>"passed", "group"=>"success", "tooltip"=>"passed", "has_details"=>true, "details_path"=>"/gitlab-qa-sandbox-group/qa-test-2020-12-24-18-01-07-3e4b3cdff4795436/project-with-pipeline-0b2b491abcc46757/-/pipelines/2", "illustration"=>nil, "favicon"=>"/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png"}}
# ./qa/specs/features/api/4_verify/pipeline_deletion_spec.rb:69:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:73:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:35:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
Finished in 19 minutes 15 seconds (files took 28.86 seconds to load)
58 examples, 1 failure, 5 pending
Failed examples:
rspec ./qa/specs/features/api/4_verify/pipeline_deletion_spec.rb:60 # Verify Pipeline when deleted via API is not found
Screenshot / HTML page
No screenshots (API test).
Possible fixes
Edited by Mark Lapierre