Transient failure in qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb | Manage Instance Add SSH key behaves like audit event logs audit events for UI operations
Summary
Pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/pipelines/147770
Job: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1200083
Passing in later run:
- Pipeline: https://ops.gitlab.net/gitlab-org/quality/staging/pipelines/147818
- Job: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1200616
Per the logs, perhaps a system resource issue as it was receiving Retry later
responses when trying to navigate to login on the 2nd retry
Stack trace
Failures:
1) Manage Instance Add SSH key behaves like audit event logs audit events for UI operations
Failure/Error: expect(audit_log_page).to have_audit_log_table_with_text(expected_event)
QA::Support::Repeater::WaitExceededError:
Wait condition not met after 60 seconds
Shared Example Group: "audit event" called from ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:54
/usr/local/bundle/gems/gitlab-qa-5.10.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_PRAEFECT_REPOSITORY_STORAGE="$QA_PRAEFECT_REPOSITORY_STORAGE" --env QA_DEBUG="$QA_DEBUG" --env QA_LOG_PATH="$QA_LOG_PATH" --env QA_CAN_TEST_ADMIN_FEATURES="$QA_CAN_TEST_ADMIN_FEATURES" --env QA_CAN_TEST_GIT_PROTOCOL_V2="$QA_CAN_TEST_GIT_PROTOCOL_V2" --env QA_CAN_TEST_PRAEFECT="$QA_CAN_TEST_PRAEFECT" --env GITLAB_QA_PASSWORD_1="$GITLAB_QA_PASSWORD_1" --env GITLAB_QA_PASSWORD_2="$GITLAB_QA_PASSWORD_2" --env GITHUB_USERNAME="$GITHUB_USERNAME" --env GITHUB_PASSWORD="$GITHUB_PASSWORD" --env CI="$CI" --env CI_RUNNER_ID="$CI_RUNNER_ID" --env CI_SERVER_HOST="$CI_SERVER_HOST" --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" --volume /var/run/docker.sock:/var/run/docker.sock:z --volume /builds/gitlab-org/quality/staging/gitlab-qa-run-2020-05-18-12-58-24-1d53a785/gitlab-ee-qa-908d3ed5:/home/gitlab/qa/tmp:z --name gitlab-ee-qa-908d3ed5 dev.gitlab.org:5005/gitlab/omnibus-gitlab/gitlab-ee-qa:13.1-54bf0a42f07 Test::Instance::All https://staging.gitlab.com -- qa/specs/features/ee/browser_ui/1_manage --format RspecJunitFormatter --out "tmp/rspec-1200083.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-5.10.1/lib/gitlab/qa/docker/shellout.rb:19:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/docker/command.rb:36:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/docker/engine.rb:22:in `block in run'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/docker/engine.rb:16:in `tap'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/docker/engine.rb:16:in `run'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/component/specs.rb:37:in `perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/test/instance/deployment_base.rb:26:in `perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-5.10.1/lib/gitlab/qa/runner.rb:42:in `run'
from /usr/local/bundle/gems/gitlab-qa-5.10.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>'
# ./qa/support/repeater.rb:43:in `repeat_until'
# ./qa/support/waiter.rb:23:in `wait_until'
# ./qa/page/base.rb:48:in `wait_until'
# ./qa/ee/page/admin/monitoring/audit_log.rb:18:in `has_audit_log_table_with_text?'
# ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:14:in `block (5 levels) in <module:QA>'
# ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:13:in `each'
# ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:13:in `block (4 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:12: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'
Screenshot / HTML page
manage_instance_add_ssh_key_behaves_like_audit_event_logs_audit_events_for_ui_operations.html
Possible fixes
Timeout adjustment may help.