Skip to content

Unimplemented abstract method in sleep workload #722

@alexmanle

Description

@alexmanle

Describe the Bug

Running the sleep workload in standalone mode results in a type error due to an unimplemented abstract method.

Trace:

  File "cloudai/src/cloudai/_core/base_runner.py", line 111, in submit_test
    job = self._submit_test(tr)
  File "cloudai/src/cloudai/systems/standalone/standalone_runner.py", line 41, in _submit_test
    exec_cmd = self.get_cmd_gen_strategy(self.system, tr).gen_exec_command()
  File "cloudai/src/cloudai/_core/base_runner.py", line 380, in get_cmd_gen_strategy
    return strategy_cls(system, test_run)
TypeError: Can't instantiate abstract class SleepStandaloneCommandGenStrategy with abstract method store_test_run

Steps to Reproduce

Utilized CloudAI, version 1.4b26.dev1+g9650abed.d20251114
Python 3.10.12

  1. Configure CloudAI to use the sleep test scenario.
  2. Execute in dry-run or run mode.

Command:

cloudai run \
    --system-config conf/common/system/standalone_system.toml \
    --tests-dir conf/common/test \
    --test-scenario conf/common/test_scenario/sleep.toml

Expected Behavior

Should result in proper run through of the test.

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