# Run sent to worker: doanac-reckless == 2020-09-03 18:21:20.220021: Setting up runner on worker == 2020-09-03 18:21:20.644435: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/38/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2020-09-03 18:21:20.824168: 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-09-03 18:21:22.666218: Preparing bind mounts 2020-09-03 18:21:22.666440: INFO Creating secret: dockerpass == 2020-09-03 18:21:22.871756: Creating container .netrc file 2020-09-03 18:21:22.871935: INFO Creating token for jobserv run access == 2020-09-03 18:21:23.074382: Preparing script == 2020-09-03 18:21:23.276833: Cloning git repository 2020-09-03 18:21:23.276890: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-09-03 18:21:23.276918: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-09-03 18:21:23.644536: INFO Server does not appear to need credentials for cloning 2020-09-03 18:21:23.644569: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp7uwcfs0o/repo'... 2020-09-03 18:21:24.703645: INFO Checking out: 201b0c19485df23b3357d43f5e6fdc1a753a0df5 Switched to branch 'jobserv-run' == 2020-09-03 18:21:25.369883: Setting up container environment 2020-09-03 18:21:25.370029: 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=25d2863c1d0a833dc5ea29028693457bfc9f15e1 GIT_SHA=201b0c19485df23b3357d43f5e6fdc1a753a0df5 H_PROJECT=gavel-ci H_BUILD=38 H_RUN=build-container H_WORKER=doanac-reckless == 2020-09-03 18:21:25.562851: Running script inside container 2020-09-03 18:21:25.562892: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:201b0c --force-rm . Sending build context to Docker daemon 279kB 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 219b1cccc592 Removing intermediate container 219b1cccc592 ---> 3cc39a9543be Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 27d2357ebb34 Removing intermediate container 27d2357ebb34 ---> 5b5c6ebb62c7 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in dffaf1fcf350 Removing intermediate container dffaf1fcf350 ---> dfd5c1fec0eb Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in f6b2df37245a Removing intermediate container f6b2df37245a ---> 653d8d88252c Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in fce3f85a7558 Removing intermediate container fce3f85a7558 ---> 5747abf13616 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 0641300aabd0 Removing intermediate container 0641300aabd0 ---> 16f7d91d183f Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> c6d235b26e80 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> cdac3b24f6c8 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 37634fc5ca04 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 19f21694d3c6 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> c6a2b111f03b Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> ca22472fad3b Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 721b23b7e5dd 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 d0ef4d96efac 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-50.1.0-py3-none-any.whl (784 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-50.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 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 requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting sqlalchemy; extra == "sqla" Downloading SQLAlchemy-1.3.19.tar.gz (6.2 MB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.8.tar.gz (138 kB) 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 Werkzeug>=0.14 Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 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) 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 idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 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 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, 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 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=98847b994be82280d6f249f4b8cd938bb2cbfeff0a93035613cf93e326d63b8a 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=1164242 sha256=ec2abca531e16dbf368d056e1582d43b3a606222f317b4ed0a45a0483baa1956 Stored in directory: /root/.cache/pip/wheels/58/c1/9d/ba9d10a2ff52b0d8d4cf43a7ab9dd10e30cb76387366758d65 Successfully built alembic cryptography Installing collected packages: oauthlib, urlobject, urllib3, idna, requests, lazy, Werkzeug, itsdangerous, click, MarkupSafe, Jinja2, flask, requests-oauthlib, sqlalchemy, sqlalchemy-utils, Flask-Dance, Flask-Login, python-editor, Mako, 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' 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 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 d0ef4d96efac ---> 3219118af574 Successfully built 3219118af574 Successfully tagged doanac/gavel-ci:201b0c + docker tag doanac/gavel-ci:201b0c 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:201b0c The push refers to repository [docker.io/doanac/gavel-ci] 444fd739bf97: Preparing 8ff6b02c5940: Preparing 50142654fd3e: Preparing 5f74f2beba0d: Preparing 14f7d4eab45e: Preparing 328c5c105523: Preparing 7eb35b71aac4: Preparing a8a7f884a526: Preparing 166b41d9b82f: Preparing 50644c29ef5a: Preparing 328c5c105523: Waiting 166b41d9b82f: Waiting 50644c29ef5a: Waiting 7eb35b71aac4: Waiting a8a7f884a526: Waiting 5f74f2beba0d: Pushed 14f7d4eab45e: Pushed 8ff6b02c5940: Pushed 50142654fd3e: Pushed 7eb35b71aac4: Pushed 328c5c105523: Pushed 50644c29ef5a: Layer already exists a8a7f884a526: Pushed 166b41d9b82f: Pushed 444fd739bf97: Pushed 201b0c: digest: sha256:fa2cbf4450425fe75ff4ca94007c9482e29b5970079ca11fa9fbdf7f53c444ec size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 444fd739bf97: Preparing 8ff6b02c5940: Preparing 50142654fd3e: Preparing 5f74f2beba0d: Preparing 14f7d4eab45e: Preparing 328c5c105523: Preparing 7eb35b71aac4: Preparing a8a7f884a526: Preparing 166b41d9b82f: Preparing 50644c29ef5a: Preparing a8a7f884a526: Waiting 166b41d9b82f: Waiting 328c5c105523: Waiting 50142654fd3e: Layer already exists 8ff6b02c5940: Layer already exists 444fd739bf97: Layer already exists 14f7d4eab45e: Layer already exists 5f74f2beba0d: Layer already exists 7eb35b71aac4: Layer already exists 328c5c105523: Layer already exists a8a7f884a526: Layer already exists 50644c29ef5a: Layer already exists 166b41d9b82f: Layer already exists latest: digest: sha256:fa2cbf4450425fe75ff4ca94007c9482e29b5970079ca11fa9fbdf7f53c444ec size: 2400 Script completed == 2020-09-03 18:24:42.593768: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-09-03 18:24:43.456841: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|