You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/08/17 20:06:27 UTC

[jira] [Created] (DERBY-5386) testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master

testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
-------------------------------------------------------------------------------------------------------------

                 Key: DERBY-5386
                 URL: https://issues.apache.org/jira/browse/DERBY-5386
             Project: Derby
          Issue Type: Bug
          Components: Replication, Test
    Affects Versions: 10.9.0.0
         Environment: linux trunk 10.9.0.0 alpha - (1158485)

            Reporter: Kathey Marsden


Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:

1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:16)

FAILURES!!!


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5386) testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097717#comment-13097717 ] 

Dag H. Wanvik commented on DERBY-5386:
--------------------------------------

I just saw this too. JDK 1.7, Solaris 11, sane jars.


> testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5386
>                 URL: https://issues.apache.org/jira/browse/DERBY-5386
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication, Test
>    Affects Versions: 10.9.0.0
>         Environment: linux trunk 10.9.0.0 alpha - (1158485)
>            Reporter: Kathey Marsden
>
> Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:
> 1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> FAILURES!!!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5386) testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-5386:
--------------------------------------

    Urgency: Normal
     Labels: derby_triage10_10  (was: )
    
> testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5386
>                 URL: https://issues.apache.org/jira/browse/DERBY-5386
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication, Test
>    Affects Versions: 10.9.1.0
>         Environment: linux trunk 10.9.0.0 alpha - (1158485)
>            Reporter: Kathey Marsden
>              Labels: derby_triage10_10
>
> Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:
> 1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> FAILURES!!!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5386) testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086845#comment-13086845 ] 

Kristian Waagan commented on DERBY-5386:
----------------------------------------

Here's the relevant code:

            if (PrivilegedFileOpsForTests.exists(masterHome)) {
                BaseJDBCTestCase.assertDirectoryDeleted(masterHome);
            }

What's causing the file to "become deleted" between the existence test and the delete?
Is this part of the test multi-threaded, or is this some kind of VM/filesystem issue?

> testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5386
>                 URL: https://issues.apache.org/jira/browse/DERBY-5386
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication, Test
>    Affects Versions: 10.9.0.0
>         Environment: linux trunk 10.9.0.0 alpha - (1158485)
>            Reporter: Kathey Marsden
>
> Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:
> 1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> FAILURES!!!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5386) testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087096#comment-13087096 ] 

Kathey Marsden commented on DERBY-5386:
---------------------------------------

This was in the nightkly IBM run.  The vm used was:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr9fp1-20110208_03(SR9 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110203_74623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA)
JCL  - 20110203_01
brawny ibm16/bin>

I couldn't find a Jira with a prior report and don't think there was a recent vm update.  I am guessing there is some very small window where this can happen.



> testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5386
>                 URL: https://issues.apache.org/jira/browse/DERBY-5386
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication, Test
>    Affects Versions: 10.9.0.0
>         Environment: linux trunk 10.9.0.0 alpha - (1158485)
>            Reporter: Kathey Marsden
>
> Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:
> 1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 	at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> FAILURES!!!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira