# Run sent to worker: doanac-reckless == 2023-07-18 17:31:06.849549: Setting up runner on worker == 2023-07-18 17:31:09.085134: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/359/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2023-07-18 17:31:10.627144: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:2e94e493d6d5010d739ea473e44ea40f7c6e168bcb78e0c5a48c64f06aafbf5f Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2023-07-18 17:31:14.312130: Preparing bind mounts 2023-07-18 17:31:14.753165: INFO Creating secret: githubtok 2023-07-18 17:31:15.228622: INFO Creating secret: webhook-key 2023-07-18 17:31:15.856193: INFO Creating secret: milosz == 2023-07-18 17:31:16.880611: Creating container .netrc file 2023-07-18 17:31:17.425278: INFO Creating token for jobserv run access 2023-07-18 17:31:17.949496: INFO Creating a github token entry == 2023-07-18 17:31:19.080411: Preparing script == 2023-07-18 17:31:20.229105: Cloning git repository 2023-07-18 17:31:20.672833: INFO Clone_url: https://github.com/doanac/jobserv.git 2023-07-18 17:31:21.112446: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2023-07-18 17:31:22.087868: INFO Server does not appear to need credentials for cloning 2023-07-18 17:31:22.575299: INFO Adding githubtok to .gitconfig 2023-07-18 17:31:23.056266: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpzoq1wl27/repo'... 2023-07-18 17:31:25.361451: INFO Checking out: a2cf5673cf2a46d14695ff154564c153bd598fde Switched to branch 'jobserv-run' == 2023-07-18 17:31:26.363903: Setting up container environment 2023-07-18 17:31:26.704301: INFO Container environment variables: GH_PRNUM=93 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/a2cf5673cf2a46d14695ff154564c153bd598fde GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=3f9710d3bcbd377e779532a77b73af8839318739 GIT_OLD_SHA=3f9710d3bcbd377e779532a77b73af8839318739 GIT_SHA=a2cf5673cf2a46d14695ff154564c153bd598fde H_PROJECT=jobserv H_BUILD=359 H_RUN=flake8 H_RUN_URL=https://api.gavelci.us/projects/jobserv/builds/359/runs/flake8/ H_WORKER=doanac-reckless == 2023-07-18 17:31:27.366742: Running script inside container 2023-07-18 17:31:27.702307: 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.18/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz (1/12) Installing libgcc (12.2.1_git20220924-r10) (2/12) Installing libstdc++ (12.2.1_git20220924-r10) (3/12) Installing zstd-libs (1.5.5-r4) (4/12) Installing binutils (2.40-r7) (5/12) Installing libgomp (12.2.1_git20220924-r10) (6/12) Installing libatomic (12.2.1_git20220924-r10) (7/12) Installing gmp (6.2.1-r3) (8/12) Installing isl26 (0.26-r1) (9/12) Installing mpfr4 (4.2.0-r3) (10/12) Installing mpc1 (1.3.1-r1) (11/12) Installing gcc (12.2.1_git20220924-r10) (12/12) Installing musl-dev (1.2.4-r0) Executing busybox-1.36.1-r0.trigger OK: 159 MiB in 50 packages + pip3 install flake8 'flake8-junit-report==2.1.0' 'black==21.7b0' 'click==7.1.2' Collecting flake8 Downloading flake8-6.0.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 kB 656.1 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 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 mypy-extensions>=0.4.3 Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Collecting tomli<2.0.0,>=0.2.6 Downloading tomli-1.2.3-py3-none-any.whl (12 kB) Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting pathspec<1,>=0.8.1 Downloading pathspec-0.11.1-py3-none-any.whl (29 kB) Collecting regex>=2020.1.8 Downloading regex-2023.6.3-cp39-cp39-musllinux_1_1_x86_64.whl (741 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 741.3/741.3 kB 5.3 MB/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<3.1.0,>=3.0.0 Downloading pyflakes-3.0.1-py2.py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 942.1 kB/s eta 0:00:00 Collecting pycodestyle<2.11.0,>=2.10.0 Downloading pycodestyle-2.10.0-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.3/41.3 kB 725.9 kB/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=9016884cbbdeda4c4a3fd07d734dae5f51b480906ba856a268cb1f38ec4af409 Stored in directory: /root/.cache/pip/wheels/cf/f4/a2/215f2d41b7ea39ec29290157276313e311195cd929daf91fc4 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-6.0.0 flake8-junit-report-2.1.0 mccabe-0.7.0 mypy-extensions-1.0.0 pathspec-0.11.1 pycodestyle-2.10.0 pyflakes-3.0.1 regex-2023.6.3 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.0.1 -> 23.2 [notice] To update, run: pip install --upgrade pip + black --check --diff ./jobserv ./runner ./tests ./jobserv_worker.py --- tests/test_api_build.py 2023-07-18 17:31:25.684610 +0000 +++ tests/test_api_build.py 2023-07-18 17:31:58.991139 +0000 @@ -335,11 +335,11 @@ # test a build with runs headers = {"Content-type": "application/json"} input_data = { "trigger-name": "myapp-github-workflow-ci", - "runs": [{"name": "intel-corei7-64"}] + "runs": [{"name": "intel-corei7-64"}], } urlbase = "/projects/%s/external-builds/" % self.project.name _sign("http://localhost/projects/proj-1/external-builds/", headers, "POST") resp = self._post(urlbase, json.dumps(input_data), headers, 201) resp_data = json.loads(resp.data.decode()) would reformat tests/test_api_build.py Oh no! 💥 💔 💥 1 file would be reformatted, 62 files would be left unchanged. Script completed with error(s) == 2023-07-18 17:32:05.023185: Finding artifacts to upload Uploading 0 items 0 bytes == 2023-07-18 17:32:05.423316: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|