# Run sent to worker: doanac-reckless == 2022-08-04 16:54:32.865035: Setting up runner on worker == 2022-08-04 16:54:33.340000: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/47/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:54:33.869767: 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:54:35.624666: Preparing bind mounts 2022-08-04 16:54:35.803498: INFO Creating secret: dockerpass == 2022-08-04 16:54:36.228908: Creating container .netrc file 2022-08-04 16:54:36.406933: INFO Creating token for jobserv run access == 2022-08-04 16:54:36.783999: Preparing script == 2022-08-04 16:54:37.165818: Cloning git repository 2022-08-04 16:54:37.337640: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-08-04 16:54:37.510117: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-08-04 16:54:37.906222: INFO Server does not appear to need credentials for cloning 2022-08-04 16:54:38.097231: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpupui4ges/repo'... 2022-08-04 16:54:39.043852: INFO Checking out: 87927c77d181fd3de3e19d98fd6cb5bab87b0b3d Switched to branch 'jobserv-run' == 2022-08-04 16:54:39.628317: Setting up container environment 2022-08-04 16:54:39.807274: 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=1bdd6bc99148b9db8c60f28899b30043540198ee GIT_SHA=87927c77d181fd3de3e19d98fd6cb5bab87b0b3d H_PROJECT=gavel-ci H_BUILD=47 H_RUN=build-container H_WORKER=doanac-reckless == 2022-08-04 16:54:40.178802: Running script inside container 2022-08-04 16:54:40.360580: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:87927c --force-rm . Sending build context to Docker daemon 288.3kB 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 4d99e9446244 Removing intermediate container 4d99e9446244 ---> 7be23379d603 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 702adc9fd2f2 Removing intermediate container 702adc9fd2f2 ---> 75d28cef5428 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in e009ca8eaaaa Removing intermediate container e009ca8eaaaa ---> f28c627297cd Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in d78283674843 Removing intermediate container d78283674843 ---> 1dbd55dded2c Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 3cff6bb1b915 Removing intermediate container 3cff6bb1b915 ---> 006705334f5d Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in e904ad922718 Removing intermediate container e904ad922718 ---> 2856abead04a Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> a58f1afa9151 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> e573778d9ad6 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 3513da2e28fd Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 1740737b42e0 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> ced0a24bfd0b Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> b2d11012aa77 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 14d3a6ef3dd3 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 99b3ccc49552 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 5.3 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 6.6 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.4 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.5 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 7.8 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 818.2 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 621.3 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 2.1 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 1.1 MB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 2.0 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 3.9 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) 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 urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 kB 2.9 MB/s eta 0:00:00 Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.3-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.3/100.3 kB 1.8 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 4.1 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 2.3 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 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 5.1 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 2.2 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 2.2 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 1.3 MB/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 2.6 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 1.5 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.3 MB/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 99b3ccc49552 ---> f103de6c6a81 Successfully built f103de6c6a81 Successfully tagged doanac/gavel-ci:87927c + docker tag doanac/gavel-ci:87927c 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:87927c The push refers to repository [docker.io/doanac/gavel-ci] ac48894cdd80: Preparing 3e1101b5afa7: Preparing 5a4ffb8550b3: Preparing 32813bbb95f9: Preparing 07efcb5542bf: Preparing b8b10f484ee5: Preparing c9a430fb58b4: Preparing 321a27ca2823: Preparing a1c8c25f6b6f: Preparing ec34fcc1d526: Preparing 321a27ca2823: Waiting a1c8c25f6b6f: Waiting ec34fcc1d526: Waiting c9a430fb58b4: Waiting 07efcb5542bf: Pushed 3e1101b5afa7: Pushed 5a4ffb8550b3: Pushed 32813bbb95f9: Pushed c9a430fb58b4: Pushed b8b10f484ee5: Pushed ec34fcc1d526: Layer already exists 321a27ca2823: Pushed a1c8c25f6b6f: Pushed ac48894cdd80: Pushed 87927c: digest: sha256:bc54efd73af1d281abe8646880a3c7ad415fd092872a340ff15f4235c3344fc1 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] ac48894cdd80: Preparing 3e1101b5afa7: Preparing 5a4ffb8550b3: Preparing 32813bbb95f9: Preparing 07efcb5542bf: Preparing b8b10f484ee5: Preparing c9a430fb58b4: Preparing 321a27ca2823: Preparing a1c8c25f6b6f: Preparing ec34fcc1d526: Preparing b8b10f484ee5: Waiting a1c8c25f6b6f: Waiting c9a430fb58b4: Waiting ec34fcc1d526: Waiting 321a27ca2823: Waiting 5a4ffb8550b3: Layer already exists 3e1101b5afa7: Layer already exists ac48894cdd80: Layer already exists 07efcb5542bf: Layer already exists 32813bbb95f9: Layer already exists ec34fcc1d526: Layer already exists 321a27ca2823: Layer already exists c9a430fb58b4: Layer already exists a1c8c25f6b6f: Layer already exists b8b10f484ee5: Layer already exists latest: digest: sha256:bc54efd73af1d281abe8646880a3c7ad415fd092872a340ff15f4235c3344fc1 size: 2400 Script completed == 2022-08-04 16:57:21.580192: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-08-04 16:57:22.348404: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|