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

Build and use a newer systemd image #16814

Merged

Conversation

edsantiago
Copy link
Member

...based on f37, not f31. And make it fedora-minimal so it's
smaller. And clean up dnf so it's even smaller. And tag it
with our proper YMD tag, and commit the script that builds it.

Signed-off-by: Ed Santiago [email protected]

None

@openshift-ci openshift-ci bot added release-note-none approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 12, 2022
@edsantiago
Copy link
Member Author

Tagging with DO NOT MERGE because I'm leaving on PTO in an hour and this is a wee bit bigger change than I feel comfortable with dropping.

But I'm submitting anyway because @vrothberg might want to use the image in his new something-something tests.

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

Changes LGTM, thanks @edsantiago !

Enjoy PTO

@edsantiago
Copy link
Member Author

Thanks @vrothberg! The term I was looking for is "barrier". I don't know if this image has the magic barrier code, but feel free to play with it at your leisure.

@vrothberg
Copy link
Member

Thanks @vrothberg! The term I was looking for is "barrier". I don't know if this image has the magic barrier code, but feel free to play with it at your leisure.

Thank you. Yes, the new image will somehow magically send the BARRIERS as systemd-notify sends them by default now. If tests pass with the new image, we're good.

@edsantiago edsantiago force-pushed the build-systemd-testimage branch from b155421 to 6953c99 Compare January 2, 2023 18:32
...based on f37, not f31. And make it fedora-minimal so it's
smaller. And clean up dnf so it's even smaller. And tag it
with our proper YMD tag, and commit the script that builds it.

This broke the system-df tests. In the process of resolving
that, I found those tests a little lacking. So, improve their
coverage a little bit.

Signed-off-by: Ed Santiago <[email protected]>
@edsantiago edsantiago force-pushed the build-systemd-testimage branch from 6953c99 to 16b595c Compare January 2, 2023 20:26
@edsantiago edsantiago changed the title DO NOT MERGE Build and use a newer systemd image Build and use a newer systemd image Jan 2, 2023
@edsantiago
Copy link
Member Author

@vrothberg I think this is ready to go; PTAL when convenient. The generated image has not changed since my initial commit last month; all I've done is fix tests and rebase. The generated image should have the BARRIERS functionality, at least as/if implemented in the f37 image.

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM, thanks ton, @edsantiago!

@containers/podman-maintainers PTAL

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago, giuseppe, vrothberg

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:
  • OWNERS [edsantiago,giuseppe,vrothberg]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit ee01ae1 into containers:main Jan 3, 2023
@edsantiago edsantiago deleted the build-systemd-testimage branch January 3, 2023 13:04
edsantiago added a commit to edsantiago/libpod that referenced this pull request Jan 6, 2023
Red Hat registry is too unreliable. (As of this writing
in January 2023, quay.io is not much better, but this is
a new flake. Ubi has been flaking for a year or more).

Instead of UBI, use the new systemd-image added to system tests
in containers#16814. Since this reduces the number of cached images,
a few unrelated tests (image count) need to be tweaked.

And, sigh, Fedora systemd colorizes boot messages by default,
causing a failure where we don't see an expected Reached Target
message. I don't want to rely on ASCII formatting codes, so
I've updated the build-systemd-image script so it disables
systemd colors, and have built a new systemd-image:20230106.
Made a few small usability improvements to the script as well.

Closes: containers#16695

Signed-off-by: Ed Santiago <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants