[
https://issues.apache.org/jira/browse/CASSANDRA-16803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402686#comment-17402686
]
Michael Semb Wever commented on CASSANDRA-16803:
------------------------------------------------
Lambdas in the test classes hold reference to the surrounding class, and this
was failing the test. Because of this, the test class itself is getting loaded
into the different cluster specific classloaders, and via UpgradeBaseTest the
SemVer4j classes couldn't be loaded. Trying to work around this, e.g. by
changing the lambda to a static class, just changed the fault to the static
class not being able to be loaded in the cluster's classloader.
Patch:
[cassandra-in-jvm-dtest-api/thelastpickle:mck/16803|https://github.com/apache/cassandra-in-jvm-dtest-api/compare/trunk...thelastpickle:mck/16803].
This patch works by adding SemVer4j to the default shared packages list, though
this means that the test classes are still pulled through each cluster's
classloader.
in-tree patches and CI:
-
[trunk|https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/16803/trunk]
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/744/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/744/]
- 4.0
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/746/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/746/]
- 3.11
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/747/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/747/]
- 3.0
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/748/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-jvm-dtest-upgrade/748/]
> Trunk (4.1) jvm-dtest-upgrade failing
> MixedModeReadTest.mixedModeReadColumnSubsetDigestCheck
> --------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16803
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16803
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/java
> Reporter: Michael Semb Wever
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.x
>
>
> Caused by CASSANDRA-16649
> Reproducible locally. Oddly enough can be reproduced on cassandra-4.0 branch
> as well, though CI is not failing.
> fyi [~ifesdjeen]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]