Failure in /qa/specs/features/ee/browser_ui/3_create/repository/file_locking_spec.rb
Job: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/704091
Logs:
Error 1
2) Create File Locking creates a merge request and fails to merge
Failure/Error: expect(page).to have_text("locked by Administrator")
expected to find text "locked by Administrator" in "Skip to content Projects Groups More 4 2 5 F file_locking-75642b84ba3792f0 Project Repository Issues 0 Merge Requests 1 CI / CD Security & Compliance Operations Packages Wiki Snippets Members Collapse sidebar gitlab-qa-sandbox-group qa-test-2019-10-29-11-41-06-254d91a69c2ad29e file_locking-75642b84ba3792f0 Merge Requests !1 Open Opened just now by QA User (Quality Team's Test Account) Edit Close merge request QA test - merge request This is a test merge request Request to merge test into master Open in Web IDE Check out branch Pipeline #12668747 running for 0e9069a1 on test Will deploy to review/test Approve No approval required; you can still approve Merge Something went wrong during merge pre-receive hook. The path 'file' is locked by QA User (Quality Team's Test Account) Refreshing in 4 seconds to show the updated status... Refresh now Merge failed: Something went wrong during merge pre-receive hook. The path 'file' is locked by QA User (Quality Team's Test Account). Please try again. 0 0 Discussion 0 Commits 1 Pipelines 1 Changes 1 Show all activity Write Preview Markdown and quick actions are supported Attach a file Comment Close merge request To Do Add a To Do 0 Assignees Edit None - assign yourself Milestone Edit None Time tracking No estimate or time spent Labels Edit None Lock merge request Edit Unlocked 1 participant Notifications Reference: gitlab-qa-sandbox-group/qa-test-2019-10-29-11-41-06-254d91a69c2ad29e/file_locking-75642b84ba3792f0!1"
# ./qa/specs/features/ee/browser_ui/3_create/repository/file_locking_spec.rb:77: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:50: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:69: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:33: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:
Error 2
Logs:
3) Create File Locking locks a directory and tries to push as a second user
Failure/Error: Page::File::Show.perform(&:lock)
Capybara::ElementNotFound:
Unable to find visible css "[data-qa-selector=\"lock_button\"],.qa-lock-button"
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:314:in `block in synced_resolve'
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/base.rb:85:in `synchronize'
/usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/shellout.rb:31:in `block in execute!': Docker command `docker run -t --rm --net=bridge --env QA_REMOTE_GRID_USERNAME="$QA_REMOTE_GRID_USERNAME" --env QA_REMOTE_GRID_ACCESS_KEY="$QA_REMOTE_GRID_ACCESS_KEY" --env QA_REMOTE_GRID_PROTOCOL="$QA_REMOTE_GRID_PROTOCOL" --env GITLAB_ADMIN_USERNAME="$GITLAB_ADMIN_USERNAME" --env GITLAB_ADMIN_PASSWORD="$GITLAB_ADMIN_PASSWORD" --env GITLAB_USERNAME="$GITLAB_USERNAME" --env GITLAB_PASSWORD="$GITLAB_PASSWORD" --env GITLAB_FORKER_USERNAME="$GITLAB_FORKER_USERNAME" --env GITLAB_FORKER_PASSWORD="$GITLAB_FORKER_PASSWORD" --env GITLAB_QA_ACCESS_TOKEN="$GITLAB_QA_ACCESS_TOKEN" --env GITLAB_QA_ADMIN_ACCESS_TOKEN="$GITLAB_QA_ADMIN_ACCESS_TOKEN" --env GITHUB_ACCESS_TOKEN="$GITHUB_ACCESS_TOKEN" --env GCLOUD_ACCOUNT_EMAIL="$GCLOUD_ACCOUNT_EMAIL" --env GCLOUD_ACCOUNT_KEY="$GCLOUD_ACCOUNT_KEY" --env CLOUDSDK_CORE_PROJECT="$CLOUDSDK_CORE_PROJECT" --env GCLOUD_REGION="$GCLOUD_REGION" --env SIGNUP_DISABLED="$SIGNUP_DISABLED" --env QA_DEBUG="$QA_DEBUG" --env QA_LOG_PATH="$QA_LOG_PATH" --env QA_CAN_TEST_GIT_PROTOCOL_V2="$QA_CAN_TEST_GIT_PROTOCOL_V2" --env GITLAB_QA_PASSWORD_1="$GITLAB_QA_PASSWORD_1" --env GITLAB_QA_PASSWORD_2="$GITLAB_QA_PASSWORD_2" --env GITHUB_OAUTH_APP_ID="$GITHUB_OAUTH_APP_ID" --env GITHUB_OAUTH_APP_SECRET="$GITHUB_OAUTH_APP_SECRET" --env GITHUB_USERNAME="$GITHUB_USERNAME" --env GITHUB_PASSWORD="$GITHUB_PASSWORD" --env CI="$CI" --env CI_NODE_TOTAL="$CI_NODE_TOTAL" --env GITLAB_CI="$GITLAB_CI" --volume /var/run/docker.sock:/var/run/docker.sock:z --volume /builds/gitlab-org/quality/staging/gitlab-qa-run-2019-10-29-11-40-06-9f176884/gitlab-ee-qa-286924aa:/home/gitlab/qa/tmp:z --name gitlab-ee-qa-286924aa dev.gitlab.org:5005/gitlab/omnibus-gitlab/gitlab-ee-qa:12.5-c46489109e4 Test::Instance::All https://staging.gitlab.com -- qa/specs/features/ee/browser_ui/3_create --format RspecJunitFormatter --out "tmp/rspec-704091.xml" --format html --out "tmp/rspec-$(echo $CI_JOB_NAME | sed 's/[ /]/_/g').htm" --color --format documentation` failed! (Gitlab::QA::Docker::Shellout::StatusError)
from /usr/local/lib/ruby/2.6.0/open3.rb:219:in `popen_run'
from /usr/local/lib/ruby/2.6.0/open3.rb:208:in `popen2e'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/shellout.rb:19:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/command.rb:36:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/engine.rb:22:in `block in run'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/engine.rb:16:in `tap'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/docker/engine.rb:16:in `run'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/component/specs.rb:36:in `perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/test/instance/deployment_base.rb:21:in `perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/lib/gitlab/qa/runner.rb:42:in `run'
from /usr/local/bundle/gems/gitlab-qa-4.7.1/exe/gitlab-qa:8:in `<top (required)>'
from /usr/local/bundle/bin/gitlab-qa:23:in `load'
from /usr/local/bundle/bin/gitlab-qa:23:in `<main>'
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:302:in `synced_resolve'
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:37:in `find'
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/session.rb:810:in `block (2 levels) in <class:Session>'
# /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/dsl.rb:50:in `block (2 levels) in <module:DSL>'
# ./qa/page/base.rb:77:in `find_element'
# ./qa/support/page/logging.rb:45:in `find_element'
# ./qa/page/base.rb:98:in `click_element'
# ./qa/support/page/logging.rb:69:in `click_element'
# ./qa/ee/page/file/show.rb:23:in `lock'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/3_create/repository/file_locking_spec.rb:123:in `click_lock'
# ./qa/specs/features/ee/browser_ui/3_create/repository/file_locking_spec.rb:37: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:50: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:69: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:33: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:

