# Run sent to worker: doanac-reckless == 2023-05-22 18:17:10.527193: Setting up runner on worker == 2023-05-22 18:17:10.963827: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/53/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2023-05-22 18:17:11.540993: 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 == 2023-05-22 18:17:13.109105: Preparing bind mounts == 2023-05-22 18:17:13.491464: Creating container .netrc file 2023-05-22 18:17:13.668075: INFO Creating token for jobserv run access == 2023-05-22 18:17:14.053508: Preparing script == 2023-05-22 18:17:14.415584: Cloning git repository 2023-05-22 18:17:14.608785: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2023-05-22 18:17:14.793511: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2023-05-22 18:17:15.209805: INFO Server does not appear to need credentials for cloning 2023-05-22 18:17:15.398783: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp3he_wdvj/repo'... 2023-05-22 18:17:16.195567: INFO Checking out: 70376bc664b20f805d5c91f883fcc6c2c7ac2a21 Switched to branch 'jobserv-run' == 2023-05-22 18:17:16.770895: Setting up container environment 2023-05-22 18:17:16.975959: 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=bac621f8267423646c08decf6e4957c8b60432a1 GIT_SHA=70376bc664b20f805d5c91f883fcc6c2c7ac2a21 H_PROJECT=gavel-ci H_BUILD=53 H_RUN=build-container H_WORKER=doanac-reckless == 2023-05-22 18:17:17.358735: Running script inside container 2023-05-22 18:17:17.555985: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:70376b --force-rm . Sending build context to Docker daemon 292.4kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 8a49fdb3b6a5: Pulling fs layer 8a49fdb3b6a5: Verifying Checksum 8a49fdb3b6a5: Download complete 8a49fdb3b6a5: Pull complete Digest: sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11 Status: Downloaded newer image for alpine:latest ---> 5e2b554c1c45 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 9f1a63f853a3 Removing intermediate container 9f1a63f853a3 ---> ab3b3f8e7c31 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 10ae028cd538 Removing intermediate container 10ae028cd538 ---> 7feb5596cc6d Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 7434a7bbd882 Removing intermediate container 7434a7bbd882 ---> af1ac4f1fa43 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in b4a840b1b27c Removing intermediate container b4a840b1b27c ---> 0cd96fb76b7c Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in cd7a4ec4480a Removing intermediate container cd7a4ec4480a ---> c3d03c3bc36e Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in a5bd352be7a0 Removing intermediate container a5bd352be7a0 ---> 43d130d05138 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> f8c28fa0c502 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> dfdf4a18537f Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 7002c21fa7ed Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 47fcda483600 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 87eb3d681103 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> c6a509632d87 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 69c7f66429e2 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 5806e0aec468 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz (1/41) Installing libgcc (12.2.1_git20220924-r10) (2/41) Installing libstdc++ (12.2.1_git20220924-r10) (3/41) Installing zstd-libs (1.5.5-r4) (4/41) Installing binutils (2.40-r6) (5/41) Installing libgomp (12.2.1_git20220924-r10) (6/41) Installing libatomic (12.2.1_git20220924-r10) (7/41) Installing gmp (6.2.1-r3) (8/41) Installing isl26 (0.26-r1) (9/41) Installing mpfr4 (4.2.0-r3) (10/41) Installing mpc1 (1.3.1-r1) (11/41) Installing gcc (12.2.1_git20220924-r10) (12/41) Installing linux-headers (6.3-r0) (13/41) Installing libffi (3.4.4-r2) (14/41) Installing pkgconf (1.9.5-r0) (15/41) Installing libffi-dev (3.4.4-r2) (16/41) Installing musl-dev (1.2.4-r0) (17/41) Installing openssl (3.1.0-r4) (18/41) Installing openssl-dev (3.1.0-r4) (19/41) Installing libbz2 (1.0.8-r5) (20/41) Installing libexpat (2.5.0-r1) (21/41) Installing gdbm (1.23-r1) (22/41) Installing xz-libs (5.4.3-r0) (23/41) Installing mpdecimal (2.5.1-r2) (24/41) Installing ncurses-terminfo-base (6.4_p20230506-r0) (25/41) Installing libncursesw (6.4_p20230506-r0) (26/41) Installing libpanelw (6.4_p20230506-r0) (27/41) Installing readline (8.2.1-r1) (28/41) Installing sqlite-libs (3.41.2-r2) (29/41) Installing python3 (3.11.3-r11) (30/41) Installing python3-pycache-pyc0 (3.11.3-r11) (31/41) Installing pyc (0.1-r0) (32/41) Installing py3-setuptools-pyc (67.7.2-r0) (33/41) Installing py3-pip-pyc (23.1.2-r0) (34/41) Installing py3-parsing (3.0.9-r2) (35/41) Installing py3-parsing-pyc (3.0.9-r2) (36/41) Installing py3-packaging-pyc (23.1-r1) (37/41) Installing python3-pyc (3.11.3-r11) (38/41) Installing py3-packaging (23.1-r1) (39/41) Installing py3-setuptools (67.7.2-r0) (40/41) Installing py3-pip (23.1.2-r0) (41/41) Installing python3-dev (3.11.3-r11) Executing busybox-1.36.0-r9.trigger OK: 293 MiB in 56 packages Requirement already satisfied: pip in /usr/lib/python3.11/site-packages (23.1.2) Requirement already satisfied: setuptools in /usr/lib/python3.11/site-packages (67.7.2) Collecting setuptools Downloading setuptools-67.8.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.0 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 67.7.2 Uninstalling setuptools-67.7.2: Successfully uninstalled setuptools-67.7.2 Successfully installed setuptools-67.8.0 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 Collecting Flask-Dance[sqla]==6.2.0 (from -r requirements.txt (line 1)) Downloading flask_dance-6.2.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 675.7 kB/s eta 0:00:00 Collecting Flask-Login==0.6.2 (from -r requirements.txt (line 2)) Downloading Flask_Login-0.6.2-py3-none-any.whl (17 kB) Collecting Flask-Migrate==4.0.4 (from -r requirements.txt (line 3)) Downloading Flask_Migrate-4.0.4-py3-none-any.whl (20 kB) Collecting Flask-SQLAlchemy==3.0.3 (from -r requirements.txt (line 4)) Downloading Flask_SQLAlchemy-3.0.3-py3-none-any.whl (24 kB) Collecting Flask==2.3.2 (from -r requirements.txt (line 5)) Downloading Flask-2.3.2-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 kB 1.8 MB/s eta 0:00:00 Collecting Jinja2==3.1.2 (from -r requirements.txt (line 6)) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 2.2 MB/s eta 0:00:00 Collecting SQLAlchemy==2.0.4 (from -r requirements.txt (line 7)) Downloading SQLAlchemy-2.0.4-cp311-cp311-musllinux_1_1_x86_64.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 7.4 MB/s eta 0:00:00 Collecting PyMySQL==0.9.2 (from -r requirements.txt (line 8)) Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.8/47.8 kB 938.3 kB/s eta 0:00:00 Collecting bcrypt==3.1.4 (from -r requirements.txt (line 9)) Downloading bcrypt-3.1.4.tar.gz (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 779.6 kB/s eta 0:00:00 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 metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting gunicorn==20.1.0 (from -r requirements.txt (line 10)) Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 1.5 MB/s eta 0:00:00 Collecting pyjwt==2.4.0 (from -r requirements.txt (line 11)) Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB) Collecting requests==2.28.2 (from -r requirements.txt (line 12)) Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.1 MB/s eta 0:00:00 Collecting blinker==1.6.2 (from -r requirements.txt (line 13)) Downloading blinker-1.6.2-py3-none-any.whl (13 kB) Collecting oauthlib (from Flask-Dance[sqla]==6.2.0->-r requirements.txt (line 1)) Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 2.7 MB/s eta 0:00:00 Collecting requests-oauthlib>=1.0.0 (from Flask-Dance[sqla]==6.2.0->-r requirements.txt (line 1)) Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting Werkzeug (from Flask-Dance[sqla]==6.2.0->-r requirements.txt (line 1)) Downloading Werkzeug-2.3.4-py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.5/242.5 kB 3.3 MB/s eta 0:00:00 Collecting urlobject (from Flask-Dance[sqla]==6.2.0->-r requirements.txt (line 1)) Downloading URLObject-2.4.3.tar.gz (27 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 metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting alembic>=1.9.0 (from Flask-Migrate==4.0.4->-r requirements.txt (line 3)) Downloading alembic-1.11.1-py3-none-any.whl (224 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.5/224.5 kB 3.4 MB/s eta 0:00:00 Collecting itsdangerous>=2.1.2 (from Flask==2.3.2->-r requirements.txt (line 5)) Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting click>=8.1.3 (from Flask==2.3.2->-r requirements.txt (line 5)) Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.9 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 (from Jinja2==3.1.2->-r requirements.txt (line 6)) Downloading MarkupSafe-2.1.2-cp311-cp311-musllinux_1_1_x86_64.whl (33 kB) Collecting typing-extensions>=4.2.0 (from SQLAlchemy==2.0.4->-r requirements.txt (line 7)) Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting greenlet!=0.4.17 (from SQLAlchemy==2.0.4->-r requirements.txt (line 7)) Downloading greenlet-2.0.2-cp311-cp311-musllinux_1_1_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.4 MB/s eta 0:00:00 Collecting cryptography (from PyMySQL==0.9.2->-r requirements.txt (line 8)) Downloading cryptography-40.0.2-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 7.6 MB/s eta 0:00:00 Collecting cffi>=1.1 (from bcrypt==3.1.4->-r requirements.txt (line 9)) Downloading cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl (474 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 474.3/474.3 kB 4.4 MB/s eta 0:00:00 Collecting six>=1.4.1 (from bcrypt==3.1.4->-r requirements.txt (line 9)) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: setuptools>=3.0 in /usr/lib/python3.11/site-packages (from gunicorn==20.1.0->-r requirements.txt (line 10)) (67.8.0) Collecting charset-normalizer<4,>=2 (from requests==2.28.2->-r requirements.txt (line 12)) Downloading charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.0/191.0 kB 2.6 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests==2.28.2->-r requirements.txt (line 12)) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 797.9 kB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 (from requests==2.28.2->-r requirements.txt (line 12)) Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 2.1 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests==2.28.2->-r requirements.txt (line 12)) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 2.1 MB/s eta 0:00:00 Collecting Mako (from alembic>=1.9.0->Flask-Migrate==4.0.4->-r requirements.txt (line 3)) Downloading Mako-1.2.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 1.2 MB/s eta 0:00:00 Collecting pycparser (from cffi>=1.1->bcrypt==3.1.4->-r requirements.txt (line 9)) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 1.5 MB/s eta 0:00:00 Building wheels for collected packages: bcrypt, urlobject Building wheel for bcrypt (pyproject.toml): started Building wheel for bcrypt (pyproject.toml): finished with status 'done' Created wheel for bcrypt: filename=bcrypt-3.1.4-py3-none-any.whl size=10388 sha256=4822a873091dfb834bdff8770b7eb68918a63122987ec4bc66578c284e599ad0 Stored in directory: /root/.cache/pip/wheels/40/3a/3d/1f60d17846b274823a49e81068b65b7901a6aed5cf3d7c5fad Building wheel for urlobject (pyproject.toml): started Building wheel for urlobject (pyproject.toml): finished with status 'done' Created wheel for urlobject: filename=URLObject-2.4.3-py3-none-any.whl size=14510 sha256=736162bde02aa48a54642d9a68263b5a9fbdc4b82a8386fe974ec345d3ff0884 Stored in directory: /root/.cache/pip/wheels/63/69/1e/27e9ecc1870bf9862cc2fb31933b498d6cc6a350e5569d424a Successfully built bcrypt urlobject Installing collected packages: urlobject, urllib3, typing-extensions, six, pyjwt, pycparser, oauthlib, MarkupSafe, itsdangerous, idna, gunicorn, greenlet, click, charset-normalizer, certifi, blinker, Werkzeug, SQLAlchemy, requests, Mako, Jinja2, cffi, requests-oauthlib, Flask, cryptography, bcrypt, alembic, PyMySQL, Flask-SQLAlchemy, Flask-Login, Flask-Dance, Flask-Migrate Successfully installed Flask-2.3.2 Flask-Dance-6.2.0 Flask-Login-0.6.2 Flask-Migrate-4.0.4 Flask-SQLAlchemy-3.0.3 Jinja2-3.1.2 Mako-1.2.4 MarkupSafe-2.1.2 PyMySQL-0.9.2 SQLAlchemy-2.0.4 Werkzeug-2.3.4 alembic-1.11.1 bcrypt-3.1.4 blinker-1.6.2 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 click-8.1.3 cryptography-40.0.2 greenlet-2.0.2 gunicorn-20.1.0 idna-3.4 itsdangerous-2.1.2 oauthlib-3.2.2 pycparser-2.21 pyjwt-2.4.0 requests-2.28.2 requests-oauthlib-1.3.1 six-1.16.0 typing-extensions-4.5.0 urllib3-1.26.15 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: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/main: No such file or directory WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/community: No such file or directory (1/15) Purging gcc (12.2.1_git20220924-r10) (2/15) Purging binutils (2.40-r6) (3/15) Purging libatomic (12.2.1_git20220924-r10) (4/15) Purging libgomp (12.2.1_git20220924-r10) (5/15) Purging isl26 (0.26-r1) (6/15) Purging libffi-dev (3.4.4-r2) (7/15) Purging linux-headers (6.3-r0) (8/15) Purging mpc1 (1.3.1-r1) (9/15) Purging mpfr4 (4.2.0-r3) (10/15) Purging musl-dev (1.2.4-r0) (11/15) Purging openssl-dev (3.1.0-r4) (12/15) Purging python3-dev (3.11.3-r11) (13/15) Purging zstd-libs (1.5.5-r4) (14/15) Purging gmp (6.2.1-r3) (15/15) Purging pkgconf (1.9.5-r0) Executing busybox-1.36.0-r9.trigger OK: 76 MiB in 41 packages Removing intermediate container 5806e0aec468 ---> eb1f55cb696e Successfully built eb1f55cb696e Successfully tagged doanac/gavel-ci:70376b + docker tag doanac/gavel-ci:70376b doanac/gavel-ci:latest + '[' -f /secrets/dockerpass ] + echo 'dockerpass not provided, skipping publishing step' dockerpass not provided, skipping publishing step Script completed == 2023-05-22 18:18:37.856957: Finding artifacts to upload Uploading 1 items 11486 bytes == 2023-05-22 18:18:38.668783: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|