Fwd: Build failed in Jenkins: commons-validator #61

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Build failed in Jenkins: commons-validator #61

garydgregory
Thoughts on how to fix this?

Gary

---------- Forwarded message ---------
From: Apache Jenkins Server <[hidden email]>
Date: Tue, Mar 13, 2018, 09:48
Subject: Build failed in Jenkins: commons-validator #61
To: <[hidden email]>


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: [hidden email]
channel stopped
Reply | Threaded
Open this post in threaded view
|

Re: Build failed in Jenkins: commons-validator #61

sebb-2-2
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 <[hidden email]> wrote:

> Thoughts on how to fix this?
>
> Gary
>
> ---------- Forwarded message ---------
> From: Apache Jenkins Server <[hidden email]>
> Date: Tue, Mar 13, 2018, 09:48
> Subject: Build failed in Jenkins: commons-validator #61
> To: <[hidden email]>
>
>
> 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: [hidden email]
> channel stopped

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

AW: Build failed in Jenkins: commons-validator #61

Jan Matèrne (jhm)
I solved the same problem for commons-email.
https://builds.apache.org/view/All/job/commons-email/configure

The project requires via the chosen Maven profile a specific Java version.
This Java installation must be available via a specific environment variable "JAVA_1_7_HOME".

commons-validator sets this to a fixed value, where I don't know this location exists on the build node.

Jenkins could inject the value, but on another name "JDK_1_7_LATEST__HOME".
'Inject environment variables to the build process > Properties Content': "JAVA_1_7_HOME=$JDK_1_7_LATEST__HOME"
and specify the required value sources via 'Tool Environment'.


I adapted the email configuration and started a new build.


Jan


> -----Ursprüngliche Nachricht-----
> Von: sebb [mailto:[hidden email]]
> Gesendet: Mittwoch, 14. März 2018 00:58
> An: Commons Developers List
> Betreff: Re: Build failed in Jenkins: commons-validator #61
>
> 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 <[hidden email]> wrote:
> > Thoughts on how to fix this?
> >
> > Gary
> >
> > ---------- Forwarded message ---------
> > From: Apache Jenkins Server <[hidden email]>
> > Date: Tue, Mar 13, 2018, 09:48
> > Subject: Build failed in Jenkins: commons-validator #61
> > To: <[hidden email]>
> >
> >
> > 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\late
> > st3\boot\plexus-classworlds-
> 2.5.2.jar;f:\\jenkins\\tools\\maven\\lates
> > t3/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\late
> > st3\boot\plexus-classworlds-
> 2.5.2.jar;f:\\jenkins\\tools\\maven\\lates
> > t3/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: [hidden email]
> > channel stopped
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

AW: Build failed in Jenkins: commons-validator #61

Jan Matèrne (jhm)
It seems that there is lot of work on the nodes ATM.
So we have to wait for results ...

Jan

> -----Ursprüngliche Nachricht-----
> Von: Jan Matèrne (jhm) [mailto:[hidden email]]
> Gesendet: Mittwoch, 14. März 2018 09:33
> An: 'Commons Developers List'
> Betreff: AW: Build failed in Jenkins: commons-validator #61
>
> I solved the same problem for commons-email.
> https://builds.apache.org/view/All/job/commons-email/configure
>
> The project requires via the chosen Maven profile a specific Java
> version.
> This Java installation must be available via a specific environment
> variable "JAVA_1_7_HOME".
>
> commons-validator sets this to a fixed value, where I don't know this
> location exists on the build node.
>
> Jenkins could inject the value, but on another name
> "JDK_1_7_LATEST__HOME".
> 'Inject environment variables to the build process > Properties
> Content': "JAVA_1_7_HOME=$JDK_1_7_LATEST__HOME"
> and specify the required value sources via 'Tool Environment'.
>
>
> I adapted the email configuration and started a new build.
>
>
> Jan
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: sebb [mailto:[hidden email]]
> > Gesendet: Mittwoch, 14. März 2018 00:58
> > An: Commons Developers List
> > Betreff: Re: Build failed in Jenkins: commons-validator #61
> >
> > 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 <[hidden email]>
> wrote:
> > > Thoughts on how to fix this?
> > >
> > > Gary
> > >
> > > ---------- Forwarded message ---------
> > > From: Apache Jenkins Server <[hidden email]>
> > > Date: Tue, Mar 13, 2018, 09:48
> > > Subject: Build failed in Jenkins: commons-validator #61
> > > To: <[hidden email]>
> > >
> > >
> > > 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\late
> > > st3\boot\plexus-classworlds-
> > 2.5.2.jar;f:\\jenkins\\tools\\maven\\lates
> > > t3/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\late
> > > st3\boot\plexus-classworlds-
> > 2.5.2.jar;f:\\jenkins\\tools\\maven\\lates
> > > t3/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/MojoFailureExceptio
> > > n
> > > [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: [hidden email]
> > > channel stopped
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]