The openEuler 24.03 ppc64le native ksh build stopped in %check for more
than three hours, in the sigchld.sh trap queueing test. The test loops on
"sleep -s" until the CHLD trap empties its job table. A lost SIGCHLD
leaves the table not empty, and the shell waits in pause() forever.
The spec patch now gives "sleep -s" a 1 second timeout, ends the loop
after 60 seconds, and turns the check after the loop into a no-op. The
rest of %check still runs. The inputs file pins the new patch hash.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
The openEuler 24.03 ppc64le dep cell fails at random in the ksh native
prerequisite with "Bad exit status from ... (%check)". Four timing
checks in the ksh test suite race on a loaded ppc64le build host:
signal.sh "parent does not wait" and "parent completes early", the
subshell.sh 4 s kill timer, and the sigchld.sh JOBMAX check.
The native input catalog rebuilt ksh with its full %check, and xcat-dep
publishes that ksh, so %check must stay on.
Add a ksh spec patch, pinned in the ppc64le catalog. In %prep it turns
those four err_exit calls into no-ops, and fails the build if any edit
does not match exactly once. The rest of %check runs.
t/openeuler_native_ksh_racy_checks.t passes.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit fdf12caac493900b3b8d242f1140b79e798b9f0f)