# Run sent to worker: doanac-reckless == 2022-08-04 16:38:19.956581: Setting up runner on worker == 2022-08-04 16:38:20.364642: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/46/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-08-04 16:38:20.919404: 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 == 2022-08-04 16:38:22.520316: Preparing bind mounts 2022-08-04 16:38:22.724801: INFO Creating secret: dockerpass == 2022-08-04 16:38:23.217328: Creating container .netrc file 2022-08-04 16:38:23.377801: INFO Creating token for jobserv run access == 2022-08-04 16:38:23.718164: Preparing script == 2022-08-04 16:38:24.054959: Cloning git repository 2022-08-04 16:38:24.233167: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-08-04 16:38:24.422118: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-08-04 16:38:24.835359: INFO Server does not appear to need credentials for cloning 2022-08-04 16:38:25.012053: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp9d41_vc4/repo'... 2022-08-04 16:38:26.262930: INFO Checking out: 1bdd6bc99148b9db8c60f28899b30043540198ee Switched to branch 'jobserv-run' == 2022-08-04 16:38:26.881811: Setting up container environment 2022-08-04 16:38:27.061381: 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=9175aaadcde6534387827e9cec0ffa8a7c854ff8 GIT_SHA=1bdd6bc99148b9db8c60f28899b30043540198ee H_PROJECT=gavel-ci H_BUILD=46 H_RUN=build-container H_WORKER=doanac-reckless == 2022-08-04 16:38:27.413724: Running script inside container 2022-08-04 16:38:27.596490: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:1bdd6b --force-rm . Sending build context to Docker daemon 287.2kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 530afca65e2e: Pulling fs layer 530afca65e2e: Verifying Checksum 530afca65e2e: Download complete 530afca65e2e: Pull complete Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 Status: Downloaded newer image for alpine:latest ---> d7d3d98c851f Step 2/15 : ARG GAVEL_VERSION=? ---> Running in fca675423430 Removing intermediate container fca675423430 ---> 8ddafa004649 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 6d0206cc3933 Removing intermediate container 6d0206cc3933 ---> 8dd4a668a93e Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 3ad5d3d21699 Removing intermediate container 3ad5d3d21699 ---> d16e80ce4f77 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in aee42125b3b6 Removing intermediate container aee42125b3b6 ---> 78572a3a8679 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in e35e8a41719b Removing intermediate container e35e8a41719b ---> 292e71e61ef8 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 397f7c928ce9 Removing intermediate container 397f7c928ce9 ---> 13798b0c08a1 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 6cf5970f4e04 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 00ef3790800a Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> bbc40b8dc34f Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 8d4a33347ea2 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> a8a374f5da72 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> b48e590c7b90 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> bf10d6cf1853 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 a533f392284d fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz (1/40) Installing libgcc (11.2.1_git20220219-r2) (2/40) Installing libstdc++ (11.2.1_git20220219-r2) (3/40) Installing binutils (2.38-r3) (4/40) Installing libgomp (11.2.1_git20220219-r2) (5/40) Installing libatomic (11.2.1_git20220219-r2) (6/40) Installing gmp (6.2.1-r2) (7/40) Installing isl22 (0.22-r0) (8/40) Installing mpfr4 (4.1.0-r0) (9/40) Installing mpc1 (1.2.1-r0) (10/40) Installing gcc (11.2.1_git20220219-r2) (11/40) Installing linux-headers (5.16.7-r1) (12/40) Installing libffi (3.4.2-r1) (13/40) Installing pkgconf (1.8.0-r0) (14/40) Installing libffi-dev (3.4.2-r1) (15/40) Installing musl-dev (1.2.3-r0) (16/40) Installing openssl (1.1.1q-r0) (17/40) Installing openssl-dev (1.1.1q-r0) (18/40) Installing libbz2 (1.0.8-r1) (19/40) Installing expat (2.4.8-r0) (20/40) Installing gdbm (1.23-r0) (21/40) Installing xz-libs (5.2.5-r1) (22/40) Installing mpdecimal (2.5.1-r1) (23/40) Installing ncurses-terminfo-base (6.3_p20220521-r0) (24/40) Installing ncurses-libs (6.3_p20220521-r0) (25/40) Installing readline (8.1.2-r0) (26/40) Installing sqlite-libs (3.38.5-r0) (27/40) Installing python3 (3.10.5-r0) (28/40) Installing py3-contextlib2 (21.6.0-r2) (29/40) Installing py3-tomli (2.0.1-r1) (30/40) Installing py3-pep517 (0.12.0-r2) (31/40) Installing py3-six (1.16.0-r1) (32/40) Installing py3-retrying (1.3.3-r3) (33/40) Installing py3-appdirs (1.4.4-r3) (34/40) Installing py3-more-itertools (8.13.0-r0) (35/40) Installing py3-ordered-set (4.0.2-r3) (36/40) Installing py3-parsing (2.4.7-r3) (37/40) Installing py3-packaging (21.3-r0) (38/40) Installing py3-setuptools (59.4.0-r0) (39/40) Installing py3-pip (22.1.1-r0) (40/40) Installing python3-dev (3.10.5-r0) Executing busybox-1.35.0-r15.trigger OK: 241 MiB in 54 packages Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (22.1.1) Collecting pip Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 1.9 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (59.4.0) Collecting setuptools Downloading setuptools-63.4.1-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.4 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 59.4.0 Uninstalling setuptools-59.4.0: Successfully uninstalled setuptools-59.4.0 Attempting uninstall: pip Found existing installation: pip 22.1.1 Uninstalling pip-22.1.1: Successfully uninstalled pip-22.1.1 Successfully installed pip-22.2.2 setuptools-63.4.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 Collecting Flask-Dance[sqla]==1.0.0 Downloading Flask_Dance-1.0.0-py2.py3-none-any.whl (39 kB) Collecting Flask-Login==0.4.1 Downloading Flask-Login-0.4.1.tar.gz (14 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting Flask-Migrate==2.3.1 Downloading Flask_Migrate-2.3.1-py2.py3-none-any.whl (12 kB) Collecting Flask-SQLAlchemy==2.3.2 Downloading Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl (16 kB) Collecting Flask==1.1.2 Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 1.5 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.1 MB/s eta 0:00:00 Collecting SQLAlchemy==1.3.19 Downloading SQLAlchemy-1.3.19.tar.gz (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 2.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyMySQL==0.9.2 Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.8/47.8 kB 73.8 kB/s eta 0:00:00 Collecting bcrypt==3.1.4 Downloading bcrypt-3.1.4.tar.gz (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 406.1 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.9/112.9 kB 1.4 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.20.1 Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 954.5 kB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 1.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting itsdangerous==2.0.1 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting MarkupSafe==2.0.1 Downloading MarkupSafe-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (30 kB) Collecting Werkzeug==0.16.1 Downloading Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 327.4/327.4 kB 999.5 kB/s eta 0:00:00 Collecting oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 kB 1.4 MB/s eta 0:00:00 Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: six in /usr/lib/python3.10/site-packages (from Flask-Dance[sqla]==1.0.0->-r requirements.txt (line 1)) (1.16.0) Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.3-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.3/100.3 kB 1.3 MB/s eta 0:00:00 Collecting alembic>=0.7 Downloading alembic-1.8.1-py3-none-any.whl (209 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 209.8/209.8 kB 1.5 MB/s eta 0:00:00 Collecting click>=5.1 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.1 MB/s eta 0:00:00 Collecting cryptography Downloading cryptography-37.0.4-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 1.8 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 1.5 MB/s eta 0:00:00 Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.2/58.2 kB 589.0 kB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.6.15-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 1.3 MB/s eta 0:00:00 Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 1.3 MB/s eta 0:00:00 Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.8/118.8 kB 1.1 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 882.6 kB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 961.0 kB/s eta 0:00:00 Using legacy 'setup.py install' for Flask-Login, since package 'wheel' is not installed. Using legacy 'setup.py install' for SQLAlchemy, since package 'wheel' is not installed. Using legacy 'setup.py install' for bcrypt, since package 'wheel' is not installed. Using legacy 'setup.py install' for blinker, since package 'wheel' is not installed. Using legacy 'setup.py install' for urlobject, since package 'wheel' is not installed. Installing collected packages: urlobject, lazy, idna, chardet, blinker, Werkzeug, urllib3, SQLAlchemy, pyjwt, pycparser, oauthlib, MarkupSafe, itsdangerous, gunicorn, click, certifi, sqlalchemy-utils, requests, Mako, Jinja2, cffi, requests-oauthlib, Flask, cryptography, bcrypt, alembic, PyMySQL, Flask-SQLAlchemy, Flask-Login, Flask-Dance, Flask-Migrate Running setup.py install for urlobject: started Running setup.py install for urlobject: finished with status 'done' Running setup.py install for blinker: started Running setup.py install for blinker: finished with status 'done' Running setup.py install for SQLAlchemy: started Running setup.py install for SQLAlchemy: finished with status 'done' Running setup.py install for bcrypt: started Running setup.py install for bcrypt: finished with status 'done' Running setup.py install for Flask-Login: started Running setup.py install for Flask-Login: finished with status 'done' Successfully installed Flask-1.1.2 Flask-Dance-1.0.0 Flask-Login-0.4.1 Flask-Migrate-2.3.1 Flask-SQLAlchemy-2.3.2 Jinja2-3.0.3 Mako-1.2.1 MarkupSafe-2.0.1 PyMySQL-0.9.2 SQLAlchemy-1.3.19 Werkzeug-0.16.1 alembic-1.8.1 bcrypt-3.1.4 blinker-1.4 certifi-2022.6.15 cffi-1.15.1 chardet-3.0.4 click-8.1.3 cryptography-37.0.4 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.4 oauthlib-3.2.0 pycparser-2.21 pyjwt-2.4.0 requests-2.20.1 requests-oauthlib-1.3.1 sqlalchemy-utils-0.38.3 urllib3-1.24.3 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.16/main: No such file or directory WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: No such file or directory (1/14) Purging gcc (11.2.1_git20220219-r2) (2/14) Purging binutils (2.38-r3) (3/14) Purging libatomic (11.2.1_git20220219-r2) (4/14) Purging libgomp (11.2.1_git20220219-r2) (5/14) Purging libffi-dev (3.4.2-r1) (6/14) Purging linux-headers (5.16.7-r1) (7/14) Purging musl-dev (1.2.3-r0) (8/14) Purging openssl-dev (1.1.1q-r0) (9/14) Purging python3-dev (3.10.5-r0) (10/14) Purging mpc1 (1.2.1-r0) (11/14) Purging mpfr4 (4.1.0-r0) (12/14) Purging isl22 (0.22-r0) (13/14) Purging gmp (6.2.1-r2) (14/14) Purging pkgconf (1.8.0-r0) Executing busybox-1.35.0-r15.trigger OK: 77 MiB in 40 packages Removing intermediate container a533f392284d ---> c36e47446c10 Successfully built c36e47446c10 Successfully tagged doanac/gavel-ci:1bdd6b + docker tag doanac/gavel-ci:1bdd6b 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:1bdd6b The push refers to repository [docker.io/doanac/gavel-ci] b36f8682e10b: Preparing da65201cbcf6: Preparing 904657311e65: Preparing d292e23f6b39: Preparing 0e011feed87d: Preparing 5db59e5b1af4: Preparing 9ffd360a8a04: Preparing cc9fdd3f4371: Preparing 316ffad710a7: Preparing ec34fcc1d526: Preparing 5db59e5b1af4: Waiting 9ffd360a8a04: Waiting 316ffad710a7: Waiting cc9fdd3f4371: Waiting 0e011feed87d: Pushed 904657311e65: Pushed da65201cbcf6: Pushed d292e23f6b39: Pushed cc9fdd3f4371: Pushed 5db59e5b1af4: Pushed 9ffd360a8a04: Pushed 316ffad710a7: Pushed ec34fcc1d526: Mounted from library/alpine b36f8682e10b: Pushed 1bdd6b: digest: sha256:a433fb2e6a4ff1e766f1276c89860653547fb50ecf0bd0b90bcdfd51a099b2c2 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] b36f8682e10b: Preparing da65201cbcf6: Preparing 904657311e65: Preparing d292e23f6b39: Preparing 0e011feed87d: Preparing 5db59e5b1af4: Preparing 9ffd360a8a04: Preparing cc9fdd3f4371: Preparing 316ffad710a7: Preparing ec34fcc1d526: Preparing 9ffd360a8a04: Waiting ec34fcc1d526: Waiting cc9fdd3f4371: Waiting 316ffad710a7: Waiting 5db59e5b1af4: Waiting b36f8682e10b: Layer already exists da65201cbcf6: Layer already exists 904657311e65: Layer already exists d292e23f6b39: Layer already exists 0e011feed87d: Layer already exists 9ffd360a8a04: Layer already exists cc9fdd3f4371: Layer already exists 316ffad710a7: Layer already exists 5db59e5b1af4: Layer already exists ec34fcc1d526: Layer already exists latest: digest: sha256:a433fb2e6a4ff1e766f1276c89860653547fb50ecf0bd0b90bcdfd51a099b2c2 size: 2400 Script completed == 2022-08-04 16:41:48.771872: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-08-04 16:41:49.502679: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|