Skip to content

Conversation

@marmijo
Copy link
Member

@marmijo marmijo commented Dec 17, 2024

The podman.workflow test has been failing on OpenStack, likely because pulling the Fedora container takes too long. Use the RetryUntilTimeout function to retry every minute for up to 15 minutes to allow sufficient time to pull the Fedora container. In local testing, pulling the container on OpenStack took approximately 5 minutes before succeeding.

See: coreos/fedora-coreos-tracker#1835

The podman.workflow test has been failing on OpenStack, likely
because pulling the Fedora container takes too long. Use the
`RetryUntilTimeout` function to retry every minute for up to 15
minutes to allow sufficient time to pull the Fedora container.
In local testing, pulling the container on OpenStack took
approximately 5 minutes before succeeding.

See: coreos/fedora-coreos-tracker#1835
@gursewak1997
Copy link
Member

/test rhcos

@marmijo
Copy link
Member Author

marmijo commented Dec 17, 2024

/retest

@marmijo marmijo merged commit dcce259 into coreos:main Dec 17, 2024
5 checks passed
}

if err := util.Retry(6, 10*time.Second, podIsRunning); err != nil {
if err := util.RetryUntilTimeout(15*time.Minute, 5*time.Minute, podIsRunning); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

does this mean it will only try every 5 minutes? I think checking more frequently (like 30s or 1m) would be more ideal.

Previously it was only trying 6 times at an interval of 10s (i.e. 1 minute until timeout/failure). Now if it fails the first time we are waiting 5 minutes for this test to try again.

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.

3 participants