# Run sent to worker: doanac-reckless == 2023-05-22 18:18:55.250207: Setting up runner on worker == 2023-05-22 18:18:55.709965: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/54/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:18:56.267411: 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:18:57.790520: Preparing bind mounts 2023-05-22 18:18:58.214292: INFO Creating secret: dockerpass == 2023-05-22 18:18:58.594039: Creating container .netrc file 2023-05-22 18:18:58.765833: INFO Creating token for jobserv run access == 2023-05-22 18:18:59.137083: Preparing script == 2023-05-22 18:18:59.524446: Cloning git repository 2023-05-22 18:18:59.718565: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2023-05-22 18:18:59.906792: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2023-05-22 18:19:00.340045: INFO Server does not appear to need credentials for cloning 2023-05-22 18:19:00.546050: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmprw728k7w/repo'... 2023-05-22 18:19:01.511175: INFO Checking out: d655ed88ea1d9c32cc17a87e98ba292bf0982b17 Switched to branch 'jobserv-run' == 2023-05-22 18:19:02.191631: Setting up container environment 2023-05-22 18:19:02.382032: 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=70376bc664b20f805d5c91f883fcc6c2c7ac2a21 GIT_SHA=d655ed88ea1d9c32cc17a87e98ba292bf0982b17 H_PROJECT=gavel-ci H_BUILD=54 H_RUN=build-container H_WORKER=doanac-reckless == 2023-05-22 18:19:02.766869: Running script inside container 2023-05-22 18:19:02.952018: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:d655ed --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 65bee276f70d Removing intermediate container 65bee276f70d ---> b793b8c99779 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in f28ebe33aa94 Removing intermediate container f28ebe33aa94 ---> d2dbc8c4c208 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 80256823b236 Removing intermediate container 80256823b236 ---> 10f04c7ab8de Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 296da12689fa Removing intermediate container 296da12689fa ---> 843c3b5d55a8 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 9ae8ca33e2dc Removing intermediate container 9ae8ca33e2dc ---> 7260a0c8dcb6 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 298860b8c2d4 Removing intermediate container 298860b8c2d4 ---> 7304dee68f86 Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> b68c24164a3c Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> d661ee466bd0 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> d1c681d2ab2f Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 46abb5c06077 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 98ec75c53bdf Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 9fc2595829d9 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> ec36713282ae 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 cfbc3c415d79 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.5 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 837.8 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.0 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.3 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 950.6 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.7 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.6 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.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.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.4 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 5.2 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.5 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.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 3.1 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 1.0 MB/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.6 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.5 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 584.9 kB/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.8 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 1.7 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=0ce0e7e2ec0fe5a5997bb0d5b6613db0a0c2f73b14410f3da56c15ea09030f62 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.28.2 requests-oauthlib-1.3.1 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 cfbc3c415d79 ---> dae0c8966cc4 Successfully built dae0c8966cc4 Successfully tagged doanac/gavel-ci:d655ed + docker tag doanac/gavel-ci:d655ed 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:d655ed The push refers to repository [docker.io/doanac/gavel-ci] a903bdaf5eeb: Preparing eb07181fd132: Preparing 195b685b983a: Preparing f3c6a36c091f: Preparing e4655a862cfe: Preparing ac6b5d39fb2f: Preparing f6a3d25d64e1: Preparing 698be26747ae: Preparing 239514a2e96d: Preparing bb01bd7e32b5: Preparing ac6b5d39fb2f: Waiting 698be26747ae: Waiting f6a3d25d64e1: Waiting bb01bd7e32b5: Waiting 239514a2e96d: Waiting eb07181fd132: Pushed f3c6a36c091f: Pushed e4655a862cfe: Pushed 195b685b983a: Pushed 698be26747ae: Pushed ac6b5d39fb2f: Pushed f6a3d25d64e1: Pushed 239514a2e96d: Pushed bb01bd7e32b5: Mounted from library/alpine a903bdaf5eeb: Pushed d655ed: digest: sha256:16db6814a7506bf57f1c88f575979788168498ec28947484ce31d47fba309860 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] a903bdaf5eeb: Preparing eb07181fd132: Preparing 195b685b983a: Preparing f3c6a36c091f: Preparing e4655a862cfe: Preparing ac6b5d39fb2f: Preparing f6a3d25d64e1: Preparing 698be26747ae: Preparing 239514a2e96d: Preparing bb01bd7e32b5: Preparing ac6b5d39fb2f: Waiting bb01bd7e32b5: Waiting 239514a2e96d: Waiting f6a3d25d64e1: Waiting 698be26747ae: Waiting a903bdaf5eeb: Layer already exists e4655a862cfe: Layer already exists eb07181fd132: Layer already exists 195b685b983a: Layer already exists f3c6a36c091f: Layer already exists f6a3d25d64e1: Layer already exists 698be26747ae: Layer already exists bb01bd7e32b5: Layer already exists 239514a2e96d: Layer already exists ac6b5d39fb2f: Layer already exists latest: digest: sha256:16db6814a7506bf57f1c88f575979788168498ec28947484ce31d47fba309860 size: 2400 Script completed == 2023-05-22 18:21:49.638511: Finding artifacts to upload Uploading 1 items 11486 bytes == 2023-05-22 18:21:50.409701: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|