[ 
https://issues.apache.org/jira/browse/CASSANDRA-18710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785923#comment-17785923
 ] 

Jacek Lewandowski commented on CASSANDRA-18710:
-----------------------------------------------

and this is a good run, without a failure:

{noformat}
INFO  [main] 2023-11-14 15:39:30,254 CQLTester.java:1004 - CREATE TABLE 
cql_test_keyspace_alt.table_16 (pk bigint, PRIMARY KEY (pk))
DEBUG [main] 2023-11-14 15:39:30,256 DefaultSchemaUpdateHandler.java:259 - 
Schema updated: SchemaTransformationResult{83424b78-ee1a-38f8-acb8-73e354fbca5b 
--> 8323ff58-4946-3c75-bedb-b4cfb7108a11, diff=KeyspacesDiff{created=[], 
dropped=[], 
altered=[KeyspaceDiff{before=KeyspaceMetadata{name=cql_test_keyspace_alt, 
kind=REGULAR, params=KeyspaceParams{durable_writes=true, 
replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy,
 replication_factor=1}}, tables=[], views=[], functions=[], types=[]}, 
after=KeyspaceMetadata{name=cql_test_keyspace_alt, kind=REGULAR, 
params=KeyspaceParams{durable_writes=true, 
replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy,
 replication_factor=1}}, tables=[cql_test_keyspace_alt.table_16], views=[], 
functions=[], types=[]}, tables=Diff{created=[cql_test_keyspace_alt.table_16], 
dropped=[], altered=[]}, views=Diff{created=[], dropped=[], altered=[]}, 
types=Diff{created=[], dropped=[], altered=[]}, udfs=Diff{created=[], 
dropped=[], altered=[]}, udas=Diff{created=[], dropped=[], altered=[]}}]}}
INFO  [main] 2023-11-14 15:39:30,256 Keyspace.java:366 - Creating replication 
strategy cql_test_keyspace_alt params KeyspaceParams{durable_writes=true, 
replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy,
 replication_factor=1}}
INFO  [main] 2023-11-14 15:39:30,256 ColumnFamilyStore.java:495 - Initializing 
cql_test_keyspace_alt.table_16
DEBUG [main] 2023-11-14 15:39:30,257 DiskBoundaryManager.java:54 - Refreshing 
disk boundary cache for cql_test_keyspace_alt.table_16
DEBUG [main] 2023-11-14 15:39:30,257 DiskBoundaryManager.java:93 - Got local 
ranges [] (ringVersion = 0)
DEBUG [main] 2023-11-14 15:39:30,257 DiskBoundaryManager.java:57 - Updating 
boundaries from null to 
DiskBoundaries{directories=[DataDirectory{location=build/test/cassandra/data}], 
positions=null, ringVersion=0, directoriesVersion=0} for 
cql_test_keyspace_alt.table_16
INFO  [main] 2023-11-14 15:39:30,259 ViewManager.java:127 - Not submitting 
build tasks for views in keyspace cql_test_keyspace_alt as storage service is 
not initialized
INFO  [NonPeriodicTasks:1] 2023-11-14 15:39:30,260 LogTransaction.java:249 - 
Unfinished transaction log, deleting 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/system_schema/aggregates-924c55872e3a345bb10c12f37c1ba895/nc_txn_compaction_9e72cd30-82fb-11ee-b194-e5f4789e9eaa.log
INFO  [main] 2023-11-14 15:39:30,278 ColumnFamilyStore.java:1021 - Enqueuing 
flush of cql_test_keyspace_alt.table_16, Reason: UNIT_TESTS, Usage: 309.570KiB 
(0%) on-heap, 15.625KiB (0%) off-heap
INFO  [PerDiskMemtableFlushWriter_0:2] 2023-11-14 15:39:30,286 
Flushing.java:154 - Writing Memtable-table_16@70866609(28.320KiB serialized 
bytes, 1000 ops, 309.570KiB (0%) on-heap, 15.625KiB (0%) off-heap), flushed 
range = [null, null)
INFO  [PerDiskMemtableFlushWriter_0:2] 2023-11-14 15:39:30,288 
Flushing.java:180 - Completed flushing 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-1-big-Data.db
 (27.456KiB) for commitlog position CommitLogPosition(segmentId=1699972753896, 
position=77015)
INFO  [MemtableFlushWriter:2] 2023-11-14 15:39:30,320 LogTransaction.java:249 - 
Unfinished transaction log, deleting 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc_txn_flush_9e81e860-82fb-11ee-b194-e5f4789e9eaa.log
DEBUG [MemtableFlushWriter:2] 2023-11-14 15:39:30,326 
ColumnFamilyStore.java:1349 - Flushed to 
[BigTableReader:big(path='/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-1-big-Data.db')]
 (1 sstables, 31.116KiB), biggest 31.116KiB, smallest 31.116KiB
INFO  [main] 2023-11-14 15:39:30,344 ColumnFamilyStore.java:1021 - Enqueuing 
flush of cql_test_keyspace_alt.table_16, Reason: UNIT_TESTS, Usage: 309.570KiB 
(0%) on-heap, 15.625KiB (0%) off-heap
INFO  [PerDiskMemtableFlushWriter_0:1] 2023-11-14 15:39:30,351 
Flushing.java:154 - Writing Memtable-table_16@1253443750(28.320KiB serialized 
bytes, 1000 ops, 309.570KiB (0%) on-heap, 15.625KiB (0%) off-heap), flushed 
range = [null, null)
INFO  [PerDiskMemtableFlushWriter_0:1] 2023-11-14 15:39:30,353 
Flushing.java:180 - Completed flushing 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-2-big-Data.db
 (27.350KiB) for commitlog position CommitLogPosition(segmentId=1699972753896, 
position=138015)
INFO  [MemtableFlushWriter:1] 2023-11-14 15:39:30,384 LogTransaction.java:249 - 
Unfinished transaction log, deleting 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc_txn_flush_9e8bfa80-82fb-11ee-b194-e5f4789e9eaa.log
DEBUG [MemtableFlushWriter:1] 2023-11-14 15:39:30,391 
ColumnFamilyStore.java:1349 - Flushed to 
[BigTableReader:big(path='/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-2-big-Data.db')]
 (1 sstables, 30.804KiB), biggest 30.804KiB, smallest 30.804KiB
INFO  [main] 2023-11-14 15:39:30,410 ColumnFamilyStore.java:1021 - Enqueuing 
flush of cql_test_keyspace_alt.table_16, Reason: UNIT_TESTS, Usage: 309.570KiB 
(0%) on-heap, 15.625KiB (0%) off-heap
INFO  [PerDiskMemtableFlushWriter_0:2] 2023-11-14 15:39:30,421 
Flushing.java:154 - Writing Memtable-table_16@75630209(28.320KiB serialized 
bytes, 1000 ops, 309.570KiB (0%) on-heap, 15.625KiB (0%) off-heap), flushed 
range = [null, null)
INFO  [PerDiskMemtableFlushWriter_0:2] 2023-11-14 15:39:30,422 
Flushing.java:180 - Completed flushing 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-3-big-Data.db
 (27.478KiB) for commitlog position CommitLogPosition(segmentId=1699972753896, 
position=199015)
INFO  [MemtableFlushWriter:2] 2023-11-14 15:39:30,453 LogTransaction.java:249 - 
Unfinished transaction log, deleting 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc_txn_flush_9e960ca0-82fb-11ee-b194-e5f4789e9eaa.log
DEBUG [MemtableFlushWriter:2] 2023-11-14 15:39:30,461 
ColumnFamilyStore.java:1349 - Flushed to 
[BigTableReader:big(path='/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/cql_test_keyspace_alt/table_16-9e7e65f082fb11eeb194e5f4789e9eaa/nc-3-big-Data.db')]
 (1 sstables, 31.175KiB), biggest 31.175KiB, smallest 31.175KiB
{noformat}

Comparing to the bad run, I can see only one extra log line in the good run:

{noformat}
INFO  [NonPeriodicTasks:1] 2023-11-14 15:39:30,260 LogTransaction.java:249 - 
Unfinished transaction log, deleting 
/home/jlewandowski/dev/cassandra/cassandra-5.0/build/test/cassandra/data/system_schema/aggregates-924c55872e3a345bb10c12f37c1ba895/nc_txn_compaction_9e72cd30-82fb-11ee-b194-e5f4789e9eaa.log
{noformat}


> Test failure: 
> org.apache.cassandra.io.DiskSpaceMetricsTest.testFlushSize-.jdk17 (from 
> org.apache.cassandra.io.DiskSpaceMetricsTest-.jdk17)
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18710
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18710
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Ekaterina Dimitrova
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.1.x, 5.0-beta, 5.0.x, 5.x
>
>         Attachments: org.apache.cassandra.io.DiskSpaceMetricsTest.txt
>
>
> Seen here:
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/1644/testReport/org.apache.cassandra.io/DiskSpaceMetricsTest/testFlushSize__jdk17/]
> h3.  
> {code:java}
> Error Message
> expected:<7200.0> but was:<1367.83970468544>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<7200.0> but 
> was:<1367.83970468544> at 
> org.apache.cassandra.io.DiskSpaceMetricsTest.testFlushSize(DiskSpaceMetricsTest.java:119)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to