ReBench icon indicating copy to clipboard operation
ReBench copied to clipboard

Encoding issues when sending data with failed denoise details

Open smarr opened this issue 4 years ago • 0 comments

Traceback:

Minimizing noise with rebench-denoise failed
    possibly causing benchmark results to vary more.
    Error: {"scaling_governor": "failed", "no_turbo": "failed", "perf_event_max_sample_rate": 1, "can_set_nice": true, "shielding": "3-39"}
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebenchdb.py", line 97, in _send_to_rebench_db
    response = self._send_payload(data, url)
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebenchdb.py", line 79, in _send_payload
    socket = urlopen(req)
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 504: Gateway Time-out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/rebench", line 8, in <module>
    sys.exit(main_func())
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebench.py", line 289, in main_func
    return 0 if rebench.run() else -1
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebench.py", line 258, in run
    return self.execute_experiment(runs, use_nice, use_shielding)
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebench.py", line 283, in execute_experiment
    return executor.execute()
  File "/usr/local/lib/python3.8/dist-packages/rebench/executor.py", line 550, in execute
    self._scheduler.execute()
  File "/usr/local/lib/python3.8/dist-packages/rebench/executor.py", line 108, in execute
    self._process_remaining_runs(runs)
  File "/usr/local/lib/python3.8/dist-packages/rebench/executor.py", line 118, in _process_remaining_runs
    completed = self._executor.execute_run(run_id)
  File "/usr/local/lib/python3.8/dist-packages/rebench/executor.py", line 419, in execute_run
    run_id.report_run_completed(cmdline)
  File "/usr/local/lib/python3.8/dist-packages/rebench/model/run_id.py", line 163, in report_run_completed
    persistence.run_completed()
  File "/usr/local/lib/python3.8/dist-packages/rebench/persistence.py", line 157, in run_completed
    self._rebench_db.send_data()
  File "/usr/local/lib/python3.8/dist-packages/rebench/persistence.py", line 368, in send_data
    self._send_data_and_empty_cache()
  File "/usr/local/lib/python3.8/dist-packages/rebench/persistence.py", line 373, in _send_data_and_empty_cache
    if self._send_data(self._cache):
  File "/usr/local/lib/python3.8/dist-packages/rebench/persistence.py", line 399, in _send_data
    return self._rebench_db.send_results({
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebenchdb.py", line 52, in send_results
    success, response = self._send_to_rebench_db(benchmark_data, '/results')
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebenchdb.py", line 105, in _send_to_rebench_db
    response = self._send_payload(payload, url)
  File "/usr/local/lib/python3.8/dist-packages/rebench/rebenchdb.py", line 79, in _send_payload
    socket = urlopen(req)
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 522, in open
    req = meth(req)
  File "/usr/lib/python3.8/urllib/request.py", line 1285, in do_request_
    raise TypeError(msg)
TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.

smarr avatar Sep 04 '21 01:09 smarr