Flaky test spec/features/projects/tree/upload_file_spec.rb:30 # Multi-file editor upload file uploads text file
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 #4464389733 failed for 1a367d49:
Failures:
1) Multi-file editor upload file uploads text file
Got 0 failures and 2 other errors:
1.1) Failure/Error: execute_script('document.querySelector("#file-upload").classList.remove("hidden")')
Selenium::WebDriver::Error::JavascriptError:
javascript error: Cannot read properties of null (reading 'classList')
(Session info: headless chrome=113.0.5672.126)
# #0 0x5ac0b45cb133 <unknown>
# #1 0x5ac0b42ff966 <unknown>
# #2 0x5ac0b4304126 <unknown>
# #3 0x5ac0b4306070 <unknown>
# #4 0x5ac0b4374e02 <unknown>
# #5 0x5ac0b435bbd2 <unknown>
# #6 0x5ac0b43741c7 <unknown>
# #7 0x5ac0b435b9a3 <unknown>
# #8 0x5ac0b433046a <unknown>
# #9 0x5ac0b433155e <unknown>
# #10 0x5ac0b458acae <unknown>
# #11 0x5ac0b458e8fe <unknown>
# #12 0x5ac0b4597f20 <unknown>
# #13 0x5ac0b458f923 <unknown>
# #14 0x5ac0b4562c0e <unknown>
# #15 0x5ac0b45b2b08 <unknown>
# #16 0x5ac0b45b2c97 <unknown>
# #17 0x5ac0b45c3113 <unknown>
# #18 0x7de73ed78ea7 start_thread
# ./spec/features/projects/tree/upload_file_spec.rb:33:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:402: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:23: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:
http://127.0.0.1:40713/namespace1/project-1/ide_terminals/check_config - Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
webpack-internal:///rP6D 23:46 "[vue-router] Non-nested routes must include a leading slash character. Fix the following routes: \n- (/-)?/tree/master/:path*\n- (/-)?/blob/master/:path*"
https://www.gravatar.com/avatar/3de3cc5a52553af613b6c457da6c219a?s=48&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
# ./spec/support/capybara.rb:220:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:402: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:23: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 30.86 seconds (files took 54.76 seconds to load)
2 examples, 1 failure
Failed examples:
rspec ./spec/features/projects/tree/upload_file_spec.rb:30 # Multi-file editor upload file uploads text file