# Run sent to worker: doanac-reckless == 2020-07-07 14:57:28.859875: Setting up runner on worker == 2020-07-07 14:57:29.351662: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/34/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2020-07-07 14:57:29.546811: 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-07-07 14:57:31.615550: Preparing bind mounts 2020-07-07 14:57:31.615882: INFO Creating secret: dockerpass == 2020-07-07 14:57:31.833184: Creating container .netrc file 2020-07-07 14:57:31.833422: INFO Creating token for jobserv run access == 2020-07-07 14:57:32.028457: Preparing script == 2020-07-07 14:57:32.226918: Cloning git repository 2020-07-07 14:57:32.226993: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-07-07 14:57:32.227028: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-07-07 14:57:32.479632: INFO Server does not appear to need credentials for cloning 2020-07-07 14:57:32.479654: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpxdyit8sf/repo'... 2020-07-07 14:57:33.825149: INFO Checking out: c3eca7d1ef9edac648c0332dcb6c67189d39c629 Switched to branch 'jobserv-run' == 2020-07-07 14:57:34.506145: Setting up container environment 2020-07-07 14:57:34.506232: 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=e6b71e3ea8c742991deed492158108d042c7a969 GIT_SHA=c3eca7d1ef9edac648c0332dcb6c67189d39c629 H_PROJECT=gavel-ci H_BUILD=34 H_RUN=build-container H_WORKER=doanac-reckless == 2020-07-07 14:57:34.722682: Running script inside container 2020-07-07 14:57:34.722719: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:c3eca7 --force-rm . Sending build context to Docker daemon 273.4kB Step 1/15 : FROM alpine latest: Pulling from library/alpine df20fa9351a1: Pulling fs layer df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete df20fa9351a1: Pull complete Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 Status: Downloaded newer image for alpine:latest ---> a24bb4013296 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in b838c3e18fc1 Removing intermediate container b838c3e18fc1 ---> 9b76719bd9ec Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in f51e28913a1f Removing intermediate container f51e28913a1f ---> d1939c6d5324 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 907302702be3 Removing intermediate container 907302702be3 ---> 31fbe9b501b3 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 0972fdf3bc6d Removing intermediate container 0972fdf3bc6d ---> f37e4b11482a Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in d8361b69d1df Removing intermediate container d8361b69d1df ---> cbee0fcc5d9d Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in dba13e975475 Removing intermediate container dba13e975475 ---> 6264adeb8e24 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 7d9004201b0b Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 15cd50904bde Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> a7a8c2cd0c2e Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 7b824e973d94 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> abfe31789821 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 0e5e4d7c142b Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 3de4a78cd400 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 acb4593b1617 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/55) Upgrading musl (1.1.24-r8 -> 1.1.24-r9) (2/55) Installing libgcc (9.3.0-r2) (3/55) Installing libstdc++ (9.3.0-r2) (4/55) Installing binutils (2.34-r1) (5/55) Installing gmp (6.2.0-r0) (6/55) Installing isl (0.18-r0) (7/55) Installing libgomp (9.3.0-r2) (8/55) Installing libatomic (9.3.0-r2) (9/55) Installing libgphobos (9.3.0-r2) (10/55) Installing mpfr4 (4.0.2-r4) (11/55) Installing mpc1 (1.1.0-r1) (12/55) Installing gcc (9.3.0-r2) (13/55) Installing linux-headers (5.4.5-r1) (14/55) Installing libffi (3.3-r2) (15/55) Installing pkgconf (1.7.2-r0) (16/55) Installing libffi-dev (3.3-r2) (17/55) Installing musl-dev (1.1.24-r9) (18/55) Installing openssl (1.1.1g-r0) (19/55) Installing openssl-dev (1.1.1g-r0) (20/55) Installing libbz2 (1.0.8-r1) (21/55) Installing expat (2.2.9-r1) (22/55) Installing gdbm (1.13-r1) (23/55) Installing xz-libs (5.2.5-r0) (24/55) Installing ncurses-terminfo-base (6.2_p20200523-r0) (25/55) Installing ncurses-libs (6.2_p20200523-r0) (26/55) Installing readline (8.0.4-r0) (27/55) Installing sqlite-libs (3.32.1-r0) (28/55) Installing python3 (3.8.3-r0) (29/55) Installing py3-appdirs (1.4.4-r1) (30/55) Installing py3-ordered-set (4.0.1-r0) (31/55) Installing py3-parsing (2.4.7-r0) (32/55) Installing py3-six (1.15.0-r0) (33/55) Installing py3-packaging (20.4-r0) (34/55) Installing py3-setuptools (47.0.0-r0) (35/55) Installing py3-chardet (3.0.4-r4) (36/55) Installing py3-idna (2.9-r0) (37/55) Installing py3-certifi (2020.4.5.1-r0) (38/55) Installing py3-urllib3 (1.25.9-r0) (39/55) Installing py3-requests (2.23.0-r0) (40/55) Installing py3-msgpack (1.0.0-r0) (41/55) Installing py3-lockfile (0.12.2-r3) (42/55) Installing py3-cachecontrol (0.12.6-r0) (43/55) Installing py3-colorama (0.4.3-r0) (44/55) Installing py3-distlib (0.3.0-r0) (45/55) Installing py3-distro (1.5.0-r1) (46/55) Installing py3-webencodings (0.5.1-r3) (47/55) Installing py3-html5lib (1.0.1-r4) (48/55) Installing py3-pytoml (0.1.21-r0) (49/55) Installing py3-pep517 (0.8.2-r0) (50/55) Installing py3-progress (1.5-r0) (51/55) Installing py3-toml (0.10.1-r0) (52/55) Installing py3-retrying (1.3.3-r0) (53/55) Installing py3-contextlib2 (0.6.0-r0) (54/55) Installing py3-pip (20.1.1-r0) (55/55) Installing python3-dev (3.8.3-r0) Executing busybox-1.31.1-r16.trigger OK: 255 MiB in 68 packages Requirement already up-to-date: pip in /usr/lib/python3.8/site-packages (20.1.1) Collecting setuptools Downloading setuptools-49.1.0-py3-none-any.whl (789 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 47.0.0 Uninstalling setuptools-47.0.0: Successfully uninstalled setuptools-47.0.0 Successfully installed setuptools-49.1.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) Requirement already satisfied: six in /usr/lib/python3.8/site-packages (from Flask-Dance[sqla]==1.0.0->-r requirements.txt (line 1)) (1.15.0) 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.0-py2.py3-none-any.whl (23 kB) Collecting urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.7.tar.gz (131 kB) Collecting sqlalchemy; extra == "sqla" Downloading SQLAlchemy-1.3.18.tar.gz (6.0 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 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 Werkzeug>=0.14 Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests==2.20.1->-r requirements.txt (line 10)) (2020.4.5.1) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests==2.20.1->-r requirements.txt (line 10)) (3.0.4) Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting python-editor>=0.3 Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB) Collecting Mako Downloading Mako-1.1.3-py2.py3-none-any.whl (75 kB) Collecting python-dateutil Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 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) Using legacy setup.py install for Flask-Login, 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. Using legacy setup.py install for sqlalchemy-utils, 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 cffi, since package 'wheel' is not installed. Using legacy setup.py install 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=e2e88769b17e8b5a5686abd653e78235130b048c008593e5b8eaeaf949a2cf5d 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=1265238 sha256=92afd1b3aa5fe58522ffd2535e3c00038e015c81ec2e2fcaffed2ed207e031d6 Stored in directory: /root/.cache/pip/wheels/25/18/2a/aa91b67eb90b1e96326f7043ec79868974fc94648b14b64c5c Successfully built alembic cryptography Installing collected packages: oauthlib, lazy, urllib3, idna, requests, requests-oauthlib, MarkupSafe, Jinja2, click, itsdangerous, Werkzeug, flask, urlobject, sqlalchemy, sqlalchemy-utils, Flask-Dance, Flask-Login, Flask-SQLAlchemy, python-editor, Mako, python-dateutil, alembic, Flask-Migrate, pycparser, cffi, cryptography, PyMySQL, bcrypt, gunicorn, pyjwt, blinker Attempting uninstall: urllib3 Found existing installation: urllib3 1.25.9 Uninstalling urllib3-1.25.9: Successfully uninstalled urllib3-1.25.9 Attempting uninstall: idna Found existing installation: idna 2.9 Uninstalling idna-2.9: Successfully uninstalled idna-2.9 Attempting uninstall: requests Found existing installation: requests 2.23.0 Uninstalling requests-2.23.0: Successfully uninstalled requests-2.23.0 Running setup.py install for MarkupSafe: started Running setup.py install for MarkupSafe: finished with status 'done' Running setup.py install for urlobject: started Running setup.py install for urlobject: 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.3 MarkupSafe-1.1.1 PyMySQL-0.9.2 Werkzeug-1.0.1 alembic-1.4.2 bcrypt-3.1.4 blinker-1.4 cffi-1.14.0 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 sqlalchemy-1.3.18 sqlalchemy-utils-0.36.7 urllib3-1.24.3 urlobject-2.4.3 WARNING: Ignoring APKINDEX.2c4ac24e.tar.gz: No such file or directory WARNING: Ignoring APKINDEX.40a3604f.tar.gz: No such file or directory (1/17) Purging gcc (9.3.0-r2) (2/17) Purging binutils (2.34-r1) (3/17) Purging libatomic (9.3.0-r2) (4/17) Purging libgomp (9.3.0-r2) (5/17) Purging libgphobos (9.3.0-r2) (6/17) Purging libffi-dev (3.3-r2) (7/17) Purging linux-headers (5.4.5-r1) (8/17) Purging musl-dev (1.1.24-r9) (9/17) Purging openssl-dev (1.1.1g-r0) (10/17) Purging python3-dev (3.8.3-r0) (11/17) Purging libstdc++ (9.3.0-r2) (12/17) Purging libgcc (9.3.0-r2) (13/17) Purging isl (0.18-r0) (14/17) Purging mpc1 (1.1.0-r1) (15/17) Purging mpfr4 (4.0.2-r4) (16/17) Purging gmp (6.2.0-r0) (17/17) Purging pkgconf (1.7.2-r0) Executing busybox-1.31.1-r16.trigger OK: 66 MiB in 51 packages Removing intermediate container acb4593b1617 ---> 44eb5a9ec997 Successfully built 44eb5a9ec997 Successfully tagged doanac/gavel-ci:c3eca7 + docker tag doanac/gavel-ci:c3eca7 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:c3eca7 The push refers to repository [docker.io/doanac/gavel-ci] 7b1c14510330: Preparing 7b290ead0b07: Preparing 0319d2571f50: Preparing 6bc8f6fb217b: Preparing 98328b750915: Preparing 322c47619180: Preparing 76a35d2964f2: Preparing 494dd6d8baee: Preparing 5aef26593de8: Preparing 50644c29ef5a: Preparing 5aef26593de8: Waiting 322c47619180: Waiting 50644c29ef5a: Waiting 76a35d2964f2: Waiting 494dd6d8baee: Waiting 0319d2571f50: Pushed 98328b750915: Pushed 6bc8f6fb217b: Pushed 7b290ead0b07: Pushed 76a35d2964f2: Pushed 322c47619180: Pushed 494dd6d8baee: Pushed 50644c29ef5a: Mounted from library/alpine 5aef26593de8: Pushed 7b1c14510330: Pushed c3eca7: digest: sha256:75de93764cee53ad93ab819d166c1647da7c0071e0da90805ce2fe8f7436c83c size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 7b1c14510330: Preparing 7b290ead0b07: Preparing 0319d2571f50: Preparing 6bc8f6fb217b: Preparing 98328b750915: Preparing 322c47619180: Preparing 76a35d2964f2: Preparing 494dd6d8baee: Preparing 5aef26593de8: Preparing 50644c29ef5a: Preparing 322c47619180: Waiting 494dd6d8baee: Waiting 5aef26593de8: Waiting 50644c29ef5a: Waiting 7b1c14510330: Layer already exists 7b290ead0b07: Layer already exists 6bc8f6fb217b: Layer already exists 0319d2571f50: Layer already exists 98328b750915: Layer already exists 322c47619180: Layer already exists 76a35d2964f2: Layer already exists 5aef26593de8: Layer already exists 494dd6d8baee: Layer already exists 50644c29ef5a: Layer already exists latest: digest: sha256:75de93764cee53ad93ab819d166c1647da7c0071e0da90805ce2fe8f7436c83c size: 2400 Script completed == 2020-07-07 15:00:43.869555: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-07-07 15:00:44.734982: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|