Transient failure in qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_project_snippet_spec.rb
Summary
Transient failure happened in Master, job https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/571243994
Looks like it got stuck on deleting the snippet
Even though in the next master run as well as on retry, this test passed, creating this issue to track flakiness occurrences
Stack trace
Create Version control for project snippets clones, pushes, and pulls a project snippet over SSH, deletes via UI
Failure/Error:
expect { repository.pull(repository_uri_ssh, branch_name) }
.to raise_error(QA::Git::Repository::RepositoryCommandError, /[fatal: Could not read from remote repository.]+/)
/builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/shellout.rb:31:in `block in execute!': Docker command `docker run -t --rm --net=test --env QA_PRAEFECT_REPOSITORY_STORAGE="default" --env GITHUB_ACCESS_TOKEN="$GITHUB_ACCESS_TOKEN" --env EE_LICENSE="$EE_LICENSE" --env GCLOUD_ACCOUNT_EMAIL="$GCLOUD_ACCOUNT_EMAIL" --env GCLOUD_ACCOUNT_KEY="$GCLOUD_ACCOUNT_KEY" --env CLOUDSDK_CORE_PROJECT="$CLOUDSDK_CORE_PROJECT" --env QA_DEBUG="$QA_DEBUG" --env QA_CAN_TEST_GIT_PROTOCOL_V2="$QA_CAN_TEST_GIT_PROTOCOL_V2" --env QA_CAN_TEST_PRAEFECT="$QA_CAN_TEST_PRAEFECT" --env GITHUB_USERNAME="$GITHUB_USERNAME" --env GITHUB_PASSWORD="$GITHUB_PASSWORD" --env KNAPSACK_GENERATE_REPORT="$KNAPSACK_GENERATE_REPORT" --env KNAPSACK_REPORT_PATH="$KNAPSACK_REPORT_PATH" --env KNAPSACK_TEST_FILE_PATTERN="$KNAPSACK_TEST_FILE_PATTERN" --env CI="$CI" --env CI_RUNNER_ID="$CI_RUNNER_ID" --env CI_SERVER_HOST="$CI_SERVER_HOST" --env CI_SERVER_PERSONAL_ACCESS_TOKEN="$CI_SERVER_PERSONAL_ACCESS_TOKEN" --env CI_NODE_INDEX="$CI_NODE_INDEX" --env CI_NODE_TOTAL="$CI_NODE_TOTAL" --env GITLAB_CI="$GITLAB_CI" --env CI_SLACK_WEBHOOK_URL="$CI_SLACK_WEBHOOK_URL" --env GITLAB_QA_FORMLESS_LOGIN_TOKEN="$GITLAB_QA_FORMLESS_LOGIN_TOKEN" --env JIRA_ADMIN_USERNAME="$JIRA_ADMIN_USERNAME" --env JIRA_ADMIN_PASSWORD="$JIRA_ADMIN_PASSWORD" --volume /var/run/docker.sock:/var/run/docker.sock:z --volume /builds/gitlab-org/gitlab-qa-mirror/gitlab-qa-run-2020-05-28-12-05-54-465f6eb3/gitlab-ee-qa-c512b988:/home/gitlab/qa/tmp:z --name gitlab-ee-qa-c512b988 registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee-qa:d00e8e246862bf586d6339636528737cc0003dfe Test::Instance::All http://gitlab.test -- --format RspecJunitFormatter --out "tmp/rspec-571243994.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 /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/shellout.rb:19:in `execute!'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/command.rb:36:in `execute!'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/engine.rb:22:in `block in run'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/engine.rb:16:in `tap'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/engine.rb:16:in `run'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/component/specs.rb:37:in `perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/praefect.rb:44:in `block (3 levels) in perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/actable.rb:6:in `instance_exec'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/actable.rb:6:in `act'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/praefect.rb:36:in `block (2 levels) in perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/actable.rb:15:in `perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/praefect.rb:29:in `block in perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/volumes.rb:21:in `block in with_temporary_volumes'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/volumes.rb:20:in `tap'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/volumes.rb:20:in `with_temporary_volumes'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/praefect.rb:9:in `perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/runner.rb:42:in `run'
from exe/gitlab-qa:8:in `<main>'
expected QA::Git::Repository::RepositoryCommandError with message matching /[fatal: Could not read from remote repository.]+/ but nothing was raised
# ./qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_project_snippet_spec.rb:88:in `block (4 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/git/repository.rb:35:in `block (2 levels) in perform'
# ./qa/git/repository.rb:35:in `chdir'
# ./qa/git/repository.rb:35:in `block in perform'
# ./qa/git/repository.rb:34:in `perform'
# ./qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_project_snippet_spec.rb:83: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:69: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:71: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 / HTML page
Possible fixes
Perhaps wait for action complete a little longer?
Edited by Tiffany Rea