You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matthew F. Dennis (JIRA)" <ji...@apache.org> on 2010/04/02 05:02:27 UTC
[jira] Created: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
----------------------------------------------------------------------------------------------------------
Key: CASSANDRA-944
URL: https://issues.apache.org/jira/browse/CASSANDRA-944
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.6
Environment: xubuntu 9.10
Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
Reporter: Matthew F. Dennis
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
{code}
mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
...........E....................................
======================================================================
ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
_assert_column('Keyspace1', column_family, key, 'c1', 'value1')
File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
----------------------------------------------------------------------
Ran 48 tests in 184.700s
FAILED (errors=1)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852904#action_12852904 ]
Gary Dusbabek commented on CASSANDRA-944:
-----------------------------------------
That would work. Maybe something like a assert_within(func, wait) function. If func doesn't return true within wait, then the test fails.
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-944:
---------------------------------------
Attachment: 944.patch
Patch to add a loop as described and use it when CL.ZERO is tested.
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-944:
---------------------------------------
Attachment: (was: 944.patch)
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852791#action_12852791 ]
Gary Dusbabek commented on CASSANDRA-944:
-----------------------------------------
I bet you're running a mac.
If you increase the time.sleep(0.1) to a larger value, the problem will go away. The problem is that the operation being tested is happening at ConsistencyLevel.ZERO and you are feeling the 'eventual' part of 'eventual consistency.'
I wonder if it would be a good idea to make the sleep value a constant and have it set to 0.15 if MacOS is detected.
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854461#action_12854461 ]
Hudson commented on CASSANDRA-944:
----------------------------------
Integrated in Cassandra #400 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/400/])
fix heisenbug in system tests, especially common on OS X. patch by Brandon Williams; reviewed by jbellis for
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Fix For: 0.7
>
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams reassigned CASSANDRA-944:
------------------------------------------
Assignee: Brandon Williams
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-944:
-------------------------------------
Component/s: Tools
Fix Version/s: 0.7
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Fix For: 0.7
>
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-944:
---------------------------------------
Attachment: 944.patch
Patch to add a loop as described and use it in conjunction with CL.ZERO
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852873#action_12852873 ]
Matthew F. Dennis commented on CASSANDRA-944:
---------------------------------------------
Sorry, not on a mac, on Linux (see environment field for details )
I was thinking more like lowering the sleep, but putting it in a loop with a much higher max wait time (like an entire second).
Assuming the test is trying to verify that eventually the correct data shows up (and is not trying to verify the data shows up in under 0.1 seconds), then I believe something similar to the following would address the issue.
wait = 1s
start = now
verified = false
while not (verified = try_to_verify) and now < start+wait:
sleep(0.05)
if not verified:
fail_test
thoughts?
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-944)
system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
appears to be non deterministic
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-944:
---------------------------------------
Comment: was deleted
(was: Patch to add a loop as described and use it when CL.ZERO is tested.)
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-944
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
> Reporter: Matthew F. Dennis
> Assignee: Brandon Williams
> Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic. The first time I ran the thrift tests after a clean checkout it failed. However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
> self.test(*self.arg)
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
> _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
> File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
> raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.