# Run sent to worker: doanac-reckless == 2020-05-08 19:22:12.542531: Setting up runner on worker == 2020-05-08 19:22:13.014254: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/31/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2020-05-08 19:22:13.274970: 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-05-08 19:22:15.101000: Preparing bind mounts 2020-05-08 19:22:15.101147: INFO Creating secret: dockerpass == 2020-05-08 19:22:15.320942: Creating container .netrc file 2020-05-08 19:22:15.321075: INFO Creating token for jobserv run access == 2020-05-08 19:22:15.525833: Preparing script == 2020-05-08 19:22:15.753724: Cloning git repository 2020-05-08 19:22:15.753801: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-05-08 19:22:15.753830: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-05-08 19:22:16.005209: INFO Server does not appear to need credentials for cloning 2020-05-08 19:22:16.005231: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpz3ez5rn7/repo'... 2020-05-08 19:22:16.893621: INFO Checking out: d13f994b5f8a172bc742fcbba5ab935282b8585f Switched to branch 'jobserv-run' == 2020-05-08 19:22:17.522268: Setting up container environment 2020-05-08 19:22:17.522355: 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=83cb62016af309001171e3f4bc32789d4f7ab8ef GIT_SHA=d13f994b5f8a172bc742fcbba5ab935282b8585f H_PROJECT=gavel-ci H_BUILD=31 H_RUN=build-container H_WORKER=doanac-reckless == 2020-05-08 19:22:17.726535: Running script inside container 2020-05-08 19:22:17.726577: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:d13f99 --force-rm . Sending build context to Docker daemon 263.7kB Step 1/15 : FROM alpine latest: Pulling from library/alpine cbdbe7a5bc2a: Pulling fs layer cbdbe7a5bc2a: Download complete cbdbe7a5bc2a: Pull complete Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 Status: Downloaded newer image for alpine:latest ---> f70734b6a266 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 251e10243cce Removing intermediate container 251e10243cce ---> d525bec89c68 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in a2241beaef19 Removing intermediate container a2241beaef19 ---> 8154eb2a4778 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in e438cf11370e Removing intermediate container e438cf11370e ---> e1c9f7d9f5b2 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 3b840d9e8b95 Removing intermediate container 3b840d9e8b95 ---> 845838f0c4c1 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 155e3f612eb1 Removing intermediate container 155e3f612eb1 ---> 0ed702757b35 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 8717e3a8eaf7 Removing intermediate container 8717e3a8eaf7 ---> 7a460992de82 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 1bd61c3801cf Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> dda4c6ce9e72 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 5dc505ce9942 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 0bb1cc58418c Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 285eed0cf5c9 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> f300cd1c38f6 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 4a5605b0453c 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 3bf7ac2a4076 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/27) Installing libgcc (9.2.0-r4) (2/27) Installing libstdc++ (9.2.0-r4) (3/27) Installing binutils (2.33.1-r0) (4/27) Installing gmp (6.1.2-r1) (5/27) Installing isl (0.18-r0) (6/27) Installing libgomp (9.2.0-r4) (7/27) Installing libatomic (9.2.0-r4) (8/27) Installing mpfr4 (4.0.2-r1) (9/27) Installing mpc1 (1.1.0-r1) (10/27) Installing gcc (9.2.0-r4) (11/27) Installing linux-headers (4.19.36-r0) (12/27) Installing libffi (3.2.1-r6) (13/27) Installing pkgconf (1.6.3-r0) (14/27) Installing libffi-dev (3.2.1-r6) (15/27) Installing musl-dev (1.1.24-r2) (16/27) Installing openssl (1.1.1g-r0) (17/27) Installing openssl-dev (1.1.1g-r0) (18/27) Installing libbz2 (1.0.8-r1) (19/27) Installing expat (2.2.9-r1) (20/27) Installing gdbm (1.13-r1) (21/27) Installing xz-libs (5.2.4-r0) (22/27) Installing ncurses-terminfo-base (6.1_p20200118-r4) (23/27) Installing ncurses-libs (6.1_p20200118-r4) (24/27) Installing readline (8.0.1-r0) (25/27) Installing sqlite-libs (3.30.1-r2) (26/27) Installing python3 (3.8.2-r0) (27/27) Installing python3-dev (3.8.2-r0) Executing busybox-1.31.1-r9.trigger OK: 225 MiB in 41 packages Collecting pip Downloading https://files.pythonhosted.org/packages/54/2e/df11ea7e23e7e761d484ed3740285a34e38548cf2bad2bed3dd5768ec8b9/pip-20.1-py2.py3-none-any.whl (1.5MB) Collecting setuptools Downloading https://files.pythonhosted.org/packages/a0/df/635cdb901ee4a8a42ec68e480c49f85f4c59e8816effbf57d9e6ee8b3588/setuptools-46.1.3-py3-none-any.whl (582kB) 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.1 setuptools-46.1.3 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 requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 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 lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting oauthlib Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.5.tar.gz (131 kB) Collecting sqlalchemy; extra == "sqla" Downloading SQLAlchemy-1.3.16.tar.gz (6.1 MB) Collecting alembic>=0.7 Downloading alembic-1.4.2.tar.gz (1.1 MB) 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 cryptography Downloading cryptography-2.9.2.tar.gz (517 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 Werkzeug>=0.14 Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Collecting Jinja2>=2.10 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting click>=5.1 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 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 certifi>=2017.4.17 Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting python-dateutil Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting Mako Downloading Mako-1.1.2-py2.py3-none-any.whl (75 kB) Collecting python-editor>=0.3 Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1.tar.gz (19 kB) Could not build wheels for Flask-Login, since package 'wheel' is not installed. Could not build wheels for bcrypt, since package 'wheel' is not installed. Could not build wheels for blinker, since package 'wheel' is not installed. Could not build wheels for urlobject, since package 'wheel' is not installed. Could not build wheels for sqlalchemy-utils, since package 'wheel' is not installed. Could not build wheels for sqlalchemy, since package 'wheel' is not installed. Could not build wheels for cffi, since package 'wheel' is not installed. Could not build wheels for MarkupSafe, since package 'wheel' is not installed. Building wheels for collected packages: alembic, cryptography Building wheel for alembic (PEP 517): started Building wheel for alembic (PEP 517): finished with status 'done' Created wheel for alembic: filename=alembic-1.4.2-py2.py3-none-any.whl size=159543 sha256=3384646691988f2395c876351422501d00079ac00e3b121c653eac036e90a5e2 Stored in directory: /root/.cache/pip/wheels/70/08/70/cea787a7e95817b831469fa42af076046e55a05f7c94657463 Building wheel for cryptography (PEP 517): started Building wheel for cryptography (PEP 517): finished with status 'done' Created wheel for cryptography: filename=cryptography-2.9.2-cp38-cp38-linux_x86_64.whl size=820753 sha256=d15dd335339eb571a7b1b370331bf04a04cbab4b6d817159b4cbdf6775ed6975 Stored in directory: /root/.cache/pip/wheels/25/18/2a/aa91b67eb90b1e96326f7043ec79868974fc94648b14b64c5c Successfully built alembic cryptography Installing collected packages: chardet, urllib3, certifi, idna, requests, oauthlib, requests-oauthlib, six, urlobject, Werkzeug, MarkupSafe, Jinja2, click, itsdangerous, flask, lazy, sqlalchemy, sqlalchemy-utils, Flask-Dance, Flask-Login, Flask-SQLAlchemy, python-dateutil, Mako, python-editor, alembic, 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 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.2 Mako-1.1.2 MarkupSafe-1.1.1 PyMySQL-0.9.2 Werkzeug-1.0.1 alembic-1.4.2 bcrypt-3.1.4 blinker-1.4 certifi-2020.4.5.1 cffi-1.14.0 chardet-3.0.4 click-7.1.2 cryptography-2.9.2 flask-1.0.2 gunicorn-19.9.0 idna-2.7 itsdangerous-1.1.0 lazy-1.4 oauthlib-3.1.0 pycparser-2.20 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.16 sqlalchemy-utils-0.36.5 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-r4) (2/16) Purging binutils (2.33.1-r0) (3/16) Purging libatomic (9.2.0-r4) (4/16) Purging libgomp (9.2.0-r4) (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-r2) (8/16) Purging openssl-dev (1.1.1g-r0) (9/16) Purging python3-dev (3.8.2-r0) (10/16) Purging libstdc++ (9.2.0-r4) (11/16) Purging libgcc (9.2.0-r4) (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: 65 MiB in 25 packages Removing intermediate container 3bf7ac2a4076 ---> a7d80762bd4c Successfully built a7d80762bd4c Successfully tagged doanac/gavel-ci:d13f99 + docker tag doanac/gavel-ci:d13f99 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:d13f99 The push refers to repository [docker.io/doanac/gavel-ci] 20c8df0de76e: Preparing 8a9bb2dc4a0c: Preparing 4091809ec6f5: Preparing d3d08971ca12: Preparing 62b29a0c9460: Preparing a913e4df5de8: Preparing 9b0d777f2e01: Preparing 4b7744320012: Preparing 2427cc1adc87: Preparing 3e207b409db3: Preparing a913e4df5de8: Waiting 4b7744320012: Waiting 9b0d777f2e01: Waiting 3e207b409db3: Waiting 2427cc1adc87: Waiting d3d08971ca12: Pushed 62b29a0c9460: Pushed 4091809ec6f5: Pushed 8a9bb2dc4a0c: Pushed 9b0d777f2e01: Pushed 2427cc1adc87: Pushed 3e207b409db3: Layer already exists a913e4df5de8: Pushed 4b7744320012: Pushed 20c8df0de76e: Pushed d13f99: digest: sha256:88d0cb7daf227f29429f94a3c291883113b69e04a97e61ce86ee33225df95a3b size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 20c8df0de76e: Preparing 8a9bb2dc4a0c: Preparing 4091809ec6f5: Preparing d3d08971ca12: Preparing 62b29a0c9460: Preparing a913e4df5de8: Preparing 9b0d777f2e01: Preparing 4b7744320012: Preparing 2427cc1adc87: Preparing 3e207b409db3: Preparing 9b0d777f2e01: Waiting 4b7744320012: Waiting 3e207b409db3: Waiting a913e4df5de8: Waiting 4091809ec6f5: Layer already exists 8a9bb2dc4a0c: Layer already exists 20c8df0de76e: Layer already exists d3d08971ca12: Layer already exists 62b29a0c9460: Layer already exists 4b7744320012: Layer already exists a913e4df5de8: Layer already exists 9b0d777f2e01: Layer already exists 2427cc1adc87: Layer already exists 3e207b409db3: Layer already exists latest: digest: sha256:88d0cb7daf227f29429f94a3c291883113b69e04a97e61ce86ee33225df95a3b size: 2400 Script completed == 2020-05-08 19:25:23.217831: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-05-08 19:25:24.058446: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|