# Run sent to worker: doanac-reckless == 2023-02-22 21:49:51.211732: Setting up runner on worker == 2023-02-22 21:49:51.626559: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/50/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2023-02-22 21:49:52.168900: Pulling container: docker:19.03.5-dind 19.03.5-dind: Pulling from library/docker Digest: sha256:033ba84f8ea98910d8fc51b8263fbeb24c48d6daf55ef7c654e2981784dac2f4 Status: Image is up to date for docker:19.03.5-dind docker.io/library/docker:19.03.5-dind == 2023-02-22 21:49:53.664906: Preparing bind mounts 2023-02-22 21:49:53.842390: INFO Creating secret: dockerpass == 2023-02-22 21:49:54.211605: Creating container .netrc file 2023-02-22 21:49:54.397299: INFO Creating token for jobserv run access == 2023-02-22 21:49:54.757174: Preparing script == 2023-02-22 21:49:55.113197: Cloning git repository 2023-02-22 21:49:55.286185: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2023-02-22 21:49:55.481049: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2023-02-22 21:49:55.891043: INFO Server does not appear to need credentials for cloning 2023-02-22 21:49:56.077704: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp1t5ofug7/repo'... 2023-02-22 21:49:56.945480: INFO Checking out: b242b44b6ddb93a0a919de1e0b335b2f52816fb8 Switched to branch 'jobserv-run' == 2023-02-22 21:49:57.554863: Setting up container environment 2023-02-22 21:49:57.748445: INFO Container environment variables: GIT_URL=https://github.com/doanac/gavel-ci.git GIT_POLL_REFS=refs/heads/master GIT_REF=refs/heads/master GIT_OLD_SHA=c9bf41dccad8a11098a32c6e7f61cb1056d3563f GIT_SHA=b242b44b6ddb93a0a919de1e0b335b2f52816fb8 H_PROJECT=gavel-ci H_BUILD=50 H_RUN=build-container H_WORKER=doanac-reckless == 2023-02-22 21:49:58.115894: Running script inside container 2023-02-22 21:49:58.296085: INFO Running with "--privileged" 2023-02-22 21:49:58.467810: INFO Running with --memory=14639596339 WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + docker build -t doanac/gavel-ci:b242b4 --force-rm . Sending build context to Docker daemon 291.3kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 63b65145d645: Pulling fs layer 63b65145d645: Verifying Checksum 63b65145d645: Download complete 63b65145d645: Pull complete Digest: sha256:69665d02cb32192e52e07644d76bc6f25abeb5410edc1c7a81a10ba3f0efb90a Status: Downloaded newer image for alpine:latest ---> b2aa39c304c2 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 0b3a1cb16157 Removing intermediate container 0b3a1cb16157 ---> 1766309de3e5 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 7b433034dc23 Removing intermediate container 7b433034dc23 ---> 59c4fd2843bc Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 1a725cd4a49c Removing intermediate container 1a725cd4a49c ---> 1697119dec63 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in de28a5a4d24e Removing intermediate container de28a5a4d24e ---> 344a9576541b Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 924487c8347e Removing intermediate container 924487c8347e ---> 64c2d18f89b6 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 2236d5fe54e8 Removing intermediate container 2236d5fe54e8 ---> 5ad78209e849 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> fb81e20e74a5 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> f4e727827740 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 5a1d1243ac9d Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> f0cd1782ec3b Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> a37ab69c82f2 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 370d2f12c4b8 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> f3c573d1568e Step 15/15 : RUN apk --no-cache add python3 py3-pip openssl $BUILD_PKGS && pip3 install --upgrade pip setuptools && pip3 install -r requirements.txt && apk del $BUILD_PKGS ---> Running in 7a34aeaf458b fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz (1/34) Installing libgcc (12.2.1_git20220924-r4) (2/34) Installing libstdc++ (12.2.1_git20220924-r4) (3/34) Installing binutils (2.39-r2) (4/34) Installing libgomp (12.2.1_git20220924-r4) (5/34) Installing libatomic (12.2.1_git20220924-r4) (6/34) Installing gmp (6.2.1-r2) (7/34) Installing isl25 (0.25-r0) (8/34) Installing mpfr4 (4.1.0-r0) (9/34) Installing mpc1 (1.2.1-r1) (10/34) Installing gcc (12.2.1_git20220924-r4) (11/34) Installing linux-headers (5.19.5-r0) (12/34) Installing libffi (3.4.4-r0) (13/34) Installing pkgconf (1.9.4-r0) (14/34) Installing libffi-dev (3.4.4-r0) (15/34) Installing musl-dev (1.2.3-r4) (16/34) Installing openssl (3.0.8-r0) (17/34) Installing openssl-dev (3.0.8-r0) (18/34) Installing libbz2 (1.0.8-r4) (19/34) Installing libexpat (2.5.0-r0) (20/34) Installing gdbm (1.23-r0) (21/34) Installing xz-libs (5.2.9-r0) (22/34) Installing mpdecimal (2.5.1-r1) (23/34) Installing ncurses-terminfo-base (6.3_p20221119-r0) (24/34) Installing ncurses-libs (6.3_p20221119-r0) (25/34) Installing readline (8.2.0-r0) (26/34) Installing sqlite-libs (3.40.1-r0) (27/34) Installing python3 (3.10.10-r0) (28/34) Installing py3-six (1.16.0-r3) (29/34) Installing py3-retrying (1.3.3-r3) (30/34) Installing py3-parsing (3.0.9-r0) (31/34) Installing py3-packaging (21.3-r2) (32/34) Installing py3-setuptools (65.6.0-r0) (33/34) Installing py3-pip (22.3.1-r1) (34/34) Installing python3-dev (3.10.10-r0) Executing busybox-1.35.0-r29.trigger OK: 282 MiB in 49 packages Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (22.3.1) Collecting pip Downloading pip-23.0.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 5.8 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (65.6.0) Collecting setuptools Downloading setuptools-67.4.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 6.2 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 65.6.0 Uninstalling setuptools-65.6.0: Successfully uninstalled setuptools-65.6.0 Attempting uninstall: pip Found existing installation: pip 22.3.1 Uninstalling pip-22.3.1: Successfully uninstalled pip-22.3.1 Successfully installed pip-23.0.1 setuptools-67.4.0 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 Collecting Flask-Dance[sqla]==6.2.0 Downloading flask_dance-6.2.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 719.2 kB/s eta 0:00:00 Collecting Flask-Login==0.6.2 Downloading Flask_Login-0.6.2-py3-none-any.whl (17 kB) Collecting Flask-Migrate==4.0.4 Downloading Flask_Migrate-4.0.4-py3-none-any.whl (20 kB) Collecting Flask-SQLAlchemy==3.0.3 Downloading Flask_SQLAlchemy-3.0.3-py3-none-any.whl (24 kB) Collecting Flask==2.2.3 Downloading Flask-2.2.3-py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 1.3 MB/s eta 0:00:00 Collecting Jinja2==3.0.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 kB 2.4 MB/s eta 0:00:00 Collecting SQLAlchemy==2.0.4 Downloading SQLAlchemy-2.0.4-cp310-cp310-musllinux_1_1_x86_64.whl (2.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 7.4 MB/s eta 0:00:00 Collecting PyMySQL==0.9.2 Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.8/47.8 kB 1.2 MB/s eta 0:00:00 Collecting bcrypt==3.1.4 Downloading bcrypt-3.1.4.tar.gz (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 1.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting gunicorn==20.1.0 Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 1.3 MB/s eta 0:00:00 Collecting pyjwt==2.4.0 Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB) Collecting requests==2.28.2 Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.2 MB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 1.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting oauthlib Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 2.5 MB/s eta 0:00:00 Collecting urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting Werkzeug Downloading Werkzeug-2.2.3-py3-none-any.whl (233 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.6/233.6 kB 3.5 MB/s eta 0:00:00 Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting alembic>=1.9.0 Downloading alembic-1.9.4-py3-none-any.whl (210 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.5/210.5 kB 3.1 MB/s eta 0:00:00 Collecting click>=8.0 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.9 MB/s eta 0:00:00 Collecting itsdangerous>=2.0 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.2-cp310-cp310-musllinux_1_1_x86_64.whl (29 kB) Collecting greenlet!=0.4.17 Downloading greenlet-2.0.2-cp310-cp310-musllinux_1_1_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.2 MB/s eta 0:00:00 Collecting typing-extensions>=4.2.0 Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting cryptography Downloading cryptography-39.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 7.7 MB/s eta 0:00:00 Collecting cffi>=1.1 Downloading cffi-1.15.1-cp310-cp310-musllinux_1_1_x86_64.whl (464 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 464.1/464.1 kB 4.9 MB/s eta 0:00:00 Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.10/site-packages (from bcrypt==3.1.4->-r requirements.txt (line 9)) (1.16.0) Requirement already satisfied: setuptools>=3.0 in /usr/lib/python3.10/site-packages (from gunicorn==20.1.0->-r requirements.txt (line 10)) (67.4.0) Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (192 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 192.3/192.3 kB 3.1 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.1 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 2.5 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 2.4 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 1.4 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 2.5 MB/s eta 0:00:00 Installing collected packages: urlobject, charset-normalizer, blinker, urllib3, typing-extensions, pyjwt, pycparser, oauthlib, MarkupSafe, itsdangerous, idna, gunicorn, greenlet, click, certifi, Werkzeug, SQLAlchemy, requests, Mako, Jinja2, cffi, requests-oauthlib, Flask, cryptography, bcrypt, alembic, PyMySQL, Flask-SQLAlchemy, Flask-Login, Flask-Dance, Flask-Migrate  DEPRECATION: urlobject is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559  Running setup.py install for urlobject: started Running setup.py install for urlobject: finished with status 'done'  DEPRECATION: blinker is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559  Running setup.py install for blinker: started Running setup.py install for blinker: finished with status 'done'  DEPRECATION: bcrypt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559  Running setup.py install for bcrypt: started Running setup.py install for bcrypt: finished with status 'done' Successfully installed Flask-2.2.3 Flask-Dance-6.2.0 Flask-Login-0.6.2 Flask-Migrate-4.0.4 Flask-SQLAlchemy-3.0.3 Jinja2-3.0.3 Mako-1.2.4 MarkupSafe-2.1.2 PyMySQL-0.9.2 SQLAlchemy-2.0.4 Werkzeug-2.2.3 alembic-1.9.4 bcrypt-3.1.4 blinker-1.4 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-3.0.1 click-8.1.3 cryptography-39.0.1 greenlet-2.0.2 gunicorn-20.1.0 idna-3.4 itsdangerous-2.1.2 oauthlib-3.2.2 pycparser-2.21 pyjwt-2.4.0 requests-2.28.2 requests-oauthlib-1.3.1 typing-extensions-4.5.0 urllib3-1.26.14 urlobject-2.4.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: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory (1/14) Purging gcc (12.2.1_git20220924-r4) (2/14) Purging binutils (2.39-r2) (3/14) Purging libatomic (12.2.1_git20220924-r4) (4/14) Purging libgomp (12.2.1_git20220924-r4) (5/14) Purging libffi-dev (3.4.4-r0) (6/14) Purging linux-headers (5.19.5-r0) (7/14) Purging musl-dev (1.2.3-r4) (8/14) Purging openssl-dev (3.0.8-r0) (9/14) Purging python3-dev (3.10.10-r0) (10/14) Purging isl25 (0.25-r0) (11/14) Purging mpc1 (1.2.1-r1) (12/14) Purging mpfr4 (4.1.0-r0) (13/14) Purging gmp (6.2.1-r2) (14/14) Purging pkgconf (1.9.4-r0) Executing busybox-1.35.0-r29.trigger OK: 83 MiB in 35 packages Removing intermediate container 7a34aeaf458b ---> 8480a3afcb81 Successfully built 8480a3afcb81 Successfully tagged doanac/gavel-ci:b242b4 + docker tag doanac/gavel-ci:b242b4 doanac/gavel-ci:latest + '[' -f /secrets/dockerpass ] + set +x WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker push doanac/gavel-ci:b242b4 The push refers to repository [docker.io/doanac/gavel-ci] 9063b221b5f3: Preparing f0ed5366e325: Preparing b1992b6fe178: Preparing 57d917eb0850: Preparing 28c7b53a9200: Preparing 6d208c95292a: Preparing 1020369af718: Preparing a8add5a52689: Preparing cec292b76572: Preparing 7cd52847ad77: Preparing 6d208c95292a: Waiting a8add5a52689: Waiting 1020369af718: Waiting cec292b76572: Waiting 28c7b53a9200: Pushed 57d917eb0850: Pushed b1992b6fe178: Pushed f0ed5366e325: Pushed 6d208c95292a: Pushed a8add5a52689: Pushed cec292b76572: Pushed 1020369af718: Pushed 7cd52847ad77: Layer already exists 9063b221b5f3: Pushed b242b4: digest: sha256:e0dd73acdecf8267cf12c3f62c8269a58fe0957b4043c1c71a08b2896eae6b2a size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 9063b221b5f3: Preparing f0ed5366e325: Preparing b1992b6fe178: Preparing 57d917eb0850: Preparing 28c7b53a9200: Preparing 6d208c95292a: Preparing 1020369af718: Preparing a8add5a52689: Preparing cec292b76572: Preparing 7cd52847ad77: Preparing cec292b76572: Waiting 1020369af718: Waiting a8add5a52689: Waiting 7cd52847ad77: Waiting b1992b6fe178: Layer already exists 28c7b53a9200: Layer already exists f0ed5366e325: Layer already exists 9063b221b5f3: Layer already exists 57d917eb0850: Layer already exists 1020369af718: Layer already exists 7cd52847ad77: Layer already exists 6d208c95292a: Layer already exists a8add5a52689: Layer already exists cec292b76572: Layer already exists latest: digest: sha256:e0dd73acdecf8267cf12c3f62c8269a58fe0957b4043c1c71a08b2896eae6b2a size: 2400 Script completed == 2023-02-22 21:52:39.135476: Finding artifacts to upload Uploading 1 items 11486 bytes == 2023-02-22 21:52:39.895393: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|