# Run sent to worker: doanac-reckless == 2022-06-02 17:02:16.945935: Setting up runner on worker == 2022-06-02 17:02:17.430798: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/45/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-06-02 17:02:17.955835: 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-06-02 17:02:19.712468: Preparing bind mounts 2022-06-02 17:02:19.895707: INFO Creating secret: dockerpass == 2022-06-02 17:02:20.275298: Creating container .netrc file 2022-06-02 17:02:20.475409: INFO Creating token for jobserv run access == 2022-06-02 17:02:20.873021: Preparing script == 2022-06-02 17:02:21.244230: Cloning git repository 2022-06-02 17:02:21.437016: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-06-02 17:02:21.647161: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-06-02 17:02:22.071171: INFO Server does not appear to need credentials for cloning 2022-06-02 17:02:22.256548: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpa67zora2/repo'... 2022-06-02 17:02:23.029898: INFO Checking out: 9175aaadcde6534387827e9cec0ffa8a7c854ff8 Switched to branch 'jobserv-run' == 2022-06-02 17:02:23.636229: Setting up container environment 2022-06-02 17:02:23.830048: 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=c9849e3ab8ffffa701e5515777663b14aa71b366 GIT_SHA=9175aaadcde6534387827e9cec0ffa8a7c854ff8 H_PROJECT=gavel-ci H_BUILD=45 H_RUN=build-container H_WORKER=doanac-reckless == 2022-06-02 17:02:24.177083: Running script inside container 2022-06-02 17:02:24.362452: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:9175aa --force-rm . Sending build context to Docker daemon 285.7kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 2408cc74d12b: Pulling fs layer 2408cc74d12b: Verifying Checksum 2408cc74d12b: Download complete 2408cc74d12b: Pull complete Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c Status: Downloaded newer image for alpine:latest ---> e66264b98777 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in b767681f3f75 Removing intermediate container b767681f3f75 ---> bfa9c7a0a058 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in e1c4c0d289db Removing intermediate container e1c4c0d289db ---> f3c7398ad202 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in d69745344109 Removing intermediate container d69745344109 ---> 049806dd165e Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 3f61274cb039 Removing intermediate container 3f61274cb039 ---> f2c4b809360e Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 9deb18be62ff Removing intermediate container 9deb18be62ff ---> 5e2aafe0dc54 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 4c76f2703e57 Removing intermediate container 4c76f2703e57 ---> 48a2498ead37 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 0810b9e70b8d Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 6b6f83be8a28 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> a5058401b1b6 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> b9c4effa826f Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 6565a601e842 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 3d67ed255c34 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> b81d2e5ce2ba 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 c54ff0849c27 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-r2) (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.1o-r0) (17/40) Installing openssl-dev (1.1.1o-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.4-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.4-r0) Executing busybox-1.35.0-r13.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.1.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (59.4.0) Collecting setuptools Downloading setuptools-62.3.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.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.1.2 setuptools-62.3.2 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.1 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 780.0 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 805.9 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.1 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 4.0 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 requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 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 oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 kB 385.0 kB/s eta 0:00:00 Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.2-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 kB 1.8 MB/s eta 0:00:00 Collecting alembic>=0.7 Downloading alembic-1.8.0-py3-none-any.whl (209 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 209.3/209.3 kB 2.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.8 MB/s eta 0:00:00 Collecting cryptography Downloading cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 7.6 MB/s eta 0:00:00 Collecting cffi>=1.1 Downloading cffi-1.15.0.tar.gz (484 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 484.1/484.1 kB 4.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting certifi>=2017.4.17 Downloading certifi-2022.5.18.1-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 kB 2.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 1.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.3 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.0-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 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 1.9 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 cffi, 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 cffi: started Running setup.py install for cffi: 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.0 MarkupSafe-2.0.1 PyMySQL-0.9.2 SQLAlchemy-1.3.19 Werkzeug-0.16.1 alembic-1.8.0 bcrypt-3.1.4 blinker-1.4 certifi-2022.5.18.1 cffi-1.15.0 chardet-3.0.4 click-8.1.3 cryptography-37.0.2 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.2 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-r2) (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.1o-r0) (9/14) Purging python3-dev (3.10.4-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-r13.trigger OK: 77 MiB in 40 packages Removing intermediate container c54ff0849c27 ---> c5d7420280d3 Successfully built c5d7420280d3 Successfully tagged doanac/gavel-ci:9175aa + docker tag doanac/gavel-ci:9175aa 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:9175aa The push refers to repository [docker.io/doanac/gavel-ci] 8d2df82d3ee6: Preparing c6aa460047dd: Preparing 1929d6bc0244: Preparing f0fcd413daee: Preparing b267521ad723: Preparing 52f963fa6c26: Preparing d0aef0f78530: Preparing 1ea2de912dc2: Preparing 09d8438679b8: Preparing 24302eb7d908: Preparing 52f963fa6c26: Waiting 1ea2de912dc2: Waiting 09d8438679b8: Waiting d0aef0f78530: Waiting 24302eb7d908: Waiting f0fcd413daee: Pushed b267521ad723: Pushed 1929d6bc0244: Pushed c6aa460047dd: Pushed d0aef0f78530: Pushed 1ea2de912dc2: Pushed 24302eb7d908: Layer already exists 52f963fa6c26: Pushed 09d8438679b8: Pushed 8d2df82d3ee6: Pushed 9175aa: digest: sha256:f37964ac2dc9009159ec7a3043ffe607dc544e646a8cbd002ed9b7cac21837e0 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 8d2df82d3ee6: Preparing c6aa460047dd: Preparing 1929d6bc0244: Preparing f0fcd413daee: Preparing b267521ad723: Preparing 52f963fa6c26: Preparing d0aef0f78530: Preparing 1ea2de912dc2: Preparing 09d8438679b8: Preparing 24302eb7d908: Preparing 52f963fa6c26: Waiting 09d8438679b8: Waiting d0aef0f78530: Waiting 1ea2de912dc2: Waiting 24302eb7d908: Waiting c6aa460047dd: Layer already exists f0fcd413daee: Layer already exists b267521ad723: Layer already exists 1929d6bc0244: Layer already exists 8d2df82d3ee6: Layer already exists 52f963fa6c26: Layer already exists d0aef0f78530: Layer already exists 1ea2de912dc2: Layer already exists 09d8438679b8: Layer already exists 24302eb7d908: Layer already exists latest: digest: sha256:f37964ac2dc9009159ec7a3043ffe607dc544e646a8cbd002ed9b7cac21837e0 size: 2400 Script completed == 2022-06-02 17:05:26.772606: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-06-02 17:05:27.550420: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|