Open hiramotom opened 4 days ago
The test is sending SIGFPE
and that is causing golang to catch it and print SIGFPE: floating-point exception + stack trace
and then exits 2. This works fine in all our CI systems and for me locally on f40.
There is nothing wrong with ExitWithError is simply check the exit code is what we expect, sending SIGABRT will also cause the podman process to exit 2 as this is also catched by golang.
So if you get anything else something seems to be wrong in your environment.
Issue Description
It seems that the changes made by #22661 might not be completely accurate. When I ran the command in test environment, it returned an error: "Command exited with status 134 (expected 2)". Could this test result be different depending on the environment?
I believe this code is causing the error output.
Steps to reproduce the issue
Run run_signal_test.go
2.The results will be output, so I will check them.
Summarizing 1 Failure: [FAIL] Podman run with --sig-proxy [It] signals are not forwarded to container with sig-proxy false /root/podman-upstream/test/e2e/run_signal_test.go:115
host: arch: amd64 buildahVersion: 1.37.3 cgroupControllers:
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting