You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2025/03/27 16:27:11 UTC

Build failed in Jenkins: Commons » commons-net-windows #148

See <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/148/display/redirect>

Changes:


------------------------------------------
Started by user Sebb
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-win-azr-12 (Windows-Docker Windows) in workspace <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/commons-net.git
 > git init <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/> # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/commons-net.git
 > git --version # timeout=10
 > git --version # 'git version 2.14.3.windows.1'
 > git fetch --tags --progress -- https://gitbox.apache.org/repos/asf/commons-net.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/commons-net.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision 67c580a7c859c3d564d286dec33cba640d98ad90 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 67c580a7c859c3d564d286dec33cba640d98ad90 # timeout=10
Commit message: "GH CI: Replace Java 23 with 24"
First time build. Skipping changelog.
[EnvInject] - Injecting environment variables from a build step.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_8_HOME=${JDK_1_8_LATEST_HOME}

[EnvInject] - Variables injected successfully.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Parsing POMs
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Downloaded artifact https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/81/commons-parent-81.pom
Modules changed, recalculating dependency graph
Established TCP socket on 52843
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-net-windows] $ java -cp f:\jenkins\jenkins-home\712657a4\maven35-agent.jar;f:\jenkins\tools\maven\latest\boot\plexus-classworlds-2.8.0.jar;f:\\jenkins\\tools\\maven\\latest/conf/logging jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest F:\jenkins\jenkins-home\slave.jar f:\jenkins\jenkins-home\712657a4\maven35-interceptor.jar f:\jenkins\jenkins-home\712657a4\maven3-interceptor-commons.jar 52843
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> -V clean install --no-transfer-progress --batch-mode -Pjava-1.8
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: F:\jenkins\tools\maven\latest
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: F:\jenkins\tools\java\latest17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] ----------------------< commons-net:commons-net >-----------------------
[INFO] Building Apache Commons Net 3.12.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.pom (14 kB at 31 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/86/mojo-parent-86.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/86/mojo-parent-86.pom (37 kB at 474 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.jar (87 kB at 1.0 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-artifact-plugin/3.6.0/maven-artifact-plugin-3.6.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-artifact-plugin/3.6.0/maven-artifact-plugin-3.6.0.pom (8.5 kB at 125 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-artifact-plugin/3.6.0/maven-artifact-plugin-3.6.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-artifact-plugin/3.6.0/maven-artifact-plugin-3.6.0.jar (73 kB at 922 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.pom (13 kB at 215 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.jar (123 kB at 1.4 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.pom (3.7 kB at 83 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-parent/1.2.2.Final/moditect-parent-1.2.2.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-parent/1.2.2.Final/moditect-parent-1.2.2.Final.pom (11 kB at 189 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-org-parent/1.4.0.Final/moditect-org-parent-1.4.0.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-org-parent/1.4.0.Final/moditect-org-parent-1.4.0.Final.pom (19 kB at 320 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.jar (50 kB at 615 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.pom (8.3 kB at 122 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-parent/1.2.1/ftpserver-parent-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-parent/1.2.1/ftpserver-parent-1.2.1.pom (24 kB at 404 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.pom (2.7 kB at 69 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.jar (320 kB at 2.6 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.jar (23 kB at 47 kB/s)
[INFO] 
[INFO] --- clean:3.4.0:clean (default-clean) @ commons-net ---
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- apache-rat:0.16.1:check (rat-check) @ commons-net ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 350 licenses.
[INFO] 
[INFO] --- artifact:3.6.0:check-buildplan (check-buildplan) @ commons-net ---
[INFO] No known issue in 21 plugins
[INFO] 
[INFO] --- build-helper:3.6.0:parse-version (parse-version) @ commons-net ---
[INFO] 
[INFO] --- antrun:3.1.0:run (javadoc.resources) @ commons-net ---
[INFO] Executing tasks
[INFO]      [copy] Copying 2 files to <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ commons-net ---
[INFO] Skipping remote resources execution.
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ commons-net ---
[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing buildNumber: null at timestamp: 1743092821512
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ commons-net ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 2 resources from  to target\classes\META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ commons-net ---
[WARNING]  Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 216 source files with javac [forked debug release 8] to target\classes
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  42.904 s
[INFO] Finished at: 2025-03-27T16:27:07Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project commons-net: Fatal error compiling: Could not retrieve version from ${JDK_1_8_LATEST_HOME}/bin/javac. Exit code 1, Output: The system cannot find the path specified. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> to commons-net/commons-net/3.12.0-SNAPSHOT/commons-net-3.12.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8

Build failed in Jenkins: Commons » commons-net-windows #150

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/150/display/redirect?page=changes>

Changes:

[github] Bump actions/dependency-review-action from 4.5.0 to 4.6.0


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-win-azr-12 (Windows-Docker Windows) in workspace <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/commons-net.git # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/commons-net.git
 > git --version # timeout=10
 > git --version # 'git version 2.14.3.windows.1'
 > git fetch --tags --progress -- https://gitbox.apache.org/repos/asf/commons-net.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision e60fb841a84614d2c2e977afbd23cb6a15225a80 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e60fb841a84614d2c2e977afbd23cb6a15225a80 # timeout=10
Commit message: "Merge pull request #341 from apache/dependabot/github_actions/actions/dependency-review-action-4.6.0"
 > git rev-list --no-walk e66445baee9de61a0ceace6d00e7021fcdcc2dec # timeout=10
[EnvInject] - Injecting environment variables from a build step.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_8_HOME=${JDK_1_8_LATEST_HOME}

[EnvInject] - Variables injected successfully.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Parsing POMs
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Established TCP socket on 52970
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-net-windows] $ java -cp f:\jenkins\jenkins-home\712657a4\maven35-agent.jar;f:\jenkins\tools\maven\latest\boot\plexus-classworlds-2.8.0.jar;f:\\jenkins\\tools\\maven\\latest/conf/logging jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest F:\jenkins\jenkins-home\slave.jar f:\jenkins\jenkins-home\712657a4\maven35-interceptor.jar f:\jenkins\jenkins-home\712657a4\maven3-interceptor-commons.jar 52970
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> -V clean install --no-transfer-progress --batch-mode -Pjava-1.8
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: F:\jenkins\tools\maven\latest
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: F:\jenkins\tools\java\latest17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] ----------------------< commons-net:commons-net >-----------------------
[INFO] Building Apache Commons Net 3.12.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.4.0:clean (default-clean) @ commons-net ---
[INFO] Deleting <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target>
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- apache-rat:0.16.1:check (rat-check) @ commons-net ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 350 licenses.
[INFO] 
[INFO] --- artifact:3.6.0:check-buildplan (check-buildplan) @ commons-net ---
[INFO] No known issue in 21 plugins
[INFO] 
[INFO] --- build-helper:3.6.0:parse-version (parse-version) @ commons-net ---
[INFO] 
[INFO] --- antrun:3.1.0:run (javadoc.resources) @ commons-net ---
[INFO] Executing tasks
[INFO]      [copy] Copying 2 files to <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ commons-net ---
[INFO] Skipping remote resources execution.
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ commons-net ---
[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing buildNumber: null at timestamp: 1743738100886
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ commons-net ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 2 resources from  to target\classes\META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ commons-net ---
[WARNING]  Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 216 source files with javac [forked debug release 8] to target\classes
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  38.050 s
[INFO] Finished at: 2025-04-04T03:41:46Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project commons-net: Fatal error compiling: Could not retrieve version from ${JDK_1_8_LATEST_HOME}/bin/javac. Exit code 1, Output: The system cannot find the path specified. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> to commons-net/commons-net/3.12.0-SNAPSHOT/commons-net-3.12.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8

Build failed in Jenkins: Commons » commons-net-windows #149

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/149/display/redirect?page=changes>

Changes:

[github] Bump github/codeql-action from 3.28.12 to 3.28.13


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-win-azr-4 (Windows-Docker Windows) in workspace <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/commons-net.git
 > git init <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/> # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/commons-net.git
 > git --version # timeout=10
 > git --version # 'git version 2.14.3.windows.1'
 > git fetch --tags --progress -- https://gitbox.apache.org/repos/asf/commons-net.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/commons-net.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision e66445baee9de61a0ceace6d00e7021fcdcc2dec (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e66445baee9de61a0ceace6d00e7021fcdcc2dec # timeout=10
Commit message: "Merge pull request #340 from apache/dependabot/github_actions/github/codeql-action-3.28.13"
 > git rev-list --no-walk 67c580a7c859c3d564d286dec33cba640d98ad90 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_8_HOME=${JDK_1_8_LATEST_HOME}

[EnvInject] - Variables injected successfully.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Parsing POMs
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Established TCP socket on 59121
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-net-windows] $ java -cp f:\jenkins\jenkins-home\712657a4\maven35-agent.jar;f:\jenkins\tools\maven\latest\boot\plexus-classworlds-2.8.0.jar;f:\\jenkins\\tools\\maven\\latest/conf/logging jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest F:\jenkins\jenkins-home\slave.jar f:\jenkins\jenkins-home\712657a4\maven35-interceptor.jar f:\jenkins\jenkins-home\712657a4\maven3-interceptor-commons.jar 59121
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> -V clean install --no-transfer-progress --batch-mode -Pjava-1.8
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: F:\jenkins\tools\maven\latest
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: F:\jenkins\tools\java\latest17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] ----------------------< commons-net:commons-net >-----------------------
[INFO] Building Apache Commons Net 3.12.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.pom (14 kB at 26 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/86/mojo-parent-86.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/86/mojo-parent-86.pom (37 kB at 370 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.0/exec-maven-plugin-3.5.0.jar (87 kB at 935 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.pom (13 kB at 134 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/spdx/spdx-maven-plugin/0.7.4/spdx-maven-plugin-0.7.4.jar (123 kB at 1.5 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.pom (3.7 kB at 66 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-parent/1.2.2.Final/moditect-parent-1.2.2.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-parent/1.2.2.Final/moditect-parent-1.2.2.Final.pom (11 kB at 133 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-org-parent/1.4.0.Final/moditect-org-parent-1.4.0.Final.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-org-parent/1.4.0.Final/moditect-org-parent-1.4.0.Final.pom (19 kB at 270 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/moditect/moditect-maven-plugin/1.2.2.Final/moditect-maven-plugin-1.2.2.Final.jar (50 kB at 615 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.11.4/junit-vintage-engine-5.11.4.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.11.4/junit-vintage-engine-5.11.4.pom (3.2 kB at 62 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.pom (8.3 kB at 138 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-parent/1.2.1/ftpserver-parent-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-parent/1.2.1/ftpserver-parent-1.2.1.pom (24 kB at 274 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.pom (2.7 kB at 53 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.11.4/junit-vintage-engine-5.11.4.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.11.4/junit-vintage-engine-5.11.4.jar (69 kB at 966 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftpserver-core/1.2.1/ftpserver-core-1.2.1.jar (320 kB at 3.2 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/ftpserver/ftplet-api/1.2.1/ftplet-api-1.2.1.jar (23 kB at 36 kB/s)
[INFO] 
[INFO] --- clean:3.4.0:clean (default-clean) @ commons-net ---
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- apache-rat:0.16.1:check (rat-check) @ commons-net ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 350 licenses.
[INFO] 
[INFO] --- artifact:3.6.0:check-buildplan (check-buildplan) @ commons-net ---
[INFO] No known issue in 21 plugins
[INFO] 
[INFO] --- build-helper:3.6.0:parse-version (parse-version) @ commons-net ---
[INFO] 
[INFO] --- antrun:3.1.0:run (javadoc.resources) @ commons-net ---
[INFO] Executing tasks
[INFO]      [copy] Copying 2 files to <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ commons-net ---
[INFO] Skipping remote resources execution.
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ commons-net ---
[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing buildNumber: null at timestamp: 1743144120829
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI %aE %aN""
[INFO] Working directory: <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ commons-net ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 2 resources from  to target\classes\META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ commons-net ---
[WARNING]  Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 216 source files with javac [forked debug release 8] to target\classes
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  52.490 s
[INFO] Finished at: 2025-03-28T06:42:06Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project commons-net: Fatal error compiling: Could not retrieve version from ${JDK_1_8_LATEST_HOME}/bin/javac. Exit code 1, Output: The system cannot find the path specified. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> to commons-net/commons-net/3.12.0-SNAPSHOT/commons-net-3.12.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8