You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/06/01 18:05:04 UTC
Build failed in Jenkins: AntLib-antunit #32
See <https://builds.apache.org/job/AntLib-antunit/32/display/redirect?page=changes>
Changes:
[bodewig] ensure the next release, if any, uses proper ivy coordinates
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace <https://builds.apache.org/job/AntLib-antunit/ws/>
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git
> git init <https://builds.apache.org/job/AntLib-antunit/ws/> # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git
> git --version # timeout=10
> git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.git
> git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit.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 66206e00ce188209cb5125dfa02b03c0fcd244e0 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 66206e00ce188209cb5125dfa02b03c0fcd244e0
> git rev-list b8dd17fb4cb0cece54451cf1ac8c15519e708880 # timeout=10
> git remote # timeout=10
> git submodule init # timeout=10
> git submodule sync # timeout=10
> git config --get remote.origin.url # timeout=10
> git submodule init # timeout=10
> git config -f .gitmodules --get-regexp ^submodule\.(.*)\.url # timeout=10
> git config --get submodule.common.url # timeout=10
> git config -f .gitmodules --get submodule.common.path # timeout=10
> git submodule update --init --recursive common
[AntLib-antunit] $ /home/jenkins/tools/ant/latest/bin/ant -file prepare.xml bootstrap
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
Publishing Javadoc
Jenkins build is back to normal : AntLib-antunit #34
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AntLib-antunit/34/display/redirect>
Build failed in Jenkins: AntLib-antunit #33
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AntLib-antunit/33/display/redirect>
------------------------------------------
[...truncated 8.85 KB...]
check-for-NOTICE:
antlib:
[copy] Copying 1 file to <https://builds.apache.org/job/AntLib-antunit/ws/build/classes>
[jar] Building jar: <https://builds.apache.org/job/AntLib-antunit/33/artifact/build/lib/ant-antunit-1.4alpha.jar>
ready-to-distribute:
distribution:
[mkdir] Created dir: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries>
[mkdir] Created dir: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source>
setup-properties:
setup:
download-ivy:
[echo] installing ivy...
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] To: <https://builds.apache.org/job/AntLib-antunit/ws/ivy/ivy.jar>
[get] Not modified - so not downloaded
install-ivy:
-no-resolve:
resolve:
[ivy:resolve] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: url = jar:<https://builds.apache.org/job/AntLib-antunit/ws/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml>
[ivy:resolve] :: resolving dependencies :: org.apache.ant#ant-antunit;1.4alpha
[ivy:resolve] confs: [default, test]
[ivy:resolve] found junit#junit;4.11 in default
[ivy:resolve] found org.hamcrest#hamcrest-core;1.3 in default
[ivy:resolve] :: resolution report :: resolve 113ms :: artifacts dl 4ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 2 | 0 | 0 | 0 || 2 | 0 |
| test | 0 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync]
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 2 already retrieved (0kB/4ms)
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync]
[ivy:retrieve] confs: [test]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/2ms)
compile:
check-for-NOTICE:
antlib:
checksum-target-jar:
m2-init:
m2-copy-pom:
[expandingcopy] Copying 1 file to <https://builds.apache.org/job/AntLib-antunit/ws/build/lib>
m2-make-pom:
m2-pom:
ivy-init:
copy-ivy.xml:
[expandingcopy] Copying 1 file to <https://builds.apache.org/job/AntLib-antunit/ws/build/lib>
make-ivy.xml:
ivy.xml:
javadoc_check:
javadoc:
[mkdir] Created dir: <https://builds.apache.org/job/AntLib-antunit/ws/build/javadoc>
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.ant.antunit...
[javadoc] Loading source files for package org.apache.ant.antunit.junit3...
[javadoc] Loading source files for package org.apache.ant.antunit.junit4...
[javadoc] Loading source files for package org.apache.ant.antunit.listener...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.5.0_22
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Patched 1 link injection vulnerable javadocs
bin-dist:
[mkdir] Created dir: <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
[copy] Copying 21 files to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
[copy] Copying 54 files to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/javadoc>
[copy] Copying 2 files to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
check-contributors:
style-contributors:
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/contributors.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/CONTRIBUTORS>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/contributors.xsl>
check-changes:
style-changes:
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/changes.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/WHATSNEW>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/changes2whatsnew.xsl>
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/changes.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/README.html>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/changes2readmehtml.xsl>
create-readable-documents:
[zip] Building zip: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries/apache-ant-antunit-1.4alpha-bin.zip>
[tar] Building tar: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries/apache-ant-antunit-1.4alpha-bin.tar>
[gzip] Building: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries/apache-ant-antunit-1.4alpha-bin.tar.gz>
[bzip2] Building: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries/apache-ant-antunit-1.4alpha-bin.tar.bz2>
[delete] Deleting: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/binaries/apache-ant-antunit-1.4alpha-bin.tar>
[delete] Deleting directory <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
setup-properties:
setup:
m2-init:
m2-copy-pom:
m2-make-pom:
m2-pom:
ivy-init:
copy-ivy.xml:
make-ivy.xml:
ivy.xml:
src-dist:
[mkdir] Created dir: <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
[copy] Copying 121 files to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
check-contributors:
style-contributors:
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/contributors.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/CONTRIBUTORS>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/contributors.xsl>
check-changes:
style-changes:
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/changes.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/WHATSNEW>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/changes2whatsnew.xsl>
[xslt] Processing <https://builds.apache.org/job/AntLib-antunit/ws/changes.xml> to <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha/README.html>
[xslt] Loading stylesheet <https://builds.apache.org/job/AntLib-antunit/ws/common/stylesheets/changes2readmehtml.xsl>
create-readable-documents:
[zip] Building zip: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source/apache-ant-antunit-1.4alpha-src.zip>
[tar] Building tar: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source/apache-ant-antunit-1.4alpha-src.tar>
[gzip] Building: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source/apache-ant-antunit-1.4alpha-src.tar.gz>
[bzip2] Building: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source/apache-ant-antunit-1.4alpha-src.tar.bz2>
[delete] Deleting: <https://builds.apache.org/job/AntLib-antunit/33/artifact/distribution/source/apache-ant-antunit-1.4alpha-src.tar>
[delete] Deleting directory <https://builds.apache.org/job/AntLib-antunit/ws/apache-ant-antunit-1.4alpha>
BUILD SUCCESSFUL
Total time: 7 seconds
[antunit] $ /home/jenkins/tools/ant/apache-ant-1.9.9/bin/ant -file assertResourceExists-test.xml -lib ../../../build/lib -lib ../../../lib/compile -lib ../../../lib/test -lib ../../../build/test-classes testURLUsingRef-no -v
Apache Ant(TM) version 1.9.9 compiled on February 2 2017
Buildfile: <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/assertResourceExists-test.xml>
Detected Java version: 1.5 in: /usr/local/asfpackages/java/jdk1.5.0_22-64/jre
Detected OS: Linux
parsing buildfile <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/assertResourceExists-test.xml> with URI = <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/assertResourceExists-test.xml>
Project base dir set to: <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit>
parsing buildfile jar:file:/home/jenkins/tools/ant/apache-ant-1.9.9/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/home/jenkins/tools/ant/apache-ant-1.9.9/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/antunit-base.xml> from <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/assertResourceExists-test.xml>
Overriding previous definition of reference to ant.projectHelper
parsing buildfile <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/antunit-base.xml> with URI = <https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/antunit-base.xml>
Property "build.sysclasspath" has not been set
Overriding previous definition of reference to ant.projectHelper
Build sequence for target(s) `testURLUsingRef-no' is [-checkWhetherUrlsThatDontExistAreFound, -logWhetherUrlsThatDontExistAreFound, testURLUsingRef-no]
Complete build sequence is [-checkWhetherUrlsThatDontExistAreFound, -logWhetherUrlsThatDontExistAreFound, testURLUsingRef-no, antunit, tearDown, testURL, testURL-no, testURLUsingRef, antunit-base.antunit, antunit-base.tearDown, ]
-checkWhetherUrlsThatDontExistAreFound:
Checking for http://ant.apache.org/foo.html
Result code for http://ant.apache.org/foo.html was 404
-logWhetherUrlsThatDontExistAreFound:
Skipped because property 'cant.trust.urlcheck' not set.
testURLUsingRef-no:
parsing buildfile jar:<https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/../../../build/lib/ant-antunit-1.4alpha.jar!/org/apache/ant/antunit/antlib.xml> with URI = jar:<https://builds.apache.org/job/AntLib-antunit/ws/src/tests/antunit/../../../build/lib/ant-antunit-1.4alpha.jar!/org/apache/ant/antunit/antlib.xml> from a zip file
[macrodef] creating macro antlib:org.apache.ant.antunit:assertTrue
[macrodef] creating macro antlib:org.apache.ant.antunit:assertFalse
[macrodef] creating macro antlib:org.apache.ant.antunit:assertEquals
[macrodef] creating macro antlib:org.apache.ant.antunit:assertPropertySet
Property "@{name" has not been set
[macrodef] creating macro antlib:org.apache.ant.antunit:assertPropertyEquals
Property "@{name" has not been set
[macrodef] creating macro antlib:org.apache.ant.antunit:assertPropertyContains
[macrodef] creating macro antlib:org.apache.ant.antunit:assertFileExists
[macrodef] creating macro antlib:org.apache.ant.antunit:assertFileDoesntExist
[macrodef] creating macro antlib:org.apache.ant.antunit:assertResourceExists
[macrodef] creating macro antlib:org.apache.ant.antunit:assertResourceDoesntExist
Property "@{resource" has not been set
[macrodef] creating macro antlib:org.apache.ant.antunit:assertResourceContains
Property "@{resource" has not been set
[macrodef] creating macro antlib:org.apache.ant.antunit:assertResourceDoesntContain
[macrodef] creating macro antlib:org.apache.ant.antunit:assertNestedResourceExists
[macrodef] creating macro antlib:org.apache.ant.antunit:assertNestedResourceDoesntExist
[macrodef] creating macro antlib:org.apache.ant.antunit:assertRefResourceExists
[macrodef] creating macro antlib:org.apache.ant.antunit:assertRefResourceDoesntExist
[macrodef] creating macro antlib:org.apache.ant.antunit:assertRefResourceContains
[macrodef] creating macro antlib:org.apache.ant.antunit:assertRefResourceDoesntContain
[macrodef] creating macro antlib:org.apache.ant.antunit:assertDestIsUptodate
[macrodef] creating macro antlib:org.apache.ant.antunit:assertDestIsOutofdate
[macrodef] creating macro antlib:org.apache.ant.antunit:assertFilesMatch
[macrodef] creating macro antlib:org.apache.ant.antunit:assertFilesDiffer
[macrodef] creating macro antlib:org.apache.ant.antunit:assertReferenceSet
[macrodef] creating macro antlib:org.apache.ant.antunit:assertReferenceIsType
[macrodef] creating macro antlib:org.apache.ant.antunit:assertLogContains
[macrodef] creating macro antlib:org.apache.ant.antunit:assertLogDoesntContain
[macrodef] creating macro antlib:org.apache.ant.antunit:assertMatches
[macrodef] creating macro antlib:org.apache.ant.antunit:assertDoesntMatch
Checking: http://ant.apache.org/foo.html
BUILD SUCCESSFUL
Total time: 1 second
[AntLib-antunit] $ /home/jenkins/tools/ant/latest/bin/ant -lib build/test-classes -lib build/lib -lib lib/compile -lib lib/test test
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
Publishing Javadoc