cta-wave / dpctf-test-runner

Repo for the DPCTF Test Runner
Other
0 stars 3 forks source link

import result failed #41

Closed yanj-github closed 4 months ago

yanj-github commented 5 months ago

Import result from OF to test runner failed with error code 500, please find the following debug log. Can you kindly help investigating please?

DEBUG:web-platform-tests:POST /_wave/api/results/1081d8dc-c40e-11ee-9eda-0242ac110002/cfhd_12.5_25_50-online/json
DEBUG:web-platform-tests:Found handler WaveHandler
  File "/home/ubuntu/DPCTF/tools/wave/network/api/results_api_handler.py", line 117, in import_results_api_json
    self._results_manager.import_results_api_json(token, api, blob)
  File "/home/ubuntu/DPCTF/tools/wave/testing/results_manager.py", line 668, in import_results_api_json
    file.write(blob)
ERROR:wave-api-handler:Failed to upload api json: TypeError: write() argument must be str, not bytes
DEBUG:web-platform-tests:500 POST /_wave/api/results/1081d8dc-c40e-11ee-9eda-0242ac110002/cfhd_12.5_25_50-online/json (None) 963
FritzHeiden commented 4 months ago

Thanks for reporting, I pushed a fix for this https://github.com/cta-wave/dpctf-test-runner/pull/42

yanj-github commented 4 months ago

Thanks @FritzHeiden this is working now.