# Run sent to worker: doanac-reckless == 2022-06-02 16:48:28.988406: Setting up runner on worker == 2022-06-02 16:48:29.423576: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/44/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-06-02 16:48:29.977995: 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-06-02 16:48:31.864558: Preparing bind mounts 2022-06-02 16:48:32.048400: INFO Creating secret: dockerpass == 2022-06-02 16:48:32.413179: Creating container .netrc file 2022-06-02 16:48:32.611298: INFO Creating token for jobserv run access == 2022-06-02 16:48:32.994084: Preparing script == 2022-06-02 16:48:33.332430: Cloning git repository 2022-06-02 16:48:33.521400: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-06-02 16:48:33.713330: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-06-02 16:48:34.117231: INFO Server does not appear to need credentials for cloning 2022-06-02 16:48:34.302419: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmp2qa49dml/repo'... 2022-06-02 16:48:35.115984: INFO Checking out: c9849e3ab8ffffa701e5515777663b14aa71b366 Switched to branch 'jobserv-run' == 2022-06-02 16:48:35.753972: Setting up container environment 2022-06-02 16:48:35.947274: 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=9d0f8e086a2d4cb151e4a2b48a5664d68d321bcc GIT_SHA=c9849e3ab8ffffa701e5515777663b14aa71b366 H_PROJECT=gavel-ci H_BUILD=44 H_RUN=build-container H_WORKER=doanac-reckless == 2022-06-02 16:48:36.300161: Running script inside container 2022-06-02 16:48:36.477063: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:c9849e --force-rm . Sending build context to Docker daemon 284.7kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 2408cc74d12b: Pulling fs layer 2408cc74d12b: Verifying Checksum 2408cc74d12b: Download complete 2408cc74d12b: Pull complete Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c Status: Downloaded newer image for alpine:latest ---> e66264b98777 Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 6bff49d8fea8 Removing intermediate container 6bff49d8fea8 ---> c16c848a52e7 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in f7aa454fca89 Removing intermediate container f7aa454fca89 ---> 981d80e8cb10 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 4a5112b89421 Removing intermediate container 4a5112b89421 ---> 734767ede040 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 99fd7624504b Removing intermediate container 99fd7624504b ---> 3497d08fea59 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in def8582a5935 Removing intermediate container def8582a5935 ---> a009bae77184 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in d520373a1b85 Removing intermediate container d520373a1b85 ---> b8069aa0f69b Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> 54398bca81ba Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 2127e6510cb3 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 198081185908 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> cb83b5f746ad Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> 70c3190e9992 Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 77da7b19f72b Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 7bf5dc9eb34d 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 10634ee20310 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-r2) (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-r0) (14/40) Installing libffi-dev (3.4.2-r1) (15/40) Installing musl-dev (1.2.3-r0) (16/40) Installing openssl (1.1.1o-r0) (17/40) Installing openssl-dev (1.1.1o-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.4-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.4-r0) Executing busybox-1.35.0-r13.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.1.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.5 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (59.4.0) Collecting setuptools Downloading setuptools-62.3.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.1 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.1.2 setuptools-62.3.2 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 1.2 MB/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 2.0 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 7.6 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 721.7 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 1.0 MB/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 2.2 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.0 MB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 2.1 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 4.3 MB/s eta 0:00:00 Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 kB 1.7 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' 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 sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.2-py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 kB 1.9 MB/s eta 0:00:00 Collecting alembic>=0.7 Downloading alembic-1.8.0-py3-none-any.whl (209 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 209.3/209.3 kB 3.1 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.7 MB/s eta 0:00:00 Collecting cryptography Downloading cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 7.4 MB/s eta 0:00:00 Collecting cffi>=1.1 Downloading cffi-1.15.0.tar.gz (484 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 484.1/484.1 kB 4.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting certifi>=2017.4.17 Downloading certifi-2022.5.18.1-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 kB 2.3 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 905.4 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 2.4 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.9 MB/s eta 0:00:00 Collecting Mako Downloading Mako-1.2.0-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 1.3 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.9 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 cffi, since package 'wheel' is not installed. Using legacy 'setup.py install' for urlobject, since package 'wheel' is not installed. Installing collected packages: urlobject, lazy, idna, chardet, blinker, Werkzeug, urllib3, SQLAlchemy, pyjwt, pycparser, oauthlib, MarkupSafe, 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 cffi: started Running setup.py install for cffi: 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.0 MarkupSafe-2.0.1 PyMySQL-0.9.2 SQLAlchemy-1.3.19 Werkzeug-0.16.1 alembic-1.8.0 bcrypt-3.1.4 blinker-1.4 certifi-2022.5.18.1 cffi-1.15.0 chardet-3.0.4 click-8.1.3 cryptography-37.0.2 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.4 oauthlib-3.2.0 pycparser-2.21 pyjwt-2.4.0 requests-2.20.1 requests-oauthlib-1.3.1 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.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-r2) (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.1o-r0) (9/14) Purging python3-dev (3.10.4-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-r0) Executing busybox-1.35.0-r13.trigger OK: 77 MiB in 40 packages Removing intermediate container 10634ee20310 ---> 0fdea58d9efc Successfully built 0fdea58d9efc Successfully tagged doanac/gavel-ci:c9849e + docker tag doanac/gavel-ci:c9849e 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:c9849e The push refers to repository [docker.io/doanac/gavel-ci] f152e5e7b9dc: Preparing 8ff32209e406: Preparing c26cd1cc5d18: Preparing 4745eb70f394: Preparing f78736747c30: Preparing 24f5fb762f55: Preparing 8e40d0da7984: Preparing c0e433859ad9: Preparing b1356cdf817c: Preparing 24302eb7d908: Preparing c0e433859ad9: Waiting b1356cdf817c: Waiting 8e40d0da7984: Waiting 24302eb7d908: Waiting 24f5fb762f55: Waiting 4745eb70f394: Pushed c26cd1cc5d18: Pushed f78736747c30: Pushed 8ff32209e406: Pushed 24f5fb762f55: Pushed 8e40d0da7984: Pushed c0e433859ad9: Pushed b1356cdf817c: Pushed 24302eb7d908: Mounted from library/alpine f152e5e7b9dc: Pushed c9849e: digest: sha256:5eaffbda83291cc8d64fc7207ddbe0987a8505a10d25babc83f6b4a045663b59 size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] f152e5e7b9dc: Preparing 8ff32209e406: Preparing c26cd1cc5d18: Preparing 4745eb70f394: Preparing f78736747c30: Preparing 24f5fb762f55: Preparing 8e40d0da7984: Preparing c0e433859ad9: Preparing b1356cdf817c: Preparing 24302eb7d908: Preparing 24f5fb762f55: Waiting 8e40d0da7984: Waiting c0e433859ad9: Waiting b1356cdf817c: Waiting 24302eb7d908: Waiting 4745eb70f394: Layer already exists f152e5e7b9dc: Layer already exists 8ff32209e406: Layer already exists f78736747c30: Layer already exists c26cd1cc5d18: Layer already exists 24302eb7d908: Layer already exists b1356cdf817c: Layer already exists c0e433859ad9: Layer already exists 8e40d0da7984: Layer already exists 24f5fb762f55: Layer already exists latest: digest: sha256:5eaffbda83291cc8d64fc7207ddbe0987a8505a10d25babc83f6b4a045663b59 size: 2400 Script completed == 2022-06-02 16:51:45.233844: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-06-02 16:51:46.023562: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|