Failure in browser_ui/secure/enable_scanning_from_configuration_spec.rb | Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
Full description
Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
File path
./qa/specs/features/ee/browser_ui/secure/enable_scanning_from_configuration_spec.rb
Stack trace
Failures:
1) Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
Got 8 failures:
1.1) Failure/Error: expect(config_form).to have_sast_status('Enabled')
expected QA::Page::Project::Secure::ConfigurationForm to have sast status "Enabled"
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:158:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.2) Failure/Error: expect(config_form).to have_no_sast_status('Not enabled')
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_sast_status?("Not enabled")` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:159:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.3) Failure/Error: expect(config_form).to have_security_configuration_history_link
expected QA::Page::Project::Secure::ConfigurationForm to have security configuration history link
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:160:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.4) Failure/Error: expect(config_form).to have_no_auto_devops_container
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_auto_devops_container?` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:161:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.5) Failure/Error: expect(config_form).to have_sast_status('Enabled')
expected QA::Page::Project::Secure::ConfigurationForm to have sast status "Enabled"
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:158:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.6) Failure/Error: expect(config_form).to have_no_sast_status('Not enabled')
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_sast_status?("Not enabled")` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:159:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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'
/usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/shellout.rb:34:in `block in execute!': Docker command `docker run -t --rm --net=bridge --env QA_CAN_TEST_GIT_PROTOCOL_V2="$QA_CAN_TEST_GIT_PROTOCOL_V2" --env QA_DEBUG="$QA_DEBUG" --env QA_TESTCASES_REPORTING_PROJECT="$QA_TESTCASES_REPORTING_PROJECT" --env QA_ARTIFACTS_DIR="$QA_ARTIFACTS_DIR" --env QA_FAILED_TEST_RESOURCES_GCS_CREDENTIALS="$QA_FAILED_TEST_RESOURCES_GCS_CREDENTIALS" --env QA_KNAPSACK_REPORT_GCS_CREDENTIALS="$QA_KNAPSACK_REPORT_GCS_CREDENTIALS" --env QA_INFLUXDB_URL="$QA_INFLUXDB_URL" --env QA_ALLURE_REPORT_GCS_CREDENTIALS="$QA_ALLURE_REPORT_GCS_CREDENTIALS" --env QA_GENERATE_ALLURE_REPORT="$QA_GENERATE_ALLURE_REPORT" --env QA_CAN_TEST_PRAEFECT="$QA_CAN_TEST_PRAEFECT" --env QA_INFLUXDB_TOKEN="$QA_INFLUXDB_TOKEN" --env QA_CAN_TEST_ADMIN_FEATURES="$QA_CAN_TEST_ADMIN_FEATURES" --env QA_TEST_RESULTS_ISSUES_PROJECT="$QA_TEST_RESULTS_ISSUES_PROJECT" --env QA_RUN_TYPE="production-full" --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_DEV_ACCESS_TOKEN="$GITLAB_QA_DEV_ACCESS_TOKEN" --env GITLAB_QA_CONTAINER_REGISTRY_ACCESS_TOKEN="$GITLAB_QA_CONTAINER_REGISTRY_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 GITLAB_CI_API_TOKEN="$GITLAB_CI_API_TOKEN" --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_COMMIT_REF_NAME="$CI_COMMIT_REF_NAME" --env CI_JOB_NAME="$CI_JOB_NAME" --env CI_JOB_URL="$CI_JOB_URL" --env CI_JOB_TOKEN="$CI_JOB_TOKEN" --env CI_RUNNER_ID="$CI_RUNNER_ID" --env CI_SERVER_HOST="$CI_SERVER_HOST" --env CI_NODE_TOTAL="$CI_NODE_TOTAL" --env CI_PROJECT_ID="$CI_PROJECT_ID" --env CI_PROJECT_NAME="$CI_PROJECT_NAME" --env CI_SLACK_WEBHOOK_URL="$CI_SLACK_WEBHOOK_URL" --env CI_PIPELINE_ID="$CI_PIPELINE_ID" --env CI_PIPELINE_SOURCE="$CI_PIPELINE_SOURCE" --env CI_PIPELINE_URL="$CI_PIPELINE_URL" --env CI_PIPELINE_CREATED_AT="$CI_PIPELINE_CREATED_AT" --env CI_API_V4_URL="$CI_API_V4_URL" --env GITLAB_CI="$GITLAB_CI" --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" --env GITLAB_QA_USER_AGENT="$GITLAB_QA_USER_AGENT" --env GITLAB_INITIAL_ROOT_PASSWORD="5iveL!fe" --volume /var/run/docker.sock:/var/run/docker.sock:z --volume /builds/gitlab-org/quality/production/gitlab-qa-run-2022-04-07-14-07-05-1f98fbd7/gitlab-ee-qa-9a38fad4:/home/gitlab/qa/tmp:z --name gitlab-ee-qa-9a38fad4 dev.gitlab.org:5005/gitlab/omnibus-gitlab/gitlab-ee-qa:14.10-8baad1ca399 Test::Instance::All https://gitlab.com -- qa/specs/features/ee/browser_ui/13_secure --format QA::Support::JsonFormatter --out "tmp/rspec-6765369.json" --format RspecJunitFormatter --out "tmp/rspec-6765369.xml" --format html --out "tmp/rspec-$(echo qa-browser_ui-secure | sed 's/[ /]/_/g').htm" --color --format documentation` failed! ✘ (Gitlab::QA::Docker::Shellout::StatusError)
from /usr/local/lib/ruby/2.7.0/open3.rb:219:in `popen_run'
from /usr/local/lib/ruby/2.7.0/open3.rb:208:in `popen2e'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/shellout.rb:22:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/command.rb:48:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/engine.rb:29:in `block in run'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/engine.rb:23:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/docker/engine.rb:23:in `run'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/component/specs.rb:45:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/component/specs.rb:44:in `each'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/component/specs.rb:44:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/test/instance/deployment_base.rb:26:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/lib/gitlab/qa/runner.rb:75:in `run'
from /usr/local/bundle/gems/gitlab-qa-7.24.6/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>'
# ./spec/spec_helper.rb:128: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'
1.7) Failure/Error: expect(config_form).to have_security_configuration_history_link
expected QA::Page::Project::Secure::ConfigurationForm to have security configuration history link
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:160:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
1.8) Failure/Error: expect(config_form).to have_no_auto_devops_container
expected `QA::Page::Project::Secure::ConfigurationForm.has_no_auto_devops_container?` to be truthy, got false
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:161:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:157:in `block (4 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:128: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'
Finished in 16 minutes 11 seconds (files took 3.68 seconds to load)
14 examples, 1 failure, 1 pending
Failed examples:
rspec ./qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb:109 # Secure Enable Scanning from UI enable sast from configuration runs sast job when enabled from configuration
First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/1824348865.
Edited by Will Meek