# Run sent to worker: doanac-reckless == 2021-07-20 18:34:15.612655: Setting up runner on worker == 2021-07-20 18:34:16.600675: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/226/runs/unit-test//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2021-07-20 18:34:16.791917: Pulling container: python:3.6-alpine 3.6-alpine: Pulling from library/python Digest: sha256:414c1a5c0d9f57e4b8079bf36d53847ffc058f8a2f3da1da338de0a48862f87c Status: Image is up to date for python:3.6-alpine docker.io/library/python:3.6-alpine == 2021-07-20 18:34:18.502618: Preparing bind mounts 2021-07-20 18:34:18.503563: INFO Creating secret: githubtok 2021-07-20 18:34:18.503757: INFO Creating secret: webhook-key 2021-07-20 18:34:18.503927: INFO Creating secret: milosz 2021-07-20 18:34:18.504111: INFO Adding shared volume: /lmp-bitbake-cache == 2021-07-20 18:34:18.702681: Creating container .netrc file 2021-07-20 18:34:18.702842: INFO Creating token for jobserv run access 2021-07-20 18:34:18.702919: INFO Creating a github token entry == 2021-07-20 18:34:18.919861: Preparing script == 2021-07-20 18:34:19.111114: Cloning git repository 2021-07-20 18:34:19.111175: INFO Clone_url: https://github.com/doanac/jobserv.git 2021-07-20 18:34:19.111206: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2021-07-20 18:34:19.382348: INFO Server does not appear to need credentials for cloning 2021-07-20 18:34:19.382936: INFO Adding githubtok to .gitconfig 2021-07-20 18:34:19.383139: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpx28bro5q/repo'... 2021-07-20 18:34:20.468543: INFO Checking out: 2656ceef3576ae2f70a2795496de6dd04ce23866 Switched to branch 'jobserv-run' == 2021-07-20 18:34:21.124172: Setting up container environment 2021-07-20 18:34:21.124273: INFO Container environment variables: GH_PRNUM=48 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/2656ceef3576ae2f70a2795496de6dd04ce23866 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=8bb21c76635ba61cdead66b85340b3d5b47470df GIT_OLD_SHA=8bb21c76635ba61cdead66b85340b3d5b47470df GIT_SHA=2656ceef3576ae2f70a2795496de6dd04ce23866 H_PROJECT=jobserv H_BUILD=226 H_RUN=unit-test H_WORKER=doanac-reckless == 2021-07-20 18:34:21.312658: Running script inside container + apk --no-cache add git python3-dev musl-dev g++ openssl libffi-dev openssl-dev 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/27) Installing libgcc (10.3.1_git20210424-r2) (2/27) Installing libstdc++ (10.3.1_git20210424-r2) (3/27) Installing binutils (2.35.2-r2) (4/27) Installing libgomp (10.3.1_git20210424-r2) (5/27) Installing libatomic (10.3.1_git20210424-r2) (6/27) Installing libgphobos (10.3.1_git20210424-r2) (7/27) Installing gmp (6.2.1-r0) (8/27) Installing isl22 (0.22-r0) (9/27) Installing mpfr4 (4.1.0-r0) (10/27) Installing mpc1 (1.2.1-r0) (11/27) Installing gcc (10.3.1_git20210424-r2) (12/27) Installing musl-dev (1.2.2-r3) (13/27) Installing libc-dev (0.7.2-r3) (14/27) Installing g++ (10.3.1_git20210424-r2) (15/27) Installing brotli-libs (1.0.9-r5) (16/27) Installing nghttp2-libs (1.43.0-r0) (17/27) Installing libcurl (7.77.0-r1) (18/27) Installing pcre2 (10.36-r0) (19/27) Installing git (2.32.0-r0) (20/27) Installing linux-headers (5.10.41-r0) (21/27) Installing pkgconf (1.7.4-r0) (22/27) Installing libffi-dev (3.3-r2) (23/27) Installing openssl (1.1.1k-r0) (24/27) Installing openssl-dev (1.1.1k-r0) (25/27) Installing mpdecimal (2.5.1-r1) (26/27) Installing python3 (3.9.5-r1) (27/27) Installing python3-dev (3.9.5-r1) Executing busybox-1.33.1-r2.trigger OK: 306 MiB in 61 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 Collecting pip Downloading https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl (1.5MB) Installing collected packages: pip Found existing installation: pip 18.1 Uninstalling pip-18.1: Successfully uninstalled pip-18.1 Successfully installed pip-21.1.3 Requirement already satisfied: setuptools in /tmp/tmp.OeBgEE/lib/python3.6/site-packages (40.6.2) Collecting setuptools Downloading setuptools-57.4.0-py3-none-any.whl (819 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 40.6.2 Uninstalling setuptools-40.6.2: Successfully uninstalled setuptools-40.6.2 Successfully installed setuptools-57.4.0 Collecting Werkzeug==0.16.1 Downloading Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB) Collecting flask==1.0.2 Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB) Collecting Flask-SQLAlchemy==2.5.0 Downloading Flask_SQLAlchemy-2.5.0-py2.py3-none-any.whl (17 kB) Collecting Flask-Migrate==2.3.1 Downloading Flask_Migrate-2.3.1-py2.py3-none-any.whl (12 kB) Collecting Flask-Testing==0.7.1 Downloading Flask-Testing-0.7.1.tar.gz (43 kB) Collecting google_cloud_storage==1.29.0 Downloading google_cloud_storage-1.29.0-py2.py3-none-any.whl (85 kB) Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 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 requests==2.25.0 Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB) Collecting PyMySQL==1.0.0 Downloading PyMySQL-1.0.0-py3-none-any.whl (43 kB) Collecting wheel==0.32.3 Downloading wheel-0.32.3-py2.py3-none-any.whl (21 kB) Collecting pykwalify==1.8.0 Downloading pykwalify-1.8.0-py2.py3-none-any.whl (24 kB) Collecting python-dateutil==2.7.5 Downloading python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB) Collecting setproctitle==1.1.10 Downloading setproctitle-1.1.10.zip (34 kB) Collecting cryptography==3.3.2 Downloading cryptography-3.3.2.tar.gz (539 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 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 pyjwt==1.7.1 Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Collecting dataclasses==0.6.0 Downloading dataclasses-0.6-py3-none-any.whl (14 kB) Collecting SQLAlchemy==1.4.11 Downloading SQLAlchemy-1.4.11.tar.gz (7.6 MB) Collecting Jinja2>=2.10 Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB) Collecting itsdangerous>=0.24 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting click>=5.1 Downloading click-8.0.1-py3-none-any.whl (97 kB) Collecting alembic>=0.7 Downloading alembic-1.6.5-py2.py3-none-any.whl (164 kB) Collecting google-auth<2.0dev,>=1.11.0 Downloading google_auth-1.33.0-py2.py3-none-any.whl (151 kB) Collecting google-cloud-core<2.0dev,>=1.2.0 Downloading google_cloud_core-1.7.1-py2.py3-none-any.whl (28 kB) Collecting google-resumable-media<0.6dev,>=0.5.0 Downloading google_resumable_media-0.5.1-py2.py3-none-any.whl (38 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB) Collecting chardet<4,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) INFO: pip is looking at multiple versions of wheel to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of pymysql to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of gunicorn to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of google-cloud-storage to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of flask-testing to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of flask-migrate to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of flask-sqlalchemy to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of werkzeug to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 12) and python-dateutil==2.7.5 because these package versions have conflicting dependencies. The conflict is caused by: The user requested python-dateutil==2.7.5 pykwalify 1.8.0 depends on python-dateutil>=2.8.0 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies 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 testtools>=0.9.34 Downloading testtools-2.5.0-py3-none-any.whl (181 kB) Collecting extras Downloading extras-1.0.0-py2.py3-none-any.whl (7.3 kB) Collecting pbr>=0.11 Downloading pbr-5.6.0-py2.py3-none-any.whl (111 kB) Collecting fixtures>=1.3.0 Downloading fixtures-3.0.0-py2.py3-none-any.whl (67 kB) Collecting six Downloading 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.6/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.6/unittest/loader.py", line 369, 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.6/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.6/unittest/loader.py", line 369, 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.6/importlib/__init__.py", line 126, 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.6/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/local/lib/python3.6/unittest/loader.py", line 369, 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-07-20 18:35:30.282654: Finding artifacts to upload Uploading 1 items 2416 bytes == 2021-07-20 18:35:31.104215: Analyzing junit results(/srv/gavelci-worker/runs/tmpx28bro5q/archive/junit.xml) == 2021-07-20 18:35:31.491079: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|