If the failure is new, and looks like a potential flaky failure, you can retry the failing job.
Make sure to mention the retry in the Timeline and leave a link to the retried job.
If the failure looks like a broken master, communicate the broken master in Slack using the "Broadcast Master Broken" workflow:
Click the Shortcut lightning bolt icon in the #master-broken channel and select "Broadcast Master Broken".
Click "Continue the broadcast" after the automated message in #master-broken.
Pre-resolution
If you believe that there's an easy resolution by either:
Reverting a particular merge request.
Making a quick fix (for example, one line or a few similar simple changes in a few lines).
You can create a merge request, assign to any available maintainer, and ping people that were involved/related to the introduction of the failure.
Additionally, a message can be posted in #backend_maintainers or #frontend_maintainers to get a maintainer take a look at the fix ASAP.
In both cases, make sure to add the ~"pipeline:expedite-master-fixing" label, and master:broken or master:foss-broken label, to speed up the master-fixing pipelines.
HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
Failure/Error: it { is_expected.not_to report_lint }
expected that a lint would not be reported, but reported 1 lint:
- Line 1: anchor (overview) is missing in: /builds/gitlab-org/gitlab/doc/index.md
Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:99
./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in '
./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:400:in `block (3 levels) in <top (required)>'
./lib/gitlab/application_context.rb:59:in `with_raw_context'
./spec/spec_helper.rb:400:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
./spec/support/system_exit_detected.rb:7:in `block (2 levels) in '
./spec/support/flaky_tests.rb:27:in `block (2 levels) in '
./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in '
./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in '
HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
Failure/Error: it { is_expected.not_to report_lint }
expected that a lint would not be reported, but reported 1 lint:
- Line 1: anchor (overview) is missing in: /builds/gitlab-org/gitlab/doc/index.md
Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:103
./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in '
./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:400:in `block (3 levels) in <top (required)>'
./lib/gitlab/application_context.rb:59:in `with_raw_context'
./spec/spec_helper.rb:400:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
./spec/support/system_exit_detected.rb:7:in `block (2 levels) in '
./spec/support/flaky_tests.rb:27:in `block (2 levels) in '
./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in '
./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in '
Finished in 6.08 seconds (files took 48.14 seconds to load)
3 examples, 2 failures
Failed examples:
rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:1:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:2:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
gitlab git:(master) bin/rspec spec/haml_lint/linter/documentation_links_spec.rb
warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
.F.............F............
Failures:
1) HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
Failure/Error: it { is_expected.not_to report_lint }
expected that a lint would not be reported, but reported 1 lint:
- Line 1: anchor (overview) is missing in: /Users/alinamihaila/Documents/work/gitlab-development-kit/gitlab/doc/index.md
Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:99
# ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
2) HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
Failure/Error: it { is_expected.not_to report_lint }
expected that a lint would not be reported, but reported 1 lint:
- Line 1: anchor (overview) is missing in: /Users/alinamihaila/Documents/work/gitlab-development-kit/gitlab/doc/index.md
Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:103
# ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
Finished in 0.04618 seconds (files took 2.22 seconds to load)
28 examples, 2 failures
Failed examples:
rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:1:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:2:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
```'
Failures: 1) HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint Failure/Error: it { is_expected.not_to report_lint } expected that a lint would not be reported, but reported 1 lint: - Line 1: anchor (overview) is missing in: /builds/gitlab-org/gitlab/doc/index.md Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:99 # ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <main>' # ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>' # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware' # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>' # ./spec/spec_helper.rb:400:in `block (3 levels) in <top (required)>' # ./lib/gitlab/application_context.rb:59:in `with_raw_context' # ./spec/spec_helper.rb:400:in `block (2 levels) in <top (required)>' # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>' # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>' # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>' # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>' # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented' # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>' 2) HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint Failure/Error: it { is_expected.not_to report_lint } expected that a lint would not be reported, but reported 1 lint: - Line 1: anchor (overview) is missing in: /builds/gitlab-org/gitlab/doc/index.md Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:103 # ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <main>' # ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>' # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware' # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>' # ./spec/spec_helper.rb:400:in `block (3 levels) in <top (required)>' # ./lib/gitlab/application_context.rb:59:in `with_raw_context' # ./spec/spec_helper.rb:400:in `block (2 levels) in <top (required)>' # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>' # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>' # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>' # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>' # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented' # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'Finished in 6.08 seconds (files took 48.14 seconds to load)3 examples, 2 failuresFailed examples:rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:1:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lintrspec './spec/haml_lint/linter/documentation_links_spec.rb[1:2:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint
gitlab git:(master) bin/rspec spec/haml_lint/linter/documentation_links_spec.rbwarning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5.Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.Run options: include {:focus=>true}All examples were filtered out; ignoring {:focus=>true}.F.............F............Failures: 1) HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint Failure/Error: it { is_expected.not_to report_lint } expected that a lint would not be reported, but reported 1 lint: - Line 1: anchor (overview) is missing in: /Users/alinamihaila/Documents/work/gitlab-development-kit/gitlab/doc/index.md Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:99 # ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <top (required)>' # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>' 2) HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint Failure/Error: it { is_expected.not_to report_lint } expected that a lint would not be reported, but reported 1 lint: - Line 1: anchor (overview) is missing in: /Users/alinamihaila/Documents/work/gitlab-development-kit/gitlab/doc/index.md Shared Example Group: "link validation rules" called from ./spec/haml_lint/linter/documentation_links_spec.rb:103 # ./spec/haml_lint/linter/documentation_links_spec.rb:22:in `block (4 levels) in <top (required)>' # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'Finished in 0.04618 seconds (files took 2.22 seconds to load)28 examples, 2 failuresFailed examples:rspec './spec/haml_lint/linter/documentation_links_spec.rb[1:1:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_path behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lintrspec './spec/haml_lint/linter/documentation_links_spec.rb[1:2:1:2:1]' # HamlLint::Linter::DocumentationLinks help_page_url behaves like link validation rules when link_to points to the existing file with valid anchor is expected not to report a lint