You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2018/01/09 23:36:38 UTC

Fwd: Build failed in Jenkins: Commons-Compress-Windows #455

Does anyone know how to fix this?

Gary

---------- Forwarded message ----------
From: Apache Jenkins Server <je...@builds.apache.org>
Date: Tue, Jan 9, 2018 at 12:28 PM
Subject: Build failed in Jenkins: Commons-Compress-Windows #455
To: notifications@commons.apache.org


See <https://builds.apache.org/job/Commons-Compress-Windows/
455/display/redirect?page=changes>

Changes:

[garydgregory] GroupId is duplicate of parent groupId.

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on windows-2012-2 (Windows) in workspace <
https://builds.apache.org/job/Commons-Compress-Windows/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/
repos/asf/commons-compress.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/
repos/asf/commons-compress.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/
repos/asf/commons-compress.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
 > git rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
Checking out Revision 0504d0bfe773aae29c825bcaff0dcab40286eff2
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0504d0bfe773aae29c825bcaff0dcab40286eff2
Commit message: "GroupId is duplicate of parent groupId."
 > git rev-list 881d014cd4d2257e58ce2c65b85dd9019837dfaf # timeout=10
[EnvInject] - Injecting environment variables from a build step.
Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
[EnvInject] - Injecting as environment variables the properties content
JAVA_1_7_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security

[EnvInject] - Variables injected successfully.
Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
Parsing POMs
Downloaded artifact http://repo.maven.apache.org/maven2/org/apache/commons/
commons-parent/43/commons-parent-43.pom
Established TCP socket on 60136
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Commons-Compress-Windows] $ F:\\hudson\\tools\\java\\jdk1.
7.0_79-unlimited-security/bin/java -Xmx2g -Xms256m -cp
f:\jenkins\jenkins-slave\maven35-agent.jar;f:\jenkins\
tools\maven\latest3\boot\plexus-classworlds-2.5.2.jar;
f:\\jenkins\\tools\\maven\\latest3/conf/logging
jenkins.maven3.agent.Maven35Main
f:\\jenkins\\tools\\maven\\latest3 F:\jenkins\jenkins-slave\slave.jar
f:\jenkins\jenkins-slave\maven35-interceptor.jar
f:\jenkins\jenkins-slave\maven3-interceptor-commons.jar
60136
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: ============================================================
====================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable :
Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (unlimited security)
64-bit Windows only' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or
equal to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project
with an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to
point to F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security.
ERROR: ============================================================
====================
Established TCP socket on 60138
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Commons-Compress-Windows] $ "C:\Program Files\Java\jre-9/bin/java" -Xmx2g
-Xms256m -cp f:\jenkins\jenkins-slave\maven35-agent.jar;f:\jenkins\
tools\maven\latest3\boot\plexus-classworlds-2.5.2.jar;
f:\\jenkins\\tools\\maven\\latest3/conf/logging
jenkins.maven3.agent.Maven35Main
f:\\jenkins\\tools\\maven\\latest3 F:\jenkins\jenkins-slave\slave.jar
f:\jenkins\jenkins-slave\maven35-interceptor.jar
f:\jenkins\jenkins-slave\maven3-interceptor-commons.jar
60138
<===[JENKINS REMOTING CAPACITY]===>   channel started
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader
(file:/F:/jenkins/jenkins-slave/slave.jar) to method java.lang.ClassLoader.
getClassLoadingLock(java.lang.String)
WARNING: Please consider reporting this to the maintainers of
hudson.remoting.RemoteClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Executing Maven:  -B -f <https://builds.apache.org/
job/Commons-Compress-Windows/ws/pom.xml> -Dmaven.repo.local=f:\jenkins\
jenkins-slave\maven-repositories\1 -V clean test --batch-mode -Pjava-1.7
 [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T07:58:13Z) [m
Maven home: F:\jenkins\tools\maven\latest3
Java version: 9, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jre-9
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family:
"windows"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------
------------
[INFO] Building Apache Commons Compress 1.16-SNAPSHOT
[INFO] ------------------------------------------------------------
------------
[INFO] Downloading from apache-snapshots: http://repository.apache.org/
snapshots/org/eluder/coveralls/coveralls-maven-plugin/maven-metadata.xml
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/apache/maven/plugins/maven-site-plugin/3.7/
maven-site-plugin-3.7.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/apache/maven/plugins/maven-site-plugin/3.7/
maven-site-plugin-3.7.pom (19 kB at 92 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/apache/maven/plugins/maven-site-plugin/3.7/
maven-site-plugin-3.7.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/apache/maven/plugins/maven-site-plugin/3.7/
maven-site-plugin-3.7.jar (134 kB at 2.5 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-maven-plugin/1.
16/animal-sniffer-maven-plugin-1.16.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-maven-plugin/1.
16/animal-sniffer-maven-plugin-1.16.pom (5.6 kB at 511 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-parent/1.16/
animal-sniffer-parent-1.16.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-parent/1.16/
animal-sniffer-parent-1.16.pom (5.6 kB at 348 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-maven-plugin/1.
16/animal-sniffer-maven-plugin-1.16.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/codehaus/mojo/animal-sniffer-maven-plugin/1.
16/animal-sniffer-maven-plugin-1.16.jar (33 kB at 1.6 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/apache/felix/maven-bundle-plugin/3.4.0/maven-
bundle-plugin-3.4.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/apache/felix/maven-bundle-plugin/3.4.0/maven-
bundle-plugin-3.4.0.pom (9.9 kB at 900 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/apache/felix/maven-bundle-plugin/3.4.0/maven-
bundle-plugin-3.4.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/apache/felix/maven-bundle-plugin/3.4.0/maven-
bundle-plugin-3.4.0.jar (231 kB at 5.3 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4/1.7.3/
powermock-module-junit4-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4/1.7.3/
powermock-module-junit4-1.7.3.pom (6.2 kB at 563 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4-common/1.7.3/powermock-module-
junit4-common-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4-common/1.7.3/powermock-module-
junit4-common-1.7.3.pom (6.4 kB at 532 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-reflect/1.7.3/powermock-reflect-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-reflect/1.7.3/powermock-reflect-1.7.3.pom
(5.7 kB at 566 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-core/1.7.3/powermock-core-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-core/1.7.3/powermock-core-1.7.3.pom (6.0 kB
at 670 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito/1.7.3/
powermock-api-mockito-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito/1.7.3/
powermock-api-mockito-1.7.3.pom (5.8 kB at 585 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito-common/
1.7.3/powermock-api-mockito-common-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito-common/
1.7.3/powermock-api-mockito-common-1.7.3.pom (6.4 kB at 582 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-support/1.7.3/
powermock-api-support-1.7.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-support/1.7.3/
powermock-api-support-1.7.3.pom (5.8 kB at 648 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4/1.7.3/
powermock-module-junit4-1.7.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4-common/1.7.3/powermock-module-
junit4-common-1.7.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito/1.7.3/
powermock-api-mockito-1.7.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-reflect/1.7.3/powermock-reflect-1.7.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-core/1.7.3/powermock-core-1.7.3.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4/1.7.3/
powermock-module-junit4-1.7.3.jar (48 kB at 1.3 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito-common/
1.7.3/powermock-api-mockito-common-1.7.3.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito-common/
1.7.3/powermock-api-mockito-common-1.7.3.jar (36 kB at 648 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-support/1.7.3/
powermock-api-support-1.7.3.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-mockito/1.7.3/
powermock-api-mockito-1.7.3.jar (86 kB at 1.2 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-api-support/1.7.3/
powermock-api-support-1.7.3.jar (23 kB at 306 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-reflect/1.7.3/powermock-reflect-1.7.3.jar
(66 kB at 819 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-module-junit4-common/1.7.3/powermock-module-
junit4-common-1.7.3.jar (18 kB at 213 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/
maven2/org/powermock/powermock-core/1.7.3/powermock-core-1.7.3.jar (146 kB
at 1.5 MB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
commons-compress ---
[INFO] Deleting <https://builds.apache.org/job/Commons-Compress-Windows/
ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-3) @
commons-compress ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @
commons-compress ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
commons-compress ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/
job/Commons-Compress-Windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ commons-compress ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-compress
---
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: <https://builds.apache.org/
job/Commons-Compress-Windows/ws/>
[INFO] Storing buildNumber: 0504d0bfe773aae29c825bcaff0dcab40286eff2 at
timestamp: 1515526127172
[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 rev-parse --verify HEAD"
[INFO] Working directory: <https://builds.apache.org/
job/Commons-Compress-Windows/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
commons-compress ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/
job/Commons-Compress-Windows/ws/src\main\resources>
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
commons-compress ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 201 source files to <https://builds.apache.org/
job/Commons-Compress-Windows/ws/target\classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid flag: --release
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------
------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------
------------
[INFO] Total time: 11.454 s
[INFO] Finished at: 2018-01-09T19:28:49Z
[INFO] Final Memory: 29M/256M
[INFO] ------------------------------------------------------------
------------
[ERROR] Failed to execute goal org.apache.maven.plugins:
maven-compiler-plugin:3.7.0:compile (default-compile) on project
commons-compress: Compilation failure
[ERROR] javac: invalid flag: --release
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [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/
MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/Commons-Compress-Windows/
ws/pom.xml> to org.apache.commons/commons-compress/1.16-SNAPSHOT/
commons-compress-1.16-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
hudson\\tools\\java\\jdk1.7.0_79-unlimited-security

Re: Build failed in Jenkins: Commons-Compress-Windows #455

Posted by sebb <se...@gmail.com>.
FTR:  See other email thread from Stefan

I fixed this error:

ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable :
Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (unlimited
security) 64-bit Windows only' not supported to run Maven projects.

and it allowed the job to complete OK.

Always fix the obvious errors first ...

On 9 January 2018 at 23:36, Gary Gregory <ga...@gmail.com> wrote:
> Does anyone know how to fix this?
>
> Gary
>
> ---------- Forwarded message ----------
> From: Apache Jenkins Server <je...@builds.apache.org>
> Date: Tue, Jan 9, 2018 at 12:28 PM
> Subject: Build failed in Jenkins: Commons-Compress-Windows #455
> To: notifications@commons.apache.org
>
>
> See <https://builds.apache.org/job/Commons-Compress-Windows/
> 455/display/redirect?page=changes>
>
> Changes:
>
> [garydgregory] GroupId is duplicate of parent groupId.
>
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on windows-2012-2 (Windows) in workspace <
> https://builds.apache.org/job/Commons-Compress-Windows/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://git-wip-us.apache.org/
> repos/asf/commons-compress.git # timeout=10
> Fetching upstream changes from https://git-wip-us.apache.org/
> repos/asf/commons-compress.git
>  > git --version # timeout=10
>  > git fetch --tags --progress https://git-wip-us.apache.org/
> repos/asf/commons-compress.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
>  > git rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
> Checking out Revision 0504d0bfe773aae29c825bcaff0dcab40286eff2
> (refs/remotes/origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 0504d0bfe773aae29c825bcaff0dcab40286eff2
> Commit message: "GroupId is duplicate of parent groupId."
>  > git rev-list 881d014cd4d2257e58ce2c65b85dd9019837dfaf # timeout=10
> [EnvInject] - Injecting environment variables from a build step.
> Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
> hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
> [EnvInject] - Injecting as environment variables the properties content
> JAVA_1_7_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
>
> [EnvInject] - Variables injected successfully.
> Setting JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\
> hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
> Parsing POMs
> Downloaded artifact http://repo.maven.apache.org/maven2/org/apache/commons/
> commons-parent/43/commons-parent-43.pom
> Established TCP socket on 60136
> maven35-agent.jar already up to date
> maven35-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [Commons-Compress-Windows] $ F:\\hudson\\tools\\java\\jdk1.
> 7.0_79-unlimited-security/bin/java -Xmx2g -Xms256m -cp
> f:\jenkins\jenkins-slave\maven35-agent.jar;f:\jenkins\
> tools\maven\latest3\boot\plexus-classworlds-2.5.2.jar;
> f:\\jenkins\\tools\\maven\\latest3/conf/logging
> jenkins.maven3.agent.Maven35Main
> f:\\jenkins\\tools\\maven\\latest3 F:\jenkins\jenkins-slave\slave.jar
> f:\jenkins\jenkins-slave\maven35-interceptor.jar
> f:\jenkins\jenkins-slave\maven3-interceptor-commons.jar
> 60136
> <===[JENKINS REMOTING CAPACITY]===>   channel started
> ERROR: ============================================================
> ====================
> ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable :
> Unsupported major.minor version 52.0
> ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (unlimited security)
> 64-bit Windows only' not supported to run Maven projects.
> ERROR: Maven projects have to be launched with a Java version greater or
> equal to the minimum version required by the master.
> ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project
> with an older JDK.
> ERROR: Retrying with slave Java and setting compile/test properties to
> point to F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security.
> ERROR: ============================================================

...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org