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

cmdlib.sh: add env var to sleep before killing tail #3792

Merged
merged 1 commit into from
May 6, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented May 6, 2024

I can't reproduce this locally, but I have a suspicion that tail can exit too quickly in some circumstances, causing truncated output:

openshift/os#1498 (comment)
#3785 (comment)

Rather than having an unconditional sleep, let's make it easier to test that theory by having an env var we can use to make it optional. Then we'll test that in CI.

Mid-term, I'd like to revert 79b15c8 soon so we can go back to virtio-serial which is just so much cleaner.

I can't reproduce this locally, but I have a suspicion that `tail` can
exit too quickly in some circumstances, causing truncated output:

openshift/os#1498 (comment)
coreos#3785 (comment)

Rather than having an unconditional `sleep`, let's make it easier to
test that theory by having an env var we can use to make it optional.
Then we'll test that in CI.

Mid-term, I'd like to revert 79b15c8 soon so we can go back to
virtio-serial which is just so much cleaner.
@jlebon
Copy link
Member Author

jlebon commented May 6, 2024

/retest

1 similar comment
@jlebon
Copy link
Member Author

jlebon commented May 6, 2024

/retest

Copy link

openshift-ci bot commented May 6, 2024

@jlebon: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos 990a0a7 link true /test rhcos
ci/prow/images 990a0a7 link true /test images

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@jlebon
Copy link
Member Author

jlebon commented May 6, 2024

Interesting. Prow is still hitting:

Error: Unable to find a match: osbuild-114-1.fc40.noarch osbuild-ostree-114-1.fc40.noarch osbuild-selinux-114-1.fc40.noarch osbuild-tools-114-1.fc40.noarch

But I did tag it into the continuous tag and the repo was already regenerated. CoreOS CI at least is happy now. That repo isn't mirrored AFAIK though I wonder if Prow is somehow hitting an old version.

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@jlebon jlebon merged commit 4d4e284 into coreos:main May 6, 2024
3 of 5 checks passed
@jlebon jlebon deleted the pr/tail-sleep branch May 6, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants