Administrator
|
Hi,
FYI, we got this last night, I restart... Jacques |
Administrator
|
This was due to the Gradle deamon
:compileJavaThe message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk} Attempting to read last messages from the daemon log... Daemon pid: 4342 log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log ----- Last 20 lines from daemon log file - daemon-4342.out.log ----- 03:02:45.187 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO message from client: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk} 03:02:45.188 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk}. 03:02:45.188 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk} with connection: socket connection from /0:0:0:0:0:0:0:1:43707 to /0:0:0:0:0:0:0:1:43138. 03:02:45.193 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk}, connection = org.gradle.launcher.daemon.server.DefaultDaemonConnection@9ce573d] after 0.0 minutes of idle 03:02:45.193 [INFO] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the daemon as busy, address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 03:02:45.193 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 03:02:45.211 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 03:02:45.211 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating lastActivityAt to 1468810965211 03:02:45.213 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, sleeping until state changes. 03:02:45.214 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... 03:02:45.214 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted 03:02:45.215 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {PATH=/usr/bin:/bin, SHELL=/bin/sh, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LOGNAME=ofbizDemo, OLDPWD=/home/ofbizDemo/trunk, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, PWD=/home/ofbizDemo/trunk, LANG=en_US.UTF-8, HOME=/home/ofbizDemo, SHLVL=0} 03:02:45.219 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection. 03:02:45.219 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 4342). The daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log 03:02:45.226 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 3rd build in daemon [uptime: 34.354 secs, performance: 96%, memory: 6% of 1.0 GB] 03:02:45.352 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build. 03:02:45.353 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=6afb7b1a-a531-451f-b98a-c0b5253cb20e,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=4342,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] :compileJava ----- End of the daemon log ----- FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. But it's still running, weird 9997 4688 0.6 18.1 3004320 735132 ? SNl Jul17 10:03 /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 Trying things manually... Jacques Le 18/07/2016 à 07:35, Jacques Le Roux a écrit : > Hi, > > FYI, we got this last night, I restart... > > Jacques > > |
Hi Jacques,
Are you using terminateOfbiz in the buildbot scripts? If yes, the terminateOfbiz task kills the Java process, but not the gradle process which started it. I'm not sure if this is relevant but highlighting it just in case. Taher Alkhateeb On Mon, Jul 18, 2016 at 9:04 AM, Jacques Le Roux < [hidden email]> wrote: > This was due to the Gradle deamon > > :compileJavaThe message received from the daemon indicates that the daemon > has disappeared. > Build request sent: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk} > Attempting to read last messages from the daemon log... > Daemon pid: 4342 > log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log > ----- Last 20 lines from daemon log file - daemon-4342.out.log ----- > 03:02:45.187 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO > message from client: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk} > 03:02:45.188 [INFO] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Received command: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk}. > 03:02:45.188 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Starting executing command: > Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk} with connection: socket connection from > /0:0:0:0:0:0:0:1:43707 to /0:0:0:0:0:0:0:1:43138. > 03:02:45.193 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command > execution: started DaemonCommandExecution[command = > Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk}, connection = > org.gradle.launcher.daemon.server.DefaultDaemonConnection@9ce573d] after > 0.0 minutes of idle > 03:02:45.193 [INFO] > [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the > daemon as busy, address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 03:02:45.193 [DEBUG] > [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy > by address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Waiting to acquire exclusive lock on daemon addresses registry. > 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Lock acquired. > 03:02:45.211 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Releasing lock on daemon addresses registry. > 03:02:45.211 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating > lastActivityAt to 1468810965211 > 03:02:45.213 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, > sleeping until state changes. > 03:02:45.214 [INFO] > [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon > is about to start building Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, > currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... > 03:02:45.214 [DEBUG] > [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread > 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted > 03:02:45.215 [DEBUG] > [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] > Configuring env variables: {PATH=/usr/bin:/bin, SHELL=/bin/sh, > NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LOGNAME=ofbizDemo, > OLDPWD=/home/ofbizDemo/trunk, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, > PWD=/home/ofbizDemo/trunk, LANG=en_US.UTF-8, HOME=/home/ofbizDemo, SHLVL=0} > 03:02:45.219 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] > About to start relaying all logs to the client via the connection. > 03:02:45.219 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] > The client will now receive all logging from the daemon (pid: 4342). The > daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log > 03:02:45.226 [INFO] > [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 3rd > build in daemon [uptime: 34.354 secs, performance: 96%, memory: 6% of 1.0 > GB] > 03:02:45.352 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > The daemon has started executing the build. > 03:02:45.353 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > Executing build with daemon context: > DefaultDaemonContext[uid=6afb7b1a-a531-451f-b98a-c0b5253cb20e,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=4342,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > :compileJava > ----- End of the daemon log ----- > > > FAILURE: Build failed with an exception. > > * What went wrong: > Gradle build daemon disappeared unexpectedly (it may have been killed or > may have crashed) > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > > > But it's still running, weird > > 9997 4688 0.6 18.1 3004320 735132 ? SNl Jul17 10:03 > /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m > -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 > -Duser.country=US -Duser.language=en -Duser.variant -cp > /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar > org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 > > Trying things manually... > > Jacques > > > > Le 18/07/2016 à 07:35, Jacques Le Roux a écrit : > >> Hi, >> >> FYI, we got this last night, I restart... >> >> Jacques >> >> >> > |
Administrator
|
Thanks Taher,
No I use only "ofbiz --shutdown", and it worked so far. Anyway I did not have to change anything just running the trunk script by hand. So I guess it was a small quirk... Actually I just backuped the modified demo scripts in revision: 1753166 Jacques Le 18/07/2016 à 08:06, Taher Alkhateeb a écrit : > Hi Jacques, > > Are you using terminateOfbiz in the buildbot scripts? If yes, the > terminateOfbiz task kills the Java process, but not the gradle process > which started it. I'm not sure if this is relevant but highlighting it just > in case. > > Taher Alkhateeb > > On Mon, Jul 18, 2016 at 9:04 AM, Jacques Le Roux < > [hidden email]> wrote: > >> This was due to the Gradle deamon >> >> :compileJavaThe message received from the daemon indicates that the daemon >> has disappeared. >> Build request sent: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk} >> Attempting to read last messages from the daemon log... >> Daemon pid: 4342 >> log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log >> ----- Last 20 lines from daemon log file - daemon-4342.out.log ----- >> 03:02:45.187 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO >> message from client: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk} >> 03:02:45.188 [INFO] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Received command: Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk}. >> 03:02:45.188 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Starting executing command: >> Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk} with connection: socket connection from >> /0:0:0:0:0:0:0:1:43707 to /0:0:0:0:0:0:0:1:43138. >> 03:02:45.193 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command >> execution: started DaemonCommandExecution[command = >> Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk}, connection = >> org.gradle.launcher.daemon.server.DefaultDaemonConnection@9ce573d] after >> 0.0 minutes of idle >> 03:02:45.193 [INFO] >> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the >> daemon as busy, address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 03:02:45.193 [DEBUG] >> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy >> by address: [900bdebb-f546-4d50-a7ec-998390febf0a port:43707, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Waiting to acquire exclusive lock on daemon addresses registry. >> 03:02:45.194 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Lock acquired. >> 03:02:45.211 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Releasing lock on daemon addresses registry. >> 03:02:45.211 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >> lastActivityAt to 1468810965211 >> 03:02:45.213 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, >> sleeping until state changes. >> 03:02:45.214 [INFO] >> [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon >> is about to start building Build{id=ff91a24f-e66b-46cc-9795-36dcb9b466e9.1, >> currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... >> 03:02:45.214 [DEBUG] >> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >> 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted >> 03:02:45.215 [DEBUG] >> [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] >> Configuring env variables: {PATH=/usr/bin:/bin, SHELL=/bin/sh, >> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LOGNAME=ofbizDemo, >> OLDPWD=/home/ofbizDemo/trunk, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, >> PWD=/home/ofbizDemo/trunk, LANG=en_US.UTF-8, HOME=/home/ofbizDemo, SHLVL=0} >> 03:02:45.219 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] >> About to start relaying all logs to the client via the connection. >> 03:02:45.219 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] >> The client will now receive all logging from the daemon (pid: 4342). The >> daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-4342.out.log >> 03:02:45.226 [INFO] >> [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 3rd >> build in daemon [uptime: 34.354 secs, performance: 96%, memory: 6% of 1.0 >> GB] >> 03:02:45.352 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> The daemon has started executing the build. >> 03:02:45.353 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> Executing build with daemon context: >> DefaultDaemonContext[uid=6afb7b1a-a531-451f-b98a-c0b5253cb20e,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=4342,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> :compileJava >> ----- End of the daemon log ----- >> >> >> FAILURE: Build failed with an exception. >> >> * What went wrong: >> Gradle build daemon disappeared unexpectedly (it may have been killed or >> may have crashed) >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --info or >> --debug option to get more log output. >> >> >> But it's still running, weird >> >> 9997 4688 0.6 18.1 3004320 735132 ? SNl Jul17 10:03 >> /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m >> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 >> -Duser.country=US -Duser.language=en -Duser.variant -cp >> /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar >> org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 >> >> Trying things manually... >> >> Jacques >> >> >> >> Le 18/07/2016 à 07:35, Jacques Le Roux a écrit : >> >>> Hi, >>> >>> FYI, we got this last night, I restart... >>> >>> Jacques >>> >>> >>> |
Free forum by Nabble | Edit this page |