# Run sent to worker: doanac-reckless == 2024-07-18 21:31:36.731551: Setting up runner on worker == 2024-07-18 21:31:37.992949: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/447/runs/flake8//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2024-07-18 21:31:38.512661: 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-18 21:32:43.515009: Preparing bind mounts 2024-07-18 21:32:43.719776: INFO Creating secret: githubtok 2024-07-18 21:32:43.907362: INFO Creating secret: webhook-key 2024-07-18 21:32:44.103295: INFO Creating secret: milosz == 2024-07-18 21:32:44.478648: Creating container .netrc file 2024-07-18 21:32:44.682282: INFO Creating token for jobserv run access 2024-07-18 21:32:44.888249: INFO Creating a github token entry == 2024-07-18 21:32:45.254782: Preparing script == 2024-07-18 21:32:45.637543: Cloning git repository 2024-07-18 21:32:45.847615: INFO Clone_url: https://github.com/foundriesio/jobserv.git 2024-07-18 21:32:46.038740: INFO Checking to see if https://github.com/foundriesio/jobserv.git requires authentication. 2024-07-18 21:32:46.400376: INFO Server does not appear to need credentials for cloning 2024-07-18 21:32:46.573912: INFO Adding githubtok to .gitconfig 2024-07-18 21:32:46.760947: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpjssj1n5y/repo'... 2024-07-18 21:32:48.257236: INFO Checking out: 0d4538ecaf74daa3c2fd8fb64feebe2302f4f8d3 Switched to branch 'jobserv-run' == 2024-07-18 21:32:48.938507: Setting up container environment 2024-07-18 21:32:49.113902: INFO Container environment variables: GH_PRNUM=128 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/0d4538ecaf74daa3c2fd8fb64feebe2302f4f8d3 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/foundriesio/jobserv.git GIT_SHA_BASE=013efa414b19cb5da7a68004d880becb30c84bc7 GIT_OLD_SHA=013efa414b19cb5da7a68004d880becb30c84bc7 GIT_SHA=0d4538ecaf74daa3c2fd8fb64feebe2302f4f8d3 H_PROJECT=jobserv H_BUILD=447 H_RUN=flake8 H_WORKER=doanac-reckless == 2024-07-18 21:32:49.469226: 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 348.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 974.1 kB/s eta 0:00:00 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 678.5 kB/s eta 0:00:00 Downloading flake8-7.1.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 540.9 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 575.5 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 3.4 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=c447e376e1a082d276c488e603bde5c1fa83ab93890f4ad5fa54f59f21563270 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-18 21:32:48.247712 +0000 +++ jobserv/models.py 2024-07-18 21:33:18.667585 +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-18 21:33:41.354106: Finding artifacts to upload Uploading 0 items 0 bytes == 2024-07-18 21:33:41.731693: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|