# Run sent to worker: doanac-reckless == 2020-07-07 19:45:54.422355: Setting up runner on worker == 2020-07-07 19:45:54.886975: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/35/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 19:45:55.112913: 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 19:45:57.276733: Preparing bind mounts 2020-07-07 19:45:57.277014: INFO Creating secret: dockerpass == 2020-07-07 19:45:57.501422: Creating container .netrc file 2020-07-07 19:45:57.501553: INFO Creating token for jobserv run access == 2020-07-07 19:45:57.679205: Preparing script == 2020-07-07 19:45:57.969560: Cloning git repository 2020-07-07 19:45:57.969601: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-07-07 19:45:57.969618: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-07-07 19:45:58.381804: INFO Server does not appear to need credentials for cloning 2020-07-07 19:45:58.381828: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpr2y3ragc/repo'... 2020-07-07 19:46:05.475432: INFO Checking out: 5067621ac3210881a3d6ab811ab17c3c755b3c8e Switched to branch 'jobserv-run' == 2020-07-07 19:46:06.112992: Setting up container environment 2020-07-07 19:46:06.113091: 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=c3eca7d1ef9edac648c0332dcb6c67189d39c629 GIT_SHA=5067621ac3210881a3d6ab811ab17c3c755b3c8e H_PROJECT=gavel-ci H_BUILD=35 H_RUN=build-container H_WORKER=doanac-reckless == 2020-07-07 19:46:06.320372: Running script inside container 2020-07-07 19:46:06.320411: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:506762 --force-rm . Sending build context to Docker daemon 274.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 23d353ca9b2d Removing intermediate container 23d353ca9b2d ---> 7103832fe68d Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in e5c7c0de0146 Removing intermediate container e5c7c0de0146 ---> 9982ace5653f Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in b8f5f3ed6739 Removing intermediate container b8f5f3ed6739 ---> d332a92ee088 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 1c269d973159 Removing intermediate container 1c269d973159 ---> 835c6ebd7c68 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in f68e355a37ca Removing intermediate container f68e355a37ca ---> 9628b09cdc7c Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 5c6787024518 Removing intermediate container 5c6787024518 ---> 8a6851fab198 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> a8c052255ed6 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 83978e96599c Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 5fdf5e1f2e5a Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> ddb38ecb96d1 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 961bc248b36b Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> e7a45e0bc476 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 320f7750d639 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 fb52016f9b59 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) 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 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; extra == "sqla" Downloading SQLAlchemy-1.3.18.tar.gz (6.0 MB) Collecting sqlalchemy-utils; extra == "sqla" Downloading SQLAlchemy-Utils-0.36.7.tar.gz (131 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-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 click>=5.1 Downloading click-7.1.2-py2.py3-none-any.whl (82 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 itsdangerous>=0.24 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 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) 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 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 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, 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=159543 sha256=2e930b8fa53385646652ee36f61108ed441d071f3288cf240fe50a53540b58b3 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=1265219 sha256=264fe55aa3c59fce71c966cde87e95e76a012aa7f97d08defc506ec2d928b1a4 Stored in directory: /root/.cache/pip/wheels/25/18/2a/aa91b67eb90b1e96326f7043ec79868974fc94648b14b64c5c Successfully built alembic cryptography Installing collected packages: urlobject, oauthlib, urllib3, idna, requests, requests-oauthlib, lazy, click, Werkzeug, MarkupSafe, Jinja2, 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' 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.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 fb52016f9b59 ---> a51692e04f45 Successfully built a51692e04f45 Successfully tagged doanac/gavel-ci:506762 + docker tag doanac/gavel-ci:506762 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:506762 The push refers to repository [docker.io/doanac/gavel-ci] 19b0b4558134: Preparing c15d99039c44: Preparing d53a997263eb: Preparing 83172fdead55: Preparing 35ece3141144: Preparing 061967983efa: Preparing d6867115be0b: Preparing de744a2885a4: Preparing 9b3d899ee1e6: Preparing 50644c29ef5a: Preparing 061967983efa: Waiting d6867115be0b: Waiting de744a2885a4: Waiting c15d99039c44: Pushed d53a997263eb: Pushed 35ece3141144: Pushed 83172fdead55: Pushed 061967983efa: Pushed d6867115be0b: Pushed 9b3d899ee1e6: Pushed 50644c29ef5a: Layer already exists de744a2885a4: Pushed 19b0b4558134: Pushed 506762: digest: sha256:114ab743399d540725ff6ff317ad5875da6d5e1859aa507fe9f325d6ee2fb94b size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 19b0b4558134: Preparing c15d99039c44: Preparing d53a997263eb: Preparing 83172fdead55: Preparing 35ece3141144: Preparing 061967983efa: Preparing d6867115be0b: Preparing de744a2885a4: Preparing 9b3d899ee1e6: Preparing 50644c29ef5a: Preparing 50644c29ef5a: Waiting 061967983efa: Waiting 9b3d899ee1e6: Waiting d6867115be0b: Waiting de744a2885a4: Waiting c15d99039c44: Layer already exists d53a997263eb: Layer already exists 83172fdead55: Layer already exists 19b0b4558134: Layer already exists 35ece3141144: Layer already exists 061967983efa: Layer already exists d6867115be0b: Layer already exists 9b3d899ee1e6: Layer already exists 50644c29ef5a: Layer already exists de744a2885a4: Layer already exists latest: digest: sha256:114ab743399d540725ff6ff317ad5875da6d5e1859aa507fe9f325d6ee2fb94b size: 2400 Script completed == 2020-07-07 19:49:09.139239: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-07-07 19:49:10.416285: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|