You need to sign in or sign up before continuing.
Transient failure in qa/specs/features/ee/browser_ui/3_create/repository/restrict_push_protected_branch_spec.rb
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/340608840
1) Create Restricted protected branch push and merge when only one user is allowed to merge and push to a protected branch behaves like only user with access pushes and merges selected developer user pushes and merges
Failure/Error: Page::MergeRequest::Show.perform(&:merge!)
RuntimeError:
Merge did not appear to be successful
Shared Example Group: "only user with access pushes and merges" called from ./qa/specs/features/ee/browser_ui/3_create/repository/restrict_push_protected_branch_spec.rb:62
# ./qa/page/merge_request/show.rb:155:in `merge!'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/3_create/repository/restrict_push_protected_branch_spec.rb:30:in `block (4 levels) in <module:QA>'
It waited a minute for the merge to complete:
D, [2019-11-04T07:21:22.390749 #22] DEBUG -- : clicking :merge_button with args {}
D, [2019-11-04T07:21:22.391364 #22] DEBUG -- : finding :merge_button with args {:text=>nil}
D, [2019-11-04T07:21:22.451379 #22] DEBUG -- : found :merge_button
D, [2019-11-04T07:21:22.573669 #22] DEBUG -- : next wait uses reload: true
D, [2019-11-04T07:21:22.573782 #22] DEBUG -- : with wait: max 60; interval 0.1
D, [2019-11-04T07:21:32.944417 #22] DEBUG -- : has_text?('The changes were merged into') returned false
D, [2019-11-04T07:21:32.953027 #22] DEBUG -- : refreshing http://gitlab-ee-a00ea2b9.test/gitlab-qa-sandbox-group/qa-test-2019-11-04-07-06-43-43adf07be4f5b859/user-with-access-to-protected-branch-c2014c1ada7330d6/merge_requests/1
D, [2019-11-04T07:21:44.861339 #22] DEBUG -- : has_text?('The changes were merged into') returned false
D, [2019-11-04T07:21:44.870067 #22] DEBUG -- : refreshing http://gitlab-ee-a00ea2b9.test/gitlab-qa-sandbox-group/qa-test-2019-11-04-07-06-43-43adf07be4f5b859/user-with-access-to-protected-branch-c2014c1ada7330d6/merge_requests/1
D, [2019-11-04T07:21:56.891357 #22] DEBUG -- : has_text?('The changes were merged into') returned false
D, [2019-11-04T07:21:56.901228 #22] DEBUG -- : refreshing http://gitlab-ee-a00ea2b9.test/gitlab-qa-sandbox-group/qa-test-2019-11-04-07-06-43-43adf07be4f5b859/user-with-access-to-protected-branch-c2014c1ada7330d6/merge_requests/1
D, [2019-11-04T07:22:09.986624 #22] DEBUG -- : has_text?('The changes were merged into') returned false
D, [2019-11-04T07:22:09.994598 #22] DEBUG -- : refreshing http://gitlab-ee-a00ea2b9.test/gitlab-qa-sandbox-group/qa-test-2019-11-04-07-06-43-43adf07be4f5b859/user-with-access-to-protected-branch-c2014c1ada7330d6/merge_requests/1
D, [2019-11-04T07:22:22.187667 #22] DEBUG -- : has_text?('The changes were merged into') returned false
D, [2019-11-04T07:22:22.193576 #22] DEBUG -- : refreshing http://gitlab-ee-a00ea2b9.test/gitlab-qa-sandbox-group/qa-test-2019-11-04-07-06-43-43adf07be4f5b859/user-with-access-to-protected-branch-c2014c1ada7330d6/merge_requests/1
D, [2019-11-04T07:22:23.779836 #22] DEBUG -- : ended wait after 61.205495004 seconds
But it was still waiting for the pipeline to complete:
I'm not sure this test needs a pipeline...
Edited by Mark Lapierre