# Run sent to worker: doanac-reckless == 2022-08-04 16:36:15.464643: Setting up runner on worker == 2022-08-04 16:36:16.534742: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/287/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-08-04 16:36:17.075931: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:83a343afa488ff14d0c807b62770140d2ec30ef2e83a3a45c4ce62c29623e240 Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2022-08-04 16:36:18.815228: Preparing bind mounts 2022-08-04 16:36:19.002098: INFO Creating secret: githubtok 2022-08-04 16:36:19.207071: INFO Creating secret: webhook-key 2022-08-04 16:36:19.378017: INFO Creating secret: milosz == 2022-08-04 16:36:19.745829: Creating container .netrc file 2022-08-04 16:36:19.918402: INFO Creating token for jobserv run access 2022-08-04 16:36:20.109664: INFO Creating a github token entry == 2022-08-04 16:36:20.489460: Preparing script == 2022-08-04 16:36:20.856324: Cloning git repository 2022-08-04 16:36:21.044319: INFO Clone_url: https://github.com/doanac/jobserv.git 2022-08-04 16:36:21.236547: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2022-08-04 16:36:21.654732: INFO Server does not appear to need credentials for cloning 2022-08-04 16:36:21.833818: INFO Adding githubtok to .gitconfig 2022-08-04 16:36:22.006013: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpc64a4am2/repo'... 2022-08-04 16:36:23.032740: INFO Checking out: f785d31123d0b727c4466753da4b2cfc8612852d Switched to branch 'jobserv-run' == 2022-08-04 16:36:23.637787: Setting up container environment 2022-08-04 16:36:23.808481: INFO Container environment variables: GH_PRNUM=64 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/f785d31123d0b727c4466753da4b2cfc8612852d GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=6dbbef322d6872825e09ccaecb2e7227bb66440c GIT_OLD_SHA=6dbbef322d6872825e09ccaecb2e7227bb66440c GIT_SHA=f785d31123d0b727c4466753da4b2cfc8612852d H_PROJECT=jobserv H_BUILD=287 H_RUN=flake8 H_WORKER=doanac-reckless == 2022-08-04 16:36:24.189777: Running script inside container + apk add musl-dev gcc fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz (1/11) Installing libgcc (11.2.1_git20220219-r2) (2/11) Installing libstdc++ (11.2.1_git20220219-r2) (3/11) Installing binutils (2.38-r3) (4/11) Installing libgomp (11.2.1_git20220219-r2) (5/11) Installing libatomic (11.2.1_git20220219-r2) (6/11) Installing gmp (6.2.1-r2) (7/11) Installing isl22 (0.22-r0) (8/11) Installing mpfr4 (4.1.0-r0) (9/11) Installing mpc1 (1.2.1-r0) (10/11) Installing gcc (11.2.1_git20220219-r2) (11/11) Installing musl-dev (1.2.3-r0) Executing busybox-1.35.0-r15.trigger OK: 127 MiB in 47 packages + pip3 install flake8 'flake8-junit-report==2.1.0' 'black==21.7b0' Collecting flake8 Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.9/61.9 KB 793.4 kB/s eta 0:00:00 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 2.0 MB/s eta 0:00:00 Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting regex>=2020.1.8 Downloading regex-2022.7.25-cp39-cp39-musllinux_1_1_x86_64.whl (734 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 734.4/734.4 KB 5.6 MB/s eta 0:00:00 Collecting pathspec<1,>=0.8.1 Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB) Collecting mypy-extensions>=0.4.3 Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting click>=7.1.2 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 1.7 MB/s eta 0:00:00 Collecting tomli<2.0.0,>=0.2.6 Downloading tomli-1.2.3-py3-none-any.whl (12 kB) Collecting pycodestyle<2.10.0,>=2.9.0 Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 KB 759.2 kB/s eta 0:00:00 Collecting mccabe<0.8.0,>=0.7.0 Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB) Collecting pyflakes<2.6.0,>=2.5.0 Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 KB 1.4 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=3753 sha256=d2ef8595d28c37ed85d69284abac8e339114372b836ac8f8d03154596a9b5dbc Stored in directory: /root/.cache/pip/wheels/cf/f4/a2/215f2d41b7ea39ec29290157276313e311195cd929daf91fc4 Successfully built flake8-junit-report Installing collected packages: mypy-extensions, flake8-junit-report, appdirs, tomli, regex, pyflakes, pycodestyle, pathspec, mccabe, click, flake8, black Successfully installed appdirs-1.4.4 black-21.7b0 click-8.1.3 flake8-5.0.4 flake8-junit-report-2.1.0 mccabe-0.7.0 mypy-extensions-0.4.3 pathspec-0.9.0 pycodestyle-2.9.1 pyflakes-2.5.0 regex-2022.7.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 WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. + black --check --diff ./jobserv ./runner ./tests ./jobserv_worker.py Traceback (most recent call last): File "/usr/local/bin/black", line 8, in sys.exit(patched_main()) File "/usr/local/lib/python3.9/site-packages/black/__init__.py", line 1129, in patched_main patch_click() File "/usr/local/lib/python3.9/site-packages/black/__init__.py", line 1115, in patch_click from click import _unicodefun # type: ignore ImportError: cannot import name '_unicodefun' from 'click' (/usr/local/lib/python3.9/site-packages/click/__init__.py) Script completed with error(s) == 2022-08-04 16:36:42.538331: Finding artifacts to upload Uploading 0 items 0 bytes == 2022-08-04 16:36:42.936390: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|