Skip to content

Smoke Failure in ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb

Summary

Failures in spec ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb

First error appeared to be the jobs stuck in a pending state.

Second error was spotted during a nightly run - https://gitlab.com/gitlab-org/quality/nightly/-/jobs/483231420 - which rendered a 500 error (screenshot below) but was initially missed due to assumption that the failure was caused by the first error.

Third error was spotted in staging - https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1025859 - which rendered a 400 error (screenshot below)

This was first seen in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/954225

Downstream failures

Note As this is a smoke test, it will also affect other tests that use the functionality the Smoke Test is testing.

  • security_reports_spec
  • vulnerability_management_spec
    • Failed due to Wait condition not met after 300 seconds
    • vulnerability_manage_spec uses the same fixtures as security_reports_spec, therefor failing for the same root cause.
  • create_merge_request_with_secure_spec
  • license_compliance_spec
    • Failed due to Wait condition not met after 300 seconds
    • license_compliance_spec uses the same fixtures as security_reports_spec, therefore failing for the same root cause.

Slack Threads

Stack trace


![create_and_process_pipeline_spec.rb_2020-03-02-04-40-34.315](/uploads/19977cb99f4b5af1f73d0bd7232d5d39/create_and_process_pipeline_spec.rb_2020-03-02-04-40-34.315.png)
Failure/Error: expect(show).to public_send("be_#{status}")
       expected `#<QA::Page::Project::Job::Show:0x0000565406f75d90>.passed?` to return true, got false
     # ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb:82:in `block (5 levels) in <module:QA>'
     # ./qa/scenario/actable.rb:16:in `perform'
     # ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb:81:in `block (4 levels) in <module:QA>'
     # ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb:76:in `each'
     # ./qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb:76:in `block (3 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:68: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'

Screenshot / HTML page

First error

create_and_process_pipeline_spec.rb_2020-03-02-04-40-34.315 create_and_process_pipeline_spec.rb_2020-03-02-04-40-34.315.html

Second error (nightly)

badjob-nightly

Third error (staging)

badjob-staging

Possible fixes

Edited by Dan Davison