Skip to content

CassandraStressThread failed with ValueError with user profile #13401

@aleksbykov

Description

@aleksbykov

JOb with mv-synchronous-updates failed due to sct issue:

       if stress_read_cmd and not skip_optional_stage("main_load"):
            params = {"keyspace_num": keyspace_num, "stress_cmd": stress_read_cmd}
>           self._run_all_stress_cmds(stress_queue, params)
longevity_test.py:245:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
sdcm/utils/loader_utils.py:140: in _run_all_stress_cmds
    stress_queue.append(self.run_stress_thread(**stress_params))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sdcm/tester.py:2602: in run_stress_thread
    return self.run_stress_cassandra_thread(**params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sdcm/tester.py:2660: in run_stress_cassandra_thread
    cs_thread = CassandraStressThread(
sdcm/stress_thread.py:108: in __init__
    self.set_hdr_tags(stress_cmd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sdcm.stress_thread.CassandraStressThread object at 0x7c94d9a61cd0>
stress_cmd = "cassandra-stress user profile=/tmp/mv_synchronous_updates.yaml ops'(select_base=3,select_mv=3,select_mv_2=3,url_column_update=1,row_delete=1)' cl=QUORUM duration=360m -mode cql3 native -rate threads=50"
    def set_hdr_tags(self, stress_cmd):
        # TODO: add support for the "counter_write", "counter_read" and "user" modes?
        params = get_stress_cmd_params(stress_cmd)
        tag_suffix = "rt" if "fixed threads" in params else "st"
        if "user profile=" in stress_cmd:
            # Examples:
            # Write: ops(insert=1)
            # Read: ops(read=2)
            # Mixed: ops(insert=1,read=2)
            # Only standard operations (read and insert) are supported per user profile stress command in this implementation
            if "insert=" in stress_cmd:
                self.hdr_tags.append(f"WRITE-{tag_suffix}")
            elif "read=" in stress_cmd:
                self.hdr_tags.append(f"READ-{tag_suffix}")
            else:
>               raise ValueError(
                    "Cannot detect supported stress operation type from the stress command with user profile: %s",
                    stress_cmd,
E                   ValueError: ('Cannot detect supported stress operation type from the stress command with user profile: %s', "cassandra-stress user profile=/tmp/mv_synchronous_updates.yaml ops'(select_base=3,select_mv=3,select_mv_2=3,url_column_update=1,row_delete=1)' cl=QUORUM duration=360m -mode cql3 native -rate threads=50")
sdcm/stress_thread.py:149: ValueError

Argus

Scylla version: 2026.1.0~rc0-20260125.f94296e0ae43 with build-id 9680213fda6f301234c43da8ca27e47953987cd8

Kernel Version: 6.14.0-1018-aws

Extra information

Installation details

Cluster size: 6 nodes (i4i.4xlarge)

Scylla Nodes used in this run:

- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-1 (3.252.234.97 | 10.4.2.25) (shards: 14)


- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-2 (34.247.81.201 | 10.4.2.110) (shards: 14)


- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-3 (52.208.213.165 | 10.4.0.176) (shards: 14)


- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-4 (54.246.135.175 | 10.4.3.251) (shards: 14)


- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-5 (54.217.17.238 | 10.4.2.62) (shards: 14)


- longevity-mv-synch-12h-2026-1-db-node-31c6e52c-6 (108.129.124.137 | 10.4.1.209) (shards: 14)

OS / Image: ami-0150598259ac2ded5 (aws: N/A)

Test: longevity-mv-synchronous-updates-12h-vnodes-test
Test id: 31c6e52c-2746-4ced-b537-c70ebbc076b3
Test name: scylla-2026.1/vnodes/tier2/longevity-mv-synchronous-updates-12h-vnodes-test

Test method: longevity_test.LongevityTest.test_custom_time

Test config file(s):

Logs:

No logs captured during this run.

Jenkins job URL

Metadata

Metadata

Assignees

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