[pre-commit.ci] pre-commit autoupdate #38
Cirrus CI / test (Linux - 3.10)
failed
Oct 28, 2024 in 41s
Task Summary
Instruction test failed in 00:27
Details
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
✅ 00:00 clone
✅ 00:05 install
✅ 00:01 debug_information
✅ 00:01 prepare
✅ 00:01 pip
✅ 00:01 pre_commit
✅ 00:01 dist
❌ 00:27 test
return check_output(args, **opts)
File "/usr/local/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/tmp/cirrus-ci-build/.tox/default/bin/python', '-m', 'tox']' returned non-zero exit status 2.
---------- coverage: platform linux, python 3.10.15-final-0 ----------
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------------------------
src/pyscaffoldext/django/__init__.py 7 1 0 0 86% 13
src/pyscaffoldext/django/extension.py 87 5 10 1 94% 144, 147-150
src/pyscaffoldext/django/templates/__init__.py 0 0 0 0 100%
--------------------------------------------------------------------------------------------
TOTAL 94 6 10 1 93%
============================= slowest 10 durations =============================
13.13s call tests/test_custom_extension.py::test_generated_extension
11.75s call tests/test_common.py::test_manage_py_runs_nicely[pkg82b3f28b-2811-/tmp/cirrus-ci-build/.tox/default/bin/python manage.py]
11.74s call tests/test_common.py::test_manage_py_runs_nicely[pkg9402c0de-c719-/tmp/cirrus-ci-build/.tox/default/bin/python -m pkg9402c0de_c719]
3.44s call tests/test_common.py::test_django_generates_files
3.21s call tests/test_django.py::test_create_project_with_django
3.21s call tests/test_custom_extension.py::test_add_custom_extension
3.21s call tests/test_django.py::test_cli_with_django
1.50s call tests/test_django.py::test_pretend_create_project_with_django
1.21s call tests/test_django.py::test_cli_with_django_and_update
1.09s call tests/test_django.py::test_cli_without_django
�[36m�[1m=========================== short test summary info ============================�[0m
�[31mFAILED�[0m tests/test_custom_extension.py::�[1mtest_generated_extension�[0m - subprocess.CalledProcessError: Command '['/tmp/cirrus-ci-build/.tox/default...
�[33mXFAIL�[0m tests/test_django.py::�[1mtest_cli_with_django_and_update�[0m - reason: pytest-dev/pytest#5997
�[31m=================== �[31m�[1m1 failed�[0m, �[32m11 passed�[0m, �[33m1 xfailed�[0m�[31m in 16.73s�[0m�[31m ===================�[0m
default: internal error
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/tox/session/cmd/run/single.py", line 48, in _evaluate
code, outcomes = run_commands(tox_env, no_test)
File "/usr/local/lib/python3.10/site-packages/tox/session/cmd/run/single.py", line 85, in run_commands
status_main = run_command_set(tox_env, "commands", chdir, ignore_errors, outcomes)
File "/usr/local/lib/python3.10/site-packages/tox/session/cmd/run/single.py", line 106, in run_command_set
current_outcome = tox_env.execute(
File "/usr/local/lib/python3.10/site-packages/tox/tox_env/api.py", line 389, in execute
with self.execute_async(cmd, stdin, show, cwd, run_id, executor) as status:
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/usr/local/lib/python3.10/site-packages/tox/tox_env/api.py", line 443, in execute_async
self._log_execute(request, execute_status)
File "/usr/local/lib/python3.10/site-packages/tox/tox_env/api.py", line 449, in _log_execute
self._write_execute_log(self.name, self.env_log_dir / f"{self._log_id}-{request.run_id}.log", request, status)
File "/usr/local/lib/python3.10/site-packages/tox/tox_env/api.py", line 453, in _write_execute_log
with log_file.open("wt", encoding="utf-8") as file:
File "/usr/local/lib/python3.10/pathlib.py", line 1119, in open
return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/cirrus-ci-build/.tox/default/log/4-commands[0].log'
default: FAIL code 2 (26.66 seconds)
evaluation failed :( (27.06 seconds)
Exit status: 2������
Loading