# Run sent to worker: doanac-reckless == 2022-01-24 15:49:53.295684: Setting up runner on worker == 2022-01-24 15:49:53.768653: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/gavel-ci/builds/39/runs/build-container//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2022-01-24 15:49:54.353409: 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-01-24 15:49:57.230754: Preparing bind mounts 2022-01-24 15:49:57.421775: INFO Creating secret: dockerpass == 2022-01-24 15:49:57.764696: Creating container .netrc file 2022-01-24 15:49:57.961736: INFO Creating token for jobserv run access == 2022-01-24 15:49:58.314218: Preparing script == 2022-01-24 15:49:58.721311: Cloning git repository 2022-01-24 15:49:58.898273: INFO Clone_url: https://github.com/doanac/gavel-ci.git 2022-01-24 15:49:59.077132: INFO Checking to see if https://github.com/doanac/gavel-ci.git requires authentication. 2022-01-24 15:49:59.677758: INFO Server does not appear to need credentials for cloning 2022-01-24 15:49:59.857688: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpsg2_8mkx/repo'... 2022-01-24 15:50:01.133993: INFO Checking out: 5e8b60ee4db6a103072c5354374799bd21aeddd2 Switched to branch 'jobserv-run' == 2022-01-24 15:50:01.871523: Setting up container environment 2022-01-24 15:50:02.081996: 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=201b0c19485df23b3357d43f5e6fdc1a753a0df5 GIT_SHA=5e8b60ee4db6a103072c5354374799bd21aeddd2 H_PROJECT=gavel-ci H_BUILD=39 H_RUN=build-container H_WORKER=doanac-reckless == 2022-01-24 15:50:02.487522: Running script inside container 2022-01-24 15:50:02.683740: INFO Running with "--privileged" + docker build -t doanac/gavel-ci:5e8b60 --force-rm . Sending build context to Docker daemon 279.6kB Step 1/15 : FROM alpine latest: Pulling from library/alpine 59bf1c3509f3: Pulling fs layer 59bf1c3509f3: Verifying Checksum 59bf1c3509f3: Download complete 59bf1c3509f3: Pull complete Digest: sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 Status: Downloaded newer image for alpine:latest ---> c059bfaa849c Step 2/15 : ARG GAVEL_VERSION=? ---> Running in 0e6e11322f62 Removing intermediate container 0e6e11322f62 ---> 9db7f0c4fe24 Step 3/15 : ENV APP_VERSION="$GAVEL_VERSION" ---> Running in ce943c9c60b4 Removing intermediate container ce943c9c60b4 ---> aef8ac34d593 Step 4/15 : ENV FLASK_APP="gavel_ci.app:app" ---> Running in 995fd02e5d93 Removing intermediate container 995fd02e5d93 ---> 2103b17877a8 Step 5/15 : ARG BUILD_PKGS="python3-dev musl-dev gcc libffi-dev openssl-dev" ---> Running in 547b7683744d Removing intermediate container 547b7683744d ---> db3f74daff65 Step 6/15 : ENV PYTHONPATH=/srv/gavel-ci ---> Running in a1cd5455ca55 Removing intermediate container a1cd5455ca55 ---> ea5060a44b83 Step 7/15 : WORKDIR /srv/gavel-ci ---> Running in 20a7d2470ef2 Removing intermediate container 20a7d2470ef2 ---> b27c1c197e0c Step 8/15 : COPY ./wait-for /srv/gavel-ci/ ---> aedc97bfa061 Step 9/15 : COPY ./requirements.txt /srv/gavel-ci/ ---> 20a01b0d6145 Step 10/15 : COPY ./docker_run.sh /srv/gavel-ci/ ---> 2d14194e5fa0 Step 11/15 : COPY ./gavel_ci /srv/gavel-ci/gavel_ci ---> 39fb074a37d2 Step 12/15 : COPY ./gavel_jwt.py /srv/gavel-ci/ ---> e251f88ddaad Step 13/15 : COPY ./gavel_permissions.py /srv/gavel-ci/ ---> 295959ed3030 Step 14/15 : COPY ./migrations /srv/gavel-ci/migrations ---> 91be5d2d02b4 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 7797fb1bb0a5 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz (1/57) Upgrading libcrypto1.1 (1.1.1l-r7 -> 1.1.1l-r8) (2/57) Upgrading libssl1.1 (1.1.1l-r7 -> 1.1.1l-r8) (3/57) Installing libgcc (10.3.1_git20211027-r0) (4/57) Installing libstdc++ (10.3.1_git20211027-r0) (5/57) Installing binutils (2.37-r3) (6/57) Installing libgomp (10.3.1_git20211027-r0) (7/57) Installing libatomic (10.3.1_git20211027-r0) (8/57) Installing libgphobos (10.3.1_git20211027-r0) (9/57) Installing gmp (6.2.1-r0) (10/57) Installing isl22 (0.22-r0) (11/57) Installing mpfr4 (4.1.0-r0) (12/57) Installing mpc1 (1.2.1-r0) (13/57) Installing gcc (10.3.1_git20211027-r0) (14/57) Installing linux-headers (5.10.41-r0) (15/57) Installing libffi (3.4.2-r1) (16/57) Installing pkgconf (1.8.0-r0) (17/57) Installing libffi-dev (3.4.2-r1) (18/57) Installing musl-dev (1.2.2-r7) (19/57) Installing openssl (1.1.1l-r8) (20/57) Installing openssl-dev (1.1.1l-r8) (21/57) Installing libbz2 (1.0.8-r1) (22/57) Installing expat (2.4.3-r0) (23/57) Installing gdbm (1.22-r0) (24/57) Installing xz-libs (5.2.5-r0) (25/57) Installing mpdecimal (2.5.1-r1) (26/57) Installing ncurses-terminfo-base (6.3_p20211120-r0) (27/57) Installing ncurses-libs (6.3_p20211120-r0) (28/57) Installing readline (8.1.1-r0) (29/57) Installing sqlite-libs (3.36.0-r0) (30/57) Installing python3 (3.9.7-r4) (31/57) Installing py3-appdirs (1.4.4-r2) (32/57) Installing py3-certifi (2020.12.5-r1) (33/57) Installing py3-charset-normalizer (2.0.7-r0) (34/57) Installing py3-idna (3.3-r0) (35/57) Installing py3-urllib3 (1.26.7-r0) (36/57) Installing py3-requests (2.26.0-r1) (37/57) Installing py3-msgpack (1.0.2-r1) (38/57) Installing py3-lockfile (0.12.2-r4) (39/57) Installing py3-cachecontrol (0.12.10-r0) (40/57) Installing py3-colorama (0.4.4-r1) (41/57) Installing py3-contextlib2 (21.6.0-r1) (42/57) Installing py3-distlib (0.3.3-r0) (43/57) Installing py3-distro (1.6.0-r0) (44/57) Installing py3-six (1.16.0-r0) (45/57) Installing py3-webencodings (0.5.1-r4) (46/57) Installing py3-html5lib (1.1-r1) (47/57) Installing py3-parsing (2.4.7-r2) (48/57) Installing py3-packaging (20.9-r1) (49/57) Installing py3-tomli (1.2.2-r0) (50/57) Installing py3-pep517 (0.12.0-r0) (51/57) Installing py3-progress (1.6-r0) (52/57) Installing py3-retrying (1.3.3-r2) (53/57) Installing py3-ordered-set (4.0.2-r2) (54/57) Installing py3-setuptools (52.0.0-r4) (55/57) Installing py3-toml (0.10.2-r2) (56/57) Installing py3-pip (20.3.4-r1) (57/57) Installing python3-dev (3.9.7-r4) Executing busybox-1.34.1-r3.trigger OK: 248 MiB in 69 packages Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (20.3.4) Collecting pip Downloading pip-21.3.1-py3-none-any.whl (1.7 MB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (52.0.0) Collecting setuptools Downloading setuptools-60.5.0-py3-none-any.whl (958 kB) Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 52.0.0 Uninstalling setuptools-52.0.0: Successfully uninstalled setuptools-52.0.0 Attempting uninstall: pip Found existing installation: pip 20.3.4 Uninstalling pip-20.3.4: Successfully uninstalled pip-20.3.4 Successfully installed pip-21.3.1 setuptools-60.5.0 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 PyMySQL==0.9.2 Downloading PyMySQL-0.9.2-py2.py3-none-any.whl (47 kB) Collecting bcrypt==3.1.4 Downloading bcrypt-3.1.4.tar.gz (42 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting flask==1.0.2 Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB) Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) Collecting pyjwt==1.6.4 Downloading PyJWT-1.6.4-py2.py3-none-any.whl (19 kB) Collecting requests==2.20.1 Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB) Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from Flask-Dance[sqla]==1.0.0->-r requirements.txt (line 1)) (1.16.0) 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 lazy Downloading lazy-1.4-py2.py3-none-any.whl (6.2 kB) Collecting requests-oauthlib>=1.0.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting oauthlib Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 kB) Collecting sqlalchemy Downloading SQLAlchemy-1.4.31.tar.gz (8.0 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting sqlalchemy-utils Downloading SQLAlchemy_Utils-0.38.2-py3-none-any.whl (100 kB) Collecting alembic>=0.7 Downloading alembic-1.7.5-py3-none-any.whl (209 kB) Collecting cryptography Downloading cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB) Collecting cffi>=1.1 Downloading cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting Jinja2>=2.10 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting Werkzeug>=0.14 Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB) Collecting click>=5.1 Downloading click-8.0.3-py3-none-any.whl (97 kB) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests==2.20.1->-r requirements.txt (line 10)) (2020.12.5) Collecting Mako Downloading Mako-1.1.6-py2.py3-none-any.whl (75 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (30 kB) Collecting greenlet!=0.4.17 Downloading greenlet-1.1.2-cp39-cp39-musllinux_1_1_x86_64.whl (708 kB) Using legacy 'setup.py install' for Flask-Login, 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 sqlalchemy, since package 'wheel' is not installed. Using legacy 'setup.py install' for urlobject, since package 'wheel' is not installed. Installing collected packages: urllib3, MarkupSafe, idna, chardet, Werkzeug, requests, pycparser, oauthlib, Jinja2, itsdangerous, greenlet, click, urlobject, sqlalchemy, requests-oauthlib, Mako, lazy, flask, cffi, sqlalchemy-utils, Flask-SQLAlchemy, Flask-Dance, cryptography, alembic, PyMySQL, pyjwt, gunicorn, Flask-Migrate, Flask-Login, blinker, bcrypt Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.7 Uninstalling urllib3-1.26.7: Successfully uninstalled urllib3-1.26.7 Attempting uninstall: idna Found existing installation: idna 3.3 Uninstalling idna-3.3: Successfully uninstalled idna-3.3 Attempting uninstall: requests Found existing installation: requests 2.26.0 Uninstalling requests-2.26.0: Successfully uninstalled requests-2.26.0 Running setup.py install for urlobject: started Running setup.py install for urlobject: 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 Flask-Login: started Running setup.py install for Flask-Login: 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 bcrypt: started Running setup.py install for bcrypt: finished with status 'done' Successfully installed 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.1.6 MarkupSafe-2.0.1 PyMySQL-0.9.2 Werkzeug-2.0.2 alembic-1.7.5 bcrypt-3.1.4 blinker-1.4 cffi-1.15.0 chardet-3.0.4 click-8.0.3 cryptography-36.0.1 flask-1.0.2 greenlet-1.1.2 gunicorn-19.9.0 idna-2.7 itsdangerous-2.0.1 lazy-1.4 oauthlib-3.1.1 pycparser-2.21 pyjwt-1.6.4 requests-2.20.1 requests-oauthlib-1.3.0 sqlalchemy-1.4.31 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.15/main: No such file or directory WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory (1/15) Purging gcc (10.3.1_git20211027-r0) (2/15) Purging binutils (2.37-r3) (3/15) Purging libatomic (10.3.1_git20211027-r0) (4/15) Purging libgomp (10.3.1_git20211027-r0) (5/15) Purging libgphobos (10.3.1_git20211027-r0) (6/15) Purging libffi-dev (3.4.2-r1) (7/15) Purging linux-headers (5.10.41-r0) (8/15) Purging musl-dev (1.2.2-r7) (9/15) Purging openssl-dev (1.1.1l-r8) (10/15) Purging python3-dev (3.9.7-r4) (11/15) Purging mpc1 (1.2.1-r0) (12/15) Purging mpfr4 (4.1.0-r0) (13/15) Purging isl22 (0.22-r0) (14/15) Purging gmp (6.2.1-r0) (15/15) Purging pkgconf (1.8.0-r0) Executing busybox-1.34.1-r3.trigger OK: 76 MiB in 54 packages Removing intermediate container 7797fb1bb0a5 ---> e374d69afbdd Successfully built e374d69afbdd Successfully tagged doanac/gavel-ci:5e8b60 + docker tag doanac/gavel-ci:5e8b60 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:5e8b60 The push refers to repository [docker.io/doanac/gavel-ci] aef5e59b4230: Preparing c80b14a589e0: Preparing 228d0267ad46: Preparing f1fc789428b4: Preparing 746d1df922d2: Preparing d08391f61b2c: Preparing 6e55324d919a: Preparing 5f8d5f558943: Preparing 7056538513d7: Preparing 8d3ac3489996: Preparing d08391f61b2c: Waiting 7056538513d7: Waiting 6e55324d919a: Waiting 8d3ac3489996: Waiting 5f8d5f558943: Waiting 228d0267ad46: Pushed 746d1df922d2: Pushed c80b14a589e0: Pushed f1fc789428b4: Pushed 6e55324d919a: Pushed d08391f61b2c: Pushed 5f8d5f558943: Pushed 7056538513d7: Pushed 8d3ac3489996: Mounted from library/alpine aef5e59b4230: Pushed 5e8b60: digest: sha256:9d5c377b96437c93170cd0b8162d2d45527e19081b93492da6a6b4219df70aac size: 2400 + docker push doanac/gavel-ci:latest The push refers to repository [docker.io/doanac/gavel-ci] aef5e59b4230: Preparing c80b14a589e0: Preparing 228d0267ad46: Preparing f1fc789428b4: Preparing 746d1df922d2: Preparing d08391f61b2c: Preparing 6e55324d919a: Preparing 5f8d5f558943: Preparing 7056538513d7: Preparing 8d3ac3489996: Preparing d08391f61b2c: Waiting 8d3ac3489996: Waiting 7056538513d7: Waiting 5f8d5f558943: Waiting 228d0267ad46: Layer already exists c80b14a589e0: Layer already exists f1fc789428b4: Layer already exists aef5e59b4230: Layer already exists 746d1df922d2: Layer already exists 7056538513d7: Layer already exists d08391f61b2c: Layer already exists 8d3ac3489996: Layer already exists 6e55324d919a: Layer already exists 5f8d5f558943: Layer already exists latest: digest: sha256:9d5c377b96437c93170cd0b8162d2d45527e19081b93492da6a6b4219df70aac size: 2400 Script completed == 2022-01-24 15:52:51.414280: Finding artifacts to upload Uploading 1 items 11486 bytes == 2022-01-24 15:52:52.214864: Runner has completed _ _ | \/ | \__|____|__/ | o o| Thumbs Up |___\/_|_____||_ | _____|__| | | |______| | | | | | | | | |_| |_|