[
https://issues.apache.org/jira/browse/CASSANDRA-20153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907228#comment-17907228
]
David Capwell commented on CASSANDRA-20153:
-------------------------------------------
testImplementedCompatibility and testBackwardCompatibility take a long time for
me locally...
[~jlewandowski] it might be good to move these to their own class? Here are
the timings I see on my M1 laptop
{code}
| eqHashSafe | 2ms |
| testAssumedCompatibility | 2ms |
| unsafeSharedSerializer | 3ms |
| allTypesCovered | 7ms |
| knowThySelf | 54ms |
| empty | 66ms |
| nested | 82ms |
| serdeFromString | 114ms |
| maskedValue | 214ms |
| typeParser | 268ms |
| serde | 353ms |
| cqlTypeSerde | 390ms |
| toStringIsCQLYo | 424ms |
| serdeFromCQLLiteral | 887ms |
| comparableBytes | 1s20ms |
| json | 2s48ms |
| ordering | 2s706ms |
| testMultiCellSupport | 2s977ms |
| testBackwardCompatibility | 22s952ms |
| testImplementedCompatibility | 31s733ms |
{code}
testBackwardCompatibility and testImplementedCompatibility are outliers in this
class
> Flaky Test:
> org.apache.cassandra.db.marshal.AbstractTypeTest:testBackwardCompatibility
> --------------------------------------------------------------------------------------
>
> Key: CASSANDRA-20153
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20153
> Project: Apache Cassandra
> Issue Type: Bug
> Reporter: Michael Semb Wever
> Priority: Normal
> Fix For: 5.0.x, 5.x
>
>
> seen to be flaky with time out failures. Time out failures don't get
> recorded in butler.
> Examples:
> -
> https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-5.0/detail/Cassandra-5.0/342/pipeline/1096/
> see `test-oa jdk11 4/8`, raw logs at
> https://ci-cassandra.apache.org/blue/rest/organizations/jenkins/pipelines/Cassandra-5.0/runs/342/nodes/1096/log/?start=0
>
> -
> https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-5.0/detail/Cassandra-5.0/341/pipeline/1099/
> see `test-system-keyspace-directory jdk17 4/8`, raw log at
> https://ci-cassandra.apache.org/blue/rest/organizations/jenkins/pipelines/Cassandra-5.0/runs/341/nodes/1099/log/?start=0
> {noformat}
> [2024-12-10T02:32:59.267Z] [junit-timeout] Testsuite:
> org.apache.cassandra.db.marshal.AbstractTypeTest-cassandra.testtag_IS_UNDEFINED
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [2024-12-10T02:32:59.267Z] [junit-timeout]
> [2024-12-10T02:32:59.267Z] [junit-timeout] Testcase:
> org.apache.cassandra.db.marshal.AbstractTypeTest:testBackwardCompatibility-cassandra.testtag_IS_UNDEFINED:
> Caused an ERROR
> [2024-12-10T02:32:59.267Z] [junit-timeout] Timeout occurred. Please note the
> time in the report does not reflect the time until the timeout.
> [2024-12-10T02:32:59.267Z] [junit-timeout]
> junit.framework.AssertionFailedError: Timeout occurred. Please note the time
> in the report does not reflect the time until the timeout.
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/java.util.Vector.forEach(Vector.java:1394)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/java.util.Vector.forEach(Vector.java:1394)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/java.util.Vector.forEach(Vector.java:1394)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> org.apache.cassandra.anttasks.TestHelper.execute(TestHelper.java:53)
> [2024-12-10T02:32:59.267Z] [junit-timeout] Test
> org.apache.cassandra.db.marshal.AbstractTypeTest FAILED (timeout)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/java.util.Vector.forEach(Vector.java:1394)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [2024-12-10T02:32:59.267Z] [junit-timeout] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]