-
Bug
-
Resolution: Fixed
-
P3
-
11, 14
-
b20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8232903 | 13u-cpu | Erik Joelsson | P3 | Resolved | Fixed | master |
JDK-8246457 | 13.0.4 | Erik Joelsson | P3 | Resolved | Fixed | b04 |
JDK-8232902 | 11.0.7-oracle | Erik Joelsson | P3 | Closed | Fixed | b01 |
JDK-8236773 | 11.0.7 | Erik Joelsson | P3 | Resolved | Fixed | b01 |
When RunTest.gmk runs jtreg tests, it prints the exitcode of jtreg into a file named exitcode.txt. Soemtimes, this fails and the exitcode.txt file is left empty. This is causing trouble in automated testing where the surrounding framework is expecting to check the result in that file.
I believe this is caused by a race in bash. We have seen similar races before and there is even a comment about it in the documentation for the ExecuteWithLog macro. If there is redirect of stdout in a command executed by ExecuteWithLog, that command must be surrounded by parens to run in a subshell.
I will try putting parens around the jtreg and other test framework calls in RunTest.gmk.
I believe this is caused by a race in bash. We have seen similar races before and there is even a comment about it in the documentation for the ExecuteWithLog macro. If there is redirect of stdout in a command executed by ExecuteWithLog, that command must be surrounded by parens to run in a subshell.
I will try putting parens around the jtreg and other test framework calls in RunTest.gmk.
- backported by
-
JDK-8232903 RunTest sometimes fails to produce valid exitcode.txt
-
- Resolved
-
-
JDK-8236773 RunTest sometimes fails to produce valid exitcode.txt
-
- Resolved
-
-
JDK-8246457 RunTest sometimes fails to produce valid exitcode.txt
-
- Resolved
-
-
JDK-8232902 RunTest sometimes fails to produce valid exitcode.txt
-
- Closed
-
- relates to
-
JDK-8158629 bash >(...) construct still causes race conditions
-
- Resolved
-
-
JDK-8236848 [JDK 11u] make run-test-tier1 fails after backport of JDK-8232834
-
- Closed
-
(1 relates to)