db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-7035) File deletion errors when running JUnit tests on Windows 10
Date Wed, 13 Feb 2019 04:27:00 GMT

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

Bryan Pendleton commented on DERBY-7035:
----------------------------------------

Was it just this one test class that had this problem? Or did you have similar problems systemically?

Just eyeballing the files that couldn't be deleted, they seem like the set of files that might
be open by the engine if the database is currently booted.

That is, perhaps the issue is that the database didn't get shutdown, and hence the files couldn't
be deleted because they were still in use (that's a well-known Windows behavior).



> File deletion errors when running JUnit tests on Windows 10
> -----------------------------------------------------------
>
>                 Key: DERBY-7035
>                 URL: https://issues.apache.org/jira/browse/DERBY-7035
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.15.1.3
>            Reporter: Rick Hillegas
>            Priority: Major
>
> I see the following errors when I run the JUnit tests with a module path on Windows 10:
> {noformat}
>      [java] 1) testSSLBasicDSConnect(org.apache.derbyTesting.functionTests.tests.derbynet.SSLTest)junit.framework.AssertionFailedError:
Timed out waiting for network server to start (localhost:1527):Spawned SpawnedNetworkServer
exitCode=1
>      [java] STDOUT:
>      [java] Mon Feb 11 16:23:30 PST 2019 : Security manager installed using the Basic
server security policy.
>      [java] Mon Feb 11 16:23:31 PST 2019 : Apache Derby Network Server - 10.15.1.3 -
(1853019) started and ready to accept SSL connections on port 1527
>      [java] Mon Feb 11 16:23:31 PST 2019 : Apache Derby Network Server - 10.15.1.3 -
(1853019) Enabled Protocols are TLSv1.3, TLSv1.2, TLSv1.1, TLSv1
>      [java]
>      [java] ---------------
>      [java] Stack traces for all live threads:
>      [java] Thread name=derby.rawStoreDaemon id=161 priority=5 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  app/org.apache.derby.engine/org.apache.derby.impl.services.daemon.BasicDaemon.rest(BasicDaemon.java:579)
>      [java]  app/org.apache.derby.engine/org.apache.derby.impl.services.daemon.BasicDaemon.run(BasicDaemon.java:393)
>      [java]  java.base@11.0.1/java.lang.Thread.run(Thread.java:834)
>      [java]
>      [java] Thread name=main id=1 priority=5 state=RUNNABLE isdaemon=false
>      [java]     java.base@11.0.1/java.lang.Thread.dumpThreads(Native Method)
>      [java]  java.base@11.0.1/java.lang.Thread.getAllStackTraces(Thread.java:1657)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.sanity.ThreadDump.getStackDumpString(ThreadDump.java:34)
>      [java]  java.base@11.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>      [java]  java.base@11.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]  java.base@11.0.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.error.ExceptionUtil$1.run(ExceptionUtil.java:170)
>      [java]  java.base@11.0.1/java.security.AccessController.doPrivileged(Native Method)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.error.ExceptionUtil.dumpThreads(ExceptionUtil.java:165)
>      [java]  app/org.apache.derby.tests/org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:285)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:20)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]
>      [java] Thread name=Timer-3 id=149 priority=5 state=WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.Object.wait(Object.java:328)
>      [java]  java.base@11.0.1/java.util.TimerThread.mainLoop(Timer.java:527)
>      [java]  java.base@11.0.1/java.util.TimerThread.run(Timer.java:506)
>      [java]
>      [java] Thread name=Common-Cleaner id=11 priority=8 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
>      [java]  java.base@11.0.1/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
>      [java]  java.base@11.0.1/java.lang.Thread.run(Thread.java:834)
>      [java]  java.base@11.0.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
>      [java]
>      [java] Thread name=Attach Listener id=5 priority=5 state=RUNNABLE isdaemon=true
>      [java]
>      [java] Thread name=Signal Dispatcher id=4 priority=9 state=RUNNABLE isdaemon=true
>      [java]
>      [java] Thread name=Finalizer id=3 priority=8 state=WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
>      [java]  java.base@11.0.1/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
>      [java]
>      [java] Thread name=Reference Handler id=2 priority=10 state=RUNNABLE isdaemon=true
>      [java]  java.base@11.0.1/java.lang.ref.Reference.waitForReferencePendingList(Native
Method)
>      [java]  java.base@11.0.1/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
>      [java]  java.base@11.0.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
>      [java]
>      [java] Thread name=Timer-2 id=90 priority=5 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.util.TimerThread.mainLoop(Timer.java:553)
>      [java]  java.base@11.0.1/java.util.TimerThread.run(Timer.java:506)
>      [java]
>      [java]
>      [java] ---------------
>      [java]
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:285)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:20)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java] 2) testSSLBasicDSPlainConnect(org.apache.derbyTesting.functionTests.tests.derbynet.SSLTest)junit.framework.AssertionFailedError:
Timed out waiting for network server to start (localhost:1527):Spawned SpawnedNetworkServer
exitCode=1
>      [java] STDOUT:
>      [java] Mon Feb 11 16:27:33 PST 2019 : Security manager installed using the Basic
server security policy.
>      [java] Mon Feb 11 16:27:34 PST 2019 : Apache Derby Network Server - 10.15.1.3 -
(1853019) started and ready to accept SSL connections on port 1527
>      [java] Mon Feb 11 16:27:34 PST 2019 : Apache Derby Network Server - 10.15.1.3 -
(1853019) Enabled Protocols are TLSv1.3, TLSv1.2, TLSv1.1, TLSv1
>      [java]
>      [java] ---------------
>      [java] Stack traces for all live threads:
>      [java] Thread name=derby.rawStoreDaemon id=161 priority=5 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  app/org.apache.derby.engine/org.apache.derby.impl.services.daemon.BasicDaemon.rest(BasicDaemon.java:579)
>      [java]  app/org.apache.derby.engine/org.apache.derby.impl.services.daemon.BasicDaemon.run(BasicDaemon.java:393)
>      [java]  java.base@11.0.1/java.lang.Thread.run(Thread.java:834)
>      [java]
>      [java] Thread name=main id=1 priority=5 state=RUNNABLE isdaemon=false
>      [java]     java.base@11.0.1/java.lang.Thread.dumpThreads(Native Method)
>      [java]  java.base@11.0.1/java.lang.Thread.getAllStackTraces(Thread.java:1657)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.sanity.ThreadDump.getStackDumpString(ThreadDump.java:34)
>      [java]  java.base@11.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>      [java]  java.base@11.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]  java.base@11.0.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.error.ExceptionUtil$1.run(ExceptionUtil.java:170)
>      [java]  java.base@11.0.1/java.security.AccessController.doPrivileged(Native Method)
>      [java]  app/org.apache.derby.commons/org.apache.derby.shared.common.error.ExceptionUtil.dumpThreads(ExceptionUtil.java:165)
>      [java]  app/org.apache.derby.tests/org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:285)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:20)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]  app/junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]  app/junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]  app/junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]
>      [java] Thread name=Timer-3 id=149 priority=5 state=WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.Object.wait(Object.java:328)
>      [java]  java.base@11.0.1/java.util.TimerThread.mainLoop(Timer.java:527)
>      [java]  java.base@11.0.1/java.util.TimerThread.run(Timer.java:506)
>      [java]
>      [java] Thread name=Common-Cleaner id=11 priority=8 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
>      [java]  java.base@11.0.1/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
>      [java]  java.base@11.0.1/java.lang.Thread.run(Thread.java:834)
>      [java]  java.base@11.0.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)
>      [java]
>      [java] Thread name=Attach Listener id=5 priority=5 state=RUNNABLE isdaemon=true
>      [java]
>      [java] Thread name=Signal Dispatcher id=4 priority=9 state=RUNNABLE isdaemon=true
>      [java]
>      [java] Thread name=Finalizer id=3 priority=8 state=WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
>      [java]  java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
>      [java]  java.base@11.0.1/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
>      [java]
>      [java] Thread name=Reference Handler id=2 priority=10 state=RUNNABLE isdaemon=true
>      [java]  java.base@11.0.1/java.lang.ref.Reference.waitForReferencePendingList(Native
Method)
>      [java]  java.base@11.0.1/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
>      [java]  java.base@11.0.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)
>      [java]
>      [java] Thread name=Timer-2 id=90 priority=5 state=TIMED_WAITING isdaemon=true
>      [java]     java.base@11.0.1/java.lang.Object.wait(Native Method)
>      [java]  java.base@11.0.1/java.util.TimerThread.mainLoop(Timer.java:553)
>      [java]  java.base@11.0.1/java.util.TimerThread.run(Timer.java:506)
>      [java]
>      [java]
>      [java] ---------------
>      [java]
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:285)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:20)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java] 3) testPingWithWrongHost(org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest)junit.framework.AssertionFailedError:
Could not find expectedString:Unable to find host in output:<STDOUT>Mon Feb 11 16:32:16
PST 2019 : Could not connect to Derby Network Server on host nothere.invalid, port 1527: Connection
timed out: connect
>      [java] <END STDOUT>
>      [java] <STDERR><END STDERR>
>      [java]
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestCase.assertExecJavaCmdAsExpected(BaseTestCase.java:611)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest.assertFailedPing(NetworkServerControlClientCommandTest.java:147)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest.testPingWithWrongHost(NetworkServerControlClientCommandTest.java:112)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:122)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java] 4) testInvalidLDAPServerConnectionError(org.apache.derbyTesting.functionTests.tests.jdbcapi.InvalidLDAPServerAuthenticationTest)junit.framework.AssertionFailedError
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.functionTests.tests.jdbcapi.InvalidLDAPServerAuthenticationTest.testInvalidLDAPServerConnectionError(InvalidLDAPServerAuthenticationTest.java:126)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:122)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java] 5) testInvalidLDAPServerConnectionErrorjunit.framework.AssertionFailedError:
Failed to delete 8 files (root=d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c):
d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\db.lck (isDir=false,
canRead=true, canWrite=true, size=38), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\log\log1.dat
(isDir=false, canRead=true, canWrite=true, size=1048576), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\log
(isDir=true, canRead=true, canWrite=true, size=0), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\seg0\c10.dat
(isDir=false, canRead=true, canWrite=true, size=8192), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\seg0\cc0.dat
(isDir=false, canRead=true, canWrite=true, size=8192), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\seg0\cd1.dat
(isDir=false, canRead=true, canWrite=true, size=8192), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c\seg0
(isDir=true, canRead=true, canWrite=true, size=12288), d:\rick\derby\trunk\junit_20190211_1622\junit-all\system\singleUse\oneuse17c
(isDir=true, canRead=true, canWrite=true, size=0)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestCase.assertDirectoryDeleted(BaseTestCase.java:1205)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:128)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:118)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.DropDatabaseSetup.removeDatabase(DropDatabaseSetup.java:104)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java] 6) test4555ColumnIndexesParsing(org.apache.derbyTesting.functionTests.tests.tools.ImportExportProcedureTest)junit.framework.AssertionFailedError
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.SupportFilesSetup.deleteFile(SupportFilesSetup.java:307)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.SupportFilesSetup.deleteFile(SupportFilesSetup.java:301)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.functionTests.tests.tools.ImportExportProcedureTest.test4555ColumnIndexesParsing(ImportExportProcedureTest.java:1914)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>      [java]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:122)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]     at org.apache.derby.tests/org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
>      [java]     at junit/junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>      [java]     at junit/junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>      [java]     at junit/junit.extensions.TestSetup.run(TestSetup.java:25)
>      [java]
>      [java] FAILURES!!!
>      [java] Tests run: 13986,  Failures: 6,  Errors: 0
>      [java]
>      [java] Java Result: 1
> {noformat}
> Two of the errors are the SSL problems in Java 11 tracked by https://issues.apache.org/jira/browse/DERBY-6998?focusedCommentId=16636065&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16636065.
Two of the errors are ping issues see on my home network, tracked by https://issues.apache.org/jira/browse/DERBY-4762.
> But there are 2 additional errors having to do with deleting directories at test shutdown.
The affected tests are testInvalidLDAPServerConnectionError and test4555ColumnIndexesParsing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message