# Run sent to worker: doanac-reckless == 2021-08-31 16:30:15.236097: Setting up runner on worker == 2021-08-31 16:30:16.201480: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/243/runs/unit-test//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2021-08-31 16:30:16.377549: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:954ea8d05e9041d1dd17b69eb13708a60ef8b8bcc76d928beb4d137e2a9ceb30 Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2021-08-31 16:30:18.037412: Preparing bind mounts 2021-08-31 16:30:18.038237: INFO Creating secret: githubtok 2021-08-31 16:30:18.038290: INFO Creating secret: webhook-key 2021-08-31 16:30:18.038331: INFO Creating secret: milosz 2021-08-31 16:30:18.038377: INFO Adding shared volume: /lmp-bitbake-cache == 2021-08-31 16:30:18.230284: Creating container .netrc file 2021-08-31 16:30:18.230396: INFO Creating token for jobserv run access 2021-08-31 16:30:18.230435: INFO Creating a github token entry == 2021-08-31 16:30:18.408683: Preparing script == 2021-08-31 16:30:18.599848: Cloning git repository 2021-08-31 16:30:18.599890: INFO Clone_url: https://github.com/doanac/jobserv.git 2021-08-31 16:30:18.599916: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2021-08-31 16:30:18.843769: INFO Server does not appear to need credentials for cloning 2021-08-31 16:30:18.844232: INFO Adding githubtok to .gitconfig 2021-08-31 16:30:18.844394: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmptgorh2bu/repo'... 2021-08-31 16:30:19.895080: INFO Checking out: a0165a7ab59bc42448b3bb6157e1d5414134eea3 Switched to branch 'jobserv-run' == 2021-08-31 16:30:20.537468: Setting up container environment 2021-08-31 16:30:20.537571: INFO Container environment variables: GH_PRNUM=51 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/a0165a7ab59bc42448b3bb6157e1d5414134eea3 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=7e97ef6b3d50dd36c563dc8c3524de76d60a1ec2 GIT_OLD_SHA=7e97ef6b3d50dd36c563dc8c3524de76d60a1ec2 GIT_SHA=a0165a7ab59bc42448b3bb6157e1d5414134eea3 H_PROJECT=jobserv H_BUILD=243 H_RUN=unit-test H_WORKER=doanac-reckless == 2021-08-31 16:30:20.715090: Running script inside container + apk --no-cache add git python3-dev musl-dev g++ openssl libffi-dev openssl-dev rust cargo fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz (1/36) Installing rust-stdlib (1.52.1-r1) (2/36) Installing libgcc (10.3.1_git20210424-r2) (3/36) Installing libstdc++ (10.3.1_git20210424-r2) (4/36) Installing binutils (2.35.2-r2) (5/36) Installing libgomp (10.3.1_git20210424-r2) (6/36) Installing libatomic (10.3.1_git20210424-r2) (7/36) Installing libgphobos (10.3.1_git20210424-r2) (8/36) Installing gmp (6.2.1-r0) (9/36) Installing isl22 (0.22-r0) (10/36) Installing mpfr4 (4.1.0-r0) (11/36) Installing mpc1 (1.2.1-r0) (12/36) Installing gcc (10.3.1_git20210424-r2) (13/36) Installing musl-dev (1.2.2-r3) (14/36) Installing libxml2 (2.9.12-r1) (15/36) Installing llvm11-libs (11.1.0-r2) (16/36) Installing brotli-libs (1.0.9-r5) (17/36) Installing nghttp2-libs (1.43.0-r0) (18/36) Installing libcurl (7.78.0-r0) (19/36) Installing http-parser (2.9.4-r0) (20/36) Installing pcre (8.44-r0) (21/36) Installing libssh2 (1.9.0-r1) (22/36) Installing libgit2 (1.1.0-r2) (23/36) Installing rust (1.52.1-r1) (24/36) Installing cargo (1.52.1-r1) (25/36) Installing libc-dev (0.7.2-r3) (26/36) Installing g++ (10.3.1_git20210424-r2) (27/36) Installing pcre2 (10.36-r0) (28/36) Installing git (2.32.0-r0) (29/36) Installing linux-headers (5.10.41-r0) (30/36) Installing pkgconf (1.7.4-r0) (31/36) Installing libffi-dev (3.3-r2) (32/36) Installing openssl (1.1.1l-r0) (33/36) Installing openssl-dev (1.1.1l-r0) (34/36) Installing mpdecimal (2.5.1-r1) (35/36) Installing python3 (3.9.5-r1) (36/36) Installing python3-dev (3.9.5-r1) Executing busybox-1.33.1-r3.trigger OK: 1045 MiB in 72 packages + git config --global user.email cibot@example.com + git config --global user.name cibot + ls /lmp-bitbake-cache/ dmesg.out + sh ./unit-test.sh WARNING: Using sqlite database - work queue testing will be skipped Requirement already satisfied: pip in /tmp/tmp.NOIehg/lib/python3.9/site-packages (21.1.3) Collecting pip Downloading pip-21.2.4-py3-none-any.whl (1.6 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.1.3 Uninstalling pip-21.1.3: Successfully uninstalled pip-21.1.3 Successfully installed pip-21.2.4 Requirement already satisfied: setuptools in /tmp/tmp.NOIehg/lib/python3.9/site-packages (56.0.0) Collecting setuptools Downloading setuptools-57.4.0-py3-none-any.whl (819 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 56.0.0 Uninstalling setuptools-56.0.0: Successfully uninstalled setuptools-56.0.0 Successfully installed setuptools-57.4.0 Collecting Flask-Migrate==3.1.0 Downloading Flask_Migrate-3.1.0-py3-none-any.whl (20 kB) Collecting Flask-SQLAlchemy==2.5.1 Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB) Collecting Flask-Testing==0.8.1 Downloading Flask-Testing-0.8.1.tar.gz (45 kB) Collecting Flask==1.1.4 Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB) Collecting Jinja2==2.11.3 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Collecting Mako==1.1.5 Downloading Mako-1.1.5-py2.py3-none-any.whl (75 kB) Collecting MarkupSafe==2.0.1 Downloading MarkupSafe-2.0.1.tar.gz (18 kB) Collecting PyJWT==2.1.0 Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB) Collecting PyMySQL==1.0.2 Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB) Collecting PyYAML==5.4.1 Downloading PyYAML-5.4.1.tar.gz (175 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 wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting SQLAlchemy==1.4.23 Downloading SQLAlchemy-1.4.23.tar.gz (7.7 MB) Collecting Werkzeug==0.16.1 Downloading Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB) Collecting bcrypt==3.2.0 Downloading bcrypt-3.2.0.tar.gz (42 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 wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting cryptography==3.4.8 Downloading cryptography-3.4.8.tar.gz (546 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 wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting dataclasses==0.6 Downloading dataclasses-0.6-py3-none-any.whl (14 kB) Collecting google-cloud-storage==1.42.0 Downloading google_cloud_storage-1.42.0-py2.py3-none-any.whl (105 kB) Collecting gunicorn==20.1.0 Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) Collecting pykwalify==1.8.0 Downloading pykwalify-1.8.0-py2.py3-none-any.whl (24 kB) Collecting python-dateutil==2.8.2 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting pytz==2021.1 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting requests==2.26.0 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) Collecting setproctitle==1.2.2 Downloading setproctitle-1.2.2.tar.gz (23 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 wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting wheel==0.37.0 Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB) Collecting alembic>=0.7 Downloading alembic-1.7.1-py3-none-any.whl (208 kB) Collecting click<8.0,>=5.1 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) Collecting itsdangerous<2.0,>=0.24 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting greenlet!=0.4.17 Downloading greenlet-1.1.1.tar.gz (85 kB) Collecting cffi>=1.1 Using cached cffi-1.14.6.tar.gz (475 kB) Collecting six>=1.4.1 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting google-resumable-media<3.0dev,>=1.3.0 Downloading google_resumable_media-2.0.0-py2.py3-none-any.whl (75 kB) Collecting google-auth<3.0dev,>=1.25.0 Downloading google_auth-2.0.1-py2.py3-none-any.whl (152 kB) Collecting google-cloud-core<3.0dev,>=1.6.0 Downloading google_cloud_core-2.0.0-py2.py3-none-any.whl (27 kB) Collecting google-api-core<3.0dev,>=1.29.0 Downloading google_api_core-2.0.0-py2.py3-none-any.whl (92 kB) Requirement already satisfied: setuptools>=3.0 in /tmp/tmp.NOIehg/lib/python3.9/site-packages (from gunicorn==20.1.0->-r requirements.txt (line 17)) (57.4.0) Collecting ruamel.yaml>=0.16.0 Downloading ruamel.yaml-0.17.16-py3-none-any.whl (109 kB) Collecting docopt>=0.6.2 Downloading docopt-0.6.2.tar.gz (25 kB) Collecting idna<4,>=2.5 Downloading idna-3.2-py3-none-any.whl (59 kB) Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.4-py3-none-any.whl (36 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Collecting protobuf>=3.12.0 Downloading protobuf-3.17.3-py2.py3-none-any.whl (173 kB) Collecting googleapis-common-protos<2.0dev,>=1.6.0 Downloading googleapis_common_protos-1.53.0-py2.py3-none-any.whl (198 kB) Collecting rsa<5,>=3.1.4 Downloading rsa-4.7.2-py3-none-any.whl (34 kB) Collecting pyasn1-modules>=0.2.1 Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting cachetools<5.0,>=2.0.0 Downloading cachetools-4.2.2-py3-none-any.whl (11 kB) Collecting google-crc32c<2.0dev,>=1.0 Downloading google-crc32c-1.1.3.tar.gz (12 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 wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting pyasn1<0.5.0,>=0.4.6 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting ruamel.yaml.clib>=0.1.2 Downloading ruamel.yaml.clib-0.2.6.tar.gz (180 kB) Using legacy 'setup.py install' for Flask-Testing, since package 'wheel' is not installed. Using legacy 'setup.py install' for MarkupSafe, 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 cffi, since package 'wheel' is not installed. Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed. Using legacy 'setup.py install' for greenlet, since package 'wheel' is not installed. Using legacy 'setup.py install' for ruamel.yaml.clib, since package 'wheel' is not installed. Building wheels for collected packages: PyYAML, bcrypt, cryptography, setproctitle, google-crc32c Building wheel for PyYAML (PEP 517): started Building wheel for PyYAML (PEP 517): finished with status 'done' Created wheel for PyYAML: filename=PyYAML-5.4.1-cp39-cp39-linux_x86_64.whl size=45654 sha256=da90492bc2262e6b28af6477a54d5e2cdd8f17214e8ffc418f5fc7ea72a28bad Stored in directory: /root/.cache/pip/wheels/b7/a5/c4/504d913c2a55bb09c607541578ec5f844d1ff33467abe93ba5 Building wheel for bcrypt (PEP 517): started Building wheel for bcrypt (PEP 517): finished with status 'done' Created wheel for bcrypt: filename=bcrypt-3.2.0-cp39-cp39-linux_x86_64.whl size=31822 sha256=14c7ed1160ec818db9397b8bcd8dc2cd5eceb223e44a79c6254f5001331f2f19 Stored in directory: /root/.cache/pip/wheels/9a/0b/a2/2c559982bbee4bd184557267e5760e114de3e9ba826fe8d691 Building wheel for cryptography (PEP 517): started Building wheel for cryptography (PEP 517): still running... Building wheel for cryptography (PEP 517): finished with status 'done' Created wheel for cryptography: filename=cryptography-3.4.8-cp39-cp39-linux_x86_64.whl size=534046 sha256=af7954dcaceffa985c5e0261dfa39815ef9b8845e8ae2f68ab8b4b796bba5cc4 Stored in directory: /root/.cache/pip/wheels/28/ea/c2/e48100a4f4674263f982c899942ed5225966b37b47e9b631f6 Building wheel for setproctitle (PEP 517): started Building wheel for setproctitle (PEP 517): finished with status 'done' Created wheel for setproctitle: filename=setproctitle-1.2.2-cp39-cp39-linux_x86_64.whl size=10731 sha256=c3410eb2c1dbdb2ee09d44e6e3fb7cf313f0d5fe43e005f1a6759f0589843ec7 Stored in directory: /root/.cache/pip/wheels/4a/6b/63/b7630e7428b1d1cf9d453d3d4af30135fcac11873639b108a1 Building wheel for google-crc32c (PEP 517): started Building wheel for google-crc32c (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /tmp/tmp.NOIehg/bin/python3 /tmp/tmp.NOIehg/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp2zfersx7 cwd: /tmp/pip-install-9acwraeq/google-crc32c_378357fe5dd6447f96dfed8655a9d001 Complete output (22 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/google_crc32c copying src/google_crc32c/__init__.py -> build/lib.linux-x86_64-3.9/google_crc32c copying src/google_crc32c/cext.py -> build/lib.linux-x86_64-3.9/google_crc32c copying src/google_crc32c/python.py -> build/lib.linux-x86_64-3.9/google_crc32c copying src/google_crc32c/__config__.py -> build/lib.linux-x86_64-3.9/google_crc32c copying src/google_crc32c/_checksum.py -> build/lib.linux-x86_64-3.9/google_crc32c running build_ext building 'google_crc32c._crc32c' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src creating build/temp.linux-x86_64-3.9/src/google_crc32c gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/tmp/tmp.NOIehg/include -I/usr/local/include/python3.9 -c src/google_crc32c/_crc32c.c -o build/temp.linux-x86_64-3.9/src/google_crc32c/_crc32c.o src/google_crc32c/_crc32c.c:3:10: fatal error: crc32c/crc32c.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 ---------------------------------------- ERROR: Failed building wheel for google-crc32c Successfully built PyYAML bcrypt cryptography setproctitle Failed to build google-crc32c ERROR: Could not build wheels for google-crc32c which use PEP 517 and cannot be installed directly Collecting junitxml==0.7 Downloading junitxml-0.7.tar.gz (26 kB) Collecting python-subunit==1.3.0 Downloading python_subunit-1.3.0-py2.py3-none-any.whl (104 kB) Collecting extras Downloading extras-1.0.0-py2.py3-none-any.whl (7.3 kB) Collecting testtools>=0.9.34 Downloading testtools-2.5.0-py3-none-any.whl (181 kB) Collecting fixtures>=1.3.0 Downloading fixtures-3.0.0-py2.py3-none-any.whl (67 kB) Collecting pbr>=0.11 Downloading pbr-5.6.0-py2.py3-none-any.whl (111 kB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Using legacy 'setup.py install' for junitxml, since package 'wheel' is not installed. Installing collected packages: six, pbr, fixtures, extras, testtools, python-subunit, junitxml Running setup.py install for junitxml: started Running setup.py install for junitxml: finished with status 'done' Successfully installed extras-1.0.0 fixtures-3.0.0 junitxml-0.7 pbr-5.6.0 python-subunit-1.3.0 six-1.16.0 testtools-2.5.0 testtools.testresult.real._StringException: ImportError: Failed to import test module: jobserv.api Traceback (most recent call last): File "/usr/local/lib/python3.9/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/repo/jobserv/api/__init__.py", line 5, in <module> from sqlalchemy.exc import DataError ModuleNotFoundError: No module named 'sqlalchemy' testtools.testresult.real._StringException: ImportError: Failed to import test module: jobserv.storage Traceback (most recent call last): File "/usr/local/lib/python3.9/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/repo/jobserv/storage/__init__.py", line 9, in <module> Storage = import_module(STORAGE_BACKEND).Storage File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/repo/jobserv/storage/gce_storage.py", line 8, in <module> from flask import redirect ModuleNotFoundError: No module named 'flask' testtools.testresult.real._StringException: ImportError: Failed to import test module: tests Traceback (most recent call last): File "/usr/local/lib/python3.9/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/repo/tests/__init__.py", line 6, in <module> from cryptography.fernet import Fernet ModuleNotFoundError: No module named 'cryptography' Script completed with error(s) == 2021-08-31 16:33:33.146203: Finding artifacts to upload Uploading 1 items 2416 bytes == 2021-08-31 16:33:33.927961: Analyzing junit results(/srv/gavelci-worker/runs/tmptgorh2bu/archive/junit.xml) == 2021-08-31 16:33:34.329261: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|