New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate why windows tests last 15 minutes #922
Comments
I investigated this a bit and the issue seems to be the shell (gitbash.exe). The terminal does not seem to play the role since the same behavior was observed when running Gitbash from mintty (default) and also launching gitbash from Powershell and then running the build (that uses Windows Console Host I believe) There are 3 shells installed in the image: I tried all of them. Inside Powershell and Powershell 7 it also builds fine. Same with IDEA on Windows. Hence I assume what's going on is that even in the run logs it says that
in the background, it gets delegated to gitbash.exe since the shebang /bin/sh matches that one. One more thing I noticed is that the wrapper plugin is updated but the script was not regenerated. |
Awesome, thx for the investigation. So you're saying the problem is caused by the GH job using the |
I was using Temurin 22.0.1, I can try some other JDKs too to rule this one out. Will give you an update. |
I tried Azul Zulu, Amazon Corretto, Oracle, OpenJDK, they all have the same problem inside Gitbash. |
It does not matter whether mvnw or mvnw.cmd is used inside Gitbash and Powershell 7. |
@puskarpeter Do you think you could come up with a PR to a shell different than Gitbash ? |
Let's see if this is enough: #976 |
No description provided.
The text was updated successfully, but these errors were encountered: