uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Build failed in Jenkins: UIMA-uimaFIT_2_0_x #12
Date Sat, 26 Apr 2014 14:48:14 GMT
hmmm.  Java version 49 is what is put in the class files when they're targeted
for Java 5.

The uimaj build was updated to specify a target Java version of Java 6, or
version 50.

  <build>
    <pluginManagement>
      <plugins>
        ...
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.6</source>
              <target>1.6</target>
            </configuration>
          </plugin>
        ...

So the Java used to run the Jenkins build for things that include the 2.6.0
version needs to be updated to Java 6.  I logged into Jenkins, and changed the
Java version for UIMA-uimaFIT_2_0_x.

It's waiting for build 13 to start now on ubuntu or windows.

-M
On 4/26/2014 8:33 AM, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/12/changes>
>
> Changes:
>
> [rec] [No jira] Upgrade to UIMA 2.6.0-SNAPSHOT.
>
> ------------------------------------------
> [...truncated 586 lines...]
> A         uimafit-core/src/main/java/org/apache/uima/fit/util
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/SimpleNamedResourceManager.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/CasUtil.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/package-info.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/ContainmentIndex.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/CasIOUtil.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/FSCollectionFactory.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/LifeCycleUtil.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/LocaleUtil.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/util/JCasUtil.java
> A         uimafit-core/src/main/java/org/apache/uima/fit/descriptor
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/ConfigurationParameter.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/ResourceMetaData.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/FsIndexKey.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/ExternalResource.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/OperationalProperties.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/SofaCapability.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/FsIndexCollection.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/ExternalResourceLocator.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/FsIndex.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/TypeCapability.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/descriptor/package-info.java
> A         uimafit-core/src/main/java/org/apache/uima/fit/component
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasFlowController_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/ViewCreatorAnnotator.java
> A         uimafit-core/src/main/java/org/apache/uima/fit/component/initialize
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/initialize/ConfigurationParameterInitializer.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/initialize/ExternalResourceInitializer.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/initialize/package-info.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasCollectionReader_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/JCasAnnotator_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/package-info.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/JCasFlowController_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasDumpWriter.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasMultiplier_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/JCasCollectionReader_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasConsumer_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/NoOpAnnotator.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/JCasMultiplier_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/Resource_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/ViewTextCopierAnnotator.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/CasAnnotator_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/JCasConsumer_ImplBase.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/component/ExternalResourceAware.java
> A         uimafit-core/src/main/java/org/apache/uima/fit/pipeline
> AU        uimafit-core/src/main/java/org/apache/uima/fit/pipeline/package-info.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/pipeline/JCasIterable.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/pipeline/JCasIterator.java
> AU        uimafit-core/src/main/java/org/apache/uima/fit/pipeline/SimplePipeline.java
> AU        uimafit-core/pom.xml
> A         uimafit-core/.pmd
> A         uimafit-core/.settings
> AU        uimafit-core/.settings/org.eclipse.jdt.core.prefs
> AU        uimafit-core/.settings/org.eclipse.jdt.ui.prefs
> AU        uimafit-core/pmd.xml
> A         uimafit-parent
> AU        uimafit-parent/pom.xml
>  U        .
> At revision 1590230
> Parsing POMs
> using settings config with name simple-deploy-settings-no-mirror
> Modules changed, recalculating dependency graph
> maven3-agent.jar already up to date
> maven3-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [2.0.x] $ /home/hudson/tools/java/latest1.5/bin/java -Xmx800m -XX:MaxPermSize=256m -cp
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3/boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3
/home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
47751
> <===[JENKINS REMOTING CAPACITY]===>channel started
>    ERROR: [JENKINS-18403] JDK 5 not supported to run Maven; retrying with slave Java
and setting compile/test properties to point to /home/hudson/tools/java/latest1.5
> maven3-agent.jar already up to date
> maven3-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [2.0.x] $ /home/jenkins/tools/java/jdk1.7.0_25-64/jre/bin/java -Xmx800m -XX:MaxPermSize=256m
-cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3/boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3
/home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
40746
> <===[JENKINS REMOTING CAPACITY]===>channel started
>    using settings config with name simple-deploy-settings-no-mirror
> log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
> log4j:WARN Please initialize the log4j system properly.
> Executing Maven:  -B -f <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/pom.xml>
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -s /tmp/settings645476848249733769.xml
-Djava.awt.headless=true -Dcobertura.report.format=xml clean install dependency:analyze cobertura:cobertura
javadoc:aggregate
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] uimaFIT - Parent
> [INFO] uimaFIT - Core
> [INFO] uimaFIT - Examples
> [INFO] uimaFIT - Spring integration
> [INFO] uimaFIT - Maven Plugin
> [INFO] uimaFIT - Legacy uimaFIT support
> [INFO] uimaFIT - Documentation
> [INFO] uimaFIT - Collection Processing Engine support
> [INFO] uimaFIT
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building uimaFIT - Parent 2.0.1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uimafit-parent ---
> [TASKS] Scanning folder '<https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-parent'>
for files matching the pattern '**/*.java' - excludes: 
> [TASKS] Found 0 files to scan for tasks
> Found 0 open tasks.
> [TASKS] Computing warning deltas based on reference build #11
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3:enforce (enforce-versions) @ uimafit-parent ---
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-project-version) @ uimafit-parent
---
> [INFO] 
> [INFO] --- uima-build-helper-maven-plugin:7:parse-date-time (set buildYear and buildMonth)
@ uimafit-parent ---
> [INFO] 
> [INFO] --- gmaven-plugin:1.5:execute (read-notice) @ uimafit-parent ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ uimafit-parent ---
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.7:run (dup-meta-jar-cleanup) @ uimafit-parent ---
> [INFO] Executing tasks
>
> main:
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ uimafit-parent
---
> [INFO] 
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ uimafit-parent ---
> [INFO] Installing <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-parent/pom.xml>
to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/uima/uimafit-parent/2.0.1-SNAPSHOT/uimafit-parent-2.0.1-SNAPSHOT.pom
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3:enforce (enforce-versions) @ uimafit-parent ---
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-project-version) @ uimafit-parent
---
> [INFO] 
> [INFO] --- uima-build-helper-maven-plugin:7:parse-date-time (set buildYear and buildMonth)
@ uimafit-parent ---
> [INFO] 
> [INFO] --- gmaven-plugin:1.5:execute (read-notice) @ uimafit-parent ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ uimafit-parent ---
> [WARNING] Failed to getClass for org.apache.maven.plugin.dependency.analyze.AnalyzeMojo
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ uimafit-parent ---
> [INFO] Skipping pom project
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3:enforce (enforce-versions) @ uimafit-parent ---
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-project-version) @ uimafit-parent
---
> [INFO] 
> [INFO] --- uima-build-helper-maven-plugin:7:parse-date-time (set buildYear and buildMonth)
@ uimafit-parent ---
> [INFO] 
> [INFO] --- gmaven-plugin:1.5:execute (read-notice) @ uimafit-parent ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ uimafit-parent ---
> [INFO] 
> [INFO] --- cobertura-maven-plugin:2.5.2:instrument (default-cli) @ uimafit-parent ---
> [INFO] Skipping cobertura mojo for project with packaging type 'pom'
> [INFO] 
> [INFO] --- cobertura-maven-plugin:2.5.2:cobertura (default-cli) @ uimafit-parent ---
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building uimaFIT - Core 2.0.1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/maven-metadata.xml
> Downloaded: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/maven-metadata.xml
(775 B at 0.5 KB/sec)
> Downloading: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-20140426.043220-9.pom
> Downloaded: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-20140426.043220-9.pom
(8 KB at 48.2 KB/sec)
> Downloading: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-20140426.043220-9.jar
> Downloaded: http://repository.apache.org/snapshots/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-20140426.043220-9.jar
(1453 KB at 1617.6 KB/sec)
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uimafit-core ---
> [TASKS] Scanning folder '<https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-core'>
for files matching the pattern '**/*.java' - excludes: 
> [TASKS] Found 145 files to scan for tasks
> Found 3 open tasks.
> [TASKS] Computing warning deltas based on reference build #11
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3:enforce (enforce-versions) @ uimafit-core ---
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-project-version) @ uimafit-core
---
> [INFO] 
> [INFO] --- uima-build-helper-maven-plugin:7:parse-date-time (set buildYear and buildMonth)
@ uimafit-core ---
> [INFO] 
> [INFO] --- gmaven-plugin:1.5:execute (read-notice) @ uimafit-core ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ uimafit-core ---
> Downloading: http://repository.apache.org/snapshots/org/apache/uima/uimaj-parent/2.6.0-SNAPSHOT/maven-metadata.xml
> Downloaded: http://repository.apache.org/snapshots/org/apache/uima/uimaj-parent/2.6.0-SNAPSHOT/maven-metadata.xml
(604 B at 1.2 KB/sec)
> Downloading: http://repository.apache.org/snapshots/org/apache/uima/uimaj-parent/2.6.0-SNAPSHOT/uimaj-parent-2.6.0-20140426.043045-9.pom
> Downloaded: http://repository.apache.org/snapshots/org/apache/uima/uimaj-parent/2.6.0-SNAPSHOT/uimaj-parent-2.6.0-20140426.043045-9.pom
(7 KB at 46.2 KB/sec)
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ uimafit-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ uimafit-core ---
> [INFO] Compiling 83 source files to <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-core/target/classes>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-core/src/main/java/org/apache/uima/fit/component/CasCollectionReader_ImplBase.java>:[23,-1]
cannot access org.apache.uima.UimaContext
> bad class file: /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-SNAPSHOT.jar(org/apache/uima/UimaContext.class)
> class file has wrong version 50.0, should be 49.0
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping uimaFIT
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] uimaFIT - Parent .................................. SUCCESS [50.956s]
> [INFO] uimaFIT - Core .................................... FAILURE [14.597s]
> [INFO] uimaFIT - Examples ................................ SKIPPED
> [INFO] uimaFIT - Spring integration ...................... SKIPPED
> [INFO] uimaFIT - Maven Plugin ............................ SKIPPED
> [INFO] uimaFIT - Legacy uimaFIT support .................. SKIPPED
> [INFO] uimaFIT - Documentation ........................... SKIPPED
> [INFO] uimaFIT - Collection Processing Engine support .... SKIPPED
> [INFO] uimaFIT ........................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:16.477s
> [INFO] Finished at: Sat Apr 26 12:33:07 UTC 2014
> [INFO] Final Memory: 34M/237M
> [INFO] ------------------------------------------------------------------------
> Waiting for Jenkins to finish collecting data
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project uimafit-core: Compilation failure
> [ERROR] <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-core/src/main/java/org/apache/uima/fit/component/CasCollectionReader_ImplBase.java>:[23,-1]
cannot access org.apache.uima.UimaContext
> [ERROR] bad class file: /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/uima/uimaj-core/2.6.0-SNAPSHOT/uimaj-core-2.6.0-SNAPSHOT.jar(org/apache/uima/UimaContext.class)
> [ERROR] class file has wrong version 50.0, should be 49.0
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :uimafit-core
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-core/pom.xml>
to org.apache.uima/uimafit-core/2.0.1-SNAPSHOT/uimafit-core-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-docbook/pom.xml>
to org.apache.uima/uimafit-docbook/2.0.1-SNAPSHOT/uimafit-docbook-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/pom.xml>
to org.apache.uima/uimafit/2.0.1-SNAPSHOT/uimafit-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-cpe/pom.xml>
to org.apache.uima/uimafit-cpe/2.0.1-SNAPSHOT/uimafit-cpe-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-maven-plugin/pom.xml>
to org.apache.uima/uimafit-maven-plugin/2.0.1-SNAPSHOT/uimafit-maven-plugin-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-legacy-support/pom.xml>
to org.apache.uima/uimafit-legacy-support/2.0.1-SNAPSHOT/uimafit-legacy-support-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-parent/pom.xml>
to org.apache.uima/uimafit-parent/2.0.1-SNAPSHOT/uimafit-parent-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-examples/pom.xml>
to org.apache.uima/uimafit-examples/2.0.1-SNAPSHOT/uimafit-examples-2.0.1-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/UIMA-uimaFIT_2_0_x/ws/2.0.x/uimafit-spring/pom.xml>
to org.apache.uima/uimafit-spring/2.0.1-SNAPSHOT/uimafit-spring-2.0.1-SNAPSHOT.pom
> Sending e-mails to: dev@uima.apache.org
> channel stopped
> [WARNINGS] Skipping publisher since build result is FAILURE
> Archiving artifacts
> Skipping Cobertura coverage report as build was not UNSTABLE or better ...
>
>


Mime
View raw message