# Run sent to worker: doanac-reckless == 2022-02-09 21:25:28.359227: Setting up runner on worker == 2022-02-09 21:25:28.784038: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/43/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-02-09 21:25:29.407530: 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 docker.io/library/docker:19.03.5-dind == 2022-02-09 21:25:31.187615: Preparing bind mounts 2022-02-09 21:25:31.391819: INFO Creating secret: dockerpass == 2022-02-09 21:25:31.790288: Creating container .netrc file 2022-02-09 21:25:31.989888: INFO Creating token for jobserv run access == 2022-02-09 21:25:32.400162: Preparing script == 2022-02-09 21:25:32.807366: Cloning git repository 2022-02-09 21:25:33.029547: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-02-09 21:25:33.227788: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-02-09 21:25:33.692259: INFO Server does not appear to need credentials for cloning 2022-02-09 21:25:33.896192: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpttd8_pag/repo'... 2022-02-09 21:25:34.937174: INFO Checking out: 639b6209c9275d6a9ed10ef7988fdef28cd4d23d Switched to branch 'jobserv-run' == 2022-02-09 21:25:35.622725: Setting up container environment 2022-02-09 21:25:35.837932: 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=a2bac8291c780d4d93594123f95fe3b21b32c42a GIT_SHA=639b6209c9275d6a9ed10ef7988fdef28cd4d23d H_PROJECT=gavel-ci H_BUILD=43 H_RUN=build-container H_WORKER=doanac-reckless == 2022-02-09 21:25:36.212338: Running script inside container 2022-02-09 21:25:36.396078: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:639b62 --force-rm . Sending build context to Docker daemon 282.1kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 59bf1c3509f3: Pulling fs layer 59bf1c3509f3: Download complete 59bf1c3509f3: Pull complete Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 Status: Downloaded newer image for alpine:latest ---> c059bfaa849c Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 11d2cefbaf8b Removing intermediate container 11d2cefbaf8b ---> 265aa4acc594 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in f872b94d1d65 Removing intermediate container f872b94d1d65 ---> e2a527b47203 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 2636a6004b72 Removing intermediate container 2636a6004b72 ---> 4690d813be9b Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in dc191902db95 Removing intermediate container dc191902db95 ---> b19be5a46a8f Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in aeaabf9ddc2a Removing intermediate container aeaabf9ddc2a ---> 869e08337800 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 6922c7194616 Removing intermediate container 6922c7194616 ---> d91169568b52 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> bf2db848c910 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 8a1235542e0e Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> d4a8e4c81a39 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 32f160107e67 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> f37428cdc0b8 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 026a2315243f Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 40b494ab12ae 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 f8c9ffcf7906 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz (1/57) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) (2/57) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) (3/57) Installing libgcc (10.3.1_git20211027-r0) (4/57) Installing libstdc++ (10.3.1_git20211027-r0) (5/57) Installing binutils (2.37-r3) (6/57) Installing libgomp (10.3.1_git20211027-r0) (7/57) Installing libatomic (10.3.1_git20211027-r0) (8/57) Installing libgphobos (10.3.1_git20211027-r0) (9/57) Installing gmp (6.2.1-r1) (10/57) Installing isl22 (0.22-r0) (11/57) Installing mpfr4 (4.1.0-r0) (12/57) Installing mpc1 (1.2.1-r0) (13/57) Installing gcc (10.3.1_git20211027-r0) (14/57) Installing linux-headers (5.10.41-r0) (15/57) Installing libffi (3.4.2-r1) (16/57) Installing pkgconf (1.8.0-r0) (17/57) Installing libffi-dev (3.4.2-r1) (18/57) Installing musl-dev (1.2.2-r7) (19/57) Installing openssl (1.1.1l-r8) (20/57) Installing openssl-dev (1.1.1l-r8) (21/57) Installing libbz2 (1.0.8-r1) (22/57) Installing expat (2.4.4-r0) (23/57) Installing gdbm (1.22-r0) (24/57) Installing xz-libs (5.2.5-r0) (25/57) Installing mpdecimal (2.5.1-r1) (26/57) Installing ncurses-terminfo-base (6.3_p20211120-r0) (27/57) Installing ncurses-libs (6.3_p20211120-r0) (28/57) Installing readline (8.1.1-r0) (29/57) Installing sqlite-libs (3.36.0-r0) (30/57) Installing python3 (3.9.7-r4) (31/57) Installing py3-appdirs (1.4.4-r2) (32/57) Installing py3-certifi (2020.12.5-r1) (33/57) Installing py3-charset-normalizer (2.0.7-r0) (34/57) Installing py3-idna (3.3-r0) (35/57) Installing py3-urllib3 (1.26.7-r0) (36/57) Installing py3-requests (2.26.0-r1) (37/57) Installing py3-msgpack (1.0.2-r1) (38/57) Installing py3-lockfile (0.12.2-r4) (39/57) Installing py3-cachecontrol (0.12.10-r0) (40/57) Installing py3-colorama (0.4.4-r1) (41/57) Installing py3-contextlib2 (21.6.0-r1) (42/57) Installing py3-distlib (0.3.3-r0) (43/57) Installing py3-distro (1.6.0-r0) (44/57) Installing py3-six (1.16.0-r0) (45/57) Installing py3-webencodings (0.5.1-r4) (46/57) Installing py3-html5lib (1.1-r1) (47/57) Installing py3-parsing (2.4.7-r2) (48/57) Installing py3-packaging (20.9-r1) (49/57) Installing py3-tomli (1.2.2-r0) (50/57) Installing py3-pep517 (0.12.0-r0) (51/57) Installing py3-progress (1.6-r0) (52/57) Installing py3-retrying (1.3.3-r2) (53/57) Installing py3-ordered-set (4.0.2-r2) (54/57) Installing py3-setuptools (52.0.0-r4) (55/57) Installing py3-toml (0.10.2-r2) (56/57) Installing py3-pip (20.3.4-r1) (57/57) Installing python3-dev (3.9.7-r4) Executing busybox-1.34.1-r3.trigger OK: 248 MiB in 69 packages Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (20.3.4) Collecting pip Downloading pip-22.0.3-py3-none-any.whl (2.1 MB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (52.0.0) Collecting setuptools Downloading setuptools-60.8.2-py3-none-any.whl (1.1 MB) Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 52.0.0 Uninstalling setuptools-52.0.0: Successfully uninstalled setuptools-52.0.0 Attempting uninstall: pip Found existing installation: pip 20.3.4 Uninstalling pip-20.3.4: Successfully uninstalled pip-20.3.4 Successfully installed pip-22.0.3 setuptools-60.8.2 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) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' 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 SQLAlchemy==1.3.19 Downloading SQLAlchemy-1.3.19.tar.gz (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 7.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyMySQL==0.9.2 Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.8/47.8 KB 938.2 kB/s eta 0:00:00 Collecting bcrypt==3.1.4 Downloading bcrypt-3.1.4.tar.gz (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 KB 726.7 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting flask==1.0.2 Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.4/91.4 KB 1.4 MB/s eta 0:00:00 Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.9/112.9 KB 1.9 MB/s eta 0:00:00 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) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 KB 996.3 kB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 KB 1.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from Flask-Dance[sqla]==1.0.0->-r requirements.txt (line 1)) (1.16.0) Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting urlobject Downloading URLObject-2.4.3.tar.gz (27 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 KB 2.5 MB/s eta 0:00:00 Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.2-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 KB 1.8 MB/s eta 0:00:00 Collecting alembic>=0.7 Downloading alembic-1.7.6-py3-none-any.whl (210 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.4/210.4 KB 3.0 MB/s eta 0:00:00 Collecting cryptography Downloading cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 7.5 MB/s eta 0:00:00 Collecting cffi>=1.1 Downloading cffi-1.15.0.tar.gz (484 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 484.1/484.1 KB 5.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting Jinja2>=2.10 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 KB 2.3 MB/s eta 0:00:00 Collecting Werkzeug>=0.14 Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 289.2/289.2 KB 4.1 MB/s eta 0:00:00 Collecting click>=5.1 Downloading click-8.0.3-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 1.7 MB/s eta 0:00:00 Collecting itsdangerous>=0.24 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 1.6 MB/s eta 0:00:00 Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.2/58.2 KB 991.8 kB/s eta 0:00:00 Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.8/118.8 KB 1.8 MB/s eta 0:00:00 Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests==2.20.1->-r requirements.txt (line 11)) (2020.12.5) Collecting Mako Downloading Mako-1.1.6-py2.py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.7/75.7 KB 1.1 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (30 kB) Using legacy 'setup.py install' for Flask-Login, 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 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 cffi, since package 'wheel' is not installed. Using legacy 'setup.py install' for urlobject, since package 'wheel' is not installed. Installing collected packages: urlobject, pyjwt, lazy, idna, chardet, blinker, Werkzeug, urllib3, SQLAlchemy, pycparser, oauthlib, MarkupSafe, itsdangerous, gunicorn, click, sqlalchemy-utils, requests, Mako, Jinja2, cffi, requests-oauthlib, flask, cryptography, bcrypt, alembic, PyMySQL, Flask-SQLAlchemy, Flask-Login, Flask-Dance, Flask-Migrate Running setup.py install for urlobject: started Running setup.py install for urlobject: finished with status 'done' Attempting uninstall: idna Found existing installation: idna 3.3 Uninstalling idna-3.3: Successfully uninstalled idna-3.3 Running setup.py install for blinker: started Running setup.py install for blinker: finished with status 'done' Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.7 Uninstalling urllib3-1.26.7: Successfully uninstalled urllib3-1.26.7 Running setup.py install for SQLAlchemy: started Running setup.py install for SQLAlchemy: finished with status 'done' Attempting uninstall: requests Found existing installation: requests 2.26.0 Uninstalling requests-2.26.0: Successfully uninstalled requests-2.26.0 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 Flask-Login: started Running setup.py install for Flask-Login: 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-3.0.3 Mako-1.1.6 MarkupSafe-2.0.1 PyMySQL-0.9.2 SQLAlchemy-1.3.19 Werkzeug-2.0.3 alembic-1.7.6 bcrypt-3.1.4 blinker-1.4 cffi-1.15.0 chardet-3.0.4 click-8.0.3 cryptography-36.0.1 flask-1.0.2 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.4 oauthlib-3.2.0 pycparser-2.21 pyjwt-1.6.4 requests-2.20.1 requests-oauthlib-1.3.1 sqlalchemy-utils-0.38.2 urllib3-1.24.3 urlobject-2.4.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory (1/15) Purging gcc (10.3.1_git20211027-r0) (2/15) Purging binutils (2.37-r3) (3/15) Purging libatomic (10.3.1_git20211027-r0) (4/15) Purging libgomp (10.3.1_git20211027-r0) (5/15) Purging libgphobos (10.3.1_git20211027-r0) (6/15) Purging libffi-dev (3.4.2-r1) (7/15) Purging linux-headers (5.10.41-r0) (8/15) Purging musl-dev (1.2.2-r7) (9/15) Purging openssl-dev (1.1.1l-r8) (10/15) Purging python3-dev (3.9.7-r4) (11/15) Purging mpc1 (1.2.1-r0) (12/15) Purging mpfr4 (4.1.0-r0) (13/15) Purging isl22 (0.22-r0) (14/15) Purging gmp (6.2.1-r1) (15/15) Purging pkgconf (1.8.0-r0) Executing busybox-1.34.1-r3.trigger OK: 76 MiB in 54 packages Removing intermediate container f8c9ffcf7906 ---> 7e9221b6215c Successfully built 7e9221b6215c Successfully tagged doanac/gavel-ci:639b62 + docker tag doanac/gavel-ci:639b62 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:639b62 The push refers to repository [docker.io/doanac/gavel-ci] 65de1c83437f: Preparing 251e2f94be7f: Preparing 6a08be41ec94: Preparing 3f67fd482a66: Preparing ea2a7811d698: Preparing 6d4577b61415: Preparing 11c76868a248: Preparing e318ed2474af: Preparing 4c4b5568e347: Preparing 8d3ac3489996: Preparing 6d4577b61415: Waiting 11c76868a248: Waiting 4c4b5568e347: Waiting 8d3ac3489996: Waiting e318ed2474af: Waiting 6a08be41ec94: Pushed == 2022-02-09 21:31:00.785715: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|