Skip to content

Failure in browser_ui/4_verify/pipeline/pipeline_with_image_pull_policy_spec.rb | Verify Pipeline with image:pull_policy when policy is allowed with [if-not-present] policy applies pull policy in job correctly

Full description

Verify Pipeline with image:pull_policy when policy is allowed with [if-not-present] policy applies pull policy in job correctly

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 Using locally found image version due to "if-not-present" pull policy in 1Running with gitlab-runner 15.2.1 (32fc1585)
  2  on qa-runner-4rzld29n 8iWotiGr
  3
  Resolving secrets
  00:00
  5
  Preparing the "docker" executor
  00:11
  6Using Docker executor with image ruby:2.6 ...
  7Pulling docker image ruby:2.6 ...
  8Using docker image sha256:b71cca836fff8e4f14f8575e25a157f3e253bcd1a039432f4980728c846603f7 for ruby:2.6 with digest ruby@sha256:a79c8ddb7f3d3748427e2d3a45dcae6d42f1d80d9ae3b98959b3a27b220bf434 ...
  10
  Preparing environment
  00:09
  11Running on runner-8iwotigr-project-37-concurrent-0 via e150bf4bf48a...
  13
  Getting source from Git repository
  00:00
  14Fetching changes with git depth set to 20...
  15Initialized empty Git repository in /builds/gitlab-qa-sandbox-group-3/qa-test-2022-08-02-07-36-22-da3696e2b7ef7714/pipeline-with-image-pull-policy-efe3891db6d281f1/.git/
  16Created fresh repository.
  17Checking out f6e8125d as main...
  18Skipping Git submodules setup
  20
  Executing "step_script" stage of the job script
  00:01
  21Using docker image sha256:b71cca836fff8e4f14f8575e25a157f3e253bcd1a039432f4980728c846603f7 for ruby:2.6 with digest ruby@sha256:a79c8ddb7f3d3748427e2d3a45dcae6d42f1d80d9ae3b98959b3a27b220bf434 ...
  22$ echo "Using pull policies ["if-not-present"]"
  23Using pull policies [if-not-present]
  25Job succeeded, but didn't.

First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/2800685998.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/368858.

Screenshot: verify_pipeline_with_image_pull_policy_when_policy_is_allowed_with_if-not-present_policy_applies_pul