Re: Build failed in Jenkins: Pivot-trunk on Java 8 #777

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failed in Jenkins: Pivot-trunk on Java 8 #777

Roger Whitcomb
Anyone know why this would fail?  I was assuming since we run the "test"
target that JUnit would be in place.  And the "org.junit.Assert" class
has always been there....  This works on my local builds....

Thanks,
~Roger

On 7/7/17 8:47 AM, Apache Jenkins Server wrote:

> See <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/777/display/redirect?page=changes>
>
> Changes:
>
> [rwhitcomb] Update the BUILD file to say we now require JUnit 4.11 or greater
> (with separate "hamcrest-core"), and check for the "assertNotEquals"
> method availability in the "org.junit.Assert" class.  This method is
> used in "BoundsTest", and so must be available.
>
> Also add a reference (from "build.properties") to the bootstrap classpath
> when compiling.  This allows full checking in the case of back-level
> Java (actually not used now, but for reference).
>
> [rwhitcomb] Remove incorrect comment in TextPaneSkinTextNodeView.
>
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/>
> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/.> to depth infinity with ignoreExternals: false
> Updating http://svn.apache.org/repos/asf/pivot/jenkins at revision '2017-07-07T15:46:58.732 +0000'
> At revision 1801185
>
> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk> to depth infinity with ignoreExternals: false
> Updating http://svn.apache.org/repos/asf/pivot/trunk at revision '2017-07-07T15:46:58.732 +0000'
> U         build.xml
> U         BUILD
> U         wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
> U         wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java
> At revision 1801185
>
> No changes for http://svn.apache.org/repos/asf/pivot/jenkins since the previous build
> [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
> [Pivot-trunk on Java 8] $ /home/jenkins/tools/ant/latest/bin/ant check clean package test doc deploy package-tests package-sources package-javadoc
> Buildfile: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/build.xml>
>
> help:
>       [echo] Using Classpath: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/${env.CLASSPATH}>:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/charsets.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/deploy.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/localedata.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/nashorn.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/sunec.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/zipfs.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/javaws.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/jce.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/jfr.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/jfxswt.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/jsse.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/management-agent.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/plugin.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/resources.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/rt.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/security/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/security/local_policy.jar
>
> check:
>
> clean:
>     [delete] Deleting directory <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/lib>
>
> environment-info:
>       [echo]
>       [echo] Apache Ant(TM) version 1.10.1 compiled on February 2 2017
>       [echo] Compile environment for pivot_build_by_jenkins-2.1.0 is:
>       [echo] show deprecation true
>       [echo] debug true
>       [echo] source 1.8, target 1.8
>       [echo] encoding UTF-8
>       [echo] indexJars true
>       [echo] arg -Xlint
>       [echo]
>       [echo] OS: Linux, version 3.19.0-25-generic, architecture amd64
>       [echo]
>       [echo] Java: home at '/usr/local/asfpackages/java/jdk1.8.0_131/jre', version 1.8.0_131, vendor Oracle Corporation
>       [echo]
>
> core:
>
> BUILD FAILED
> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/build.xml>:519: The following error occurred while executing this line:
> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/build.xml>:128: class "org.junit.Assert" was not found
>
> Total time: 1 second
> Build step 'Invoke Ant' marked build as failure
>
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failed in Jenkins: Pivot-trunk on Java 8 #777

Sandro Martini
Hi Roger should be that now we need a more recente version of JUnit in the
Jenkins support folder for trunk build ... tomorrow I'll take a look.

Bye


Il 07/Lug/2017 21:56, "Roger Whitcomb" <[hidden email]> ha scritto:

> Anyone know why this would fail?  I was assuming since we run the "test"
> target that JUnit would be in place.  And the "org.junit.Assert" class has
> always been there....  This works on my local builds....
>
> Thanks,
> ~Roger
>
> On 7/7/17 8:47 AM, Apache Jenkins Server wrote:
>
>> See <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>> 777/display/redirect?page=changes>
>>
>> Changes:
>>
>> [rwhitcomb] Update the BUILD file to say we now require JUnit 4.11 or
>> greater
>> (with separate "hamcrest-core"), and check for the "assertNotEquals"
>> method availability in the "org.junit.Assert" class.  This method is
>> used in "BoundsTest", and so must be available.
>>
>> Also add a reference (from "build.properties") to the bootstrap classpath
>> when compiling.  This allows full checking in the case of back-level
>> Java (actually not used now, but for reference).
>>
>> [rwhitcomb] Remove incorrect comment in TextPaneSkinTextNodeView.
>>
>> ------------------------------------------
>> Started by an SCM change
>> [EnvInject] - Loading node environment variables.
>> Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <
>> https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/>
>> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/.>
>> to depth infinity with ignoreExternals: false
>> Updating http://svn.apache.org/repos/asf/pivot/jenkins at revision
>> '2017-07-07T15:46:58.732 +0000'
>> At revision 1801185
>>
>> Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>> ws/pivot_trunk> to depth infinity with ignoreExternals: false
>> Updating http://svn.apache.org/repos/asf/pivot/trunk at revision
>> '2017-07-07T15:46:58.732 +0000'
>> U         build.xml
>> U         BUILD
>> U         wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
>> U         wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInpu
>> tSkin.java
>> At revision 1801185
>>
>> No changes for http://svn.apache.org/repos/asf/pivot/jenkins since the
>> previous build
>> [EnvInject] - Executing scripts and injecting environment variables after
>> the SCM step.
>> [Pivot-trunk on Java 8] $ /home/jenkins/tools/ant/latest/bin/ant check
>> clean package test doc deploy package-tests package-sources package-javadoc
>> Buildfile: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>> ws/build.xml>
>>
>> help:
>>       [echo] Using Classpath: <https://builds.apache.org/job
>> /Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/
>> hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-
>> trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<
>> https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-
>> on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:<https://buil
>> ds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_
>> trunk/${env.CLASSPATH}
>> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/$%7Benv.CLASSPATH%7D>
>> >:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/charsets.jar:/
>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/deploy.
>> jar:/usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/
>> cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_131/
>> jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.
>> 0_131/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/
>> jdk1.8.0_131/jre/lib/ext/localedata.jar:/usr/local/
>> asfpackages/java/jdk1.8.0_131/jre/lib/ext/nashorn.jar:/usr/
>> local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/sunec.jar:/
>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/ext/
>> sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.
>> 0_131/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/
>> java/jdk1.8.0_131/jre/lib/ext/zipfs.jar:/usr/local/asfpackag
>> es/java/jdk1.8.0_131/jre/lib/javaws.jar:/usr/local/asfpacka
>> ges/java/jdk1.8.0_131/jre/lib/jce.jar:/usr/local/asfpackages
>> /java/jdk1.8.0_131/jre/lib/jfr.jar:/usr/local/asfpackages
>> /java/jdk1.8.0_131/jre/lib/jfxswt.jar:/usr/local/asfpacka
>> ges/java/jdk1.8.0_131/jre/lib/jsse.jar:/usr/local/asfpackage
>> s/java/jdk1.8.0_131/jre/lib/management-agent.jar:/usr/
>> local/asfpackages/java/jdk1.8.0_131/jre/lib/plugin.jar:/usr/
>> local/asfpackages/java/jdk1.8.0_131/jre/lib/resources.jar:/
>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/rt.jar:/
>> usr/local/asfpackages/java/jdk1.8.0_131/jre/lib/security/
>> US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.
>> 0_131/jre/lib/security/local_policy.jar
>>
>> check:
>>
>> clean:
>>     [delete] Deleting directory <https://builds.apache.org/job
>> /Pivot-trunk%20on%20Java%208/ws/pivot_trunk/lib>
>>
>> environment-info:
>>       [echo]
>>       [echo] Apache Ant(TM) version 1.10.1 compiled on February 2 2017
>>       [echo] Compile environment for pivot_build_by_jenkins-2.1.0 is:
>>       [echo] show deprecation true
>>       [echo] debug true
>>       [echo] source 1.8, target 1.8
>>       [echo] encoding UTF-8
>>       [echo] indexJars true
>>       [echo] arg -Xlint
>>       [echo]
>>       [echo] OS: Linux, version 3.19.0-25-generic, architecture amd64
>>       [echo]
>>       [echo] Java: home at '/usr/local/asfpackages/java/jdk1.8.0_131/jre',
>> version 1.8.0_131, vendor Oracle Corporation
>>       [echo]
>>
>> core:
>>
>> BUILD FAILED
>> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>> ws/pivot_trunk/build.xml>:519: The following error occurred while
>> executing this line:
>> <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
>> ws/pivot_trunk/build.xml>:128: class "org.junit.Assert" was not found
>>
>> Total time: 1 second
>> Build step 'Invoke Ant' marked build as failure
>>
>>
>>
>
>
Loading...