Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C157200BC7 for ; Fri, 25 Nov 2016 13:56:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4ADD8160AF6; Fri, 25 Nov 2016 12:56:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9E3CD160B1C for ; Fri, 25 Nov 2016 13:55:59 +0100 (CET) Received: (qmail 9578 invoked by uid 500); 25 Nov 2016 12:55:58 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 9442 invoked by uid 99); 25 Nov 2016 12:55:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 12:55:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 727C02C03E3 for ; Fri, 25 Nov 2016 12:55:58 +0000 (UTC) Date: Fri, 25 Nov 2016 12:55:58 +0000 (UTC) From: "Alex Petrov (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12651) Failure in SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Nov 2016 12:56:00 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695805#comment-15695805 ] Alex Petrov commented on CASSANDRA-12651: ----------------------------------------- Brilliant research, [~beobal]! Sorry I couldn't repro / fix it myself. I guess I just got overly convinced in the fact it was something wrong with tests. The {{DecoratedKey}} jump from 5 to 0 certainly proves the point. I've also read the [CASSANDRA-12590] discussion, so it does look like these both are consequences of the same problem. As far as I understood, the second (empty) constructor was added in order to avoid assertion failure when {{null}} is passed (tried it locally without). I have to mention that segfault results are shadowed by cassci, for example [here|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12651-segfault-testall/1/]. We see that the VM exited abnormally, although all the other tests are just skipped, so this is why we may have never seen segfaults mentioned in [CASSANDRA-12590] (might be for other reasons). I'll open up the issue. +1 from my side. > Failure in SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex > -------------------------------------------------------------------------------- > > Key: CASSANDRA-12651 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12651 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Joel Knighton > Assignee: Sam Tunnicliffe > Labels: test-failure > Fix For: 3.0.x, 3.x > > > This has failed with/without compression. > Stacktrace: > {code} > junit.framework.AssertionFailedError: Got less rows than expected. Expected 2 but got 0 > at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:909) > at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.lambda$testAllowFilteringOnPartitionKeyWithSecondaryIndex$78(SecondaryIndexTest.java:1228) > at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest$$Lambda$293/218688965.apply(Unknown Source) > at org.apache.cassandra.cql3.CQLTester.beforeAndAfterFlush(CQLTester.java:1215) > at org.apache.cassandra.cql3.validation.entities.SecondaryIndexTest.testAllowFilteringOnPartitionKeyWithSecondaryIndex(SecondaryIndexTest.java:1218) > {code} > Examples: > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex_compression/ > http://cassci.datastax.com/job/trunk_testall/1219/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1216/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1208/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1176/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > http://cassci.datastax.com/job/trunk_testall/1175/testReport/org.apache.cassandra.cql3.validation.entities/SecondaryIndexTest/testAllowFilteringOnPartitionKeyWithSecondaryIndex/ > May or may not be related, but there's a test failure (index duplicate): > http://cassci.datastax.com/view/Dev/view/carlyeks/job/carlyeks-ticket-11803-3.X-testall/lastCompletedBuild/testReport/org.apache.cassandra.index.internal/CassandraIndexTest/indexOnFirstClusteringColumn_compression/ > http://cassci.datastax.com/job/ifesdjeen-11803-test-fix-trunk-testall/1/testReport/junit/org.apache.cassandra.index.internal/CassandraIndexTest/indexOnFirstClusteringColumn_compression/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)