Skip to content

Fails to record results for remote endpoints #62

@s1na

Description

@s1na

Version
v0.3.1

Platform
Darwin Mac-mini 22.6.0

Description

I have two remote RPC endpoints. I have installed flood and vegeta both locally and on those machines. When I try the following command:

flood eth_getBlockByNumber geth=ubuntu@IP1:localhost:8545 reth=ubuntu@IP2:localhost:8545

it proceeds to execute the tests, however at the end when it wants to record the results I get this exception:

Traceback (most recent call last):
  File "/usr/local/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/local/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/sina/Library/Python/3.11/lib/python/site-packages/flood/tests/load_tests/load_test_runs.py", line 179, in run_load_test
    result = _run_load_test_remotely(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sina/Library/Python/3.11/lib/python/site-packages/flood/tests/load_tests/load_test_runs.py", line 380, in _run_load_test_remotely
    subprocess.check_output(cmd.split(' '), stderr=subprocess.DEVNULL)
  File "/usr/local/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ssh', 'ubuntu@IP1', 'bash', '-c', "'source", '~/.profile;', 'python3', '-m', 'flood', '/tmp/flood__09f2f3ce-07d0-4b3d-b8af-597cf415626a', 'reth=http://localhost:8545', '--output', '/tmp/flood__09f2f3ce-07d0-4b3d-b8af-597cf415626a', '--no-figures', "'"]' returned non-zero exit status 1.

(I get one such exception from each endpoint)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions