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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2010/11/24 01:11:14 UTC

[jira] Created: (DERBY-4912) Instability in Derby2017LayerBTest

Instability in Derby2017LayerBTest
----------------------------------

                 Key: DERBY-4912
                 URL: https://issues.apache.org/jira/browse/DERBY-4912
             Project: Derby
          Issue Type: Bug
          Components: Test
            Reporter: Dag H. Wanvik


Seen on 10.7 RC1:

testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
    Expected: >5468697320697320726f772031<
    Found:    >5468697320697320726f772036<
	at junit.framework.Assert.fail(Assert.java:47)
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Updated: (DERBY-4912) Instability in Derby2017LayerBTest

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

Kristian Waagan updated DERBY-4912:
-----------------------------------

    Affects Version/s: 10.8.0.0
                       10.7.1.0
                       10.6.2.1
        Fix Version/s: 10.8.0.0

Updated affects versions. This instability is also present in 10.6.

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.2.1, 10.7.1.0, 10.8.0.0
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>             Fix For: 10.8.0.0
>
>         Attachments: derby-4912-1a-unorderedAssert.diff
>
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Commented: (DERBY-4912) Instability in Derby2017LayerBTest

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

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

Running it standalone I saw no error, so it seems to be another result set ordering Heisenbug.

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Updated: (DERBY-4912) Instability in Derby2017LayerBTest

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

Kristian Waagan updated DERBY-4912:
-----------------------------------

    Attachment: derby-4912-1a-unorderedAssert.diff

Attached patch 1a, which makes the result set assert ignore the order of the rows.
Committed to trunk with revision 1038514. Will backport tomorrow.

This is another case where it would have been interesting to understand why Dag is the only one (so far) seeing a different ordering of the result. Labeled as instability, I assume he's not even seeing it consistently.

Dag, did this test ever fail when run standalone, or did you only see the problem when running suites.All?
(the latter may point towards memory related issues affecting the order)

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>         Attachments: derby-4912-1a-unorderedAssert.diff
>
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Commented: (DERBY-4912) Instability in Derby2017LayerBTest

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

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

Kristian, I did not see the error when I ran the test stand-alone. I saw it when running
the tests in parallel using Knut's script, with 6 threads. Thanks for picking this one up! 

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.2.1, 10.7.1.0, 10.8.0.0
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>             Fix For: 10.8.0.0
>
>         Attachments: derby-4912-1a-unorderedAssert.diff
>
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Resolved: (DERBY-4912) Instability in Derby2017LayerBTest

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

Kristian Waagan resolved DERBY-4912.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.7.1.2
                   10.6.2.2

Backported patch 1a to 10.7 with revision 1042685, and to 10.6 with revision 1042686.

I don't expect any more work on this issue.

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.2.1, 10.7.1.1, 10.8.0.0
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>             Fix For: 10.6.2.2, 10.7.1.2, 10.8.0.0
>
>         Attachments: derby-4912-1a-unorderedAssert.diff
>
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Assigned: (DERBY-4912) Instability in Derby2017LayerBTest

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

Kristian Waagan reassigned DERBY-4912:
--------------------------------------

    Assignee: Kristian Waagan

> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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


[jira] Closed: (DERBY-4912) Instability in Derby2017LayerBTest

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

Dag H. Wanvik closed DERBY-4912.
--------------------------------


> Instability in Derby2017LayerBTest
> ----------------------------------
>
>                 Key: DERBY-4912
>                 URL: https://issues.apache.org/jira/browse/DERBY-4912
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.2.1, 10.7.1.1, 10.8.0.0
>            Reporter: Dag H. Wanvik
>            Assignee: Kristian Waagan
>             Fix For: 10.6.2.2, 10.7.1.3, 10.8.0.0
>
>         Attachments: derby-4912-1a-unorderedAssert.diff
>
>
> Seen on 10.7 RC1:
> testFailedStreamInsertBinaryAutoCommitRollbackOnError(org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest) FAILURE:
> junit.framework.AssertionFailedError: Column value mismatch @ column 'B', row 1:
>     Expected: >5468697320697320726f772031<
>     Found:    >5468697320697320726f772036<
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.doInsertTest(Derby2017LayerBTest.java:493)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.Derby2017LayerBTest.testFailedStreamInsertBinaryAutoCommitRollbackOnError(Derby2017LayerBTest.java:315)

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