ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15997] New: - FAILED: LoaderRefTest
Date Sat, 11 Jan 2003 23:19:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15997>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15997

FAILED: LoaderRefTest

           Summary: FAILED: LoaderRefTest
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build Process
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: gus.heck@olin.edu


Downloaded a completely fresh checkout of the 1.6 CVS HEAD with:

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-ant

It built ok, but I always run the tests to make sure I am working with a usable
checkout. ... here is what I got when I ran the tests:


jakarta-ant]# JAVA_HOME=/usr/java/j2sdk1.4.1_01/ ./build.sh test
Buildfile: build.xml

check_for_optional_packages:

xml-check:
#---- BEGIN writeEnvironmentReport($Revision: 1.7 $): Useful properties found: ----
java.version=1.4.1_01
version.JAXP=1.1
java.ext.dirs=/usr/java/j2sdk1.4.1_01/jre/lib/ext
version.crimson=not-present
version.SAX=2.0
java.class.path=bootstrap/lib/optional.jar:bootstrap/lib/nodeps.jar:bootstrap/lib/ant-xslp.jar:bootstrap/lib/ant-xalan2.jar:bootstrap/lib/ant-xalan1.jar:bootstrap/lib/ant-weblogic.jar:bootstrap/lib/ant-vaj.jar:bootstrap/lib/ant-trax.jar:bootstrap/lib/ant-swing.jar:bootstrap/lib/ant-stylebook.jar:bootstrap/lib/ant-starteam.jar:bootstrap/lib/ant-oro.jar:bootstrap/lib/ant-netrexx.jar:bootstrap/lib/ant-netcomp.jar:bootstrap/lib/ant-log4j.jar:bootstrap/lib/ant-junit.jar:bootstrap/lib/ant-jmf.jar:bootstrap/lib/ant-jdepend.jar:bootstrap/lib/ant-javamail.jar:bootstrap/lib/ant.jar:bootstrap/lib/ant-jakarta-regexp.jar:bootstrap/lib/ant-jai.jar:bootstrap/lib/ant-icontract.jar:bootstrap/lib/ant-commons-logging.jar:bootstrap/lib/ant-bcel.jar:bootstrap/lib/ant-apache-resolver.jar:bootstrap/lib/ant-apache-bsf.jar:bootstrap/lib/ant-antlr.jar:lib/xercesImpl.jar:lib/xml-apis.jar:bootstrap/lib/ant.jar:lib/optional/junit.jar::/usr/java/j2sdk1.4.1_01//lib/tools.jar
version.xerces=not-present
sun.boot.class.path=/usr/java/j2sdk1.4.1_01/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_01/jre/lib/i18n.jar:/usr/java/j2sdk1.4.1_01/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.1_01/jre/lib/jsse.jar:/usr/java/j2sdk1.4.1_01/jre/lib/jce.jar:/usr/java/j2sdk1.4.1_01/jre/lib/charsets.jar:/usr/java/j2sdk1.4.1_01/jre/classes
version.DOM.draftlevel=2.0fd
version.xalan2=Xalan;Java;Xalan Java 2.2.D11;
version.DOM=2.0
version.xalan1=not-present
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.

dump-sys-properties:
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.4.1_01-b01
os.arch=i386
os.name=Linux
os.version=2.4.18-18.8.0
file.encoding=UTF-8
user.language=en

run-which:

dump-info:

prepare:

build:
Copying 2 files to /usr/local/jakarta-ant/build/classes

compile-tests:
Created dir: /usr/local/jakarta-ant/build/testcases
Compiling 159 source files to /usr/local/jakarta-ant/build/testcases
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

probe-offline:

run-tests:
Testsuite: org.apache.tools.ant.filters.LineContainsTest
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.132 sec

Testsuite: org.apache.tools.ant.AntClassLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.06 sec

Testsuite: org.apache.tools.ant.CaseTest
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.088 sec

Testsuite: org.apache.tools.ant.DirectoryScannerTest
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.597 sec

Testsuite: org.apache.tools.ant.ImmutableTest
Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.272 sec

Testsuite: org.apache.tools.ant.IncludeTest
Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.33 sec

Testsuite: org.apache.tools.ant.IntrospectionHelperTest
Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.037 sec

Testsuite: org.apache.tools.ant.LoaderRefTest
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.255 sec

Testcase: testBadRef(org.apache.tools.ant.LoaderRefTest):       FAILED
Should throw BuildException because 'Should fail due to ref not being a class
loader' with message containing 'does not reference a class loader' (actual
message 'Compile failed; see the compiler error output for details.' instead)
junit.framework.AssertionFailedError: Should throw BuildException because
'Should fail due to ref not being a class loader' with message containing 'does
not reference a class loader' (actual message 'Compile failed; see the compiler
error output for details.' instead)
        at junit.framework.Assert.fail(Assert.java:47)
        at
org.apache.tools.ant.BuildFileTest.expectBuildExceptionContaining(BuildFileTest.java:316)
        at org.apache.tools.ant.LoaderRefTest.testBadRef(LoaderRefTest.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:323)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:809)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:552)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:528)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:185)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1244)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1188)
        at org.apache.tools.ant.Main.runBuild(Main.java:612)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)



BUILD FAILED
file:///usr/local/jakarta-ant/build.xml:1469: Test
org.apache.tools.ant.LoaderRefTest failed

Total time: 11 seconds

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message