Flaky test ee/spec/features/groups/analytics/ci_cd_analytics_spec.rb:67 # Group CI/CD Analytics Deployment frequency can toggle data forecasting
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 #4240772514 failed for e2eecf73:
Failures:
1) Group CI/CD Analytics Deployment frequency can toggle data forecasting
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(toggle[:class].include?('is-checked')).to be(true)
expected true
got false
# ./ee/spec/features/groups/analytics/ci_cd_analytics_spec.rb:80:in `block (3 levels) in <top (required)>'
# ./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 <top (required)>'
# ./spec/support/fast_quarantine.rb:39:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'
# ./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 <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
https://www.gravatar.com/avatar/a4d61039d36405cdca32476ec59909a8?s=48&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
http://127.0.0.1:37293/groups/group278/-/analytics/value_stream_analytics/summary?created_after=2023-02-07 - Failed to load resource: the server responded with a status of 403 (Forbidden)
http://127.0.0.1:37293/groups/group278/-/analytics/value_stream_analytics/time_summary?created_after=2023-02-07 - Failed to load resource: the server responded with a status of 403 (Forbidden)
http://127.0.0.1:37293/groups/group278/-/analytics/value_stream_analytics/summary?created_after=2023-02-07 - Failed to load resource: the server responded with a status of 403 (Forbidden)
http://127.0.0.1:37293/groups/group278/-/analytics/value_stream_analytics/time_summary?created_after=2023-02-07 - Failed to load resource: the server responded with a status of 403 (Forbidden)
http://127.0.0.1:37293/groups/group278/-/analytics/value_stream_analytics/summary?created_after=2023-02-07 - Failed to load resource: the server responded with a status of 403 (Forbidden)
# ./spec/support/capybara.rb:216:in `block (2 levels) in <top (required)>'
# ./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 <top (required)>'
# ./spec/support/fast_quarantine.rb:39:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'
# ./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 <top (required)>'
Finished in 24 minutes 33 seconds (files took 1 minute 21.4 seconds to load)
307 examples, 1 failure
Failed examples:
rspec ./ee/spec/features/groups/analytics/ci_cd_analytics_spec.rb:67 # Group CI/CD Analytics Deployment frequency can toggle data forecasting
Edited by Alina Mihaila