[ https://issues.apache.org/jira/browse/CASSANDRA-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048991#comment-17048991 ]
Ryan Svihla edited comment on CASSANDRA-15557 at 3/2/20 10:14 AM: ------------------------------------------------------------------ Seems real as I've been able to reproduce a failure in a few environments just running the testsuite in a loop, it varies how frequently it happens. So far it seems the slower the env (fewer cores, less ram, etc) the more likely it happens. Using _while ant test -Dtest.name=AlterTest; do :; done_ {{[junit-timeout] DEBUG [PerDiskMemtableFlushWriter_0:1] 2020-03-02 09:39:35,759 Memtable.java:483 - Completed flushing /home/debian/code/cassandra/build/test/cassandra/data:0/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6/na-194-big-Data.db (0.035KiB) for commitlog position CommitLogPosition(segmentId=1583141964092, position=7807)}} {{[junit-timeout] DEBUG [MemtableFlushWriter:2] 2020-03-02 09:39:35,764 ColumnFamilyStore.java:1144 - Flushed to [BigTableReader(path='/home/debian/code/cassandra/build/test/cassandra/data:0/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6/na-194-big-Data.db')] (1 sstables, 4.830KiB), biggest 4.830KiB, smallest 4.830KiB}} {{[junit-timeout] ------------- ---------------- ---------------}} {{[junit-timeout] Testcase: testDropListAndAddListWithSameName(org.apache.cassandra.cql3.validation.operations.AlterTest): FAILED}} {{[junit-timeout] Invalid value for row 0 column 2 (mycollection of type list<text>), expected <null> but got <[first element]>}} {{[junit-timeout] junit.framework.AssertionFailedError: Invalid value for row 0 column 2 (mycollection of type list<text>), expected <null> but got <[first element]>}} {{[junit-timeout] at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1070)}} {{[junit-timeout] at org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:91)}} {{[junit-timeout] }} {{[junit-timeout] }} {{[junit-timeout] Test org.apache.cassandra.cql3.validation.operations.AlterTest FAILED}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/commitlog:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/data:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/saved_caches:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/hints:0}} {{[junitreport] Processing /home/debian/code/cassandra/build/test/TESTS-TestSuites.xml to /tmp/null291777528}} {{[junitreport] Loading stylesheet jar:[file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl|file:///usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl]}} {{[junitreport] Transform time: 483ms}} {{[junitreport] Deleting: /tmp/null291777528}}{{BUILD FAILED}} {{/home/debian/code/cassandra/build.xml:1930: The following error occurred while executing this line:}} {{/home/debian/code/cassandra/build.xml:1831: Some test(s) failed.}} was (Author: rssvihla): Seems real as I've been able to reproduce a failure in a few environments just running the testsuite in a loop, it varies how frequently it happens. So far it seems the slower the env the more likely it happens. Using _while ant test -Dtest.name=AlterTest; do :; done_ {{[junit-timeout] DEBUG [PerDiskMemtableFlushWriter_0:1] 2020-03-02 09:39:35,759 Memtable.java:483 - Completed flushing /home/debian/code/cassandra/build/test/cassandra/data:0/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6/na-194-big-Data.db (0.035KiB) for commitlog position CommitLogPosition(segmentId=1583141964092, position=7807)}} {{[junit-timeout] DEBUG [MemtableFlushWriter:2] 2020-03-02 09:39:35,764 ColumnFamilyStore.java:1144 - Flushed to [BigTableReader(path='/home/debian/code/cassandra/build/test/cassandra/data:0/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6/na-194-big-Data.db')] (1 sstables, 4.830KiB), biggest 4.830KiB, smallest 4.830KiB}} {{[junit-timeout] ------------- ---------------- ---------------}} {{[junit-timeout] Testcase: testDropListAndAddListWithSameName(org.apache.cassandra.cql3.validation.operations.AlterTest): FAILED}} {{[junit-timeout] Invalid value for row 0 column 2 (mycollection of type list<text>), expected <null> but got <[first element]>}} {{[junit-timeout] junit.framework.AssertionFailedError: Invalid value for row 0 column 2 (mycollection of type list<text>), expected <null> but got <[first element]>}} {{[junit-timeout] at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1070)}} {{[junit-timeout] at org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:91)}} {{[junit-timeout] }} {{[junit-timeout] }} {{[junit-timeout] Test org.apache.cassandra.cql3.validation.operations.AlterTest FAILED}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/commitlog:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/data:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/saved_caches:0}} {{ [delete] Deleting directory /home/debian/code/cassandra/build/test/cassandra/hints:0}} {{[junitreport] Processing /home/debian/code/cassandra/build/test/TESTS-TestSuites.xml to /tmp/null291777528}} {{[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl}} {{[junitreport] Transform time: 483ms}} {{[junitreport] Deleting: /tmp/null291777528}}{{BUILD FAILED}} {{/home/debian/code/cassandra/build.xml:1930: The following error occurred while executing this line:}} {{/home/debian/code/cassandra/build.xml:1831: Some test(s) failed.}} > Fix flaky test org.apache.cassandra.cql3.validation.operations.AlterTest > testDropListAndAddListWithSameName > ----------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-15557 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15557 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: David Capwell > Priority: Normal > Fix For: 4.0-alpha > > > https://app.circleci.com/jobs/github/dcapwell/cassandra/482/tests > {code} > junit.framework.AssertionFailedError: Invalid value for row 0 column 2 > (mycollection of type list<text>), expected <null> but got <[first element]> > at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1070) > at > org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:91) > {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