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

Sylvain Lebresne commented on CASSANDRA-10461:
----------------------------------------------

bq.  Looks like you made changes to this test recently

Yes, but those changes are pretty surely not related to that failure since the 
test fails before any of the change made by that recent commit.

>From the test failure, it seems the test doesn't found one of the sstable in 
>the output of {{sstableverify}}. However, I suspect that this may be a test 
>problem. The dtest looks the sstable that
it expects to be verified by checking the data directory. In doing so, it needs 
to excluding any temporary file, since those wouldn't be verified by 
{{sstableverify}}. In pre-3.0, excluding temporary files was as easy as 
grepping {{tmp}} in the filename, but it doesn't work in 3.0 anymore (due to 
CASSANDRA-7066 I believe). The test supposedly account for that by using a 
so-called {{sstablelister}} tool, that is supposed to be in 3.0, but as far as 
I can tell this doesn't exist and I can confirm the test does use the old 
"check for tmp in the filename" path that is bogus for 3.0.

So I think the test first needs to be updated to properly handle {{tmp}} files 
following CASSANDRA-7066 and assigned [~Stefania] since she should know better 
about anything CASSANDRA-7066.

I'll note lastly that the test actually doesn't fail for me locally so I'm only 
conjecturing that the {{tmp}} problem above is the actual problem of the test. 
In any case, there is definitively something fishing about the test trying to 
use a non existing {{sstablelister}} tool.

> Fix sstableverify_test dtest
> ----------------------------
>
>                 Key: CASSANDRA-10461
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10461
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Jim Witschey
>            Assignee: Sylvain Lebresne
>             Fix For: 3.0.0 rc2
>
>
> The dtest for sstableverify is failing:
> http://cassci.datastax.com/view/cassandra-3.0/job/cassandra-3.0_dtest/lastCompletedBuild/testReport/offline_tools_test/TestOfflineTools/sstableverify_test/
> It fails in the same way when I run it on OpenStack, so I don't think it's 
> just a CassCI problem.
> [~slebresne] Looks like you made changes to this test recently:
> https://github.com/riptano/cassandra-dtest/commit/51ab085f21e01cc8e5ad88a277cb4a43abd3f880
> Could you have a look at the failure? I'm assigning you for triage, but feel 
> free to reassign.



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

Reply via email to