spec/features/projects/jobs/user_browses_job_spec.rb:21 # User browses a job erases the job log
Summary
Reported in gitlab-org/quality/engineering-productivity/master-broken-incidents#849 (closed).
Job #3737774398 failed for bc66e7e3:
1) User browses a job erases the job log
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(build).not_to have_trace
expected `#<Ci::Build status: "success", finished_at: "2023-02-08 08:53:29.000000000 +0000", created_at: "2023-... processed: false, scheduling_type: "stage", id: 24, stage_id: 20, partition_id: 100, tag_list: nil>.has_trace?` to be falsey, got true
# ./spec/features/projects/jobs/user_browses_job_spec.rb:37:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239: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:
https://www.gravatar.com/avatar/59957459c8d319e5b83d30a14a3c04b4?s=48&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://www.gravatar.com/avatar/3097cfdee4e59ba593fbb9e5ce579d45?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
webpack-internal:///gzws 129:12 "[gl-modal]: Accessible name for modal missing. Please add title prop or aria-label."
# ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239: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 6 minutes 49 seconds (files took 45.05 seconds to load)
73 examples, 1 failure
Failed examples:
rspec ./spec/features/projects/jobs/user_browses_job_spec.rb:21 # User browses a job erases the job log
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.