[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17062890#comment-17062890 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Thank you [~gianluca] Indeed, it solves this one too. I will close the ticket as soon as the other two are committed. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17053099#comment-17053099 ] Gianluca Righetto commented on CASSANDRA-15527: --- [~e.dimitrova] I believe this has the same root cause as CASSANDRA-15528. I just submitted a patch for that and added some reproduction steps, you may want to see if that applies here too. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17034036#comment-17034036 ] David Capwell commented on CASSANDRA-15527: --- bq. I am gonna put this one for now as blocked by the other one until we come up with solution there. +1 > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033975#comment-17033975 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - [~dcapwell] As it looks like this one is dependent on CASSANDRA-15526 (You reproduce it in case the other one fails and for me only the other one fails, only on Ubuntu VM so ), I am gonna put this one for now as blocked by the other one until we come up with solution there. Then we can check whether our assumption for dependency is valid. About CASSANDRA-15526, I didn't find any other issue than the one mentioned already by [~jrwest] As per the Java doc: "Beware that, unlike in most collections, the {{size}} method is _not_ a constant-time operation. Because of the asynchronous nature of these sets, determining the current number of elements requires a traversal of the elements, and so may report inaccurate results if this collection is modified during traversal." Probably we will need to find a more reliable test. TBD > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17032608#comment-17032608 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - No, definitely not, I heard such issues happen a lot, unfortunately. Now the thing is that only that one I can reproduce, the other two not. So I guess your theory might prove correct and it is good to first start from our main contributor of troubles - testConcurrentMemtableReadsAndWrites > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17032561#comment-17032561 ] David Capwell commented on CASSANDRA-15527: --- YES! IM NOT CRAZY! =D > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17032524#comment-17032524 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Last update: Running testConcurrentMemtableReadsAndWrites on ubuntu VM reproduced the failure immediately... > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031708#comment-17031708 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Weird, I ran it for three hours, the same command he shared. This is around 180*3 runs, if we consider every run 20 seconds. No failures. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031694#comment-17031694 ] Jordan West commented on CASSANDRA-15527: - [~e.dimitrova] it took me 40-50 runs to reproduce -- running the command [~dcapwell] shared above. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031638#comment-17031638 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - No, no failures, everything works like a charm! I am gonna check what he said, this got me really curious what is going on here... > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031155#comment-17031155 ] David Capwell commented on CASSANDRA-15527: --- So you don't see any test fail I take it? [~jrwest] is looking at the other ticket and just reported he was able to reproduce https://issues.apache.org/jira/browse/CASSANDRA-15526?focusedCommentId=1703=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1703 Fun... > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031148#comment-17031148 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - I left it running in the background , just checked again. still no failures after three hours running. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031088#comment-17031088 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Pretty weird, I run it already 40-50 minutes the same way as you 1:1 and there are still no failures One run takes around 20 seconds so this means around 150 successful runs of all the tests in the class > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031057#comment-17031057 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Good point, I was running just the single test locally on my Mac. Thanks > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031027#comment-17031027 ] David Capwell commented on CASSANDRA-15527: --- Linked the 2 other JIRAs for this class. Looking at the history all 3 fail together but out of a hand full of runs on my laptop only testConcurrentMemtableReadsAndWrites failed; it may be possible that testConcurrentMemtableReadsAndWrites is flaky and corrupts the other two some times? > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031019#comment-17031019 ] David Capwell commented on CASSANDRA-15527: --- do you run the single test or the whole class? Best way to simulate CI is as follows {code} CASSANDRA_USE_JDK11=true ant testclasslist -Dtest.classlistfile=<(echo org/apache/cassandra/index/sasi/SASIIndexTest.java) -Dtest.classlistprefix=unit {code} I ran the following and got a failure locally on my Mac (different test case, same class) {code} $ while true; do CASSANDRA_USE_JDK11=true ant testclasslist -Dtest.classlistfile=<(echo org/apache/cassandra/index/sasi/SASIIndexTest.java) -Dtest.classlistprefix=unit; done; ... [junit-timeout] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest [junit-timeout] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest Tests run: 32, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.27 sec [junit-timeout] [junit-timeout] Testcase: testConcurrentMemtableReadsAndWrites(org.apache.cassandra.index.sasi.SASIIndexTest): FAILED [junit-timeout] null [junit-timeout] junit.framework.AssertionFailedError [junit-timeout] at org.apache.cassandra.index.sasi.utils.RangeIterator.(RangeIterator.java:46) [junit-timeout] at org.apache.cassandra.index.sasi.memory.KeyRangeIterator.(KeyRangeIterator.java:42) [junit-timeout] at org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentTrie.search(TrieMemIndex.java:150) [junit-timeout] at org.apache.cassandra.index.sasi.memory.TrieMemIndex.search(TrieMemIndex.java:102) [junit-timeout] at org.apache.cassandra.index.sasi.memory.IndexMemtable.search(IndexMemtable.java:70) [junit-timeout] at org.apache.cassandra.index.sasi.conf.ColumnIndex.searchMemtable(ColumnIndex.java:138) [junit-timeout] at org.apache.cassandra.index.sasi.TermIterator.build(TermIterator.java:91) [junit-timeout] at org.apache.cassandra.index.sasi.plan.QueryController.getIndexes(QueryController.java:145) [junit-timeout] at org.apache.cassandra.index.sasi.plan.Operation$Builder.complete(Operation.java:434) [junit-timeout] at org.apache.cassandra.index.sasi.plan.QueryPlan.analyze(QueryPlan.java:57) [junit-timeout] at org.apache.cassandra.index.sasi.plan.QueryPlan.execute(QueryPlan.java:68) [junit-timeout] at org.apache.cassandra.index.sasi.SASIIndex.lambda$searcherFor$2(SASIIndex.java:301) [junit-timeout] at org.apache.cassandra.db.ReadCommand.executeLocally(ReadCommand.java:455) [junit-timeout] at org.apache.cassandra.index.sasi.SASIIndexTest.getIndexed(SASIIndexTest.java:2576) [junit-timeout] at org.apache.cassandra.index.sasi.SASIIndexTest.getPaged(SASIIndexTest.java:2537) [junit-timeout] at org.apache.cassandra.index.sasi.SASIIndexTest.testConcurrentMemtableReadsAndWrites(SASIIndexTest.java:1108) [junit-timeout] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit-timeout] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit-timeout] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit-timeout] [junit-timeout] [junit-timeout] Test org.apache.cassandra.index.sasi.SASIIndexTest FAILED {code} May be possible that one test is flaky and corrupts the other tests > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > Attachments: CASSANDRA-15527.txt > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031011#comment-17031011 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - 100 times it passed successfully so I am not really able to reproduce the issue easily and go through everything with the debugger... Attaching the log. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17030127#comment-17030127 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Alright, thanks for checking. I will work on this probably tomorrow morning. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17030124#comment-17030124 ] David Capwell commented on CASSANDRA-15527: --- I have yet to see it fail on java 8; all failures were java 11. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17030121#comment-17030121 ] David Capwell commented on CASSANDRA-15527: --- The tests run against 8 and 11 and the first failure I saw was 11; ill double check to see if I can find it failing on java 8 > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17030097#comment-17030097 ] Ekaterina Dimitrova commented on CASSANDRA-15527: - Hi [~dcapwell], Just to confirm, this was tested only with 11 or it is not an issue with 8? My experience is primarily with v8 but I can give it a try. > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15527) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testCrossSSTableQueries
[ https://issues.apache.org/jira/browse/CASSANDRA-15527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17023337#comment-17023337 ] David Capwell commented on CASSANDRA-15527: --- The failure was seen on java 11 > Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest > testCrossSSTableQueries > --- > > Key: CASSANDRA-15527 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15527 > Project: Cassandra > Issue Type: Bug > Components: Test/unit >Reporter: David Capwell >Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError: [key13, key2977, key2978, key2979, > key2980, key2982, key2983, key2984, key2985, key6] > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:340) > at > org.apache.cassandra.index.sasi.SASIIndexTest.testCrossSSTableQueries(SASIIndexTest.java:286) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org