# Run sent to worker: doanac-reckless == 2022-09-19 17:08:14.794059: Setting up runner on worker == 2022-09-19 17:08:15.254937: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/48/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-09-19 17:08:15.914271: 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-09-19 17:08:17.772705: Preparing bind mounts 2022-09-19 17:08:17.959762: INFO Creating secret: dockerpass == 2022-09-19 17:08:18.349740: Creating container .netrc file 2022-09-19 17:08:18.553884: INFO Creating token for jobserv run access == 2022-09-19 17:08:18.912435: Preparing script == 2022-09-19 17:08:19.292428: Cloning git repository 2022-09-19 17:08:19.489540: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-09-19 17:08:19.679915: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-09-19 17:08:20.063561: INFO Server does not appear to need credentials for cloning 2022-09-19 17:08:20.275809: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp2i83oeqq/repo'... 2022-09-19 17:08:21.138005: INFO Checking out: 56c5f082fa68af60a49b8887c8eec7f0fb1317f3 Switched to branch 'jobserv-run' == 2022-09-19 17:08:21.753411: Setting up container environment 2022-09-19 17:08:21.994349: 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=87927c77d181fd3de3e19d98fd6cb5bab87b0b3d GIT_SHA=56c5f082fa68af60a49b8887c8eec7f0fb1317f3 H_PROJECT=gavel-ci H_BUILD=48 H_RUN=build-container H_WORKER=doanac-reckless == 2022-09-19 17:08:22.531760: Running script inside container 2022-09-19 17:08:22.760160: INFO Running with "--privileged" 2022-09-19 17:08:22.981190: INFO Running with --memory=14639596339 WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + docker build -t doanac/gavel-ci:56c5f0 --force-rm . Sending build context to Docker daemon 289.3kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 213ec9aee27d: Pulling fs layer 213ec9aee27d: Verifying Checksum 213ec9aee27d: Download complete 213ec9aee27d: Pull complete Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad Status: Downloaded newer image for alpine:latest ---> 9c6f07244728 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in e9a89883587b Removing intermediate container e9a89883587b ---> 1e619eb3fbc0 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in 5dea94057c53 Removing intermediate container 5dea94057c53 ---> d84df7996099 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in d9bd324fdaa1 Removing intermediate container d9bd324fdaa1 ---> 76dc0eeced4c Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 8cbbce5e0994 Removing intermediate container 8cbbce5e0994 ---> afce3db0c5d3 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in 4df74f3356d3 Removing intermediate container 4df74f3356d3 ---> 23629cc61f5c Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in e083fb89e51c Removing intermediate container e083fb89e51c ---> a9659357fc6e Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 761e12feeafa Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 1d74aa15f5d6 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> ac558c023da0 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> ea0a9f64363d Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> c234ba97b6ee Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 14c28b90c1c4 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> e68b762030c1 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 b194e2a3b567 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz (1/40) Installing libgcc (11.2.1_git20220219-r2) (2/40) Installing libstdc++ (11.2.1_git20220219-r2) (3/40) Installing binutils (2.38-r3) (4/40) Installing libgomp (11.2.1_git20220219-r2) (5/40) Installing libatomic (11.2.1_git20220219-r2) (6/40) Installing gmp (6.2.1-r2) (7/40) Installing isl22 (0.22-r0) (8/40) Installing mpfr4 (4.1.0-r0) (9/40) Installing mpc1 (1.2.1-r0) (10/40) Installing gcc (11.2.1_git20220219-r2) (11/40) Installing linux-headers (5.16.7-r1) (12/40) Installing libffi (3.4.2-r1) (13/40) Installing pkgconf (1.8.0-r1) (14/40) Installing libffi-dev (3.4.2-r1) (15/40) Installing musl-dev (1.2.3-r0) (16/40) Installing openssl (1.1.1q-r0) (17/40) Installing openssl-dev (1.1.1q-r0) (18/40) Installing libbz2 (1.0.8-r1) (19/40) Installing expat (2.4.8-r0) (20/40) Installing gdbm (1.23-r0) (21/40) Installing xz-libs (5.2.5-r1) (22/40) Installing mpdecimal (2.5.1-r1) (23/40) Installing ncurses-terminfo-base (6.3_p20220521-r0) (24/40) Installing ncurses-libs (6.3_p20220521-r0) (25/40) Installing readline (8.1.2-r0) (26/40) Installing sqlite-libs (3.38.5-r0) (27/40) Installing python3 (3.10.5-r0) (28/40) Installing py3-contextlib2 (21.6.0-r2) (29/40) Installing py3-tomli (2.0.1-r1) (30/40) Installing py3-pep517 (0.12.0-r2) (31/40) Installing py3-six (1.16.0-r1) (32/40) Installing py3-retrying (1.3.3-r3) (33/40) Installing py3-appdirs (1.4.4-r3) (34/40) Installing py3-more-itertools (8.13.0-r0) (35/40) Installing py3-ordered-set (4.0.2-r3) (36/40) Installing py3-parsing (2.4.7-r3) (37/40) Installing py3-packaging (21.3-r0) (38/40) Installing py3-setuptools (59.4.0-r0) (39/40) Installing py3-pip (22.1.1-r0) (40/40) Installing python3-dev (3.10.5-r0) Executing busybox-1.35.0-r17.trigger OK: 241 MiB in 54 packages Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (22.1.1) Collecting pip Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 3.6 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (59.4.0) Collecting setuptools Downloading setuptools-65.3.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 4.9 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 59.4.0 Uninstalling setuptools-59.4.0: Successfully uninstalled setuptools-59.4.0 Attempting uninstall: pip Found existing installation: pip 22.1.1 Uninstalling pip-22.1.1: Successfully uninstalled pip-22.1.1 Successfully installed pip-22.2.2 setuptools-65.3.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]==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 Flask==1.1.2 Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 914.2 kB/s eta 0:00:00 Collecting Jinja2==3.0.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 kB 1.5 MB/s eta 0:00:00 Collecting SQLAlchemy==1.3.19 Downloading SQLAlchemy-1.3.19.tar.gz (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 5.2 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 753.3 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 688.0 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.9/112.9 kB 1.6 MB/s eta 0:00:00 Collecting pyjwt==2.4.0 Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB) Collecting requests==2.20.1 Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 1.2 MB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 1.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting itsdangerous==2.0.1 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting MarkupSafe==2.0.1 Downloading MarkupSafe-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (30 kB) Collecting Werkzeug==0.16.1 Downloading Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 327.4/327.4 kB 1.6 MB/s eta 0:00:00 Requirement already satisfied: six in /usr/lib/python3.10/site-packages (from Flask-Dance[sqla]==1.0.0->-r requirements.txt (line 1)) (1.16.0) Collecting lazy Downloading lazy-1.5-py2.py3-none-any.whl (5.0 kB) Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting oauthlib Downloading oauthlib-3.2.1-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 1.5 MB/s eta 0:00:00 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 sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.3-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.3/100.3 kB 1.7 MB/s eta 0:00:00 Collecting alembic>=0.7 Downloading alembic-1.8.1-py3-none-any.whl (209 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 209.8/209.8 kB 2.6 MB/s eta 0:00:00 Collecting click>=5.1 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 cryptography Downloading cryptography-38.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 4.5 MB/s eta 0:00:00 Collecting cffi>=1.1 Downloading cffi-1.15.1-cp310-cp310-musllinux_1_1_x86_64.whl (464 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 464.1/464.1 kB 2.9 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.9.14-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 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 887.9 kB/s eta 0:00:00 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.2 MB/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.7 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.2-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.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.6 MB/s eta 0:00:00 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 urlobject, since package 'wheel' is not installed. Installing collected packages: urlobject, idna, chardet, blinker, Werkzeug, urllib3, SQLAlchemy, pyjwt, pycparser, oauthlib, MarkupSafe, lazy, itsdangerous, gunicorn, click, certifi, 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' Running setup.py install for blinker: started Running setup.py install for blinker: 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 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-1.1.2 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.2.2 MarkupSafe-2.0.1 PyMySQL-0.9.2 SQLAlchemy-1.3.19 Werkzeug-0.16.1 alembic-1.8.1 bcrypt-3.1.4 blinker-1.4 certifi-2022.9.14 cffi-1.15.1 chardet-3.0.4 click-8.1.3 cryptography-38.0.1 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.5 oauthlib-3.2.1 pycparser-2.21 pyjwt-2.4.0 requests-2.20.1 requests-oauthlib-1.3.1 sqlalchemy-utils-0.38.3 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.16/main: No such file or directory WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: No such file or directory (1/14) Purging gcc (11.2.1_git20220219-r2) (2/14) Purging binutils (2.38-r3) (3/14) Purging libatomic (11.2.1_git20220219-r2) (4/14) Purging libgomp (11.2.1_git20220219-r2) (5/14) Purging libffi-dev (3.4.2-r1) (6/14) Purging linux-headers (5.16.7-r1) (7/14) Purging musl-dev (1.2.3-r0) (8/14) Purging openssl-dev (1.1.1q-r0) (9/14) Purging python3-dev (3.10.5-r0) (10/14) Purging mpc1 (1.2.1-r0) (11/14) Purging mpfr4 (4.1.0-r0) (12/14) Purging isl22 (0.22-r0) (13/14) Purging gmp (6.2.1-r2) (14/14) Purging pkgconf (1.8.0-r1) Executing busybox-1.35.0-r17.trigger OK: 77 MiB in 40 packages Removing intermediate container b194e2a3b567 ---> f974ab36f9c2 Successfully built f974ab36f9c2 Successfully tagged doanac/gavel-ci:56c5f0 + docker tag doanac/gavel-ci:56c5f0 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:56c5f0 The push refers to repository [docker.io/doanac/gavel-ci] f049d58cf1ec: Preparing d910aeb74fbc: Preparing 5803c352c691: Preparing 6b09bf2c1701: Preparing 3575ada28be7: Preparing 31a0239851f6: Preparing 46f42058368c: Preparing 7692ab0fa8f6: Preparing 531fb13ab601: Preparing 994393dc58e7: Preparing 31a0239851f6: Waiting 531fb13ab601: Waiting 46f42058368c: Waiting 994393dc58e7: Waiting 7692ab0fa8f6: Waiting 5803c352c691: Pushed d910aeb74fbc: Pushed 3575ada28be7: Pushed 6b09bf2c1701: Pushed 31a0239851f6: Pushed 7692ab0fa8f6: Pushed 531fb13ab601: Pushed 46f42058368c: Pushed 994393dc58e7: Mounted from library/alpine f049d58cf1ec: Pushed 56c5f0: digest: sha256:3c81c9af2c7ef7ea01f16b82aaa8760952c5583e01b29c7a626cc01a36436f7e size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] f049d58cf1ec: Preparing d910aeb74fbc: Preparing 5803c352c691: Preparing 6b09bf2c1701: Preparing 3575ada28be7: Preparing 31a0239851f6: Preparing 46f42058368c: Preparing 7692ab0fa8f6: Preparing 531fb13ab601: Preparing 994393dc58e7: Preparing 31a0239851f6: Waiting 7692ab0fa8f6: Waiting 531fb13ab601: Waiting 994393dc58e7: Waiting f049d58cf1ec: Layer already exists 5803c352c691: Layer already exists 3575ada28be7: Layer already exists d910aeb74fbc: Layer already exists 6b09bf2c1701: Layer already exists 31a0239851f6: Layer already exists 7692ab0fa8f6: Layer already exists 994393dc58e7: Layer already exists 531fb13ab601: Layer already exists 46f42058368c: Layer already exists latest: digest: sha256:3c81c9af2c7ef7ea01f16b82aaa8760952c5583e01b29c7a626cc01a36436f7e size: 2400 Script completed == 2022-09-19 17:11:35.795533: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-09-19 17:11:36.525225: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|