# Run sent to worker: doanac-reckless == 2021-08-27 20:27:49.094907: Setting up runner on worker == 2021-08-27 20:27:50.053731: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/240/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2021-08-27 20:27:50.243680: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:55fbe1ef2c62a1607ab702ac14111d9981d6b4f2a62351b75ffe34622f18dc3f Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2021-08-27 20:27:51.974770: Preparing bind mounts 2021-08-27 20:27:51.975166: INFO Creating secret: githubtok 2021-08-27 20:27:51.975248: INFO Creating secret: webhook-key 2021-08-27 20:27:51.975320: INFO Creating secret: milosz == 2021-08-27 20:27:52.147180: Creating container .netrc file 2021-08-27 20:27:52.147268: INFO Creating token for jobserv run access 2021-08-27 20:27:52.147316: INFO Creating a github token entry == 2021-08-27 20:27:52.332046: Preparing script == 2021-08-27 20:27:52.556830: Cloning git repository 2021-08-27 20:27:52.556856: INFO Clone_url: https://github.com/doanac/jobserv.git 2021-08-27 20:27:52.556879: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2021-08-27 20:27:52.773465: INFO Server does not appear to need credentials for cloning 2021-08-27 20:27:52.773766: INFO Adding githubtok to .gitconfig 2021-08-27 20:27:52.773873: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpuecn3_fy/repo'... 2021-08-27 20:27:54.131788: INFO Checking out: 65207d741548fa5dacc1fa026b3dc7c37b6a62d1 Switched to branch 'jobserv-run' == 2021-08-27 20:27:54.749921: Setting up container environment 2021-08-27 20:27:54.750029: INFO Container environment variables: GH_PRNUM=48 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/65207d741548fa5dacc1fa026b3dc7c37b6a62d1 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=aa95dca871801013249fad833e3511e30d49d9ef GIT_OLD_SHA=aa95dca871801013249fad833e3511e30d49d9ef GIT_SHA=65207d741548fa5dacc1fa026b3dc7c37b6a62d1 H_PROJECT=jobserv H_BUILD=240 H_RUN=flake8 H_WORKER=doanac-reckless == 2021-08-27 20:27:54.934152: Running script inside container + apk add musl-dev gcc fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz (1/12) Installing libgcc (10.3.1_git20210424-r2) (2/12) Installing libstdc++ (10.3.1_git20210424-r2) (3/12) Installing binutils (2.35.2-r2) (4/12) Installing libgomp (10.3.1_git20210424-r2) (5/12) Installing libatomic (10.3.1_git20210424-r2) (6/12) Installing libgphobos (10.3.1_git20210424-r2) (7/12) Installing gmp (6.2.1-r0) (8/12) Installing isl22 (0.22-r0) (9/12) Installing mpfr4 (4.1.0-r0) (10/12) Installing mpc1 (1.2.1-r0) (11/12) Installing gcc (10.3.1_git20210424-r2) (12/12) Installing musl-dev (1.2.2-r3) Executing busybox-1.33.1-r3.trigger OK: 136 MiB in 48 packages + pip3 install flake8 'flake8-junit-report==2.1.0' 'black==21.7b0' Collecting flake8 Downloading flake8-3.9.2-py2.py3-none-any.whl (73 kB) Collecting flake8-junit-report==2.1.0 Downloading flake8-junit-report-2.1.0.tar.gz (3.1 kB) Collecting black==21.7b0 Downloading black-21.7b0-py3-none-any.whl (141 kB) Collecting tomli<2.0.0,>=0.2.6 Downloading tomli-1.2.1-py3-none-any.whl (11 kB) Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting click>=7.1.2 Downloading click-8.0.1-py3-none-any.whl (97 kB) Collecting regex>=2020.1.8 Downloading regex-2021.8.28.tar.gz (694 kB) Collecting mypy-extensions>=0.4.3 Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting pathspec<1,>=0.8.1 Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB) Collecting pycodestyle<2.8.0,>=2.7.0 Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pyflakes<2.4.0,>=2.3.0 Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB) Building wheels for collected packages: flake8-junit-report, regex 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=3754 sha256=bdec3d6c99ce838ab3d50c9f1f759444e9f6f1c0f84a0336fda4023d4f610164 Stored in directory: /root/.cache/pip/wheels/cf/f4/a2/215f2d41b7ea39ec29290157276313e311195cd929daf91fc4 Building wheel for regex (setup.py): started Building wheel for regex (setup.py): finished with status 'done' Created wheel for regex: filename=regex-2021.8.28-cp39-cp39-linux_x86_64.whl size=294463 sha256=37df2597b6e4b19a0eba83c0481639211d5b5fe5bfb0c8686643508ef84d5ae4 Stored in directory: /root/.cache/pip/wheels/c1/0b/35/85c268a497411d8ec919526834da1046183cb84b2e60cfae68 Successfully built flake8-junit-report regex Installing collected packages: tomli, regex, pyflakes, pycodestyle, pathspec, mypy-extensions, mccabe, click, appdirs, flake8-junit-report, flake8, black Successfully installed appdirs-1.4.4 black-21.7b0 click-8.0.1 flake8-3.9.2 flake8-junit-report-2.1.0 mccabe-0.6.1 mypy-extensions-0.4.3 pathspec-0.9.0 pycodestyle-2.7.0 pyflakes-2.3.1 regex-2021.8.28 tomli-1.2.1 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 + black --check --diff ./jobserv ./runner All done! ✨ 🍰 ✨ 41 files would be left unchanged. + flake8 '--exclude=migrations/' ./ + tee flake8.txt ./tests/test_api_github.py:44:52: W605 invalid escape sequence '\.' ./tests/test_api_run.py:402:36: W605 invalid escape sequence '\s' ./tests/test_api_run.py:402:48: W605 invalid escape sequence '\S' ./tests/test_api_run.py:457:60: W605 invalid escape sequence '\S' ./tests/test_api_run.py:458:36: W605 invalid escape sequence '\s' ./tests/test_api_run.py:458:48: W605 invalid escape sequence '\S' ./jobserv/storage/base.py:104:9: E722 do not use bare 'except' ./jobserv/api/worker.py:93:17: E722 do not use bare 'except' + flake8_junit flake8.txt /archive/junit.xml File /archive/junit.xml was created successfullyScript completed == 2021-08-27 20:28:32.982990: Finding artifacts to upload Uploading 1 items 1699 bytes == 2021-08-27 20:28:33.783319: Analyzing junit results(/srv/gavelci-worker/runs/tmpuecn3_fy/archive/junit.xml) == 2021-08-27 20:28:34.198947: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|