Skip to content
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

Quadlet - Use = sign when setting the pull arg for build #24643

Merged

Conversation

ygalblum
Copy link
Contributor

Does this PR introduce a user-facing change?

No

None

Fixes #24599

[Build]
ImageTag=$image_tag
File=$container_file_path
Pull=always
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you set this to never , which policy should not matter and never is faster and less flaky as we do not have to pull

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ygalblum ygalblum force-pushed the quadlet-build-no-space branch from d64fabc to 79a7714 Compare November 21, 2024 17:57
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 21, 2024
@ygalblum ygalblum force-pushed the quadlet-build-no-space branch 2 times, most recently from d64fabc to 1117059 Compare November 21, 2024 17:59
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Luap99 Luap99 added the 5.3 label Nov 21, 2024
@Luap99
Copy link
Member

Luap99 commented Nov 21, 2024

A bit to late for 5.3.1 unfortunately given it was a 5.3 regression but we include it in the next one. cc @mheon
I guess this one is not so bad given users can work around it as mentioned in the issue so a new release is not time critical.

/cherry-pick v5.3

@openshift-cherrypick-robot
Copy link
Collaborator

@Luap99: once the present PR merges, I will cherry-pick it on top of v5.3 in a new PR and assign it to you.

In response to this:

A bit to late for 5.3.1 unfortunately given it was a 5.3 regression but we include it in the next one. cc @mheon
I guess this one is not so bad given users can work around it as mentioned in the issue so a new release is not time critical.

/cherry-pick v5.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


# Following issue: https://github.com/containers/podman/issues/24599
# Make sure future changes do not break
@test "quadlet - build with pull" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to cause flakes. buildah cannot run in parallel, hence podman build cannot run in parallel: containers/buildah#5674

In my foolish youth, I overoptimistically added the ci:parallel tag to this entire file. That will apply here, which will cause this test to flake.

Proposed solution(?): override file_tags, or move this test into a separate file. I don't know which is better. To override, it looks like you can redefine file_tags, then redefine it again below this test. That's barfy. So is a separate file. There might be better solutions that I can't think of right now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this cause flakes even where there no layers? The Containerfile is just FROM xxx so is this already enough to trigger flakes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't know. I've never dived deeply enough into that failure. Maybe it's OK to leave this as it is, and play the wait-and-see game.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edsantiago I rather not have to split the files. But, I don't mind clearing the flag and setting it again around the test. Do you think it's safer? No point in running later to fix it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really sorry... I don't know. I've never actually tried the change-file-tags trick. It seems worth a try. It also might be okay to merge as-is and see if it flakes or not: that might provide insight into the nature of the buildah-parallel bug.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, if you're OK with it, I'll keep it this way and we'll see what happens. Thanks

@mheon
Copy link
Member

mheon commented Nov 21, 2024

We can plan on a 5.3.2 in two weeks, given next week is a major US holiday.

@ygalblum
Copy link
Contributor Author

The windows installer failures don't seem related to this change. Is it a known consistent issue, or do I need to retry it until it's successful?

@edsantiago
Copy link
Member

I've pressed re-run. Let's see.

@TomSweeneyRedHat
Copy link
Member

LGTM

@TomSweeneyRedHat
Copy link
Member

I've pressed the test retry button. When I see "failed" tests with little to no log output, it's generally a try again situation.

@rhatdan
Copy link
Member

rhatdan commented Nov 22, 2024

Anyone know why the windows tests are blowing up? Iwould force merge this, but I am not allowed to, since the Windows failures have nothing to do with this PR, as far as I can tell.

@Luap99
Copy link
Member

Luap99 commented Nov 22, 2024

The (temporary) win installer fix is in #24653

@ygalblum ygalblum force-pushed the quadlet-build-no-space branch from 1117059 to 13affe9 Compare November 22, 2024 20:06
Copy link
Contributor

openshift-ci bot commented Nov 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99, ygalblum

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ygalblum
Copy link
Contributor Author

@Luap99 @rhatdan I rebased. Hopefully the tests pass

@rhatdan
Copy link
Member

rhatdan commented Nov 22, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 22, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 5d7700b into containers:main Nov 22, 2024
77 of 78 checks passed
@openshift-cherrypick-robot
Copy link
Collaborator

@Luap99: new pull request created: #24657

In response to this:

A bit to late for 5.3.1 unfortunately given it was a 5.3 regression but we include it in the next one. cc @mheon
I guess this one is not so bad given users can work around it as mentioned in the issue so a new release is not time critical.

/cherry-pick v5.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.3 approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quadlet [build] generates invalid Pull command lines
7 participants