Failure in ee/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
Test metadata (don't modify)
Field | Value |
---|---|
File | qa/specs/features/ee/browser_ui/10_govern/scan_result_policy_vulnerabilities_spec.rb |
Description | Govern Scan result policy requires approval when a pipeline report has findings matching the scan result policy |
Hash | 401709abcf3071a1797a458cea1103fde28824a6a1b87c1638c98ca387779706 |
Stack trace
Failure/Error:
QA::EE::Resource::ScanResultPolicyProject.fabricate_via_api! do |commit|
commit.project_path = project.full_path
end
QA::Resource::Errors::ResourceFabricationFailedError:
Fabrication of QA::EE::Resource::ScanResultPolicyProject using the API failed (200) with `{"data":{"securityPolicyProjectCreate":{"project":null,"errors":["Project was created and assigned as security policy project, but failed adding users to the project."]}}}`.
Correlation Id: 01H28W5MD24H0V6V4BDXMNW331
First happened in https://gitlab.com/gitlab-org/gitlab/-/jobs/4422910412.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/365005.
System Logs
Rails Application
Click to expand
{
"severity": "INFO",
"correlation_id": "01H28W5MD24H0V6V4BDXMNW331",
"time": "2023-06-06T17:30:44.224Z",
"message": "Administrator created a new project \"gitlab-qa-sandbox-group-3 / qa-test-2023-06-06-17-03-12-bf865577462e890a / project-with-scan-result-policy-85a7f50bfedffb7c - Security policy project\"",
"meta_user": "root",
"meta_project": "gitlab-qa-sandbox-group-3/qa-test-2023-06-06-17-03-12-bf865577462e890a/project-with-scan-result-policy-85a7f50bfedffb7c-security-policy-project",
"meta_caller_id": "graphql:unknown"
}
Click to expand
{
"severity": "INFO",
"correlation_id": "01H28W5MD24H0V6V4BDXMNW331",
"time": "2023-06-06T17:30:44.772Z",
"message": "clear pages cache",
"meta_user": "root",
"meta_project": "gitlab-qa-sandbox-group-3/qa-test-2023-06-06-17-03-12-bf865577462e890a/project-with-scan-result-policy-85a7f50bfedffb7c-security-policy-project",
"meta_caller_id": "Pages::InvalidateDomainCacheWorker"
}
Rails GraphQL
Click to expand
{
"severity": "INFO",
"correlation_id": "01H28W5MD24H0V6V4BDXMNW331",
"time": "2023-06-06T17:30:44.790Z",
"query_string": "mutation{\n securityPolicyProjectCreate(input: { fullPath: \"gitlab-qa-sandbox-group-3/qa-test-2023-06-06-17-03-12-bf865577462e890a/project-with-scan-result-policy-85a7f50bfedffb7c\" }) {\n project {\n id\n fullPath\n branch: repository {\n rootRef\n }\n }\n project {\n id\n name\n }\n errors\n }\n }\n",
"variables": "{}",
"meta_user": "root",
"meta_caller_id": "graphql:unknown"
}