Flaky test: spec/features/markdown/metrics_spec.rb:123
Summary
job: https://gitlab.com/gitlab-org/gitlab/-/jobs/4018647851
incidents:
- gitlab-org/quality/engineering-productivity/master-broken-incidents#1298 (closed)
- gitlab-org/quality/engineering-productivity/master-broken-incidents#1299 (closed)
Failures:
1) Metrics rendering grafana metrics embeds shows embedded metrics
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).to have_text('expired - test-attribute-value')
expected to find text "expired - test-attribute-value" in "Skip to content GitLab / Help P project1 Project information Issues 1 List Boards Service Desk Milestones CI/CD Security and Compliance Deployments Packages and registries Infrastructure Monitor Analytics Wiki Snippets Collapse sidebar Sidney Jones2 project1 Issues #1 Open Issue created just now by Sidney Jones2 Owner Edit Close issue Issue actions My title 2 See metrics dashboard for info. Hide charts Expired / Evicted More actions Time 10/7 8:00 AM 10/7 4:00 PM 10/7 12:00 AM Min Max Avg Current evicted 53 55 54 54 👍 0 👎 0 Add reaction Create merge request To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information Tasks 0 Add No tasks are currently assigned. Use tasks to break down this issue into smaller parts. Linked items 0 Add Link issues together to show that they're related. Learn more. Activity Sort or filter Write Preview Supports Markdown. For quick actions, type /. Viewing markdown Make this an internal note Comment Toggle dropdown Close issue Add a to do 0 Assignees Edit None - assign yourself Labels Edit None Milestone Edit None Weight This feature is locked. Learn more Due date Edit None Time tracking No estimate or time spent Confidentiality Edit Not confidential Lock issue Edit Unlocked Notifications Notifications 1 participant Reference: namespace1/project1#1 Move issue"
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/markdown/metrics_spec.rb:128:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:452:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:444:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:440:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:440:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/sidekiq.rb:21:in `block (3 levels) in <main>'
# ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'
# ./spec/support/sidekiq.rb:21:in `block (2 levels) in <main>'
# ./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>'
# ./spec/support/caching.rb:8: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."
https://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?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
webpack-internal:///gzws 142:12 "[gl-modal]: Accessible name for modal missing. Please add title prop or aria-label."
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:452:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:444:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:440:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:440:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/sidekiq.rb:21:in `block (3 levels) in <main>'
# ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'
# ./spec/support/sidekiq.rb:21:in `block (2 levels) in <main>'
# ./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>'
# ./spec/support/caching.rb:8:in `block (2 levels) in <main>'
Finished in 2 minutes 5.2 seconds (files took 51.68 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/markdown/metrics_spec.rb:123 # Metrics rendering grafana metrics embeds shows embedded metrics
[TEST PROF INFO] Time spent in factories: 00:01.933 (1.52% of total time)
Steps to reproduce
did not reproduce locally, the test in CI passed with retry.
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.