db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4021) 'ant junit-lowmem' fails with ant 1.7.1
Date Wed, 14 Jan 2009 21:08:59 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663885#action_12663885
] 

Rick Hillegas commented on DERBY-4021:
--------------------------------------

Here is my output from

  ant -version

and

  ant -v junit-lowmem

trunk (1.5) > ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
trunk (1.5) > ant -v junit-lowmem
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Detected Java version: 1.5 in: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Detected OS: Mac OS X
parsing buildfile /Users/rh161140/derby/mainline/trunk/build.xml with URI = file:/Users/rh161140/derby/mainline/trunk/build.xml
Project base dir set to: /Users/rh161140/derby/mainline/trunk
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml.
It could not be found.
 [property] Loading /Users/rh161140/ant.properties
Override ignored for property "ant.library.dir"
 [property] Loading /Users/rh161140/derby/mainline/trunk/tools/ant/properties/dirs.properties
Property "jdk" has not been set
Property "sanity" has not been set
 [property] Loading /Users/rh161140/derby/mainline/trunk/tools/ant/properties/sane${sanity}.properties
 [property] Unable to find property file: /Users/rh161140/derby/mainline/trunk/tools/ant/properties/sane${sanity}.properties
 [property] Loading /Users/rh161140/derby/mainline/trunk/java/engine/state.properties
Override ignored for property "javadoc.tool.jdk14"
Property "jdk16" has not been set
Build sequence for target(s) `junit-lowmem' is [checkVMLevel, junit-init, junit-lowmem]
Complete build sequence is [checkVMLevel, junit-init, junit-lowmem, checklocaleinfo, localeinfo,
setInitialProperties, init, setissane, sanitynamesane, sanitynameinsane, setsanityname, junit-all-codeline-jars-set-properties,
junit-system-mini, junit-system-mini-codeline-jars, infowriter, toolsdocs, showenv, getstate,
state, shared, parsers, engine, junit-sysinfo, getsvnversion, prebuild, setCompilerProperties,
initjars, derbywar, include-in-javadoc, buildlocaleinfo, publishedapi-workhorse, ckversioninfo,
writeversioninfo, versioninfo, emma-init, setosgiavailable, setosgiunavailable, checkosgijar,
derbyjarwithosgi, localeinfowriter, junit-core, jdbc3stubs, clean, cleanstate, cleanparsers,
cleanmessages, cleancatalog, cleantoursdb, clobber, snapshotError, snapshot, junit-pptesting,
checkCompilerLevel, jsr169stubs, jdbc4stubs, storeless, tools, drda, client, build, buildsource,
vti-demo, demo, init-javadoc-not-jdk16, init-javadoc-jdk16, init-javadoc-tool, demodocs, cscuptodate,
class_size_catalog, junit-jdbc4, junit-jmx, junit-all, insane, ensuresanitystate.insane, testing-javadoc-16,
testing-javadoc-14, l10ncheck, derbyjar, derbytoolsjar, derbynetjar, derbyclientjar, derbyrunjar,
derbylocalejars, ckderbytesting, derbytestingjar, buildjars, plugin, junit-clean, declare-autoloadable-driver,
make-core-derbyjar-manifest, publishedapi-jdk16-includes, public-jdbc4-api, chkparser, genParser,
testing, pptesting, runmessagecheck, all, publishedapi, derbydocs, grammardocs, testingdocs,
javadoc, gump_all, junit-single, junit-single-codeline-jars, emma-instrumentation, emma-report,
emma-all, filteractivator, testing-javadoc, localejar, evaluate.sane, sane, public-jdbc3-api,
emma-single, printCompilerProperties, ensuresanitystate, cleandocs, ensuresanitystate.sane,
cleanlocale, junit-html, junitreport, exclude-from-javadoc, engine_169_opt, emma-clean, meta-inf-common,
cleanjars, cleanversion, junit-all-codeline-jars, make-locale-classpath-manifest, buildworld,
dojjdocs, derbydocs-not-jdk16-excludes, cibuild, buildjarsclean, derbyjarwithoutosgi, ]

checkVMLevel:

junit-init:
    [mkdir] Created dir: /Users/rh161140/derby/mainline/trunk/junit_20090114_1301/testout
Override ignored for property "derby.junit.timestamp"

junit-lowmem:
    [junit] Implicitly adding /Users/rh161140/derby/mainline/trunk/tools/java/junit.jar:/Users/rhillegas/sw/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/ant/lib/ant.jar:/opt/ant/lib/ant-junit.jar
to CLASSPATH
    [junit] Executing 'java' with arguments:
    [junit] '-Xmx16m'
    [junit] '-classpath'
    [junit] '/Users/rh161140/derby/mainline/trunk/tools/java/junit.jar:/Users/rh161140/derby/mainline/trunk/tools/java/felix.jar:/Users/rh161140/derby/mainline/trunk/tools/java/geronimo-spec-servlet-2.4-rc4.jar:/Users/rh161140/derby/mainline/trunk/tools/java/jakarta-oro-2.0.8.jar:/Users/rh161140/derby/mainline/trunk/tools/java/javacc.jar:/Users/rh161140/derby/mainline/trunk/tools/java/serializer.jar:/Users/rh161140/derby/mainline/trunk/tools/java/xalan.jar:/Users/rh161140/derby/mainline/trunk/tools/java/xercesImpl.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derby.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derby.war:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_cs.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_de_DE.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_es.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_fr.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_hu.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_it.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_ja_JP.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_ko_KR.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_pl.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_pt_BR.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_ru.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_zh_CN.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyLocale_zh_TW.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyTesting.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyclient.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbynet.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbyrun.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/derbytools.jar:/Users/rh161140/derby/mainline/trunk/jars/sane/lists:/Users/rh161140/sw/xalan/xalan-j_2_7_0/serializer.jar:/Users/rh161140/sw/xalan/xalan-j_2_7_0/xalan.jar:/Users/rh161140/sw/xalan/xalan-j_2_7_0/xercesImpl.jar:/Users/rh161140/sw/xalan/xalan-j_2_7_0/xml-apis.jar:/Users/rh161140/sw/xalan/xalan-j_2_7_0/xsltc.jar:/Users/rh161140/sw/db2jcc/lib/db2jcc.jar:/Users/rh161140/sw/db2jcc/lib/db2jcc_license_c.jar:/Users/rh161140/sw/mysql/connectorj/mysql-connector-java-5.0.7/mysql-connector-java-5.0.7-bin.jar:/Users/rhillegas/sw/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/ant/lib/ant.jar:/opt/ant/lib/ant-junit.jar'
    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
    [junit] 'org.apache.derbyTesting.functionTests.tests.memory._Suite'
    [junit] 'filtertrace=true'
    [junit] 'haltOnError=false'
    [junit] 'haltOnFailure=false'
    [junit] 'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter'
    [junit] 'showoutput=true'
    [junit] 'outputtoformatters=true'
    [junit] 'logtestlistenerevents=true'
    [junit] 'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/Users/rh161140/derby/mainline/trunk/junit_20090114_1301/TEST-org.apache.derbyTesting.functionTests.tests.memory._Suite.xml'
    [junit] 'crashfile=/Users/rh161140/derby/mainline/trunk/junit_20090114_1301/junitvmwatcher39656.properties'
    [junit] 'propsfile=/Users/rh161140/derby/mainline/trunk/junit_20090114_1301/junit39657.properties'
    [junit] 
    [junit] The ' characters around the executable and arguments are
    [junit] not part of the command.
    [junit] Running org.apache.derbyTesting.functionTests.tests.memory._Suite
    [junit] junit.framework.TestListener: tests to run: 14
    [junit] junit.framework.TestListener: startTest(testBlobLength)
    [junit] junit.framework.TestListener: endTest(testBlobLength)
    [junit] junit.framework.TestListener: startTest(testBlobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: endTest(testBlobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: startTest(testBlobLengthTooLongDerby961)
    [junit] junit.framework.TestListener: endTest(testBlobLengthTooLongDerby961)
    [junit] junit.framework.TestListener: startTest(testBlobLength)
    [junit] junit.framework.TestListener: endTest(testBlobLength)
    [junit] junit.framework.TestListener: startTest(testBlobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: endTest(testBlobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: startTest(testBlobLengthTooLongDerby961)
    [junit] junit.framework.TestListener: endTest(testBlobLengthTooLongDerby961)
    [junit] junit.framework.TestListener: startTest(testClobLength)
    [junit] junit.framework.TestListener: endTest(testClobLength)
    [junit] junit.framework.TestListener: startTest(testClobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: endTest(testClobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: startTest(testClobLength)
    [junit] junit.framework.TestListener: endTest(testClobLength)
    [junit] junit.framework.TestListener: startTest(testClobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: endTest(testClobLengthWithLengthlessInsert)
    [junit] junit.framework.TestListener: startTest(testSmallMultiByteCharLob)
    [junit] junit.framework.TestListener: endTest(testSmallMultiByteCharLob)
    [junit] junit.framework.TestListener: startTest(testLargeMultiByteCharLob)
    [junit] junit.framework.TestListener: endTest(testLargeMultiByteCharLob)
    [junit] junit.framework.TestListener: startTest(testSmallMultiByteCharLob)
    [junit] junit.framework.TestListener: endTest(testSmallMultiByteCharLob)
    [junit] junit.framework.TestListener: startTest(testLargeMultiByteCharLob)
    [junit] junit.framework.TestListener: endTest(testLargeMultiByteCharLob)
    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 74.939 sec

BUILD SUCCESSFUL
Total time: 1 minute 16 seconds

> 'ant junit-lowmem' fails with ant 1.7.1
> ---------------------------------------
>
>                 Key: DERBY-4021
>                 URL: https://issues.apache.org/jira/browse/DERBY-4021
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.0.0
>         Environment: Apache Ant version 1.7.1 compiled on December 9 2008
>            Reporter: Kristian Waagan
>
> 'ant junit-lowmem' fails with the following error when run with ant 1.7.1:
> <error message="org.apache.derbyTesting.functionTests.tests.memory._Suite" type="java.lang.ClassNotFoundException">java.lang.ClassNotFoundException:
org.apache.derbyTesting.functionTests.tests.memory._Suite
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         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:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
> Running the target with ant 1.6.5 on the same Derby revision works.
> It is not clear of the problem is due to ant only, or ant and changes in the build system
. If the latter, it is most likely a classpath issue, as the class files are indeed built
and included in the jar file.
> Other targets seems to be running fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message