Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.5.0
-
None
Description
Please see these 2 runs in GitHub Actions:
Add Daffodil Developer Guide · apache/daffodil@9d114c3 (github.com)
Add Daffodil Developer Guide · apache/daffodil@0bc99e6 (github.com)
One job in both runs hanged for 5 hours 54 minutes so GitHub Actions had to kill the job. Both jobs were running on the same runner (Java 8, Scala 2.12.17, ubuntu-20.04) and had failed in the following unit tests with the same error message:
org.apache.daffodil.io.TestInputSourceDataInputStream8.networkReadPartial1
org.apache.daffodil.io.TestSocketPairTestRig.testHangDetection1
org.apache.daffodil.io.TestSocketPairTestRig.testHangDetection2
org.apache.daffodil.io.TestSocketPairTestRig.testSocketPairTestRig1
failed: java.util.concurrent.TimeoutException: Futures timed out after [1000 milliseconds], took 1.002 sec
The rest of the jobs ran all of the unit tests successfully without any timeout exceptions. We have had an occasional timeout exception fail 1 out of 6 jobs in a run before but they had not caused the job to hang before (the job had simply terminated after running the unit tests).
I do not think there was a change in the GitHub Actions runner. I checked the last CI job on the main branch (Update sbt to 1.8.0 · apache/daffodil@6d4b2b6 (github.com)) and the runner version numbers were the same in the setup job details. We have had several CI jobs since the recent changes to the integration tests so it seems unlikely they had anything to do with the new hangs, even though hangs can happen due to non-daemon threads still running in a JVM.