You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2016/01/19 11:39:39 UTC

[jira] [Commented] (CASSANDRA-10919) sstableutil_test.py:SSTableUtilTest.abortedcompaction_test flapping on 3.0

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

Sylvain Lebresne commented on CASSANDRA-10919:
----------------------------------------------

Btw, the test is not flapping, it's hard failing with the following error:
{noformat}
======================================================================
FAIL: abortedcompaction_test (sstableutil_test.SSTableUtilTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pcmanus/Git/cassandra-dtest/sstableutil_test.py", line 81, in abortedcompaction_test
    finalfiles, tmpfiles = self._check_files(node, KeyspaceName, TableName, finalfiles)
  File "/home/pcmanus/Git/cassandra-dtest/sstableutil_test.py", line 140, in _check_files
    self.assertEqual(expected_oplogs, oplogs)
AssertionError: Lists differ: [] != ['/tmp/dtest-dkELlT/test/node1...

Second list contains 3 additional elements.
First extra element 0:
/tmp/dtest-dkELlT/test/node1/data0/keyspace1/standard1-35624540be9711e59abf0dd672a44a0c/ma_txn_compaction_5cb96060-be97-11e5-9abf-0dd672a44a0c.log

- []
+ ['/tmp/dtest-dkELlT/test/node1/data0/keyspace1/standard1-35624540be9711e59abf0dd672a44a0c/ma_txn_compaction_5cb96060-be97-11e5-9abf-0dd672a44a0c.log',
+  '/tmp/dtest-dkELlT/test/node1/data2/keyspace1/standard1-35624540be9711e59abf0dd672a44a0c/ma_txn_compaction_5cb9ae81-be97-11e5-9abf-0dd672a44a0c.log',
+  '/tmp/dtest-dkELlT/test/node1/data1/keyspace1/standard1-35624540be9711e59abf0dd672a44a0c/ma_txn_compaction_5cb9ae80-be97-11e5-9abf-0dd672a44a0c.log']
-------------------- >> begin captured logging << --------------------
{noformat}
In other words, it gets some transaction log file when the test wasn't expecting some. I doubt this is terribly hard to fix, but I'm not that familiar with the new transaction log file so I'll let [~Stefania] have a look.

> sstableutil_test.py:SSTableUtilTest.abortedcompaction_test flapping on 3.0
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10919
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10919
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Jim Witschey
>            Assignee: Stefania
>              Labels: dtest
>             Fix For: 3.0.x
>
>
> {{sstableutil_test.py:SSTableUtilTest.abortedcompaction_test}} flaps on 3.0:
> http://cassci.datastax.com/job/cassandra-3.0_dtest/438/testReport/junit/sstableutil_test/SSTableUtilTest/abortedcompaction_test/
> It also flaps on the CassCI job running without vnodes:
> http://cassci.datastax.com/job/cassandra-3.0_novnode_dtest/110/testReport/junit/sstableutil_test/SSTableUtilTest/abortedcompaction_test/history/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)