Failure in browser_ui/10_govern/scan_result_policy_vulnerabilities_spec.rb | Govern Scan result policy requires approval when a pipeline report has findings matching the scan result policy
Full description
Govern Scan result policy requires approval when a pipeline report has findings matching the scan result policy
File path
./qa/specs/features/ee/browser_ui/10_govern/scan_result_policy_vulnerabilities_spec.rb
Stack trace
Failure/Error:
Resource::Project.fabricate_via_api! do |resource|
resource.name = "project-with-scan-result-policy"
resource.description = 'Project to test scan result policy with secure'
resource.auto_devops_enabled = false
resource.initialize_with_readme = true
end
QA::Resource::Errors::ResourceNotFoundError:
Resource at https://gitlab.com/api/v4/projects/gitlab-qa-sandbox-group-2%2Fqa-test-2023-02-06-15-44-46-a7c03f1203a271a8%2Fproject-with-scan-result-policy-3890a20752c072c2?private_token=[****] could not be found (404): `{"message":"404 Project Not Found"}`.
Correlation Id: fc06f53f66de6b69e4ea1b2169190611
Sentry Url: https://sentry.gitlab.net/gitlab/gitlabcom/?environment=gprd&query=correlation_id%3A%22fc06f53f66de6b69e4ea1b2169190611%22
Kibana - Discover Url: https://log.gprd.gitlab.net/app/discover#/?_a=%28index:%277092c4e2-4eb5-46f2-8305-a7da2edad090%27%2Cquery%3A%28language%3Akuery%2Cquery%3A%27json.correlation_id%20%3A%20fc06f53f66de6b69e4ea1b2169190611%27%29%29&_g=%28time%3A%28from%3A%272023-02-05T15:46:05.403Z%27%2Cto%3A%272023-02-06T15:46:05.403Z%27%29%29
Kibana - Dashboard Url: https://log.gprd.gitlab.net/app/dashboards#/view/5e6d3440-7597-11ed-9f43-e3784d7fe3ca?_g=%28time%3A%28from:%272023-02-05T15:46:05.403Z%27%2Cto%3A%272023-02-06T15:46:05.403Z%27%29%29&_a=%28filters%3A%21%28%28query%3A%28match_phrase%3A%28json.correlation_id%3A%27fc06f53f66de6b69e4ea1b2169190611%27%29%29%29%29%29
First happened in https://ops.gitlab.net/gitlab-org/quality/production/-/jobs/9185996.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/365005.