Skip to content

fix

fix #10

GitHub Actions / JUnit Test Report failed Jul 5, 2023 in 0s

8 tests run, 7 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in ch-monitoring tool

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ch-monitoring tool.Check System queues size

Expecting value: line 1 column 1 (char 0)
Raw output
Failing step: And a working s3 ... failed in 0.237s
Location: features/monrun.feature:5
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/behave/model.py", line 1329, in run
    match.run(runner.context)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/behave/matchers.py", line 98, in run
    self.func(context, *args, **kwargs)
  File "steps/s3.py", line 14, in step_wait_for_s3_alive
    minio.initialize(context)
  File "/home/runner/work/ch-tools/ch-tools/tests/modules/minio.py", line 52, in initialize
    _create_s3_bucket(context)
  File "/home/runner/work/ch-tools/ch-tools/tests/modules/minio.py", line 86, in _create_s3_bucket
    _mc_execute(context, f"mb local/{bucket}")
  File "/home/runner/work/ch-tools/ch-tools/tests/modules/minio.py", line 100, in _mc_execute
    response = json.loads(output)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)