Skip to content

Flaky test spec/features/projects/pipelines/pipelines_spec.rb:305 # Pipelines when user is logged in GET /:project/-/pipelines with manual actions when manual action was played enqueues manual action job

Summary

Steps to reproduce

Please refer to Flaky tests documentation to learn more about how to reproduce them.

Proposed Resolution

Please refer to the Resolution guidance to learn more about resolution of broken master.

Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.

Job #4226574289 failed for e7214cf7:

Failures:
  1) Pipelines when user is logged in GET /:project/-/pipelines with manual actions when manual action was played enqueues manual action job
     Got 1 failure and 1 other error:
     1.1) Failure/Error: expect(page).to have_selector('[data-testid="pipelines-manual-actions-dropdown"] .gl-dropdown-toggle:disabled')
            expected to find css "[data-testid=\"pipelines-manual-actions-dropdown\"] .gl-dropdown-toggle:disabled" but there were no matches
            Timeout (45s) reached while running a waiting Capybara finder.
            Consider using a non-waiting finder.
            See https://www.cloudbees.com/blog/faster-rails-tests
          # ./spec/features/projects/pipelines/pipelines_spec.rb:306:in `block (6 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
          # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
          # ./spec/support/fast_quarantine.rb:39:in `block (2 levels) in <main>'
          # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
          # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
          # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
     1.2) Failure/Error: raise JSConsoleError, message
          JSConsoleError:
            Unexpected browser console output:
            security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
            https://www.gravatar.com/avatar/2c75f98f3ea6cd6ee75cfbdfbb031388?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            http://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
            https://www.gravatar.com/avatar/07e1e9ffdda52d8c519ac5c49929d7dc?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            http://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
          # ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
          # ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:61:in `with_raw_context'
          # ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
          # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
          # ./spec/support/fast_quarantine.rb:39:in `block (2 levels) in <main>'
          # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
          # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
          # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 1 minute 51.24 seconds (files took 45.41 seconds to load)
2 examples, 1 failure
Failed examples:
rspec ./spec/features/projects/pipelines/pipelines_spec.rb:305 # Pipelines when user is logged in GET /:project/-/pipelines with manual actions when manual action was played enqueues manual action job