Skip to content

hack/ci: do not swallow apiv2 failures - #29528

Open
vtushar06 wants to merge 1 commit into
podman-container-tools:mainfrom
vtushar06:fix-apiv2-exit-status
Open

hack/ci: do not swallow apiv2 failures#29528
vtushar06 wants to merge 1 commit into
podman-container-tools:mainfrom
vtushar06:fix-apiv2-exit-status

Conversation

@vtushar06

Copy link
Copy Markdown
Contributor

The apiv2 bash suite has not gated CI since 66c6da6. run_apiv2 puts both make targets inside one sh -c "( ... )" with no set -e, so only the last command decides the exit status and make localapiv2-bash is discarded. set -eo pipefail at the top of runner.sh is the outer bash and does not reach into that inner sh.

It is failing right now on main. Run 31847250452, job apiv2 rootless fedora-current, conclusion success, log line 3089:

make: *** [Makefile:762: localapiv2-bash] Error 17

Same thing in the three earlier green main runs I checked (31687097967, 31540756565, 31514570842), each with plan 1..2191 and Error 17.

I used an accumulator rather than set -e so the python half still runs when the bash half fails - otherwise we would lose that half of the report on every failure. Checked the shapes on bash 5.2: the current one exits 0 when the first target fails, this one exits 1 and still runs both.

I have not looked into the 17 failures themselves yet, they look like three clusters in 26-containersWait and 27-containersEvents. Happy to open a separate issue for those once this gates again.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
@github-actions github-actions Bot added the CI label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant