# Run sent to worker: doanac-reckless == 2020-08-27 17:24:26.562221: Setting up runner on worker == 2020-08-27 17:24:27.039599: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/37/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:24:27.243986: 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:24:28.961554: Preparing bind mounts 2020-08-27 17:24:28.961845: INFO Creating secret: dockerpass == 2020-08-27 17:24:29.214536: Creating container .netrc file 2020-08-27 17:24:29.214730: INFO Creating token for jobserv run access == 2020-08-27 17:24:29.494866: Preparing script == 2020-08-27 17:24:29.691374: Cloning git repository 2020-08-27 17:24:29.691436: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2020-08-27 17:24:29.691467: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2020-08-27 17:24:29.933070: INFO Server does not appear to need credentials for cloning 2020-08-27 17:24:29.933092: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmphworfuvf/repo'... 2020-08-27 17:24:31.106117: INFO Checking out: 25d2863c1d0a833dc5ea29028693457bfc9f15e1 Switched to branch 'jobserv-run' == 2020-08-27 17:24:31.786266: Setting up container environment 2020-08-27 17:24:31.786364: 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=078d404fb466ba0084b2118b1cdd29e524810d75 GIT_SHA=25d2863c1d0a833dc5ea29028693457bfc9f15e1 H_PROJECT=gavel-ci H_BUILD=37 H_RUN=build-container H_WORKER=doanac-reckless == 2020-08-27 17:24:31.996492: Running script inside container 2020-08-27 17:24:31.996537: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:25d286 --force-rm . Sending build context to Docker daemon 278.5kB 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 2bde3887b47b Removing intermediate container 2bde3887b47b ---> aefcbf2d44e0 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 71e72e0a8790 Removing intermediate container 71e72e0a8790 ---> b98f62f03247 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 2f5e79d602f8 Removing intermediate container 2f5e79d602f8 ---> a9cb95be6967 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 3b4f91909b64 Removing intermediate container 3b4f91909b64 ---> ca616f0a0218 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 7198e7081e7a Removing intermediate container 7198e7081e7a ---> 5afea5c00f57 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 382b42c2afa0 Removing intermediate container 382b42c2afa0 ---> ab0f06b124e4 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> b01868527b60 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 6329b980eede Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 2320d9307845 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> a3cb64ae3791 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 86c8bf5a7548 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> ef490117d52c Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 2ee10135be16 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 f116a807ad0f 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 urlobject Downloading URLObject-2.4.3.tar.gz (27 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 oauthlib Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 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-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 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) 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) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 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 python-dateutil Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 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 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=8731d727343ac8d1a6e5698ef632973b3f1fcdf69cac90218607201299f2bc7c 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=1164267 sha256=fe7e6535147dd3b5be31629613cb8eab8e4bda69db53f1aa2675c7896a774e0d Stored in directory: /root/.cache/pip/wheels/58/c1/9d/ba9d10a2ff52b0d8d4cf43a7ab9dd10e30cb76387366758d65 Successfully built alembic cryptography Installing collected packages: urllib3, idna, requests, urlobject, oauthlib, lazy, requests-oauthlib, click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, flask, sqlalchemy, sqlalchemy-utils, Flask-Dance, Flask-Login, python-dateutil, Mako, python-editor, alembic, Flask-SQLAlchemy, 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 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.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 f116a807ad0f ---> 3a92b03af308 Successfully built 3a92b03af308 Successfully tagged doanac/gavel-ci:25d286 + docker tag doanac/gavel-ci:25d286 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:25d286 The push refers to repository [docker.io/doanac/gavel-ci] 216a578b870a: Preparing c3908e930248: Preparing ea796b132108: Preparing 0872ab736a8c: Preparing ea5b7911b9a0: Preparing e76ce241b006: Preparing ce790df72251: Preparing 91901d778441: Preparing e6229dedae28: Preparing 50644c29ef5a: Preparing ce790df72251: Waiting 91901d778441: Waiting e76ce241b006: Waiting e6229dedae28: Waiting 50644c29ef5a: Waiting 0872ab736a8c: Pushed ea5b7911b9a0: Pushed ea796b132108: Pushed c3908e930248: Pushed e76ce241b006: Pushed 50644c29ef5a: Layer already exists 91901d778441: Pushed ce790df72251: Pushed e6229dedae28: Pushed 216a578b870a: Pushed 25d286: digest: sha256:71173c3469fc8cfc987160885a8be3f8e9826c1a35a65a3db7484bf95a40ad88 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 216a578b870a: Preparing c3908e930248: Preparing ea796b132108: Preparing 0872ab736a8c: Preparing ea5b7911b9a0: Preparing e76ce241b006: Preparing ce790df72251: Preparing 91901d778441: Preparing e6229dedae28: Preparing 50644c29ef5a: Preparing ce790df72251: Waiting 91901d778441: Waiting e76ce241b006: Waiting e6229dedae28: Waiting 50644c29ef5a: Waiting ea5b7911b9a0: Layer already exists ea796b132108: Layer already exists c3908e930248: Layer already exists 0872ab736a8c: Layer already exists 216a578b870a: Layer already exists e76ce241b006: Layer already exists ce790df72251: Layer already exists 91901d778441: Layer already exists e6229dedae28: Layer already exists 50644c29ef5a: Layer already exists latest: digest: sha256:71173c3469fc8cfc987160885a8be3f8e9826c1a35a65a3db7484bf95a40ad88 size: 2400 Script completed == 2020-08-27 17:27:41.110795: Finding artifacts to upload Uploading 1 items 11486 bytes == 2020-08-27 17:27:41.966701: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|