# Run sent to worker: doanac-reckless == 2024-08-20 20:31:54.301591: Setting up runner on worker == 2024-08-20 20:31:55.849365: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/458/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2024-08-20 20:31:57.148637: Pulling container: python:3.11-alpine3.19 3.11-alpine3.19: Pulling from library/python Digest: sha256:afceeee134f2a85dd42b1079b03508e89db42603f5feb0d32a012a03e187a071 Status: Image is up to date for python:3.11-alpine3.19 docker.io/library/python:3.11-alpine3.19 == 2024-08-20 20:31:59.902558: Preparing bind mounts 2024-08-20 20:32:00.340252: INFO Creating secret: githubtok 2024-08-20 20:32:00.772097: INFO Creating secret: webhook-key 2024-08-20 20:32:01.234605: INFO Creating secret: milosz == 2024-08-20 20:32:02.060099: Creating container .netrc file 2024-08-20 20:32:02.356239: INFO Creating token for jobserv run access 2024-08-20 20:32:02.816554: INFO Creating a github token entry == 2024-08-20 20:32:03.762221: Preparing script == 2024-08-20 20:32:04.639030: Cloning git repository 2024-08-20 20:32:05.097315: INFO Clone_url: https://github.com/doanac/jobserv.git 2024-08-20 20:32:05.571200: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2024-08-20 20:32:06.366201: INFO Server does not appear to need credentials for cloning 2024-08-20 20:32:06.838202: INFO Adding githubtok to .gitconfig 2024-08-20 20:32:07.300299: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpzencr_v9/repo'... 2024-08-20 20:32:09.181762: INFO Checking out: d6973dfa6ad6dff25a15b614cdd6513af1cf609f Switched to branch 'jobserv-run' == 2024-08-20 20:32:10.606653: Setting up container environment 2024-08-20 20:32:11.115952: INFO Container environment variables: GH_PRNUM=131 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/d6973dfa6ad6dff25a15b614cdd6513af1cf609f GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=cdebc77b9f6fc4d045762e2bf098c3dbe8b994a5 GIT_OLD_SHA=cdebc77b9f6fc4d045762e2bf098c3dbe8b994a5 GIT_SHA=d6973dfa6ad6dff25a15b614cdd6513af1cf609f H_PROJECT=jobserv H_BUILD=458 H_RUN=flake8 H_WORKER=doanac-reckless == 2024-08-20 20:32:12.138024: Running script inside container + apk add musl-dev gcc fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz (1/13) Installing libgcc (13.2.1_git20231014-r0) (2/13) Installing jansson (2.14-r4) (3/13) Installing libstdc++ (13.2.1_git20231014-r0) (4/13) Installing zstd-libs (1.5.5-r8) (5/13) Installing binutils (2.41-r0) (6/13) Installing libgomp (13.2.1_git20231014-r0) (7/13) Installing libatomic (13.2.1_git20231014-r0) (8/13) Installing gmp (6.3.0-r0) (9/13) Installing isl26 (0.26-r1) (10/13) Installing mpfr4 (4.2.1-r0) (11/13) Installing mpc1 (1.3.1-r1) (12/13) Installing gcc (13.2.1_git20231014-r0) (13/13) Installing musl-dev (1.2.4_git20230717-r4) Executing busybox-1.36.1-r19.trigger OK: 166 MiB in 51 packages + pip3 install -r ./requirements-lint.txt Collecting black==24.4.2 (from -r ./requirements-lint.txt (line 1)) Downloading black-24.4.2-py3-none-any.whl.metadata (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 243.6 kB/s eta 0:00:00 Collecting flake8-junit-report==2.1.0 (from -r ./requirements-lint.txt (line 2)) Downloading flake8-junit-report-2.1.0.tar.gz (3.1 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting click>=8.0.0 (from black==24.4.2->-r ./requirements-lint.txt (line 1)) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting mypy-extensions>=0.4.3 (from black==24.4.2->-r ./requirements-lint.txt (line 1)) Downloading mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB) Collecting packaging>=22.0 (from black==24.4.2->-r ./requirements-lint.txt (line 1)) Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting pathspec>=0.9.0 (from black==24.4.2->-r ./requirements-lint.txt (line 1)) Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Collecting platformdirs>=2 (from black==24.4.2->-r ./requirements-lint.txt (line 1)) Downloading platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB) Downloading black-24.4.2-py3-none-any.whl (205 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.9/205.9 kB 1.0 MB/s eta 0:00:00 Downloading click-8.1.7-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 733.7 kB/s eta 0:00:00 Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Downloading packaging-24.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 523.5 kB/s eta 0:00:00 Downloading pathspec-0.12.1-py3-none-any.whl (31 kB) Downloading platformdirs-4.2.2-py3-none-any.whl (18 kB) Building wheels for collected packages: flake8-junit-report Building wheel for flake8-junit-report (setup.py): started Building wheel for flake8-junit-report (setup.py): finished with status 'done' Created wheel for flake8-junit-report: filename=flake8_junit_report-2.1.0-py3-none-any.whl size=3738 sha256=928861d20ffc231e342474fbd4f0035c1220cae29efb5e9026bcac8b3742fd55 Stored in directory: /root/.cache/pip/wheels/61/49/33/d490b7f9a42bd5abfb880d2af6c9e97ab4c0e6eb3441a38c19 Successfully built flake8-junit-report Installing collected packages: flake8-junit-report, platformdirs, pathspec, packaging, mypy-extensions, click, black Successfully installed black-24.4.2 click-8.1.7 flake8-junit-report-2.1.0 mypy-extensions-1.0.0 packaging-24.1 pathspec-0.12.1 platformdirs-4.2.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [notice] A new release of pip is available: 24.0 -> 24.2 [notice] To update, run: pip install --upgrade pip + black --check --diff ./jobserv ./runner ./tests ./jobserv_worker.py --- /repo/runner/jobserv_runner/handlers/simple.py 2024-08-20 20:32:09.626762+00:00 +++ /repo/runner/jobserv_runner/handlers/simple.py 2024-08-20 20:32:41.522848+00:00 @@ -366,11 +366,10 @@ if k.startswith("netrc-"): log.info("Creating a .netrc entry for %s", k) f.write(v.strip()) f.write("\n") - # NOTE: Curl (used by git) doesn't look at the $NETRC environment # for overriding the .netrc location. We have to assume the # container's $HOME is /root curlrc = os.path.join(self.run_dir, ".curlrc") with open(curlrc, "w") as f: would reformat /repo/runner/jobserv_runner/handlers/simple.py Oh no! 💥 💔 💥 1 file would be reformatted, 62 files would be left unchanged. Script completed with error(s) == 2024-08-20 20:32:46.532613: Finding artifacts to upload Uploading 0 items 0 bytes == 2024-08-20 20:32:46.919562: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|