Debug ci timed out, do not merge#1805
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the playbooks/system-test-commands-options.yaml playbook to include additional flags (--show-output-of-passing-tests, --timing, and --trace) for the bats command when running the commands-options system tests. No review comments were provided, and there is no feedback to address.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
This is where it gets stuck: The test suite runs its own Docker registry using |
debarshiray
left a comment
There was a problem hiding this comment.
I added --show-output-of-passing-tests --timing --trace to playbooks/system-test-runtime-environment-arch-fedora.yaml and playbooks/system-test-runtime-environment-ubuntu.yaml to see why the other jobs aren't getting stuck.
|
Maybe this is a race where the push starts before the registry container is actually ready. WDYT about introducing some way to wait on the registry? Maybe something like: local -i retries
for ((retries = 0; retries < 30; retries++)); do
if curl -fsk https://localhost:50000/v2/ > /dev/null 2>&1; then
break
fi
sleep 1
done |
|
It looks like the job is hanging on a |
Yeah probably would be a good idea. These |
|
podman-container-tools/skopeo#2878 is potentially related, with podman-container-tools/container-libs#777 being the proposed solution there |
|
Sorry, I was away for a week at DevConf.cz and Flock.
That's a great idea, @Rolv-Apneseth ! I didn't know about I see 4 instances of For the local copies, we could go with a timeout of 25 seconds. We use it elsewhere in Toolbx because it's the default for D-Bus method calls in most implementations. That said, I wonder if that will be enough for most storage hardware. We recommend and try not to use tmpfs for I don't know about the one that downloads the image over the network. If we do use a timeout, then it should probably be longer. The images are big enough that 25s won't be enough without very good hardware and network bandwidth. :) |
Yes, once in a while on some rare occasions I have seen
Yes, it sounds like a good idea, @Rolv-Apneseth ! We already use a similar loop in I am wondering if we can:
In any case, I slightly prefer the longer options because aliases like |
|
Thanks @debarshiray, I've opened #1811. Let's see how it goes. |
No description provided.