[
https://issues.apache.org/jira/browse/CASSANDRA-21150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057255#comment-18057255
]
Arvind Kandpal commented on CASSANDRA-21150:
--------------------------------------------
Update: I verified the fix locally using {*}_./.build/run-tests.sh -t
VerifyTest -a test-compression_{*}, and the build passed successfully.
I definitely learned a lot from this ticket—especially regarding how
{{build.xml}} configurations differ from manual local runs. I will make sure to
use the CI scripts for reproduction in the future to avoid such false positives.
I have updated the PR to apply the fix suggested by Sam (gating the data-file
read) and reverted the LZ4 changes.
Thanks [~samueldlightfoot] and [~dnk] for the guidance on this one!
{code:java}
./.build/run-tests.sh -t VerifyTest -a test-compression
Apache Ant(TM) version 1.10.14 compiled on September 25 2023
git version 2.43.0
openjdk version "17.0.18" 2026-01-20
OpenJDK Runtime Environment (build 17.0.18+8-Ubuntu-124.04.1)
OpenJDK 64-Bit Server VM (build 17.0.18+8-Ubuntu-124.04.1, mixed mode, sharing)
javac 17.0.18
Non default JDK version used: 17
Note:
/mnt/backup_hdd/cassandra-github-code/cassandra/modules/accord/accord-core/src/main/java/accord/utils/async/AsyncChains.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Non default JDK version used: 17
git.is-available=true
Repository state is dirty
.../org/apache/cassandra/io/sstable/format/big/BigTableVerifier.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
git.worktree.name=cassandra
git.branch.name=CASSANDRA-21150-lz4-fix
Running tests: VerifyTest (1 times)
Buildfile: /mnt/backup_hdd/cassandra-github-code/cassandra/build.xml
[echo] Non default JDK version used: 17
maybe-build-test:
testclasslist-compression:
[mkdir] Created dir:
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra
[mkdir] Created dir:
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/output/test-compression
[mkdir] Created dir:
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/output/test-compression/compression
[junit-timeout] Testsuite:
org.apache.cassandra.io.sstable.VerifyTest-compression_jdk17
[junit-timeout] WARNING: A terminally deprecated method in java.lang.System has
been called
[junit-timeout] WARNING: System::setSecurityManager has been called by
org.apache.cassandra.security.ThreadAwareSecurityManager
(file:/mnt/backup_hdd/cassandra-github-code/cassandra/build/apache-cassandra-5.1-SNAPSHOT.jar)
[junit-timeout] WARNING: Please consider reporting this to the maintainers of
org.apache.cassandra.security.ThreadAwareSecurityManager
[junit-timeout] WARNING: System::setSecurityManager will be removed in a future
release
[junit-timeout] Testsuite:
org.apache.cassandra.io.sstable.VerifyTest-compression_jdk17 Tests run: 26,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.65 sec
[junit-timeout]
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/commitlog
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/data
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/saved_caches
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/hints
[junit-timeout] Testsuite:
org.apache.cassandra.tools.nodetool.VerifyTest-compression_jdk17
[junit-timeout] WARNING: A terminally deprecated method in java.lang.System has
been called
[junit-timeout] WARNING: System::setSecurityManager has been called by
org.apache.cassandra.security.ThreadAwareSecurityManager
(file:/mnt/backup_hdd/cassandra-github-code/cassandra/build/apache-cassandra-5.1-SNAPSHOT.jar)
[junit-timeout] WARNING: Please consider reporting this to the maintainers of
org.apache.cassandra.security.ThreadAwareSecurityManager
[junit-timeout] WARNING: System::setSecurityManager will be removed in a future
release
[junit-timeout] Testsuite:
org.apache.cassandra.tools.nodetool.VerifyTest-compression_jdk17 Tests run: 6,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.271 sec
[junit-timeout]
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/commitlog
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/data
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/saved_caches
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/hints
BUILD SUCCESSFUL
Total time: 1 minute 30 seconds
Non default JDK version used: 17
Generating Test Summary for test files found under
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/output
[Test Summary] Run: 32, Failed: 0, Errors: 0, Skipped: 0{code}
> Test failure:
> org.apache.cassandra.io.sstable.VerifyTest.testVerifyCorruptRowCorrectDigest
> ------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21150
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21150
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Local/SSTable
> Reporter: Dmitry Konstantinov
> Assignee: Arvind Kandpal
> Priority: Normal
> Attachments: image-2026-01-31-16-46-01-322.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [butler link
> |https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/org.apac[…]o.sstable/VerifyTest/testVerifyCorruptRowCorrectDigest]
> this test looks like has an explicit breaking point + it fails only for
> compression config profile +
> https://ci-cassandra.apache.org/job/Cassandra-trunk/2367/
> so an issue could be between
> https://github.com/apache/cassandra/commit/ec3b425c38d92d20d77d3a87c782ed9c072e1cd9
> (exclusive) and
> https://github.com/apache/cassandra/commit/3c69bd23673caa40b22f3500a3e3eecabc25c8e5
> commits
> !image-2026-01-31-16-46-01-322.png|width=600!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]