Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Agents do not connect after update to 15.0.10 #4641

MFalkner ·

After update of server from 15.0.8 to 15.0.10, none of the agents connect to the server anymore.
Looking at the agent service, it was stopped.
Manual start of the service did not work, it failed.
Only reinstalling the agent brought this node back.

jvm 16 | Picked up _JAVA_OPTIONS: -Xmx512M
jvm 16 | OpenJDK Client VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
jvm 16 | WARNING: Unknown module: ALL-UNNAMEDD specified to --add-opens
jvm 16 | WARNING: Unknown module: ALL-UNNAMEDD specified to --add-opens
jvm 16 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperStartStopApp
jvm 16 | Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperStartStopApp
wrapper | JVM exited while loading the application.
wrapper | There were 15 failed launches in a row, each lasting less than 300 seconds. Giving up.
wrapper | There may be a configuration problem: please check the logs.
wrapper | <-- Wrapper Stopped

I would hate to have to update all the agents manually.
Is there any other way?
Thanks, Martin

  • replies 2
  • views 12
  • stars 0
MFalkner ·

Here the last logs from the agent:

2025-05-14 09:50:18,797 [Thread-8] INFO com.pmease.quickbuild.Quickbuild - Server restarted, checking for updates...
2025-05-14 09:50:18,814 [Thread-8] WARN com.pmease.quickbuild.Quickbuild - Agent files are out of date, restarting agent to sync with server...
2025-05-14 09:50:19,818 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - Stopping QuickBuild agent...
2025-05-14 09:50:19,829 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - Disconnecting from server...
2025-05-14 09:50:19,849 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - Waiting for finish of remaining jobs...
2025-05-14 09:50:19,849 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - Stopping plugins...
2025-05-14 09:50:19,850 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - Stopping task scheduler...
2025-05-14 09:50:20,015 [Wrapper-Restarter] INFO com.pmease.quickbuild.Quickbuild - QuickBuild agent stopped.
2025-05-14 09:50:55,601 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Cleaning cached plugin libraries...
2025-05-14 09:50:59,458 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Cleaning temp directory...
2025-05-14 09:50:59,471 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Benchmarking...
2025-05-14 09:51:00,429 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Connecting to server 'http://DB-FUSION.xxx.local:8810'...
2025-05-14 09:51:00,832 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Updating framework...
2025-05-14 09:51:00,843 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Updating plugins...
2025-05-14 09:51:00,868 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.scm.perforce_15.0.2.jar'...
2025-05-14 09:51:00,881 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.report.engine_15.0.13.jar'...
2025-05-14 09:51:00,921 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.tracker.core_15.0.13.jar'...
2025-05-14 09:51:02,670 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.basis_15.0.8.jar'...
2025-05-14 09:51:02,683 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.tracker.jira_15.0.12.jar'...
2025-05-14 09:51:02,757 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.webhook.jira_15.0.3.jar'...
2025-05-14 09:51:02,763 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild_15.0.10.jar'...
2025-05-14 09:51:04,063 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.buildcomment_15.0.3.jar'...
2025-05-14 09:51:04,068 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'com.pmease.quickbuild.plugin.measurement.core_15.0.3.jar'...
2025-05-14 09:51:04,101 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.buildcomment_15.0.1.jar'...
2025-05-14 09:51:04,101 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.scm.perforce_15.0.0.jar'...
2025-05-14 09:51:04,102 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.tracker.core_15.0.11.jar'...
2025-05-14 09:51:04,102 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild_15.0.8.jar'...
2025-05-14 09:51:04,267 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.tracker.jira_15.0.10.jar'...
2025-05-14 09:51:04,269 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.webhook.jira_15.0.1.jar'...
2025-05-14 09:51:04,269 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.basis_15.0.6.jar'...
2025-05-14 09:51:04,271 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.measurement.core_15.0.1.jar'...
2025-05-14 09:51:04,271 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Removing file 'com.pmease.quickbuild.plugin.report.engine_15.0.11.jar'...
2025-05-14 09:51:04,272 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Updating plugins/com.pmease.quickbuild.libs...
2025-05-14 09:51:04,278 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Updating plugins/site...
2025-05-14 09:51:04,282 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Updating asset...
2025-05-14 09:51:04,287 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.AgentUpdater - Downloading file 'release'...
2025-05-14 09:51:04,293 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Booting QuickBuild from 'D:\Programs\buildagent'...
2025-05-14 09:51:04,293 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Starting framework...
2025-05-14 09:51:04,365 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.equinoxadapter.EquinoxAdapter - Caching plugin libraries...
2025-05-14 09:52:22,677 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.Quickbuild - Updating plugins/com.pmease.quickbuild.bootstrap...
2025-05-14 09:52:22,681 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.Quickbuild - Downloading file 'com.pmease.quickbuild.bootstrap_15.0.2.jar'...

robinshen ADMIN ·

This issue has been fixed in 15.0.11. However agents can not recover unless with some manual steps. To recover:

  1. Stop server, and upgrade server to 15.0.11:
    https://build.pmease.com/build/6035

  2. On one of the failed agent, edit "conf/wrapper.conf" to remove the line starting with string "wrapper.java.classpath.1", and insert below lines:

wrapper.java.classpath.1=../plugins/com.pmease.quickbuild.bootstrap/com.pmease.quickbuild.bootstrap_15.0.1.jar
wrapper.java.classpath.2=../plugins/com.pmease.quickbuild.bootstrap/lib/commons-io-2.15.1.jar
wrapper.java.classpath.3=../plugins/com.pmease.quickbuild.bootstrap/lib/jul-to-slf4j-1.7.2.jar
wrapper.java.classpath.4=../plugins/com.pmease.quickbuild.bootstrap/lib/servlet-api-3.1.jar
wrapper.java.classpath.5=../plugins/com.pmease.quickbuild.bootstrap/lib/log4j-api-2.17.2.jar
wrapper.java.classpath.6=../plugins/com.pmease.quickbuild.bootstrap/lib/commons-logging-1.0.4.jar
wrapper.java.classpath.7=../plugins/com.pmease.quickbuild.bootstrap/lib/log4j-1.2-api-2.17.2.jar
wrapper.java.classpath.8=../plugins/com.pmease.quickbuild.bootstrap/lib/slf4j-api-1.7.2.jar
wrapper.java.classpath.9=../plugins/com.pmease.quickbuild.bootstrap/lib/hessian-4.0.38.jar
wrapper.java.classpath.10=../plugins/com.pmease.quickbuild.bootstrap/lib/log4j-core-2.17.2.jar
wrapper.java.classpath.11=../plugins/com.pmease.quickbuild.bootstrap/lib/log4j-slf4j-impl-2.17.2.jar
wrapper.java.classpath.12=../plugins/com.pmease.quickbuild.bootstrap/lib/commons-codec-1.10.jar
wrapper.java.classpath.13=../plugins/com.pmease.quickbuild.bootstrap/lib/joda-time-2.7.jar
wrapper.java.classpath.14=../plugins/com.pmease.quickbuild.bootstrap/lib/commons-lang-2.4.jar
wrapper.java.classpath.15=../plugins/com.pmease.quickbuild.bootstrap/lib/wrapper.jar

Then start the agent. If agent runs fine, copy updated wrapper.conf to each agent, and restart the agent

I apologize for the inconvenience caused. With fixing of this bug, such error should no longer happen.