# Run sent to worker: doanac-reckless == 2024-01-08 18:03:31.065712: Setting up runner on worker == 2024-01-08 18:03:32.138233: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/428/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2024-01-08 18:03:33.563647: Pulling container: python:3.11-alpine 3.11-alpine: Pulling from library/python Digest: sha256:c6bb0934b659c1098ff8d10e5c8c0dd3b7bbfd856523af70eb73f8641c54b738 Status: Image is up to date for python:3.11-alpine docker.io/library/python:3.11-alpine == 2024-01-08 18:03:38.006594: Preparing bind mounts 2024-01-08 18:03:38.364472: INFO Creating secret: githubtok 2024-01-08 18:03:38.805224: INFO Creating secret: webhook-key 2024-01-08 18:03:39.307208: INFO Creating secret: milosz == 2024-01-08 18:03:40.497938: Creating container .netrc file 2024-01-08 18:03:41.036590: INFO Creating token for jobserv run access 2024-01-08 18:03:41.596703: INFO Creating a github token entry == 2024-01-08 18:03:42.727624: Preparing script == 2024-01-08 18:03:43.971087: Cloning git repository 2024-01-08 18:03:44.571837: INFO Clone_url: https://github.com/doanac/jobserv.git 2024-01-08 18:03:44.763067: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2024-01-08 18:03:45.172511: INFO Server does not appear to need credentials for cloning 2024-01-08 18:03:45.353974: INFO Adding githubtok to .gitconfig 2024-01-08 18:03:45.533793: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpcbpycb4p/repo'... 2024-01-08 18:03:47.101387: INFO Checking out: 1be5c5b965eb7596a6c2f56334c0a131f3784d5b Switched to branch 'jobserv-run' == 2024-01-08 18:03:47.941658: Setting up container environment 2024-01-08 18:03:48.185670: INFO Container environment variables: GH_PRNUM=111 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/1be5c5b965eb7596a6c2f56334c0a131f3784d5b GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=9070af5adede6859a814b7da6daea16f3e95a793 GIT_OLD_SHA=9070af5adede6859a814b7da6daea16f3e95a793 GIT_SHA=1be5c5b965eb7596a6c2f56334c0a131f3784d5b H_PROJECT=jobserv H_BUILD=428 H_RUN=flake8 H_RUN_URL=https://api.gavelci.us/projects/jobserv/builds/428/runs/flake8/ H_WORKER=doanac-reckless == 2024-01-08 18:03:48.924446: Running script inside container 2024-01-08 18:03:49.156147: INFO Running with --memory=14639596339 WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + 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-r15.trigger OK: 166 MiB in 51 packages + pip3 install flake8 'flake8-junit-report==2.1.0' 'black==21.7b0' 'click==7.1.2' Collecting flake8 Obtaining dependency information for flake8 from https://files.pythonhosted.org/packages/e3/01/cc8cdec7b61db0315c2ab62d80677a138ef06832ec17f04d87e6ef858f7f/flake8-7.0.0-py2.py3-none-any.whl.metadata Downloading flake8-7.0.0-py2.py3-none-any.whl.metadata (3.8 kB) Collecting flake8-junit-report==2.1.0 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 black==21.7b0 Downloading black-21.7b0-py3-none-any.whl (141 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.2/141.2 kB 1.6 MB/s eta 0:00:00 Collecting click==7.1.2 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 1.6 MB/s eta 0:00:00 Collecting appdirs (from black==21.7b0) Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting tomli<2.0.0,>=0.2.6 (from black==21.7b0) Downloading tomli-1.2.3-py3-none-any.whl (12 kB) Collecting regex>=2020.1.8 (from black==21.7b0) Obtaining dependency information for regex>=2020.1.8 from https://files.pythonhosted.org/packages/97/33/101559f6506a98b55613efa484d072d23fdeca3ef6876d43a8c49c7ec65f/regex-2023.12.25-cp311-cp311-musllinux_1_1_x86_64.whl.metadata Downloading regex-2023.12.25-cp311-cp311-musllinux_1_1_x86_64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 917.0 kB/s eta 0:00:00 Collecting pathspec<1,>=0.8.1 (from black==21.7b0) Obtaining dependency information for pathspec<1,>=0.8.1 from https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl.metadata Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Collecting mypy-extensions>=0.4.3 (from black==21.7b0) Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Collecting mccabe<0.8.0,>=0.7.0 (from flake8) Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB) Collecting pycodestyle<2.12.0,>=2.11.0 (from flake8) Obtaining dependency information for pycodestyle<2.12.0,>=2.11.0 from https://files.pythonhosted.org/packages/b1/90/a998c550d0ddd07e38605bb5c455d00fcc177a800ff9cc3dafdcb3dd7b56/pycodestyle-2.11.1-py2.py3-none-any.whl.metadata Downloading pycodestyle-2.11.1-py2.py3-none-any.whl.metadata (4.5 kB) Collecting pyflakes<3.3.0,>=3.2.0 (from flake8) Obtaining dependency information for pyflakes<3.3.0,>=3.2.0 from https://files.pythonhosted.org/packages/d4/d7/f1b7db88d8e4417c5d47adad627a93547f44bdc9028372dbd2313f34a855/pyflakes-3.2.0-py2.py3-none-any.whl.metadata Downloading pyflakes-3.2.0-py2.py3-none-any.whl.metadata (3.5 kB) Downloading flake8-7.0.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 955.1 kB/s eta 0:00:00 Downloading pathspec-0.12.1-py3-none-any.whl (31 kB) Downloading pycodestyle-2.11.1-py2.py3-none-any.whl (31 kB) Downloading pyflakes-3.2.0-py2.py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 1.4 MB/s eta 0:00:00 Downloading regex-2023.12.25-cp311-cp311-musllinux_1_1_x86_64.whl (752 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 752.9/752.9 kB 7.2 MB/s eta 0:00:00 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=3736 sha256=d11ec68426343ba99af3a688d26c0efdbda35db7376b0b4932e87884f4890e89 Stored in directory: /root/.cache/pip/wheels/61/49/33/d490b7f9a42bd5abfb880d2af6c9e97ab4c0e6eb3441a38c19 Successfully built flake8-junit-report Installing collected packages: flake8-junit-report, appdirs, tomli, regex, pyflakes, pycodestyle, pathspec, mypy-extensions, mccabe, click, flake8, black Successfully installed appdirs-1.4.4 black-21.7b0 click-7.1.2 flake8-7.0.0 flake8-junit-report-2.1.0 mccabe-0.7.0 mypy-extensions-1.0.0 pathspec-0.12.1 pycodestyle-2.11.1 pyflakes-3.2.0 regex-2023.12.25 tomli-1.2.3 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: 23.2.1 -> 23.3.2 [notice] To update, run: pip install --upgrade pip + black --check --diff ./jobserv ./runner ./tests ./jobserv_worker.py --- tests/test_api_test.py 2024-01-08 18:03:47.433338 +0000 +++ tests/test_api_test.py 2024-01-08 18:04:14.464503 +0000 @@ -242,6 +242,6 @@ self.assertEqual("PASSED", self.test.status.name) self.assertEqual("PASSED", self.test.run.status.name) self.assertEqual(2, len(self.test.results)) self.assertEqual("tr1", self.test.results[0].name) self.assertEqual("PASSED", self.test.results[0].status.name) - self.assertEqual("tr2", self.test.results[1].name) \ No newline at end of file + self.assertEqual("tr2", self.test.results[1].name) would reformat tests/test_api_test.py Oh no! 💥 💔 💥 1 file would be reformatted, 62 files would be left unchanged. Script completed with error(s) == 2024-01-08 18:04:20.198639: Finding artifacts to upload Uploading 0 items 0 bytes == 2024-01-08 18:04:20.556528: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|