# Run sent to worker: doanac-reckless == 2020-02-18 20:26:24.279312: Setting up runner on worker == 2020-02-18 20:26:24.761406: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/28/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2020-02-18 20:26:24.953881: 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 == 2020-02-18 20:26:26.713577: Preparing bind mounts 2020-02-18 20:26:26.713742: INFO Creating secret: dockerpass == 2020-02-18 20:26:26.944292: Creating container .netrc file 2020-02-18 20:26:26.944427: INFO Creating token for jobserv run access == 2020-02-18 20:26:27.182636: Preparing script == 2020-02-18 20:26:27.404765: Cloning git repository 2020-02-18 20:26:27.404802: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-02-18 20:26:27.404817: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-02-18 20:26:27.639707: INFO Server does not appear to need credentials for cloning 2020-02-18 20:26:27.639734: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpbr7mrphs/repo'... 2020-02-18 20:26:28.430387: INFO Checking out: 980c06bc9d774b09e58d9288cc2ea4bf6ede517b Switched to branch 'jobserv-run' == 2020-02-18 20:26:29.125699: Setting up container environment 2020-02-18 20:26:29.125745: 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=c55125e6fb29f66b360a70adcf50d569cde29d7e GIT_SHA=980c06bc9d774b09e58d9288cc2ea4bf6ede517b H_PROJECT=gavel-ci H_BUILD=28 H_RUN=build-container H_WORKER=doanac-reckless == 2020-02-18 20:26:29.327838: Running script inside container 2020-02-18 20:26:29.327862: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:980c06 --force-rm . Sending build context to Docker daemon 251.9kB Step 1/15 : FROM alpine latest: Pulling from library/alpine c9b1b535fdd9: Pulling fs layer c9b1b535fdd9: Verifying Checksum c9b1b535fdd9: Download complete c9b1b535fdd9: Pull complete Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d Status: Downloaded newer image for alpine:latest ---> e7d92cdc71fe Step 2/15 : ARG GAVEL_VERSION=? ---> Running in e97f905664be Removing intermediate container e97f905664be ---> a239504df076 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in fa6f06d399a7 Removing intermediate container fa6f06d399a7 ---> e7e0fe989340 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in d0b6cdfc5f54 Removing intermediate container d0b6cdfc5f54 ---> a926eebfd3ec Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 6c8d857491ee Removing intermediate container 6c8d857491ee ---> 310eada99298 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 11d2edb8260e Removing intermediate container 11d2edb8260e ---> 7a98cad02e4d Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 1733b3c14af2 Removing intermediate container 1733b3c14af2 ---> bba233babe36 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 5e65497f4943 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 1bae556fc86c Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> e720f979f781 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> cee44b48dad3 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 6e23f627eab9 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> afc7d9a085f7 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 532e1beb17fc 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 79f3261e1e33 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz (1/28) Installing libgcc (9.2.0-r3) (2/28) Installing libstdc++ (9.2.0-r3) (3/28) Installing binutils (2.33.1-r0) (4/28) Installing gmp (6.1.2-r1) (5/28) Installing isl (0.18-r0) (6/28) Installing libgomp (9.2.0-r3) (7/28) Installing libatomic (9.2.0-r3) (8/28) Installing mpfr4 (4.0.2-r1) (9/28) Installing mpc1 (1.1.0-r1) (10/28) Installing gcc (9.2.0-r3) (11/28) Installing linux-headers (4.19.36-r0) (12/28) Installing libffi (3.2.1-r6) (13/28) Installing pkgconf (1.6.3-r0) (14/28) Installing libffi-dev (3.2.1-r6) (15/28) Installing musl-dev (1.1.24-r0) (16/28) Installing openssl (1.1.1d-r3) (17/28) Installing openssl-dev (1.1.1d-r3) (18/28) Installing libbz2 (1.0.8-r1) (19/28) Installing expat (2.2.9-r1) (20/28) Installing gdbm (1.13-r1) (21/28) Installing xz-libs (5.2.4-r0) (22/28) Installing ncurses-terminfo-base (6.1_p20191130-r0) (23/28) Installing ncurses-terminfo (6.1_p20191130-r0) (24/28) Installing ncurses-libs (6.1_p20191130-r0) (25/28) Installing readline (8.0.1-r0) (26/28) Installing sqlite-libs (3.30.1-r1) (27/28) Installing python3 (3.8.1-r0) (28/28) Installing python3-dev (3.8.1-r0) Executing busybox-1.31.1-r9.trigger OK: 232 MiB in 42 packages Collecting pip Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB) Collecting setuptools Downloading https://files.pythonhosted.org/packages/3d/72/1c1498c1e908e0562b1e1cd30012580baa7d33b5b0ffdbeb5fde2462cc71/setuptools-45.2.0-py3-none-any.whl (584kB) Installing collected packages: pip, setuptools Found existing installation: pip 19.2.3 Uninstalling pip-19.2.3: Successfully uninstalled pip-19.2.3 Found existing installation: setuptools 41.2.0 Uninstalling setuptools-41.2.0: Successfully uninstalled setuptools-41.2.0 Successfully installed pip-20.0.2 setuptools-45.2.0 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) 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 PyMySQL==0.9.2 Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) Collecting bcrypt==3.1.4 Downloading bcrypt-3.1.4.tar.gz (42 kB) Collecting flask==1.0.2 Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB) Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) Collecting pyjwt==1.6.4 Downloading PyJWT-1.6.4-py2.py3-none-any.whl (19 kB) Collecting requests==2.20.1 Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB) Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) Collecting oauthlib Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Collecting six Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.1.tar.gz (128 kB) Collecting sqlalchemy; extra == "sqla" Downloading SQLAlchemy-1.3.13.tar.gz (6.0 MB) Collecting alembic>=0.7 Downloading alembic-1.4.0.tar.gz (1.1 MB) Collecting cryptography Downloading cryptography-2.8.tar.gz (504 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting cffi>=1.1 Using cached cffi-1.14.0.tar.gz (463 kB) Collecting Jinja2>=2.10 Downloading Jinja2-2.11.1-py2.py3-none-any.whl (126 kB) Collecting click>=5.1 Downloading Click-7.0-py2.py3-none-any.whl (81 kB) Collecting Werkzeug>=0.14 Downloading Werkzeug-1.0.0-py2.py3-none-any.whl (298 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting certifi>=2017.4.17 Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting Mako Downloading Mako-1.1.1.tar.gz (468 kB) Collecting python-editor>=0.3 Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB) Collecting python-dateutil Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting pycparser Using cached pycparser-2.19.tar.gz (158 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1.tar.gz (19 kB) Building wheels for collected packages: cryptography Building wheel for cryptography (PEP 517): started Building wheel for cryptography (PEP 517): finished with status 'done' Created wheel for cryptography: filename=cryptography-2.8-cp38-cp38-linux_x86_64.whl size=818888 sha256=b16429398a502bdf920229a0ad590e801ca846328786d2ed0d35b7cdd65be6de Stored in directory: /root/.cache/pip/wheels/17/44/d0/4b5d45f432c78049ac766f5e4a13af07e4a72768055137312e Successfully built cryptography Installing collected packages: oauthlib, idna, certifi, chardet, urllib3, requests, six, urlobject, requests-oauthlib, lazy, MarkupSafe, Jinja2, click, Werkzeug, itsdangerous, flask, sqlalchemy, sqlalchemy-utils, Flask-Dance, Flask-Login, Mako, python-editor, python-dateutil, alembic, Flask-SQLAlchemy, Flask-Migrate, pycparser, cffi, cryptography, PyMySQL, bcrypt, gunicorn, pyjwt, blinker Running setup.py install for urlobject: started Running setup.py install for urlobject: finished with status 'done' Running setup.py install for MarkupSafe: started Running setup.py install for MarkupSafe: 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 sqlalchemy-utils: started Running setup.py install for sqlalchemy-utils: finished with status 'done' Running setup.py install for Flask-Login: started Running setup.py install for Flask-Login: finished with status 'done' Running setup.py install for Mako: started Running setup.py install for Mako: finished with status 'done' Running setup.py install for alembic: started Running setup.py install for alembic: finished with status 'done' Running setup.py install for pycparser: started Running setup.py install for pycparser: 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 blinker: started Running setup.py install for blinker: finished with status 'done' Successfully installed Flask-Dance-1.0.0 Flask-Login-0.4.1 Flask-Migrate-2.3.1 Flask-SQLAlchemy-2.3.2 Jinja2-2.11.1 Mako-1.1.1 MarkupSafe-1.1.1 PyMySQL-0.9.2 Werkzeug-1.0.0 alembic-1.4.0 bcrypt-3.1.4 blinker-1.4 certifi-2019.11.28 cffi-1.14.0 chardet-3.0.4 click-7.0 cryptography-2.8 flask-1.0.2 gunicorn-19.9.0 idna-2.7 itsdangerous-1.1.0 lazy-1.4 oauthlib-3.1.0 pycparser-2.19 pyjwt-1.6.4 python-dateutil-2.8.1 python-editor-1.0.4 requests-2.20.1 requests-oauthlib-1.3.0 six-1.14.0 sqlalchemy-1.3.13 sqlalchemy-utils-0.36.1 urllib3-1.24.3 urlobject-2.4.3 WARNING: Ignoring APKINDEX.70f61090.tar.gz: No such file or directory WARNING: Ignoring APKINDEX.ca2fea5b.tar.gz: No such file or directory (1/16) Purging gcc (9.2.0-r3) (2/16) Purging binutils (2.33.1-r0) (3/16) Purging libatomic (9.2.0-r3) (4/16) Purging libgomp (9.2.0-r3) (5/16) Purging libffi-dev (3.2.1-r6) (6/16) Purging linux-headers (4.19.36-r0) (7/16) Purging musl-dev (1.1.24-r0) (8/16) Purging openssl-dev (1.1.1d-r3) (9/16) Purging python3-dev (3.8.1-r0) (10/16) Purging libstdc++ (9.2.0-r3) (11/16) Purging libgcc (9.2.0-r3) (12/16) Purging isl (0.18-r0) (13/16) Purging mpc1 (1.1.0-r1) (14/16) Purging mpfr4 (4.0.2-r1) (15/16) Purging gmp (6.1.2-r1) (16/16) Purging pkgconf (1.6.3-r0) Executing busybox-1.31.1-r9.trigger OK: 72 MiB in 26 packages Removing intermediate container 79f3261e1e33 ---> cc8b3edf5c4b Successfully built cc8b3edf5c4b Successfully tagged doanac/gavel-ci:980c06 + docker tag doanac/gavel-ci:980c06 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:980c06 The push refers to repository [docker.io/doanac/gavel-ci] 3d576c36153b: Preparing 33c0b64aed76: Preparing 2be8a7ecbe69: Preparing 4b2f39863925: Preparing 536be74ad6b3: Preparing d343168e0449: Preparing e22f5b67674e: Preparing abbfb65d388a: Preparing 45b80ad7e2cc: Preparing 5216338b40a7: Preparing 45b80ad7e2cc: Waiting e22f5b67674e: Waiting 5216338b40a7: Waiting abbfb65d388a: Waiting d343168e0449: Waiting 536be74ad6b3: Pushed 2be8a7ecbe69: Pushed 33c0b64aed76: Pushed 4b2f39863925: Pushed abbfb65d388a: Pushed e22f5b67674e: Pushed d343168e0449: Pushed 45b80ad7e2cc: Pushed 5216338b40a7: Mounted from library/alpine 3d576c36153b: Pushed 980c06: digest: sha256:a2de114daaed5768ad0663c3458f25133f4175e5f23fa32e9fc4cb743d9431f5 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 3d576c36153b: Preparing 33c0b64aed76: Preparing 2be8a7ecbe69: Preparing 4b2f39863925: Preparing 536be74ad6b3: Preparing d343168e0449: Preparing e22f5b67674e: Preparing abbfb65d388a: Preparing 45b80ad7e2cc: Preparing 5216338b40a7: Preparing d343168e0449: Waiting e22f5b67674e: Waiting abbfb65d388a: Waiting 45b80ad7e2cc: Waiting 33c0b64aed76: Layer already exists 536be74ad6b3: Layer already exists 4b2f39863925: Layer already exists 2be8a7ecbe69: Layer already exists 3d576c36153b: Layer already exists d343168e0449: Layer already exists 5216338b40a7: Layer already exists e22f5b67674e: Layer already exists 45b80ad7e2cc: Layer already exists abbfb65d388a: Layer already exists latest: digest: sha256:a2de114daaed5768ad0663c3458f25133f4175e5f23fa32e9fc4cb743d9431f5 size: 2400 Script completed == 2020-02-18 20:29:21.083852: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-02-18 20:29:22.088902: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|