commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Build failed in Jenkins: commons-validator #61
Date Tue, 13 Mar 2018 23:57:44 GMT
I think this has happened before.

Jenkins now needs Java 8.
It attempts recovery but that does not work.

On 13 March 2018 at 16:17, Gary Gregory <garydgregory@gmail.com> wrote:
> Thoughts on how to fix this?
>
> Gary
>
> ---------- Forwarded message ---------
> From: Apache Jenkins Server <jenkins@builds.apache.org>
> Date: Tue, Mar 13, 2018, 09:48
> Subject: Build failed in Jenkins: commons-validator #61
> To: <notifications@commons.apache.org>
>
>
> See <https://builds.apache.org/job/commons-validator/61/display/redirect>
>
> ------------------------------------------
> Started by user ggregory
> [EnvInject] - Loading node environment variables.
> Building remotely on windows-2012-1 (Windows) in workspace <
> https://builds.apache.org/job/commons-validator/ws/>
> Updating https://svn.apache.org/repos/asf/commons/proper/validator/trunk at
> revision '2018-03-13T15:47:38.139 +0000'
> At revision 1826655
>
> No changes for
> https://svn.apache.org/repos/asf/commons/proper/validator/trunk since the
> previous build
> [EnvInject] - Executing scripts and injecting environment variables after
> the SCM step.
> [EnvInject] - Injecting as environment variables the properties content
> JAVA_1_6_HOME=/home/jenkins/tools/java/latest1.6/
>
> [EnvInject] - Variables injected successfully.
> Parsing POMs
> Established TCP socket on 62574
> maven35-agent.jar already up to date
> maven35-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [commons-validator] $ f:\\jenkins\\tools\\java\\latest1.7/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 62574
> <===[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 (latest)' 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:\\jenkins\\tools\\java\\latest1.7.
> ERROR:
> ================================================================================
> Established TCP socket on 62579
> maven35-agent.jar already up to date
> maven35-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [commons-validator] $ "C:\Program Files\Java\jre1.8.0_152/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 62579
> <===[JENKINS REMOTING CAPACITY]===>   channel started
> Executing Maven:  -B -f <
> https://builds.apache.org/job/commons-validator/ws/pom.xml>
> -Dmaven.repo.local=f:\jenkins\jenkins-slave\maven-repositories\0 -V clean
> install --batch-mode -Dgpg.skip -Prelease -Pjava-1.6
>  [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
> 2017-10-18T07:58:13Z) [m
> Maven home: F:\jenkins\tools\maven\latest3
> Java version: 1.8.0_152, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jre1.8.0_152
> 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 Validator 1.7-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> commons-validator ---
> [INFO] Deleting <https://builds.apache.org/job/commons-validator/ws/target>
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-3) @
> commons-validator ---
> [INFO]
> [INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @
> commons-validator ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
> commons-validator ---
> [INFO] Executing tasks
>
> main:
>      [copy] Copying 2 files to <
> https://builds.apache.org/job/commons-validator/ws/target\apidocs\META-INF>
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ commons-validator ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> commons-validator ---
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
> [INFO] Working directory: <
> https://builds.apache.org/job/commons-validator/ws/>
> [INFO] Storing buildNumber: 1826655 at timestamp: 1520956084090
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
> [INFO] Working directory: <
> https://builds.apache.org/job/commons-validator/ws/>
> [INFO] Storing buildScmBranch: trunk
> [INFO]
> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
> commons-validator ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] Copying 8 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
> commons-validator ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 64 source files to <
> https://builds.apache.org/job/commons-validator/ws/target\classes>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8.250 s
> [INFO] Finished at: 2018-03-13T15:48:05Z
> [INFO] Final Memory: 24M/293M
> [INFO]
> ------------------------------------------------------------------------
> Waiting for Jenkins to finish collecting data
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project commons-validator: Compilation failure ->
> [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-validator/ws/pom.xml> to
> commons-validator/commons-validator/1.7-SNAPSHOT/commons-validator-1.7-SNAPSHOT.pom
> Sending e-mails to: notifications@commons.apache.org
> channel stopped

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


Mime
View raw message