-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix AssertionError: 'alpine' not found in 'docker.io/docker/desktop-kubernetes' #13290
Fix AssertionError: 'alpine' not found in 'docker.io/docker/desktop-kubernetes' #13290
Conversation
For the since and after imagve filter tests, instead of using the read-only cache of images, we just use the empty r/w store. We then build three images that are strictly predictable. Signed-off-by: Brent Baude <[email protected]>
It looks like some descriptions have changed on the docker registry where we had been searching for images that include 'alpine'. We are now seeing an image in the initial list that has 'alpine' in its description. Signed-off-by: Brent Baude <[email protected]>
We've got some python tests running in CI, and they're really hard to troubleshoot. This PR: 1) colorizes python unittest lines (ok / skipped / fail), and 2) links to source files The color is nice for skimming, but it's the linking that might make it much easier to diagnose future failures. (Context: failure today in test/python/docker/compat/test_images.py) Signed-off-by: Ed Santiago <[email protected]>
Dang, I thought this would have resolved the problem (log). @baude any idea what I'm missing? |
Changes LGTM |
Who is doing the truncation ( |
Answered my own question: it's podman:
(v3.4 truncates the Description. v4.0 does not). This approach will therefore not work in v3.4. It might work with |
I am perfectly fine with skipping this on v3.x, or just making it check that any line of the output contains |
Good eye @edsantiago. @mheon since this test is relying on external inputs we have no control over, and it's a long-term maintenance branch, disabling it is probably the better choice... |
Found images being returned which do have "Alpine" in the description. However, test fails because podman truncates the field. Disabling test since this is a long-term maintenance branch. Signed-off-by: Chris Evich <[email protected]>
...disabled with a comment explaining why. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logformatter and py changs lgtm. I'd like @baude's confirmation on the other one.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Backport of #13239 and #13241