Skip to content

tools for agents - #215

Open
mawinter69 wants to merge 3 commits into
jenkinsci:mainfrom
mawinter69:agent-extension
Open

tools for agents#215
mawinter69 wants to merge 3 commits into
jenkinsci:mainfrom
mawinter69:agent-extension

use single tool to take agents offline or online

08e7a96
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Aug 6, 2026 in 11m 15s

windows-17/Build (windows-17): error in 'junit' step

linux-17 / Build (linux-17) / Archive JUnit-formatted test results

Warning in junit step.

2 tests failed

linux-17 / Archive (linux-17) / Error signal

Error in error step, with arguments There were test failures; halting early.

There were test failures; halting early

windows-17 / Build (windows-17) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_mcp-server-plugin_PR-215@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist -P-consume-incrementals -DforkCount=1C clean install.

Agent was removed
Build log
[2026-08-06T18:52:08.897Z] 
[2026-08-06T18:52:08.897Z] jenkins@EC2AMAZ-GLT81R7 Z:\agent\workspace\Plugins_mcp-server-plugin_PR-215>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_mcp-server-plugin_PR-215@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist -P-consume-incrementals -DforkCount=1C clean install 
[2026-08-06T18:52:09.920Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=529105600 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=8465689600 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2026-08-06T18:52:15.587Z] Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5)
[2026-08-06T18:52:15.587Z] Maven home: C:\tools\apache-maven-3.9.16
[2026-08-06T18:52:15.588Z] Java version: 17.0.19, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2026-08-06T18:52:15.589Z] Default locale: en_US, platform encoding: Cp1252
[2026-08-06T18:52:15.589Z] OS name: "windows server 2025", version: "10.0", arch: "amd64", family: "windows"
[2026-08-06T18:52:21.264Z] [INFO] Error stacktraces are turned on.
[2026-08-06T18:52:25.929Z] [INFO] Setting: -Dchangelist=193.v08e7a_9609138 -DscmTag=08e7a96091386b6d9ba5248e08bd84c9cf4c3054 -Dproject.build.outputTimestamp=2026-08-06T18:47:14Z
[2026-08-06T18:52:25.930Z] [INFO] Setting: -DgitHubRepo=mawinter69/mcp-server-plugin
[2026-08-06T18:52:25.930Z] [INFO] Scanning for projects...
[2026-08-06T18:52:45.958Z] i-0e775f204d68f8b9d seems to be removed or offline (hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@51929977:i-0e775f204d68f8b9d": Remote call on i-0e775f204d68f8b9d failed. The channel is closing down or has closed down); will wait for 5 min 0 sec for it to come back online
[2026-08-06T18:57:30.959Z] Could not connect to i-0e775f204d68f8b9d to send interrupt signal to process

windows-17 / Build (windows-17) / Archive JUnit-formatted test results

Error in junit step.

Required context class hudson.Launcher is missing
Perhaps you forgot to surround the junit step with a step that provides this, such as: node

windows-17 / Build (windows-17) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_mcp-server-plugin_PR-215@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist -P-consume-incrementals -DforkCount=1C clean install.

Failed in branch linux-17
Build log
[2026-08-06T18:58:16.530Z] 
[2026-08-06T18:58:16.530Z] jenkins@EC2AMAZ-EC7MBO0 Z:\agent\workspace\Plugins_mcp-server-plugin_PR-215>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_mcp-server-plugin_PR-215@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist -P-consume-incrementals -DforkCount=1C clean install 
[2026-08-06T18:58:17.757Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=529105600 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=8465689600 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2026-08-06T18:58:25.226Z] Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5)
[2026-08-06T18:58:25.228Z] Maven home: C:\tools\apache-maven-3.9.16
[2026-08-06T18:58:25.229Z] Java version: 17.0.19, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2026-08-06T18:58:25.229Z] Default locale: en_US, platform encoding: Cp1252
[2026-08-06T18:58:25.230Z] OS name: "windows server 2025", version: "10.0", arch: "amd64", family: "windows"
[2026-08-06T18:58:31.805Z] [INFO] Error stacktraces are turned on.
[2026-08-06T18:58:39.783Z] Sending interrupt signal to process
[2026-08-06T18:58:36.068Z] [INFO] Setting: -Dchangelist=193.v08e7a_9609138 -DscmTag=08e7a96091386b6d9ba5248e08bd84c9cf4c3054 -Dproject.build.outputTimestamp=2026-08-06T18:47:14Z
[2026-08-06T18:58:36.069Z] [INFO] Setting: -DgitHubRepo=mawinter69/mcp-server-plugin
[2026-08-06T18:58:36.069Z] [INFO] Scanning for projects...
[2026-08-06T18:58:59.784Z] After 20s process did not stop

windows-17 / Build (windows-17) / Archive JUnit-formatted test results

Error in junit step.

No test report files were found. Configuration error?
Build log
[2026-08-06T18:59:00.017Z] Recording test results
[2026-08-06T18:59:00.203Z] No test report files were found. Configuration error?

Details

  • linux-17 (5 ms)
    • Checkout (linux-17) (11 sec)
    • Build (linux-17) (7 min 58 sec)
      Unstable: 2 tests failed - logs
    • Archive (linux-17) (1 sec)
      Error: There were test failures; halting early - logs
  • windows-17 (11 min)
    • Checkout (windows-17) (21 sec)
    • Build (windows-17) (5 min 42 sec)
      Error: Agent was removed - logs
      Error: Required context class hudson.Launcher is missing
      Perhaps you forgot to surround the junit step with a step that provides this, such as: node
      - logs
    • Checkout (windows-17) (24 sec)
    • Build (windows-17) (1 min 4 sec)
      Error: Failed in branch linux-17 - logs
      Error: No test report files were found. Configuration error? - logs