https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15668/testReport/junit/bin.sh.execution/functional_test/bg12/ https://ci.freebsd.org/job/FreeBSD-head-i386-test/9772/testReport/junit/bin.sh.execution/functional_test/bg12/ https://ci.freebsd.org/job/FreeBSD-stable-12-amd64-test/2463/testReport/junit/bin.sh.execution/functional_test/bg12/ https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/2438/testReport/junit/bin.sh.execution/functional_test/bg12/ Original stderr --------------- Fail: incorrect exit status: 1, expected: 0 stdout: stderr:
jilles: Can you help check this one? Thanks!
Temporarily skip this case in CI: https://svnweb.freebsd.org/changeset/base/362646
A commit references this bug: Author: lwhsu Date: Fri Jun 26 17:35:09 UTC 2020 New revision: 362655 URL: https://svnweb.freebsd.org/changeset/base/362655 Log: MFC r362646: Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI PR: 247559 Sponsored by: The FreeBSD Foundation Changes: _U stable/12/ stable/12/bin/sh/tests/functional_test.sh
A commit references this bug: Author: jilles Date: Sun Jun 28 21:15:29 UTC 2020 New revision: 362737 URL: https://svnweb.freebsd.org/changeset/base/362737 Log: sh/tests: Fix flaky execution/bg12.0 When job control is not enabled, the shell ignores SIGINT while waiting for a foreground process unless that process exits on SIGINT. In this case, the foreground process is sleep and it does not exit on SIGINT because the signal is only sent to the shell. Depending on order of events, this could cause the SIGINT to be unexpectedly ignored. On lightly loaded bare metal, the chance of this happening tends to be less than 0.01% but with higher loads and/or virtualization it becomes more likely. Starting the sleep in background and using the wait builtin ensures SIGINT will not be ignored. PR: 247559 Reported by: lwhsu MFC after: 1 week Changes: head/bin/sh/tests/execution/bg12.0
A commit references this bug: Author: jilles Date: Sun Jun 28 21:33:08 UTC 2020 New revision: 362738 URL: https://svnweb.freebsd.org/changeset/base/362738 Log: sh/tests: Re-enable bin.sh.execution.functional_test.bg12.0 This reverts r362646. PR: 247559 MFC after: 1 week Changes: head/bin/sh/tests/functional_test.sh
A commit references this bug: Author: jilles Date: Thu Jul 9 17:42:31 UTC 2020 New revision: 363053 URL: https://svnweb.freebsd.org/changeset/base/363053 Log: MFC r362737: sh/tests: Fix flaky execution/bg12.0 When job control is not enabled, the shell ignores SIGINT while waiting for a foreground process unless that process exits on SIGINT. In this case, the foreground process is sleep and it does not exit on SIGINT because the signal is only sent to the shell. Depending on order of events, this could cause the SIGINT to be unexpectedly ignored. On lightly loaded bare metal, the chance of this happening tends to be less than 0.01% but with higher loads and/or virtualization it becomes more likely. Starting the sleep in background and using the wait builtin ensures SIGINT will not be ignored. PR: 247559 Reported by: lwhsu Changes: _U stable/12/ stable/12/bin/sh/tests/execution/bg12.0
A commit references this bug: Author: jilles Date: Thu Jul 9 17:43:25 UTC 2020 New revision: 363054 URL: https://svnweb.freebsd.org/changeset/base/363054 Log: MFC r362738: sh/tests: Re-enable bin.sh.execution.functional_test.bg12.0 PR: 247559 Changes: _U stable/12/ stable/12/bin/sh/tests/functional_test.sh