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

Stefan Miklosovic commented on CASSANDRA-15052:
-----------------------------------------------

[~djoshi3]

please see the attached log against your trunk and WITHOUT this fix

[^SPICE-15052.txt]

I think the issue is this:
{code:java}
Small commitlog volume detected at /tmp/dtest-78woi6j_/test/node1/commitlogs; 
setting commitlog_to...21.000GiB free across all data volumes. Consider adding 
more capacity to your cluster or removing obsolete snapshots\n'

...
WARN  10:16:28,580 Small commitlog volume detected at 
/tmp/dtest-78woi6j_/test/node1/commitlogs; setting commitlog_total_space_in_mb 
to 7428.  You can override this in cassandra.yaml
WARN  10:16:28,583 Small cdc volume detected at 
/tmp/dtest-78woi6j_/test/node1/cdc_raw; setting cdc_total_space_in_mb to 3714.  
You can override this in cassandra.yaml
WARN  10:16:28,584 Only 21.000GiB free across all data volumes. Consider adding 
more capacity to your cluster or removing obsolete snapshots
{code}
Which is true, but how did it compute 21 GiB specifically? Seems like it summed 
up /run with / and tmpfs, thats rather misleading imho.
{code:java}
(venv) smiklosovic@ip-172-31-8-142:~/temp/cassandra-dtest$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             35G     0   35G   0% /dev
tmpfs           6.9G  876K  6.9G   1% /run
/dev/nvme0n1p1   30G   23G  7.0G  76% /
tmpfs            35G     0   35G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            35G     0   35G   0% /sys/fs/cgroup
/dev/loop0       13M   13M     0 100% /snap/amazon-ssm-agent/295
/dev/loop1       18M   18M     0 100% /snap/amazon-ssm-agent/1068
/dev/loop3       91M   91M     0 100% /snap/core/6405
/dev/loop4       92M   92M     0 100% /snap/core/6531
/dev/loop5       90M   90M     0 100% /snap/core/6673
tmpfs           6.9G     0  6.9G   0% /run/user/1000
{code}
What is the minimum here and how is it computed? There is not any mention about 
the available space for dtests to allocate to run tests fine. We should either 
document what diskspace dtests requires or we should suppress this warning or 
we should change the values of these properties. Dtest runs fine if we include 
that message among expected warning-ones.
  

> Dtests: Add acceptable warnings to offline tool tests in order to pass them
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15052
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15052
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>              Labels: pull-request-available
>         Attachments: SPICE-15052.txt
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I run all dtest suite and test 
> offline_tools_test.py::TestOfflineTools::test_sstablelevelreset has failed 
> because of additional warning logs which were not added into acceptable ones.
> After adding them, test passed fine. I believe added warning messages have 
> nothing to do with test itself, it was reproduced on c5.9xlarge as well as no 
> "regular" notebook.
>  
> https://github.com/apache/cassandra-dtest/pull/47



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to