Failure in browser_ui/4_verify/pipeline/pipeline_with_image_pull_policy_spec.rb | Verify Pipeline with image:pull_policy when policy is not allowed fails job with policy not allowed message
Full description
Verify Pipeline with image:pull_policy when policy is not allowed fails job with policy not allowed message
File path
./qa/specs/features/browser_ui/4_verify/pipeline/pipeline_with_image_pull_policy_spec.rb
Stack trace
Failure/Error:
expect(job_log).to have_content(message),
"Expected to find #{message} in #{job_log}, but didn't."
Expected to find ERROR: Preparation failed: the configured PullPolicies ([always]) are not allowed by AllowedPullPolicies ([never]) in 1Running with gitlab-runner 15.3.0 (bbcb5aba)
2 on qa-runner-w8j0w44e jedbahgH
3
Resolving secrets
00:00
5
Preparing the "docker" executor
00:14
6Using Docker executor with image ruby:2.6 ...
7ERROR: Preparation failed: failed to pull image 'ruby:2.6': pull_policy ([always]) defined in GitLab pipeline config is not one of the allowed_pull_policies ([never])
8Will be retried in 3s ...
9Using Docker executor with image ruby:2.6 ...
10ERROR: Preparation failed: failed to pull image 'ruby:2.6': pull_policy ([always]) defined in GitLab pipeline config is not one of the allowed_pull_policies ([never])
11Will be retried in 3s ...
12Using Docker executor with image ruby:2.6 ...
13ERROR: Preparation failed: failed to pull image 'ruby:2.6': pull_policy ([always]) defined in GitLab pipeline config is not one of the allowed_pull_policies ([never])
14Will be retried in 3s ...
16ERROR: Job failed (system failure): failed to pull image 'ruby:2.6': pull_policy ([always]) defined in GitLab pipeline config is not one of the allowed_pull_policies ([never]), but didn't.
First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/2909673176.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/368853.