adamretter commented on issue #714:
URL: https://github.com/apache/maven-mvnd/issues/714#issuecomment-1501314286

   @bowenliang123 I have seen timeouts connecting to the mvnd daemon on Windows 
runners, would you know if your step (4) helps with that - 
https://github.com/eXist-db/exist/actions/runs/4653885083/jobs/8235148689?pr=4859
   
   ```
   Run 
C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\bin/mvnd 
-V -B -T 1C compile test-compile -DtrimStackTrace=false 
-D'dependency-check.skip' -D'license.skip'
     
C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\bin/mvnd 
-V -B -T 1C compile test-compile -DtrimStackTrace=false 
-D'dependency-check.skip' -D'license.skip'
     shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
     env:
       MAVEN_OPTS: 
-XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=./
 -DtrimStackTrace=false -D'maven.resolver.transport=wagon'
       DEV_JDK: 17
       JAVA_HOME: 
C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.6-10\x64
       JAVA_HOME_17_X64: 
C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.6-10\x64
       MVND_PLATFORM: windows
       MVND_ARCHITECTURE: amd64
       MVND_NAME: maven-mvnd-0.9.0-windows-amd64
   Apache Maven Daemon (mvnd) 0.9.0 windows-amd64 native client 
(fa3cc5d66458a85[2](https://github.com/eXist-db/exist/actions/runs/4653885083/jobs/8235148689?pr=4859#step:5:2)6bd54[3](https://github.com/eXist-db/exist/actions/runs/4653885083/jobs/8235148689?pr=4859#step:5:3)de85566293113dacc[4](https://github.com/eXist-db/exist/actions/runs/4653885083/jobs/8235148689?pr=4859#step:5:4))
   Terminal: org.jline.terminal.impl.DumbTerminal
   Error: Exception in thread "main" 
org.mvndaemon.mvnd.common.DaemonException$ConnectException: Timeout waiting to 
connect to the Maven daemon.
   Daemon id: 36b7860f
     no log file at: 
C:\Users\runneradmin\.m2\mvnd\registry\0.9.0\daemon-36b7860f.log
     output: 
C:\Users\runneradmin\.m2\mvnd\registry\0.9.0\daemon-36b7860f.out.log
   ----- Last  200 lines from daemon output - 
C:\Users\runneradmin\.m2\mvnd\registry\0.9.0\daemon-36b7860f.out.log -----
   Starting daemon process: id = 36b7860f, workingDir = D:\a\exist\exist, 
daemonArgs: 
C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.6-10\x64\bin\java.exe 
-classpath 
C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\lib\mvnd-common-0.9.0.jar;C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\lib\mvnd-agent-0.9.0.jar
 
-javaagent:C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\lib\mvnd-agent-0.9.0.jar
 
-Dmvnd.home=C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64
 
-Dmaven.home=C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64
 
-Dmaven.conf=C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\conf
 
-Dmvnd.java.home=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.6-10\x64
 
-Dlogback.configurationFile=C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64\conf\logging\logback-mvnd.xml
 -Dmvnd.id=36b7860f -Dmvnd.daemonStorage=C:\Users\runne
 radmin\.m2\mvnd\registry\0.9.0 
-Dmvnd.registry=C:\Users\runneradmin\.m2\mvnd\registry\0.9.0\registry.bin 
-Dmvnd.socketFamily=inet 
-Dmvnd.home=C:\Users\runneradmin\AppData\Local\Temp\maven-mvnd-0.9.0-windows-amd64
 -Djdk.java.options=--add-opens java.base/java.io=ALL-UNNAMED --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED 
--add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens 
java.base/sun.nio.fs=ALL-UNNAMED -Dmvnd.noDaemon=false -Dmvnd.debug=false 
-Dmvnd.debug.address=8000 -Dmvnd.idleTimeout=3h -Dmvnd.keepAlive=100ms 
-Dmvnd.extClasspath= -Dmvnd.coreExtensions= -Dmvnd.enableAssertions=false 
-Dmvnd.expirationCheckDelay=10s -Dmvnd.duplicateDaemonGracePeriod=10s 
-Dmvnd.socketFamily=inet org.mvndaemon.mvnd.common.MavenDaemonNOTE: Picked up 
JDK_JAVA_OPTIONS: --add-opens java.base/java.io=ALL-UNNAMED --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED 
--add-opens java.base/sun.net.www.protocol.jar=AL
 L-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED
   ----- End of the daemon output -----
   
        at 
org.mvndaemon.mvnd.client.DaemonConnector.startDaemon(DaemonConnector.java:331)
        at 
org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:124)
        at 
org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:327)
        at 
org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:1[5](https://github.com/eXist-db/exist/actions/runs/4653885083/jobs/8235148689?pr=4859#step:5:5)3)
   Error: Process completed with exit code 1.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to