# Run sent to worker: doanac-reckless == 2022-09-16 20:27:17.991206: Setting up runner on worker == 2022-09-16 20:27:20.150059: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/301/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-09-16 20:27:21.619219: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:d80bb38eb14230a70ef922956d0621f7dd938b16794057f6fe71a90ef9ec5504 Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2022-09-16 20:27:25.060139: Preparing bind mounts 2022-09-16 20:27:25.443609: INFO Creating secret: githubtok 2022-09-16 20:27:25.760818: INFO Creating secret: webhook-key 2022-09-16 20:27:26.166938: INFO Creating secret: milosz == 2022-09-16 20:27:27.013739: Creating container .netrc file == 2022-09-16 20:27:27.991053: Unexpected error: Traceback (most recent call last): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/jobserv.py", line 49, in _post resp = urllib.request.urlopen(req, timeout=15) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 308, in _prepare_netrc log.info("Creating token for jobserv run access") File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/logging.py", line 58, in info self._log("INFO", msg, *args) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/logging.py", line 55, in _log self._write(pre + msg % args + "\n") File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 121, in _write if buf and self.jobserv.update_run(buf.encode(), retry=1): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/github_pr.py", line 33, in update_run rv = super().update_run(msg, status, retry, metadata) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/jobserv.py", line 92, in update_run return self._post(msg, headers, retry=retry) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/jobserv.py", line 78, in _post if _post(self._run_url, data, headers): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/jobserv.py", line 54, in _post error = urllib_error_str(e) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/jobserv.py", line 42, in urllib_error_str error += "\n" + e.read().decode() File "/usr/lib/python3.6/tempfile.py", line 624, in func_wrapper return func(*args, **kwargs) File "/usr/lib/python3.6/http/client.py", line 476, in read s = self._safe_read(self.length) File "/usr/lib/python3.6/http/client.py", line 628, in _safe_read raise IncompleteRead(b''.join(s), amt) http.client.IncompleteRead: IncompleteRead(0 bytes read, 5666 more expected) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 585, in execute mounts = h.prepare_mounts() File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/git_poller.py", line 165, in prepare_mounts mounts = super().prepare_mounts() File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 431, in prepare_mounts for mount in self._prepare_netrc(): File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 341, in _prepare_netrc f.write("login %s\npassword %s\n" % (user, token)) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/handlers/simple.py", line 78, in __exit__ super().__exit__(type, value, tb) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/logging.py", line 47, in __exit__ self.error(msg.replace("\n", "\n |")) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/logging.py", line 64, in error self._log("ERROR", msg, *args) File "/srv/gavelci-worker/runs/tmp3gnhi2q8/runner.whl/jobserv_runner/logging.py", line 55, in _log self._write(pre + msg % args + "\n") TypeError: not enough arguments for format string