Alex Petrov commented on CASSANDRA-15014:

[~jolynch] thank you for review

bq. "MigrationManager.announce" forever (screenshot attached)

I've just tried running tests myself and for me those threads stop, so I'm not 
100% sure what's going on.

bq. Is test-distributed dead code?

It's just a more convenient runner, so that you wouldn't have to create a 
testiest file.

bq. Unused imports in Instance.java


bq. Calling System.runFinalization() is interesting, did you try doing that 
without the method separation and it didn't work?

I did try and it sometimes runs fine but isn't stable on non-high-capacity env. 
I did runs on both environments before pushing. Also your run seems to have 

bq. the only drawback I see is that our stdout will have "[exec]" prepended.

This is great, let's switch to what you propose.

> Unit tests failure on trunk
> ---------------------------
>                 Key: CASSANDRA-15014
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15014
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Dinesh Joshi
>            Assignee: Alex Petrov
>            Priority: Major
>         Attachments: Screen Shot 2019-02-11 at 12.30.19.png, Screen Shot 
> 2019-02-13 at 15.46.28.png, threads_stuck_waiting.png
> Currently org.apache.cassandra.distributed.test.DistributedReadWritePathTest 
> is failing on trunk with the following error -
> {code:java}
> [junit-timeout] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> [junit-timeout] Testsuite: 
> org.apache.cassandra.distributed.test.DistributedReadWritePathTest
> [junit-timeout] Exception in thread "main" java.lang.OutOfMemoryError: 
> Metaspace
> [junit-timeout] Testsuite: 
> org.apache.cassandra.distributed.test.DistributedReadWritePathTest
> [junit-timeout] Testsuite: 
> org.apache.cassandra.distributed.test.DistributedReadWritePathTest Tests run: 
> 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit-timeout] 
> [junit-timeout] Testcase: 
> org.apache.cassandra.distributed.test.DistributedReadWritePathTest:readWithSchemaDisagreement:
>  Caused an ERROR
> [junit-timeout] Forked Java VM exited abnormally. Please note the time in the 
> report does not reflect the time until the VM exit.
> [junit-timeout] junit.framework.AssertionFailedError: Forked Java VM exited 
> abnormally. Please note the time in the report does not reflect the time 
> until the VM exit.
> [junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
> [junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
> [junit-timeout] at java.lang.Thread.run(Thread.java:748)
> [junit-timeout] 
> [junit-timeout] 
> [junit-timeout] Test 
> org.apache.cassandra.distributed.test.DistributedReadWritePathTest FAILED 
> (crashed)
> [junitreport] Processing /tmp/cassandra/build/test/TESTS-TestSuites.xml to 
> /tmp/null1041131060
> [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: 277ms
> [junitreport] Deleting: /tmp/null1041131060{code}
> I have noticed sporadic failures in the 
> org.apache.cassandra.distributed.test.* suite.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to