Failure in qa/specs/features/ee/browser_ui/4_verify/cancelling_merge_request_in_merge_train_spec.rb | @project.add_member RetriesExceededError
Summary
Test fails with adding a project member as a Maintainer in the before
block.
Job:
Stack trace
Failures:
1) Verify Cancelling merge request in merge train when user cancels the merge request does not create a TODO task
Failure/Error: @project.add_member(@user, Resource::Members::AccessLevel::MAINTAINER)
QA::Support::Repeater::RetriesExceededError:
Retry condition not met after 3 attempts
# ./qa/support/repeater.rb:48:in `repeat_until'
# ./qa/support/retrier.rb:50:in `retry_until'
# ./qa/resource/members.rb:11:in `add_member'
# ./qa/specs/features/ee/browser_ui/4_verify/cancelling_merge_request_in_merge_train_spec.rb:65:in `block (3 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:81:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:74:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:44:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
Screenshot / HTML page
Indicates previous page after enabling merge trains. Not useful.
Possible fixes
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Zeff Morgan changed due date to September 28, 2021
changed due date to September 28, 2021
- Zeff Morgan changed milestone to %14.4
changed milestone to %14.4
- Zeff Morgan mentioned in issue gitlab-org/quality/pipeline-triage#99 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#99 (closed)
- 🤖 GitLab Bot 🤖 added sectionops label
added sectionops label
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
- Developer
Came up again on Staging: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/4900948
Edited by Richard Chong - Anastasia McDonald mentioned in issue gitlab-org/quality/pipeline-triage#100 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#100 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#4659 (closed)
mentioned in issue gitlab-org/quality/triage-reports#4659 (closed)
- Jackie Porter added Category:Merge Trains label
added Category:Merge Trains label
- Contributor
Adding Merge Trains
- Maintainer
Setting label(s) grouppipeline execution based on Category:Merge Trains.
- 🤖 GitLab Bot 🤖 added grouppipeline execution label
added grouppipeline execution label
- Contributor
Another failure on staging - https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/4928497
- Nick Westbury mentioned in issue gitlab-org/quality/pipeline-triage#101 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#101 (closed)
- Nick Westbury mentioned in issue gitlab-org/quality/pipeline-triage#102 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#102 (closed)
- Tiffany Rea changed the description
Compare with previous version changed the description
- Maintainer
Seen on Staging https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/5125987
Collapse replies - Maintainer
Very odd ... Where the test failed, it was supposed to be on Project's Settings page, if the page was indeed hit 404, then the test should have failed at trying to enable merge trains steps
But it completed the steps and moved on to create user and add user via API ... I couldn't reproduce locally so I still couldn't understand the root causeHm ... took a closer look, according to pipeline log https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/5125987#L1239 ... Test tried 3 times but couldn't add user to project.
Edited by Tiffany Rea
- Tiffany Rea mentioned in issue gitlab-org/quality/pipeline-triage#103 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#103 (closed)
- Erick Banks assigned to @treagitlab
assigned to @treagitlab
- 🤖 GitLab Bot 🤖 removed [deprecated] Accepting merge requests label
removed [deprecated] Accepting merge requests label
- 🤖 GitLab Bot 🤖 changed milestone to %14.5
changed milestone to %14.5
- 🤖 GitLab Bot 🤖 added missed:14.4 label
added missed:14.4 label
- Maintainer
Again on Staging https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/5225370 . I wonder if this issue and #343315 (closed) are related?
- Tiffany Rea mentioned in issue #343315 (closed)
mentioned in issue #343315 (closed)
- Tiffany Rea mentioned in issue gitlab-org/quality/pipeline-triage#104 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#104 (closed)
- Developer
I've been running this spec against Staging multiple times last week and this failure didn't come up at all.. At the same time, this failure is happening across multiple specs too. I'll keep monitoring for now. 🧐
Collapse replies - Developer
I'll move this to the backlog for now to continue observing for now.
- Richard Chong changed milestone to %Backlog
changed milestone to %Backlog
- Tiffany Rea unassigned @treagitlab
unassigned @treagitlab
- Maintainer
Again on Staging https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/5515684 but 500 this time
Verify Cancelling merge request in merge train when user cancels the merge request does not create a TODO task Failure/Error: @project.add_member(@user, Resource::Members::AccessLevel::MAINTAINER) QA::Support::Repeater::RetriesExceededError: Retry failed after 3 attempts
Collapse replies - Developer
I went through Sentry and found something that's possibly related (https://sentry.gitlab.net/gitlab/staginggitlabcom/issues/3020795). None of the other errors that occurred in the past 3 hours has anything closer too.
ActionView::Template::ErrorProjectsController#show unable to nest the invite_members_in_side_nav experiment within the invite_members_in_side_nav experiment
There was an occurrence around 8:48 PM UTC which is shortly before this build failed and this is related to adding members.
I'll look into it more closely to understand what this experiment is doing and what might have caused this issue.
Edited by Richard Chong - Maintainer
Another one in Staging https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/5516538 but slightly different
- Maintainer
We are inviting this member via API, I'm not sure what side nav has anything to do here?
Edited by Tiffany Rea - Developer
Oh oops! I didn't see this until just now. You're right it should be through API so the experiment with the side nav shouldn't have anything to do with it.. I'll keep looking.
- Tiffany Rea mentioned in issue gitlab-org/quality/pipeline-triage#109 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#109 (closed)
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
Collapse replies
- Will Meek mentioned in issue gitlab-org/quality/pipeline-triage#110 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#110 (closed)
- Sofia Vistas mentioned in issue gitlab-org/quality/pipeline-triage#111 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#111 (closed)
- Maintainer
Seeing this causing failing examples in master
Failure/Error: Flow::MergeRequest.enable_merge_trains
Verify Cancelling merge request in merge train when system cancels the merge request creates a TODO task
Verify Cancelling merge request in merge train when user cancels the merge request does not create a TODO task
- John McDonnell mentioned in issue gitlab-org/quality/pipeline-triage#113 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#113 (closed)
- Tiffany Rea mentioned in issue #346047 (closed)
mentioned in issue #346047 (closed)
- Maintainer
Collapse replies - Maintainer
Note, this is a triggered pipeline when FF
create_project_namespace_on_project_create
is turned on. Not that I'm saying this FF is related to this failure, but more of perhaps when something new is kicked start, it might cause some infra hiccups? Worth keeping in mind.Well, this is now failing consistently in Staging full run so we ended up quarantining the test !79785 (merged)
Edited by Tiffany Rea 1 - Developer
Failed in staging :https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6215376 waiting for quarantine MR to be merged
- Developer
I've been trying to reproduce this running it against Staging and I can't reproduce this failure. I tried to flag it down in Kibana to see what the 404 is about but unfortunately the logs for these ones are gone now.
I'm going to unquarantine this just in time for next week when I'm DRI for triage so I can monitor it closely. I'll hopefully be able to flag down what caused the 404 through Kibana if it does come up again.
- Richard Chong mentioned in merge request !79785 (merged)
mentioned in merge request !79785 (merged)
- Tiffany Rea mentioned in issue gitlab-org/quality/pipeline-triage#125 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#125 (closed)
- Richard Chong mentioned in merge request !80461 (merged)
mentioned in merge request !80461 (merged)
- Grant Young mentioned in issue gitlab-org/quality/pipeline-triage#127 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#127 (closed)
- Nick Westbury mentioned in issue gitlab-org/quality/pipeline-triage#128 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#128 (closed)
- Sanad Liaquat mentioned in issue gitlab-org/quality/pipeline-triage#129 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#129 (closed)
- Richard Chong removed due date
removed due date
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6448236
- GitLab QA Bot added Enterprise Edition label
added Enterprise Edition label
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#39831 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#39831 (closed)
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6451222
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#39869 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#39869 (closed)
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6456460
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#39931 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#39931 (closed)
- Richard Chong mentioned in issue gitlab-org/ci-cd/pipeline-execution#88 (closed)
mentioned in issue gitlab-org/ci-cd/pipeline-execution#88 (closed)
- Richard Chong changed milestone to %14.10
changed milestone to %14.10
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6462120
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#39980 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#39980 (closed)
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#39981 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#39981 (closed)
- James Heimbuck added needs weight workflowplanning breakdown labels
added needs weight workflowplanning breakdown labels
- Developer
From the log, it looks like there might have been a delay with creating the merge request via API which caused it to hit a 404 error when trying to visit it. I'll introduce a check to ensure that the merge request exists first before visiting it.
1 Collapse replies - Contributor
@richard.chong could you put a weight estimate on this issue and if you're taking it assign yourself? Thanks!
1
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6492827
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#40296 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#40296 (closed)
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6495004
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#40322 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#40322 (closed)
- Richard Chong mentioned in merge request !82452 (merged)
mentioned in merge request !82452 (merged)
- Richard Chong assigned to @richard.chong
assigned to @richard.chong
- Richard Chong set weight to 1
set weight to 1
- Richard Chong changed milestone to %14.9
changed milestone to %14.9
- Richard Chong added workflowin dev label and removed workflowplanning breakdown label
added workflowin dev label and removed workflowplanning breakdown label
Failure occurred in staging pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6512269
- GitLab QA Bot mentioned in issue gitlab-org/quality/testcase-sessions#40514 (closed)
mentioned in issue gitlab-org/quality/testcase-sessions#40514 (closed)
- Maintainer
Thanks for working on this @richard.chong! We've removed the Seeking community contributions label to avoid having multiple people working on the same issue.
- 🤖 GitLab Bot 🤖 removed [deprecated] Accepting merge requests label
removed [deprecated] Accepting merge requests label
- Developer
MR with a fix has been merged !82452 (merged)
- Richard Chong closed
closed
- Richard Chong added workflowproduction label and removed workflowin dev label
added workflowproduction label and removed workflowin dev label