-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version(s)
0.1.2 - https://github.com/VirtusLab/scala-cli-setup GitHub Action is used for installation.
0.1.4 - manual installation.
Describe the bug
The execution of scala-cli test seems flaky in GitHub Actions - sometimes it succeeds and sometimes fails by throwing one of two different errors:
0DException in thread "main" java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:259)
at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:263)
at scala.concurrent.Await$.$anonfun$result$1(package.scala:223)
at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:57)
at scala.concurrent.Await$.result(package.scala:146)
at scala.build.blooprifle.internal.Operations$.timeout(Operations.scala:373)
at scala.build.blooprifle.internal.Operations$.about(Operations.scala:341)
at scala.build.blooprifle.BloopRifle$.getCurrentBloopVersion(BloopRifle.scala:192)
at scala.build.bloop.BloopServer$.ensureBloopRunning(BloopServer.scala:112)
at scala.build.bloop.BloopServer$.bsp(BloopServer.scala:153)
at scala.build.bloop.BloopServer$.buildServer(BloopServer.scala:183)
at scala.build.bloop.BloopServer$.withBuildServer(BloopServer.scala:248)
at scala.build.Build$.build(Build.scala:422)
at scala.build.Build$.build(Build.scala:449)
at scala.cli.commands.Test$.run(Test.scala:120)
at scala.cli.commands.Test$.run(Test.scala:16)
at caseapp.core.app.CaseApp.main(CaseApp.scala:149)
at caseapp.core.app.CommandsEntryPoint.main(CommandsEntryPoint.scala:116)
at scala.cli.ScalaCliCommands.main(ScalaCliCommands.scala:89)
at scala.cli.ScalaCli$.main0(ScalaCli.scala:148)
at scala.cli.ScalaCli$.main(ScalaCli.scala:71)
at scala.cli.ScalaCli.main(ScalaCli.scala)
0DException in thread "main" java.lang.RuntimeException: Fatal error, could not spawn Bloop: ParsingFailed()
at scala.build.bloop.BloopServer$.$anonfun$ensureBloopRunning$8(BloopServer.scala:113)
at scala.util.Either.fold(Either.scala:192)
at scala.build.bloop.BloopServer$.ensureBloopRunning(BloopServer.scala:113)
at scala.build.bloop.BloopServer$.bsp(BloopServer.scala:153)
at scala.build.bloop.BloopServer$.buildServer(BloopServer.scala:183)
at scala.build.bloop.BloopServer$.withBuildServer(BloopServer.scala:248)
at scala.build.Build$.build(Build.scala:422)
at scala.build.Build$.build(Build.scala:449)
at scala.cli.commands.Test$.run(Test.scala:120)
at scala.cli.commands.Test$.run(Test.scala:16)
at caseapp.core.app.CaseApp.main(CaseApp.scala:149)
at caseapp.core.app.CommandsEntryPoint.main(CommandsEntryPoint.scala:116)
at scala.cli.ScalaCliCommands.main(ScalaCliCommands.scala:89)
at scala.cli.ScalaCli$.main0(ScalaCli.scala:148)
at scala.cli.ScalaCli$.main(ScalaCli.scala:71)
at scala.cli.ScalaCli.main(ScalaCli.scala)
To Reproduce
You can see this bug being reproduced in the GitHub Actions of this PR - playframework/play-scala-react-seed#86.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working