[ 
https://issues.apache.org/jira/browse/CASSANDRA-21151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21151:
--------------------------------------------
    Test and Documentation Plan: the existing test is fixed
                         Status: Patch Available  (was: Open)

> Test failure: CompactionHistorySystemTableUpgradeTest
> -----------------------------------------------------
>
>                 Key: CASSANDRA-21151
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21151
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Dmitry Konstantinov
>            Assignee: Arvind Kandpal
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: image-2026-02-01-12-42-23-098.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://ci-cassandra.apache.org/job/Cassandra-trunk/2386/testReport/org.apache.cassandra.distributed.upgrade/CompactionHistorySystemTableUpgradeTest/Tests___jvm_dtest_upgrade_jdk11_5_6___compactionHistorySystemTableTest__jdk11_x86_64/
> {code}
> junit.framework.AssertionFailedError: Error in test '4.0.20 -> [5.1]' while 
> upgrading to '5.1'; successful upgrades []
>       at 
> org.apache.cassandra.distributed.upgrade.UpgradeTestBase$TestCase.run(UpgradeTestBase.java:409)
>       at 
> org.apache.cassandra.distributed.upgrade.CompactionHistorySystemTableUpgradeTest.compactionHistorySystemTableTest(CompactionHistorySystemTableUpgradeTest.java:81)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Caused by: java.lang.AssertionError: Output did not contain expected data.
> Expected KS: distributed_test_keyspace
> Table: tb
> Type: UNKNOWN
> Props: {}
> Actual Output:
> Compaction History: 
> id                                   keyspace_name             
> columnfamily_name compacted_at            bytes_in bytes_out rows_merged     
> compaction_properties                                              
> a79fd5d0-fb79-11f0-a581-f3857ed41698 system_schema             tables         
>    2026-01-27T12:13:57.050 8638     3938      {1:1, 2:3, 3:3} 
> {compaction_type:Compaction, strategy:SizeTieredCompactionStrategy}
> a79db2f0-fb79-11f0-a581-f3857ed41698 system_schema             keyspaces      
>    2026-01-27T12:13:57.036 1088     389       {1:1, 2:2, 3:4} 
> {compaction_type:Compaction, strategy:SizeTieredCompactionStrategy}
> a797bf80-fb79-11f0-a581-f3857ed41698 system_schema             columns        
>    2026-01-27T12:13:57.022 16304    7864      {1:1, 2:3, 3:3} 
> {compaction_type:Compaction, strategy:SizeTieredCompactionStrategy}
> a7871db0-fb79-11f0-a581-f3857ed41698 system                    local          
>    2026-01-27T12:13:56.964 707      243       {5:1}           
> {compaction_type:Compaction, strategy:SizeTieredCompactionStrategy}
> a2a45a60-fb79-11f0-bc43-27c0cf5b45a9 distributed_test_keyspace tb             
>    2026-01-27T12:13:48.678 88       68        {1:2}           {}              
>                                                    
> a2a348f0-fb79-11f0-bc43-27c0cf5b45a9 distributed_test_keyspace tb             
>    2026-01-27T12:13:48.671 132      90        {1:3}           {}              
>                                                    
> a2a19b40-fb79-11f0-bc43-27c0cf5b45a9 distributed_test_keyspace tb             
>    2026-01-27T12:13:48.660 220      133       {1:5}           {}              
>                                                    
> 9d8fd8b0-fb79-11f0-bc43-27c0cf5b45a9 system                    local          
>    2026-01-27T12:13:40.155 354      250       {4:1}           {}              
>                                                    
>       at 
> org.apache.cassandra.tools.nodetool.CompactionHistoryTest.assertCompactionHistoryOutPut(CompactionHistoryTest.java:153)
>       at 
> org.apache.cassandra.distributed.upgrade.CompactionHistorySystemTableUpgradeTest.lambda$compactionHistorySystemTableTest$7(CompactionHistorySystemTableUpgradeTest.java:70)
>       at 
> org.apache.cassandra.distributed.upgrade.UpgradeTestBase$TestCase.run(UpgradeTestBase.java:403)
> {code}
> https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/org.apache.cassandra.distributed.upgrade/CompactionHistorySystemTableUpgradeTest/compactionHistorySystemTableTest
> trunk has been broken since 2386 run
>  !image-2026-02-01-12-42-23-098.png|width=600!
> which corresponds to 
> https://github.com/apache/cassandra/commit/6d60102422d8409cdf8fabfb1c906afdf6a85859
>   



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to