You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Antoine Levy-Lambert <an...@gmx.de> on 2005/10/25 20:28:00 UTC
AntlibTest failing : Re: [GUMP@vmgump]: Project test-ant (in module
ant) failed
Hello,
this is the output of AntlibTest in our gump runs.
I wonder whether anyone has an idea of what is going on there.
These tests pass for me on Win2K/cygwin/JDK 1.5.
Cheers,
Antoine
extract from :
http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
[junit] Tests run: 6, Failures: 0, Errors: 3, Time elapsed: 0.259 sec
[junit] ------------- Standard Output ---------------
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] )
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] )
[junit] ------------- ---------------- ---------------
[junit] Testcase: testAntlib_uri(org.apache.tools.ant.taskdefs.AntlibTest): Caused an ERROR
[junit] Could not load definitions from resource org/example/tasks/antlib.xml. It could not be found.
[junit] /x1/gump/public/workspace/ant/src/etc/testcases/taskdefs/antlib.xml:41: Could not load definitions from resource org/example/tasks/antlib.xml. It could not be found.
[junit] at org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.java:367)
[junit] at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:249)
[junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[junit] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
[junit] at org.apache.tools.ant.Task.perform(Task.java:365)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:254)
[junit] at org.apache.tools.ant.taskdefs.AntlibTest.testAntlib_uri(AntlibTest.java:64)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:328)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1102)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:698)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1498)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:652)
[junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
[junit] at org.apache.tools.ant.Task.perform(Task.java:365)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1092)
[junit] at org.apache.tools.ant.Main.runBuild(Main.java:676)
[junit] at org.apache.tools.ant.Main.startAnt(Main.java:195)
[junit] at org.apache.tools.ant.Main.start(Main.java:158)
[junit] at org.apache.tools.ant.Main.main(Main.java:236)
[junit] Testcase: testAntlib_uri_auto(org.apache.tools.ant.taskdefs.AntlibTest): Caused an ERROR
[junit] Problem: failed to create task or type antlib:org.example.tasks:simple
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] /x1/gump/public/workspace/ant/src/etc/testcases/taskdefs/antlib.xml:45: Problem: failed to create task or type antlib:org.example.tasks:simple
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:467)
[junit] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:402)
[junit] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
[junit] at org.apache.tools.ant.Task.perform(Task.java:364)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:254)
[junit] at org.apache.tools.ant.taskdefs.AntlibTest.testAntlib_uri_auto(AntlibTest.java:70)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
Continuation...
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:328)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1102)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:698)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1498)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:652)
[junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
[junit] at org.apache.tools.ant.Task.perform(Task.java:365)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1092)
[junit] at org.apache.tools.ant.Main.runBuild(Main.java:676)
[junit] at org.apache.tools.ant.Main.startAnt(Main.java:195)
[junit] at org.apache.tools.ant.Main.start(Main.java:158)
[junit] at org.apache.tools.ant.Main.main(Main.java:236)
[junit] Testcase: testAntlib_uri_auto2(org.apache.tools.ant.taskdefs.AntlibTest): Caused an ERROR
[junit] Problem: failed to create task or type antlib://org/example/tasks/antlib2.xml:simple
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] /x1/gump/public/workspace/ant/src/etc/testcases/taskdefs/antlib.xml:51: Problem: failed to create task or type antlib://org/example/tasks/antlib2.xml:simple
[junit] Cause: The name is undefined.
[junit] Action: Check the spelling.
[junit] Action: Check that any custom tasks/types have been declared.
[junit] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[junit] This appears to be an antlib declaration.
[junit] Action: Check that the implementing library exists in ANT_HOME/lib or in
[junit] /home/gump/.ant/lib
[junit] at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:467)
[junit] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:402)
[junit] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
[junit] at org.apache.tools.ant.Task.perform(Task.java:364)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:254)
[junit] at org.apache.tools.ant.taskdefs.AntlibTest.testAntlib_uri_auto2(AntlibTest.java:76)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:328)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1102)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:698)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1498)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:652)
[junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
[junit] at org.apache.tools.ant.Task.perform(Task.java:365)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1240)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1209)
[junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1092)
[junit] at org.apache.tools.ant.Main.runBuild(Main.java:676)
[junit] at org.apache.tools.ant.Main.startAnt(Main.java:195)
[junit] at org.apache.tools.ant.Main.start(Main.java:158)
[junit] at org.apache.tools.ant.Main.main(Main.java:236)
[junit] Test org.apache.tools.ant.taskdefs.AntlibTest FAILED
Gump Integration Build wrote:
>To whom it may engage...
>
>This is an automated request, but not an unsolicited one. For
>more information please visit http://gump.apache.org/nagged.html,
>and/or contact the folk at general@gump.apache.org.
>
>Project test-ant has an issue affecting its community integration.
>This issue affects 1 projects.
>The current state of this project is 'Failed', with reason 'Build Failed'.
>For reference only, the following projects are affected by this:
> - test-ant : Java based build tool
>
>
>Full details are available at:
> http://vmgump.apache.org/gump/public/ant/test-ant/index.html
>
>That said, some information snippets are provided here.
>
>The following annotations (debug/informational/warning/error messages) were provided:
> -INFO- Failed with reason build failed
>
>
>
>The following work was performed:
>http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
>Work Name: build_ant_test-ant (Type: Build)
>Work ended in a state of : Failed
>Elapsed: 9 mins 22 secs
>Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtest.haltonfailure=false -Dant.home=/usr/local/gump/public/workspace/ant/dist run-tests
>[Working Directory: /usr/local/gump/public/workspace/ant]
>CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/build/testcases:/usr/local/gump/public/workspace/ant/src/testcases:/usr/local/gump/public/workspace/ant/src/etc/testcases:/usr/local/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-javamail.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jsch.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-antlr.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-logging.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/usr/local/gump/public/workspace/ant/build/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jai.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-24102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-24102005.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-24102005.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar:/usr/local/gump/public/workspace/jakarta-bcel/bin/bcel.jar:/usr/local/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-24102005.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-24102005.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-24102005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/javamail-1.3.2/mail.jar:/usr/local/gump/packages/javamail-1.3.2/lib/mailapi.jar:/usr/local/gump/packages/jdepend-2.6/lib/jdepend.jar:/usr/local/gump/packages/jsch-0.1.18/dist/lib/jsch-gump.jar:/usr/local/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/usr/local/gump/public/workspace/xml-commons/java/build/which.jar:/usr/local/gump/public/workspace/rhino/build/rhino_24102005/js.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-classpath-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-commands-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-util-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-bsf-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-core-24102005.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-reflect-24102005.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-24102005.jar
>---------------------------------------------
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: AntlibTest failing : Re: [GUMP@vmgump]: Project test-ant (in
module ant) failed
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 25 Oct 2005, Antoine Levy-Lambert <an...@gmx.de> wrote:
> Hello,
>
> this is the output of AntlibTest in our gump runs.
> I wonder whether anyone has an idea of what is going on there.
> These tests pass for me on Win2K/cygwin/JDK 1.5.
But fail if you fork them, correct?
They don't do anything in non-forked mode. Ant fails to find
the antlib descriptor used in the tests (and so do I).
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org