Flaky spec: ee/spec/features/epics/shortcuts_epic_spec.rb:30 # Epic shortcuts pressing "l" opens labels dropdown for editing
Summary
Master-broken incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#1034 (closed)
Job #3864951999 failed for 08d5c4f6:
Failures:
1) Epic shortcuts pressing "l" opens labels dropdown for editing
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(find('.js-labels-block')).to have_selector('[data-testid="labels-select-dropdown-contents"]')
expected to find visible css "[data-testid=\"labels-select-dropdown-contents\"]" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[2]/DIV[1]/DIV[2]/ASIDE[1]/DIV[1]/DIV[4]"> but there were no matches. Also found "", which matched the selector but not all filters.
Timeout (30s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
# ./ee/spec/features/epics/shortcuts_epic_spec.rb:33:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:505:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:493:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:493:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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'.
webpack-internal:///gzws 142:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label."
http://127.0.0.1:39077/assets/webpack/dll.79f4234b6008/vendor.dll.bundle.js 284777:14 "[Vue warn]: Injection \"hasIterationsFeature\" not found\n\nfound in\n\n---> \u003CDescription> at issues/show/components/description.vue\n \u003CIssuableBody> at issues/show/components/app.vue\n \u003CEpicBody> at ee/app/assets/javascripts/epic/components/epic_body.vue\n \u003CEpicApp> at ee/app/assets/javascripts/epic/components/epic_app.vue\n \u003CRoot>"
webpack-internal:///gzws 142:12 "[gl-modal]: Accessible name for modal missing. Please add title prop or aria-label."
https://www.gravatar.com/avatar/5c8881fc63652c86cd4b23101268cf84?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/eaafc9b0f704edaf23cd5cf7727df560?s=80&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
https://www.gravatar.com/avatar/eaafc9b0f704edaf23cd5cf7727df560?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
https://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:505:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:497:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:493:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:493:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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 5 minutes 56 seconds (files took 41.98 seconds to load)
64 examples, 1 failure
Failed examples:
rspec ./ee/spec/features/epics/shortcuts_epic_spec.rb:30 # Epic shortcuts pressing "l" opens labels dropdown for editing
Randomized with seed 35103\
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.