[
https://issues.apache.org/jira/browse/CASSANDRA-15508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025312#comment-17025312
]
David Capwell commented on CASSANDRA-15508:
-------------------------------------------
Link to the j8 higher jvm upgrade test
https://app.circleci.com/jobs/github/krummas/cassandra/2847
{code}
No timing found for
"/home/cassandra/cassandra/test/distributed/org/apache/cassandra/io/sstable/format/ForwardingSSTableReader.java"
{code}
This is common given the flow of the finding (list all files, sort by timing,
filter; since the filter is after the sort by timing we see this a lot, it
shouldn't impact a normal run).
I believe that the failure is this line
{code}
set -eo pipefail && cat /tmp/java_tests_${CIRCLE_NODE_INDEX}.txt | sed
"s;^/home/cassandra/cassandra/test/distributed/;;g" | grep "Test\.java$" | grep
upgrade > /tmp/java_tests_${CIRCLE_NODE_INDEX}_final.txt
{code}
The reason for this is that the next line is an echo which isn't in the logs
and the line before it is what logs the no timing message. This is weird to me
since if I apply that line to the output in the logs I get
{code}
org/apache/cassandra/distributed/upgrade/MixedModeReadRepairTest.java
org/apache/cassandra/distributed/upgrade/UpgradeTest.java
{code}
Ill try to dig into this.
> Failing jvm dtest: FailingRepairTest.testFailingMessage
> -------------------------------------------------------
>
> Key: CASSANDRA-15508
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15508
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Marcus Eriksson
> Assignee: David Capwell
> Priority: Normal
> Labels: pull-request-available
> Attachments: Screen Shot 2020-01-17 at 4.51.17 PM.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> It seems we can't run parameterized unit tests with {{ant testsome}}:
> {code}
> $ ant testsome
> -Dtest.name=org.apache.cassandra.distributed.test.FailingRepairTest
> -Dtest.methods=testFailingMessage
> ....
> [junit-timeout] Testcase:
> initializationError(org.junit.runner.manipulation.Filter): Caused an ERROR
> [junit-timeout] No tests found matching Method
> testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
> from org.junit.internal.requests.ClassRequest@4d95d2a2
> [junit-timeout] java.lang.Exception: No tests found matching Method
> testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
> from org.junit.internal.requests.ClassRequest@4d95d2a2
> [junit-timeout] at
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]