# Run sent to worker: doanac-reckless == 2022-01-24 16:45:23.302466: Setting up runner on worker == 2022-01-24 16:45:23.712937: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/40/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-01-24 16:45:24.277535: 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-01-24 16:45:25.970815: Preparing bind mounts 2022-01-24 16:45:26.184707: INFO Creating secret: dockerpass == 2022-01-24 16:45:26.562417: Creating container .netrc file 2022-01-24 16:45:26.782577: INFO Creating token for jobserv run access == 2022-01-24 16:45:27.146085: Preparing script == 2022-01-24 16:45:27.511757: Cloning git repository 2022-01-24 16:45:27.709721: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-01-24 16:45:27.902465: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-01-24 16:45:28.308787: INFO Server does not appear to need credentials for cloning 2022-01-24 16:45:28.504280: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp08u6f8a2/repo'... 2022-01-24 16:45:29.348961: INFO Checking out: 9eb25e0c92b80400207ffc1b542bb46eed7d9f8d Switched to branch 'jobserv-run' == 2022-01-24 16:45:29.924099: Setting up container environment 2022-01-24 16:45:30.101543: 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=5e8b60ee4db6a103072c5354374799bd21aeddd2 GIT_SHA=9eb25e0c92b80400207ffc1b542bb46eed7d9f8d H_PROJECT=gavel-ci H_BUILD=40 H_RUN=build-container H_WORKER=doanac-reckless == 2022-01-24 16:45:30.479494: Running script inside container 2022-01-24 16:45:30.652529: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:9eb25e --force-rm . Sending build context to Docker daemon 280.1kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 59bf1c3509f3: Pulling fs layer 59bf1c3509f3: Verifying Checksum 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 7813eac2f097 Removing intermediate container 7813eac2f097 ---> fcfb5fa4ec6d Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 732c3ce3c13d Removing intermediate container 732c3ce3c13d ---> 88b401f81862 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 035f3c9f9a79 Removing intermediate container 035f3c9f9a79 ---> 00a5ffc419e1 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 9b94e6da90ad Removing intermediate container 9b94e6da90ad ---> 9f05c271ac56 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in b3e1b9953b55 Removing intermediate container b3e1b9953b55 ---> 392b091d7123 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in a1eb74456ddf Removing intermediate container a1eb74456ddf ---> 55b8c9f6c3fd Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> d9f99b4ce5d7 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 6c1c6135399f Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> d71fd20578c1 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 1458abfcddde Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 45541f780b5e Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 9077c88cd0f4 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> cbeef3ac8408 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 888f689e4893 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-r0) (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.3-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-21.3.1-py3-none-any.whl (1.7 MB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (52.0.0) Collecting setuptools Downloading setuptools-60.5.0-py3-none-any.whl (958 kB) 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-21.3.1 setuptools-60.5.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) 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 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) 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) 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) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting oauthlib Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 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 requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) 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 sqlalchemy Downloading SQLAlchemy-1.4.31.tar.gz (8.0 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.2-py3-none-any.whl (100 kB) Collecting alembic>=0.7 Downloading alembic-1.7.5-py3-none-any.whl (209 kB) Collecting cryptography Downloading cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB) Collecting cffi>=1.1 Downloading cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting Werkzeug>=0.14 Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB) Collecting Jinja2>=2.10 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting click>=5.1 Downloading click-8.0.3-py3-none-any.whl (97 kB) 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: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests==2.20.1->-r requirements.txt (line 10)) (2020.12.5) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting Mako Downloading Mako-1.1.6-py2.py3-none-any.whl (75 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (30 kB) Collecting greenlet!=0.4.17 Downloading greenlet-1.1.2-cp39-cp39-musllinux_1_1_x86_64.whl (708 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 cffi, 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 urlobject, since package 'wheel' is not installed. Installing collected packages: urllib3, MarkupSafe, idna, chardet, Werkzeug, requests, pycparser, oauthlib, Jinja2, itsdangerous, greenlet, click, urlobject, sqlalchemy, requests-oauthlib, Mako, lazy, flask, cffi, sqlalchemy-utils, Flask-SQLAlchemy, Flask-Dance, cryptography, alembic, PyMySQL, pyjwt, gunicorn, Flask-Migrate, Flask-Login, blinker, bcrypt Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.7 Uninstalling urllib3-1.26.7: Successfully uninstalled urllib3-1.26.7 Attempting uninstall: idna Found existing installation: idna 3.3 Uninstalling idna-3.3: Successfully uninstalled idna-3.3 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 urlobject: started Running setup.py install for urlobject: 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 cffi: started Running setup.py install for cffi: 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 blinker: started Running setup.py install for blinker: finished with status 'done' Running setup.py install for bcrypt: started Running setup.py install for bcrypt: 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 Werkzeug-2.0.2 alembic-1.7.5 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 greenlet-1.1.2 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.4 oauthlib-3.1.1 pycparser-2.21 pyjwt-1.6.4 requests-2.20.1 requests-oauthlib-1.3.0 sqlalchemy-1.4.31 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-r0) (15/15) Purging pkgconf (1.8.0-r0) Executing busybox-1.34.1-r3.trigger OK: 76 MiB in 54 packages Removing intermediate container 888f689e4893 ---> 22260a157c14 Successfully built 22260a157c14 Successfully tagged doanac/gavel-ci:9eb25e + docker tag doanac/gavel-ci:9eb25e 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:9eb25e The push refers to repository [docker.io/doanac/gavel-ci] 3da456465f73: Preparing 7affecdd48f3: Preparing 21bac3f9f1c9: Preparing 3707cbb9ac4c: Preparing b53cbc462148: Preparing 61f25a69a2eb: Preparing a0aee7008991: Preparing 577ded73c80d: Preparing 648b1e4cbb13: Preparing 8d3ac3489996: Preparing a0aee7008991: Waiting 577ded73c80d: Waiting 648b1e4cbb13: Waiting 8d3ac3489996: Waiting 61f25a69a2eb: Waiting 7affecdd48f3: Pushed 21bac3f9f1c9: Pushed b53cbc462148: Pushed 3707cbb9ac4c: Pushed 648b1e4cbb13: Pushed 61f25a69a2eb: Pushed 577ded73c80d: Pushed a0aee7008991: Pushed 8d3ac3489996: Layer already exists 3da456465f73: Pushed 9eb25e: digest: sha256:3dacef31a8d5066ec0751d93b810bd84e3b0aef53f1e454ab1e9b0aefe497506 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 3da456465f73: Preparing 7affecdd48f3: Preparing 21bac3f9f1c9: Preparing 3707cbb9ac4c: Preparing b53cbc462148: Preparing 61f25a69a2eb: Preparing a0aee7008991: Preparing 577ded73c80d: Preparing 648b1e4cbb13: Preparing 8d3ac3489996: Preparing 61f25a69a2eb: Waiting a0aee7008991: Waiting 577ded73c80d: Waiting 648b1e4cbb13: Waiting 8d3ac3489996: Waiting b53cbc462148: Layer already exists 21bac3f9f1c9: Layer already exists 7affecdd48f3: Layer already exists 3da456465f73: Layer already exists 3707cbb9ac4c: Layer already exists 61f25a69a2eb: Layer already exists a0aee7008991: Layer already exists 648b1e4cbb13: Layer already exists 577ded73c80d: Layer already exists 8d3ac3489996: Layer already exists latest: digest: sha256:3dacef31a8d5066ec0751d93b810bd84e3b0aef53f1e454ab1e9b0aefe497506 size: 2400 Script completed == 2022-01-24 16:48:14.642089: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-01-24 16:48:15.446363: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|