Workflow runs flaky / "Text file busy"
marzipankaiser opened this issue · comments
In both the workflow runs
- (#320) https://github.com/effekt-lang/effekt/actions/runs/7034447758/job/19142525276?pr=321 | https://github.com/effekt-lang/effekt/actions/runs/7034447758/job/19142525276?pr=321#step:9:208
- (#321) https://github.com/effekt-lang/effekt/actions/runs/7019874175/job/19098324052 | https://github.com/effekt-lang/effekt/actions/runs/7019874175/job/19098324052#step:9:197
one of the tests fails with something like
==> X effekt.ChezScheme*Tests.examples/pos/multieffects.effekt (chez-callcc) 2.115s java.io.IOException: Cannot run program "*": error=26, Text file busy
This is probably a chance event, and might be related to https://bugs.openjdk.org/browse/JDK-8068370.
Leaving this here because it occured in both of my last PRs, so we might want to look into this if this stays this frequent for more than two runs.
Strange, I also just ran into this issue:
java.io.IOException: Cannot run program "/home/runner/work/effekt/effekt/./out/tests/effekt.chezschemelifttests/examples_pos_multieffects": error=26, Text file busy
https://github.com/effekt-lang/effekt/actions/runs/7057970235/job/19212628254
Re-running usually fixed it for me, but this is quite often 🤔
Was there a change on our side that might have made this more probable to occur for a test?
We're running into this constantly.
Here's some related thread from StackOverflow:
https://stackoverflow.com/questions/16764946/what-generates-the-text-file-busy-message-in-unix
Very much worth fixing, in fact. :)
https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695
This error was also detected in REPLTests now.
==> X effekt.ReplTests.Evaluating small examples 10.147s java.io.IOException: Cannot run program "/home/runner/work/effekt/effekt/./out/interactive": error=26, Text file busy
[53](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:54)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
[54](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:55)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
[55](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:56)
at scala.sys.process.ProcessBuilderImpl$Simple.run(ProcessBuilderImpl.scala:85)
[56](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:57)
at scala.sys.process.ProcessBuilderImpl$AbstractBuilder.run(ProcessBuilderImpl.scala:119)
[57](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:58)
at effekt.Runner.eval(Runner.scala:70)
[58](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:59)
at effekt.Runner.eval$(Runner.scala:14)
[59](https://github.com/effekt-lang/effekt/actions/runs/8391413168/job/22981712695#step:9:60)
at effekt.JSRunner$.eval(Runner.scala:107)
[...]