Skip to content

Long running stress test never terminates #136

Description

@paymog

I'm using tlp-stress to validate that cassandra running on AWS graviton instances behaves I expect. I've done 5 minute tests against a few cassandra clusters running on different instance types and those tests have done quite well.

Yesterday I kicked off multihour tests and I'm finding that I've hit some edge case in tlp-stress. Here's the command I used to kick off these multihour tests: tlp-stress run KeyValue --compaction lcs --deleterate 0 --host cassandra-paymahn-testing-amd-chill.cassandra-paymahn-testing-amd-chill --csv /results/2021-05-18 15:20:46.582214/keyvalue-lcs.csv --duration 3hr.

When I view the csv file I see entries starting at 2021-05-18T18:20:56 and going until just a few minutes ago, 2021-05-19T12:49:26.

I kicked off the above command in the background on a node in k8s using & notation. When I run ps -aux I see that the process is still running:

root@cassandra-paymahn-load-testing2-toolbox-7df9f98df4-6nzqz:/# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.0  0.0   5476   528 ?        Ss   May18   0:00 sleep infinity
root          96  0.0  0.0   7236  4060 pts/0    Ss+  May18   0:00 /bin/bash
root         149  0.0  0.0  17792 11676 pts/0    S    May18   0:00 python3.8 /opt/pycasstoolbox/scripts/load-test run --duration 3hr --extended-testing cassandra-paymahn-testing-amd-chill.cassandra-paymahn-testing-amd-chill
root         180  0.0  0.0   6972  3620 pts/0    S    May18   0:00 /bin/bash /opt/tlp-stress/bin/tlp-stress run KeyValue --compaction lcs --deleterate 0 --host cassandra-paymahn-testing-amd-chill.cassandra-paymahn-testing-amd-chill --csv /results/2021-05-18 15:20:46.582214/keyvalue-lcs.csv --duration 3hr
root         186 15.5  2.3 6577400 367664 pts/0  Sl   May18 170:39 java -jar build/libs/tlp-stress-4.0.0-all.jar run KeyValue --compaction lcs --deleterate 0 --host cassandra-paymahn-testing-amd-chill.cassandra-paymahn-testing-amd-chill --csv /results/2021-05-18 15:20:46.582214/keyvalue-lcs.csv --duration 3hr
root         252  1.0  0.0   7236  4100 pts/1    Ss   12:39   0:00 /bin/bash
root         292  0.0  0.0   8892  3304 pts/1    R+   12:39   0:00 ps aux

It seems like there might be some bug with tlp-stress and long running tests.

EDIT: note that the tlp-stress process was started on May 18 for a duration of 3 hours (and it was started early in the day) and now I'm posting this on May 19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions