# Run sent to worker: doanac-reckless == 2024-07-12 14:52:52.725122: Setting up runner on worker == 2024-07-12 14:52:53.720073: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/445/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2024-07-12 14:52:54.251300: Pulling container: python:3.11-alpine3.19 3.11-alpine3.19: Pulling from library/python Digest: sha256:794533313642577455aa046cf831ce6735337773617d3d5da35a54a851bd70c9 Status: Image is up to date for python:3.11-alpine3.19 docker.io/library/python:3.11-alpine3.19 == 2024-07-12 14:52:55.895530: Preparing bind mounts 2024-07-12 14:52:56.060228: INFO Creating secret: githubtok 2024-07-12 14:52:56.233155: INFO Creating secret: webhook-key 2024-07-12 14:52:56.415841: INFO Creating secret: milosz == 2024-07-12 14:52:56.770353: Creating container .netrc file 2024-07-12 14:52:56.953134: INFO Creating token for jobserv run access 2024-07-12 14:52:57.118502: INFO Creating a github token entry == 2024-07-12 14:52:57.451742: Preparing script == 2024-07-12 14:52:57.800136: Cloning git repository 2024-07-12 14:52:57.973887: INFO Clone_url: https://github.com/foundriesio/jobserv.git 2024-07-12 14:52:58.138464: INFO Checking to see if https://github.com/foundriesio/jobserv.git requires authentication. 2024-07-12 14:52:58.551788: INFO Server does not appear to need credentials for cloning 2024-07-12 14:52:58.726376: INFO Adding githubtok to .gitconfig 2024-07-12 14:52:58.893679: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp3egaarcf/repo'... 2024-07-12 14:52:59.904411: INFO Checking out: 013efa414b19cb5da7a68004d880becb30c84bc7 Switched to branch 'jobserv-run' == 2024-07-12 14:53:00.484722: Setting up container environment 2024-07-12 14:53:00.673737: INFO Container environment variables: GH_PRNUM=127 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/013efa414b19cb5da7a68004d880becb30c84bc7 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/foundriesio/jobserv.git GIT_SHA_BASE=c44450f7bdb9042917b44ae172b22ba1d3b3f1fb GIT_OLD_SHA=c44450f7bdb9042917b44ae172b22ba1d3b3f1fb GIT_SHA=013efa414b19cb5da7a68004d880becb30c84bc7 H_PROJECT=jobserv H_BUILD=445 H_RUN=flake8 H_WORKER=doanac-reckless == 2024-07-12 14:53:01.011024: 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 flake8 'flake8-junit-report==2.1.0' 'black==21.7b0' 'click==7.1.2' Collecting flake8 Downloading flake8-7.1.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.metadata (35 kB) Collecting click==7.1.2 Downloading click-7.1.2-py2.py3-none-any.whl.metadata (2.9 kB) Collecting appdirs (from black==21.7b0) Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB) Collecting tomli<2.0.0,>=0.2.6 (from black==21.7b0) Downloading tomli-1.2.3-py3-none-any.whl.metadata (9.1 kB) Collecting regex>=2020.1.8 (from black==21.7b0) Downloading regex-2024.5.15-cp311-cp311-musllinux_1_2_x86_64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 260.6 kB/s eta 0:00:00 Collecting pathspec<1,>=0.8.1 (from black==21.7b0) 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.metadata (1.1 kB) Collecting mccabe<0.8.0,>=0.7.0 (from flake8) Downloading mccabe-0.7.0-py2.py3-none-any.whl.metadata (5.0 kB) Collecting pycodestyle<2.13.0,>=2.12.0 (from flake8) Downloading pycodestyle-2.12.0-py2.py3-none-any.whl.metadata (4.5 kB) Collecting pyflakes<3.3.0,>=3.2.0 (from flake8) Downloading pyflakes-3.2.0-py2.py3-none-any.whl.metadata (3.5 kB) Downloading black-21.7b0-py3-none-any.whl (141 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.2/141.2 kB 1.2 MB/s eta 0:00:00 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 540.0 kB/s eta 0:00:00 Downloading flake8-7.1.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 772.1 kB/s eta 0:00:00 Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB) Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Downloading pathspec-0.12.1-py3-none-any.whl (31 kB) Downloading pycodestyle-2.12.0-py2.py3-none-any.whl (31 kB) Downloading pyflakes-3.2.0-py2.py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 776.9 kB/s eta 0:00:00 Downloading regex-2024.5.15-cp311-cp311-musllinux_1_2_x86_64.whl (774 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 774.0/774.0 kB 4.9 MB/s eta 0:00:00 Downloading tomli-1.2.3-py3-none-any.whl (12 kB) Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 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=569c42fff8d9f6286be47bdf9fa225f468637211bfcbb666b64b3e5a4f80d92f 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.1.0 flake8-junit-report-2.1.0 mccabe-0.7.0 mypy-extensions-1.0.0 pathspec-0.12.1 pycodestyle-2.12.0 pyflakes-3.2.0 regex-2024.5.15 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: 24.0 -> 24.1.2 [notice] To update, run: pip install --upgrade pip + black --check --diff ./jobserv ./runner ./tests ./jobserv_worker.py --- jobserv/models.py 2024-07-12 14:53:00.086104 +0000 +++ jobserv/models.py 2024-07-12 14:53:26.007926 +0000 @@ -185,11 +185,13 @@ pat = re.compile(VALID_SECRET_PATTERN) for k, v in self._secret_data.items(): if not isinstance(k, str): raise ValueError("Invalid secret name: %r" % k) if not pat.match(k): - raise ValueError(f"Invalid secret name `{k}`. Must match pattern: `{VALID_SECRET_PATTERN}`") + raise ValueError( + f"Invalid secret name `{k}`. Must match pattern: `{VALID_SECRET_PATTERN}`" + ) if not isinstance(v, str): raise ValueError("Invalid secret value(%s): %r" % (k, v)) self._init_fernet() self.secrets = self.fernet.encrypt( json.dumps(self._secret_data).encode() would reformat jobserv/models.py Oh no! 💥 💔 💥 1 file would be reformatted, 62 files would be left unchanged. Script completed with error(s) == 2024-07-12 14:53:34.203046: Finding artifacts to upload Uploading 0 items 0 bytes == 2024-07-12 14:53:34.571568: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|