# Run sent to worker: doanac-reckless == 2020-08-27 17:18:33.911618: Setting up runner on worker == 2020-08-27 17:18:34.539763: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/36/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2020-08-27 17:18:34.745527: 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-08-27 17:18:37.554767: Preparing bind mounts 2020-08-27 17:18:37.587260: INFO Creating secret: dockerpass == 2020-08-27 17:18:37.797757: Creating container .netrc file 2020-08-27 17:18:37.797850: INFO Creating token for jobserv run access == 2020-08-27 17:18:38.032788: Preparing script == 2020-08-27 17:18:38.247271: Cloning git repository 2020-08-27 17:18:38.247313: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-08-27 17:18:38.247333: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-08-27 17:18:38.500608: INFO Server does not appear to need credentials for cloning 2020-08-27 17:18:38.500633: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp2mpq6k2a/repo'... 2020-08-27 17:18:39.756434: INFO Checking out: 078d404fb466ba0084b2118b1cdd29e524810d75 Switched to branch 'jobserv-run' == 2020-08-27 17:18:40.548726: Setting up container environment 2020-08-27 17:18:40.548831: 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=5067621ac3210881a3d6ab811ab17c3c755b3c8e GIT_SHA=078d404fb466ba0084b2118b1cdd29e524810d75 H_PROJECT=gavel-ci H_BUILD=36 H_RUN=build-container H_WORKER=doanac-reckless == 2020-08-27 17:18:40.761090: Running script inside container 2020-08-27 17:18:40.761131: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:078d40 --force-rm . Sending build context to Docker daemon 277kB 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 daa836c9c35b Removing intermediate container daa836c9c35b ---> 8621058864e4 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in bab4bd9f798a Removing intermediate container bab4bd9f798a ---> 0407cdd0d001 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 3a4525a78597 Removing intermediate container 3a4525a78597 ---> ccb2206f0795 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in b2b9b9ecbfc7 Removing intermediate container b2b9b9ecbfc7 ---> 3cc8e61d2fea Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 4a93061d5a0a Removing intermediate container 4a93061d5a0a ---> ac51eeb16265 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 73af2107bcf8 Removing intermediate container 73af2107bcf8 ---> db461beb76e6 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 1ce6180ae2a2 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 7f3fa0e448ed Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 19a03d16c5e7 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 4d35e65d6b9f Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 3e54556f3824 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 1d98a15c231d Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> f6cac8546120 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 0035e872d5d2 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.5-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.5-r0) Executing busybox-1.31.1-r16.trigger OK: 255 MiB in 68 packages Collecting pip Downloading pip-20.2.2-py2.py3-none-any.whl (1.5 MB) Collecting setuptools Downloading setuptools-49.6.0-py3-none-any.whl (803 kB) Installing collected packages: pip, setuptools Attempting uninstall: pip Found existing installation: pip 20.1.1 Uninstalling pip-20.1.1: Successfully uninstalled pip-20.1.1 Attempting uninstall: setuptools Found existing installation: setuptools 47.0.0 Uninstalling setuptools-47.0.0: Successfully uninstalled setuptools-47.0.0 Successfully installed pip-20.2.2 setuptools-49.6.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 lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 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 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 oauthlib Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.8.tar.gz (138 kB) Collecting sqlalchemy; extra == "sqla" Downloading SQLAlchemy-1.3.19.tar.gz (6.2 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-3.1.tar.gz (534 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.2.tar.gz (470 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) Collecting click>=5.1 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) Collecting Jinja2>=2.10 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 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) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) 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 Mako Downloading Mako-1.1.3-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 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=159540 sha256=3468c3d23b0f4f6d3671d6385a64ddebe56c696837797433e20cc6457bb09b92 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-3.1-cp38-cp38-linux_x86_64.whl size=1164280 sha256=a14f937e2f90bd14bec69374f8ad24241741a02ded5a1e75f130615f634e697e Stored in directory: /root/.cache/pip/wheels/58/c1/9d/ba9d10a2ff52b0d8d4cf43a7ab9dd10e30cb76387366758d65 Successfully built alembic cryptography Installing collected packages: itsdangerous, Werkzeug, click, MarkupSafe, Jinja2, flask, lazy, urlobject, idna, urllib3, requests, oauthlib, requests-oauthlib, 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 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' Attempting uninstall: idna Found existing installation: idna 2.9 Uninstalling idna-2.9: Successfully uninstalled idna-2.9 Attempting uninstall: urllib3 Found existing installation: urllib3 1.25.9 Uninstalling urllib3-1.25.9: Successfully uninstalled urllib3-1.25.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 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.2 click-7.1.2 cryptography-3.1 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.19 sqlalchemy-utils-0.36.8 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.5-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 0035e872d5d2 ---> 68904672a42a Successfully built 68904672a42a Successfully tagged doanac/gavel-ci:078d40 + docker tag doanac/gavel-ci:078d40 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:078d40 The push refers to repository [docker.io/doanac/gavel-ci] bb37f34bbace: Preparing 51ee37c6ca21: Preparing 07aa59566efa: Preparing 124d74737cbf: Preparing 4c40457e4a2a: Preparing c84c066f87f6: Preparing db754e44ec9f: Preparing 638d035cd3bf: Preparing 467d4d20d194: Preparing 50644c29ef5a: Preparing c84c066f87f6: Waiting db754e44ec9f: Waiting 467d4d20d194: Waiting 50644c29ef5a: Waiting 638d035cd3bf: Waiting 07aa59566efa: Pushed 124d74737cbf: Pushed 51ee37c6ca21: Pushed 4c40457e4a2a: Pushed c84c066f87f6: Pushed 467d4d20d194: Pushed db754e44ec9f: Pushed 638d035cd3bf: Pushed 50644c29ef5a: Layer already exists bb37f34bbace: Pushed 078d40: digest: sha256:341fd20c874d4cca9f2c593f49e5ce172c878b0e6732ea807d02827764ecbba2 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] bb37f34bbace: Preparing 51ee37c6ca21: Preparing 07aa59566efa: Preparing 124d74737cbf: Preparing 4c40457e4a2a: Preparing c84c066f87f6: Preparing db754e44ec9f: Preparing 638d035cd3bf: Preparing 467d4d20d194: Preparing 50644c29ef5a: Preparing db754e44ec9f: Waiting 638d035cd3bf: Waiting c84c066f87f6: Waiting 467d4d20d194: Waiting 50644c29ef5a: Waiting 4c40457e4a2a: Layer already exists bb37f34bbace: Layer already exists 51ee37c6ca21: Layer already exists 124d74737cbf: Layer already exists 07aa59566efa: Layer already exists db754e44ec9f: Layer already exists 50644c29ef5a: Layer already exists 467d4d20d194: Layer already exists 638d035cd3bf: Layer already exists c84c066f87f6: Layer already exists latest: digest: sha256:341fd20c874d4cca9f2c593f49e5ce172c878b0e6732ea807d02827764ecbba2 size: 2400 Script completed == 2020-08-27 17:21:54.627339: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-08-27 17:21:55.548010: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|