# Run sent to worker: doanac-reckless == 2023-07-18 17:40:27.780948: Setting up runner on worker == 2023-07-18 17:40:28.843619: Steps to recreate inside simulator wget -O simulate.sh https://api.gavelci.us/projects/jobserv/builds/360/runs/unit-test//.simulate.sh # wget'ing the file may require the --header flag if the # jobserv API requires authentication. sh ./simulate.sh == 2023-07-18 17:40:29.435931: Pulling container: python:3.9-alpine 3.9-alpine: Pulling from library/python Digest: sha256:2e94e493d6d5010d739ea473e44ea40f7c6e168bcb78e0c5a48c64f06aafbf5f Status: Image is up to date for python:3.9-alpine docker.io/library/python:3.9-alpine == 2023-07-18 17:40:30.991346: Preparing bind mounts 2023-07-18 17:40:31.181563: INFO Creating secret: githubtok 2023-07-18 17:40:31.376226: INFO Creating secret: webhook-key 2023-07-18 17:40:31.555780: INFO Creating secret: milosz 2023-07-18 17:40:31.771088: INFO Adding shared volume: /lmp-bitbake-cache == 2023-07-18 17:40:32.156764: Creating container .netrc file 2023-07-18 17:40:32.360737: INFO Creating token for jobserv run access 2023-07-18 17:40:32.552655: INFO Creating a github token entry == 2023-07-18 17:40:32.937246: Preparing script == 2023-07-18 17:40:33.308163: Cloning git repository 2023-07-18 17:40:33.494076: INFO Clone_url: https://github.com/doanac/jobserv.git 2023-07-18 17:40:33.690972: INFO Checking to see if https://github.com/doanac/jobserv.git requires authentication. 2023-07-18 17:40:34.088516: INFO Server does not appear to need credentials for cloning 2023-07-18 17:40:34.288034: INFO Adding githubtok to .gitconfig 2023-07-18 17:40:34.465630: INFO Git install supports submodules Cloning into '/srv/gavelci-worker/runs/tmpril4uwfj/repo'... 2023-07-18 17:40:35.447066: INFO Checking out: 4a33bdedaa7c25f8ba3c44a559efd0ce5f14c0a1 Switched to branch 'jobserv-run' == 2023-07-18 17:40:36.096673: Setting up container environment 2023-07-18 17:40:36.290746: INFO Container environment variables: GH_PRNUM=93 GH_OWNER=foundriesio GH_REPO=jobserv GH_STATUS_URL=https://api.github.com/repos/foundriesio/jobserv/statuses/4a33bdedaa7c25f8ba3c44a559efd0ce5f14c0a1 GH_TARGET_REPO=https://github.com/foundriesio/jobserv.git GIT_URL=https://github.com/doanac/jobserv.git GIT_SHA_BASE=3f9710d3bcbd377e779532a77b73af8839318739 GIT_OLD_SHA=3f9710d3bcbd377e779532a77b73af8839318739 GIT_SHA=4a33bdedaa7c25f8ba3c44a559efd0ce5f14c0a1 H_PROJECT=jobserv H_BUILD=360 H_RUN=unit-test H_RUN_URL=https://api.gavelci.us/projects/jobserv/builds/360/runs/unit-test/ H_WORKER=doanac-reckless == 2023-07-18 17:40:36.696721: Running script inside container 2023-07-18 17:40:37.026886: INFO Running with --memory=14639596339 WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + 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.18/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz (1/39) Upgrading libcrypto3 (3.1.1-r1 -> 3.1.1-r2) (2/39) Upgrading libssl3 (3.1.1-r1 -> 3.1.1-r2) (3/39) Installing libgcc (12.2.1_git20220924-r10) (4/39) Installing libstdc++ (12.2.1_git20220924-r10) (5/39) Installing zstd-libs (1.5.5-r4) (6/39) Installing binutils (2.40-r7) (7/39) Installing libgomp (12.2.1_git20220924-r10) (8/39) Installing libatomic (12.2.1_git20220924-r10) (9/39) Installing gmp (6.2.1-r3) (10/39) Installing isl26 (0.26-r1) (11/39) Installing mpfr4 (4.2.0-r3) (12/39) Installing mpc1 (1.3.1-r1) (13/39) Installing gcc (12.2.1_git20220924-r10) (14/39) Installing musl-dev (1.2.4-r0) (15/39) Installing libxml2 (2.11.4-r0) (16/39) Installing llvm16-libs (16.0.6-r1) (17/39) Installing rust (1.71.0-r0) (18/39) Installing brotli-libs (1.0.9-r14) (19/39) Installing libunistring (1.1-r1) (20/39) Installing libidn2 (2.3.4-r1) (21/39) Installing nghttp2-libs (1.53.0-r0) (22/39) Installing libcurl (8.1.2-r0) (23/39) Installing cargo (1.71.0-r0) (24/39) Installing libstdc++-dev (12.2.1_git20220924-r10) (25/39) Installing libc-dev (0.7.2-r5) (26/39) Installing g++ (12.2.1_git20220924-r10) (27/39) Installing pcre2 (10.42-r1) (28/39) Installing git (2.40.1-r0) (29/39) Installing linux-headers (6.3-r0) (30/39) Installing pkgconf (1.9.5-r0) (31/39) Installing libffi-dev (3.4.4-r2) (32/39) Installing openssl (3.1.1-r2) (33/39) Installing openssl-dev (3.1.1-r2) (34/39) Installing mpdecimal (2.5.1-r2) (35/39) Installing python3 (3.11.4-r0) (36/39) Installing python3-pycache-pyc0 (3.11.4-r0) (37/39) Installing pyc (0.1-r0) (38/39) Installing python3-pyc (3.11.4-r0) (39/39) Installing python3-dev (3.11.4-r0) Executing busybox-1.36.1-r0.trigger Executing ca-certificates-20230506-r0.trigger OK: 1105 MiB in 75 packages + git config --global user.email cibot@example.com + git config --global user.name cibot + git config --system protocol.file.allow always + 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.pAiDEB/lib/python3.9/site-packages (23.0.1) Collecting pip Downloading pip-23.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.1 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-23.2 Requirement already satisfied: setuptools in /tmp/tmp.pAiDEB/lib/python3.9/site-packages (58.1.0) Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl.metadata Downloading setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB) Downloading setuptools-68.0.0-py3-none-any.whl (804 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 4.4 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 58.1.0 Uninstalling setuptools-58.1.0: Successfully uninstalled setuptools-58.1.0 Successfully installed setuptools-68.0.0 Collecting Flask-Migrate==3.1.0 (from -r requirements.txt (line 1)) Downloading Flask_Migrate-3.1.0-py3-none-any.whl (20 kB) Collecting Flask-SQLAlchemy==2.5.1 (from -r requirements.txt (line 2)) Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB) Collecting Flask-Testing==0.8.1 (from -r requirements.txt (line 3)) Downloading Flask-Testing-0.8.1.tar.gz (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.2/45.2 kB 588.4 kB/s eta 0:00:00 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 metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting Flask==1.1.4 (from -r requirements.txt (line 4)) Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 1.4 MB/s eta 0:00:00 Collecting Jinja2==2.11.3 (from -r requirements.txt (line 5)) Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 kB 2.4 MB/s eta 0:00:00 Collecting Mako==1.2.2 (from -r requirements.txt (line 6)) Downloading Mako-1.2.2-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 1.6 MB/s eta 0:00:00 Collecting MarkupSafe==2.0.1 (from -r requirements.txt (line 7)) Downloading MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (30 kB) Collecting PyJWT==2.7.0 (from -r requirements.txt (line 8)) Downloading PyJWT-2.7.0-py3-none-any.whl (22 kB) Collecting PyMySQL==1.1.0 (from -r requirements.txt (line 9)) Obtaining dependency information for PyMySQL==1.1.0 from https://files.pythonhosted.org/packages/e5/30/20467e39523d0cfc2b6227902d3687a16364307260c75e6a1cb4422b0c62/PyMySQL-1.1.0-py3-none-any.whl.metadata Downloading PyMySQL-1.1.0-py3-none-any.whl.metadata (4.4 kB) Collecting PyYAML==5.4.1 (from -r requirements.txt (line 10)) Downloading PyYAML-5.4.1.tar.gz (175 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 2.1 MB/s eta 0:00:00 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 'error' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [62 lines of output] /tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running egg_info writing lib3/PyYAML.egg-info/PKG-INFO writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt writing top-level names to lib3/PyYAML.egg-info/top_level.txt Traceback (most recent call last): File "/tmp/tmp.pAiDEB/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/tmp/tmp.pAiDEB/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/tmp/tmp.pAiDEB/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 271, in File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 314, in run self.find_sources() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 322, in find_sources mm.run() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 551, in run self.add_defaults() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults sdist.add_defaults(self) File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/command/sdist.py", line 104, in add_defaults super().add_defaults() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults self._add_defaults_ext() File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext self.filelist.extend(build_ext.get_source_files()) File "", line 201, in get_source_files File "/tmp/pip-build-env-zyojrdl6/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__ raise AttributeError(attr) AttributeError: cython_sources [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Collecting junitxml==0.7 Downloading junitxml-0.7.tar.gz (26 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 metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting python-subunit==1.3.0 Downloading python_subunit-1.3.0-py2.py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.9/104.9 kB 1.2 MB/s eta 0:00:00 Collecting extras (from python-subunit==1.3.0) Downloading extras-1.0.0-py2.py3-none-any.whl (7.3 kB) Collecting testtools>=0.9.34 (from python-subunit==1.3.0) Downloading testtools-2.6.0-py3-none-any.whl (182 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.2/182.2 kB 2.4 MB/s eta 0:00:00 Collecting pbr>=0.11 (from testtools>=0.9.34->python-subunit==1.3.0) Downloading pbr-5.11.1-py2.py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 kB 1.6 MB/s eta 0:00:00 Collecting fixtures>=2.0 (from testtools>=0.9.34->python-subunit==1.3.0) Obtaining dependency information for fixtures>=2.0 from https://files.pythonhosted.org/packages/db/ab/3259874efafdbaa9d25dd8fa99c999621c6539eacd03c95b64a34bd5acd1/fixtures-4.1.0-py3-none-any.whl.metadata Downloading fixtures-4.1.0-py3-none-any.whl.metadata (21 kB) Downloading fixtures-4.1.0-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 1.0 MB/s eta 0:00:00 Building wheels for collected packages: junitxml Building wheel for junitxml (pyproject.toml): started Building wheel for junitxml (pyproject.toml): finished with status 'done' Created wheel for junitxml: filename=junitxml-0.7-py3-none-any.whl size=16307 sha256=e2f14a32fa9800ca75392f63f30d7a9c045149b610ce0baf942677e300f296b5 Stored in directory: /root/.cache/pip/wheels/b2/47/ef/c7a04162ae5e21c943419c306117a77aed1d71c6e8bcc2c0f8 Successfully built junitxml Installing collected packages: junitxml, extras, pbr, fixtures, testtools, python-subunit Successfully installed extras-1.0.0 fixtures-4.1.0 junitxml-0.7 pbr-5.11.1 python-subunit-1.3.0 testtools-2.6.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 9, 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) == 2023-07-18 17:42:00.858876: Finding artifacts to upload Uploading 1 items 2416 bytes == 2023-07-18 17:42:01.662444: Analyzing junit results(/srv/gavelci-worker/runs/tmpril4uwfj/archive/junit.xml) 2023-07-18 17:42:02.126641: ERROR Found failure(s) == 2023-07-18 17:42:02.500997: Runner has completed ________ | o o| Thumbs Down |___/\_|________ | _____|__| | | || |______| | | | | | | | | |_| |_|