# Run sent to worker: doanac-reckless == 2023-05-23 13:12:20.521730: Setting up runner on worker == 2023-05-23 13:12:20.979471: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/55/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-23 13:12:21.551096: 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-23 13:12:23.101452: Preparing bind mounts 2023-05-23 13:12:23.285022: INFO Creating secret: dockerpass == 2023-05-23 13:12:23.668278: Creating container .netrc file 2023-05-23 13:12:23.854098: INFO Creating token for jobserv run access == 2023-05-23 13:12:24.250067: Preparing script == 2023-05-23 13:12:24.621122: Cloning git repository 2023-05-23 13:12:24.831859: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2023-05-23 13:12:25.014974: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2023-05-23 13:12:25.468550: INFO Server does not appear to need credentials for cloning 2023-05-23 13:12:25.650996: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp9n29h3tk/repo'... 2023-05-23 13:12:26.559815: INFO Checking out: 4389765213b0c115dc4204e32add84dbc5acaad7 Switched to branch 'jobserv-run' == 2023-05-23 13:12:27.199941: Setting up container environment 2023-05-23 13:12:27.391610: 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=d655ed88ea1d9c32cc17a87e98ba292bf0982b17 GIT_SHA=4389765213b0c115dc4204e32add84dbc5acaad7 H_PROJECT=gavel-ci H_BUILD=55 H_RUN=build-container H_WORKER=doanac-reckless == 2023-05-23 13:12:27.769889: Running script inside container 2023-05-23 13:12:27.966497: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:438976 --force-rm . Sending build context to Docker daemon 293.9kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 8a49fdb3b6a5: Pulling fs layer 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 3641c82f4177 Removing intermediate container 3641c82f4177 ---> 72a0b4c0a58f Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in f2a85395779b Removing intermediate container f2a85395779b ---> dfb664205f74 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 7ec1c8ad8a1d Removing intermediate container 7ec1c8ad8a1d ---> 11568cb3954b Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 4d6dee093038 Removing intermediate container 4d6dee093038 ---> 29a5706a0e2a Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 7e71f04d1e01 Removing intermediate container 7e71f04d1e01 ---> 0f039bb4359a Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 3fdb3371a361 Removing intermediate container 3fdb3371a361 ---> 74d15b3c8c9e Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 09570c66f358 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 5983d5326bf5 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> fa4bcf661dc0 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 6799dfa0f86a Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 37f7fb144a83 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 169b95e02518 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 8f3012c1779f 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 18fe2289117a 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.6 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 746.1 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.6 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.4 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 6.6 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 669.7 kB/s eta 0:00:00 Collecting bcrypt==4.0.1 (from -r requirements.txt (line 9)) Downloading bcrypt-4.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (624 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 624.3/624.3 kB 5.0 MB/s eta 0:00:00 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.31.0 (from -r requirements.txt (line 12)) Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.2 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.6 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.4 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.3 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.6 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.6.0-py3-none-any.whl (30 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.5 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 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.31.0->-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.8 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests==2.31.0->-r requirements.txt (line 12)) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.2 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests==2.31.0->-r requirements.txt (line 12)) Downloading urllib3-2.0.2-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 kB 2.3 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests==2.31.0->-r requirements.txt (line 12)) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 2.7 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.5 MB/s eta 0:00:00 Collecting cffi>=1.12 (from cryptography->PyMySQL==0.9.2->-r requirements.txt (line 8)) 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 pycparser (from cffi>=1.12->cryptography->PyMySQL==0.9.2->-r requirements.txt (line 8)) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 2.2 MB/s eta 0:00:00 Building wheels for collected packages: urlobject 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=cb71a1693b3a2f29f4f9cee34ca1fd80513d61eeceac97da889913498d457987 Stored in directory: /root/.cache/pip/wheels/63/69/1e/27e9ecc1870bf9862cc2fb31933b498d6cc6a350e5569d424a Successfully built urlobject Installing collected packages: urlobject, urllib3, typing-extensions, pyjwt, pycparser, oauthlib, MarkupSafe, itsdangerous, idna, gunicorn, greenlet, click, charset-normalizer, certifi, blinker, bcrypt, Werkzeug, SQLAlchemy, requests, Mako, Jinja2, cffi, requests-oauthlib, Flask, cryptography, 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-4.0.1 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.31.0 requests-oauthlib-1.3.1 typing-extensions-4.6.0 urllib3-2.0.2 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 18fe2289117a ---> bdeeb7eda85d Successfully built bdeeb7eda85d Successfully tagged doanac/gavel-ci:438976 + docker tag doanac/gavel-ci:438976 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:438976 The push refers to repository [docker.io/doanac/gavel-ci] 639a0b10d7d9: Preparing 1b8f5e2fee38: Preparing 9a3f099d47db: Preparing cb0e705fc129: Preparing 8749fbfbccfd: Preparing 2c0e2b0f41ba: Preparing 92f022a1a974: Preparing 38a7894ac3e2: Preparing 5376519437e7: Preparing bb01bd7e32b5: Preparing 92f022a1a974: Waiting 5376519437e7: Waiting 2c0e2b0f41ba: Waiting 38a7894ac3e2: Waiting bb01bd7e32b5: Waiting 9a3f099d47db: Pushed 1b8f5e2fee38: Pushed 8749fbfbccfd: Pushed cb0e705fc129: Pushed 2c0e2b0f41ba: Pushed 38a7894ac3e2: Pushed bb01bd7e32b5: Layer already exists 5376519437e7: Pushed 92f022a1a974: Pushed 639a0b10d7d9: Pushed 438976: digest: sha256:ec457517a553c6ea151c42f91a615bc3b54dec104c0bc8711bc4331cf7834f78 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] 639a0b10d7d9: Preparing 1b8f5e2fee38: Preparing 9a3f099d47db: Preparing cb0e705fc129: Preparing 8749fbfbccfd: Preparing 2c0e2b0f41ba: Preparing 92f022a1a974: Preparing 38a7894ac3e2: Preparing 5376519437e7: Preparing bb01bd7e32b5: Preparing 2c0e2b0f41ba: Waiting 92f022a1a974: Waiting 38a7894ac3e2: Waiting 5376519437e7: Waiting bb01bd7e32b5: Waiting cb0e705fc129: Layer already exists 639a0b10d7d9: Layer already exists 8749fbfbccfd: Layer already exists 9a3f099d47db: Layer already exists 1b8f5e2fee38: Layer already exists 2c0e2b0f41ba: Layer already exists 5376519437e7: Layer already exists 38a7894ac3e2: Layer already exists 92f022a1a974: Layer already exists bb01bd7e32b5: Layer already exists latest: digest: sha256:ec457517a553c6ea151c42f91a615bc3b54dec104c0bc8711bc4331cf7834f78 size: 2400 Script completed == 2023-05-23 13:15:10.988605: Finding artifacts to upload Uploading 1 items 11486 bytes == 2023-05-23 13:15:11.776758: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|