See
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.14/423/display/redirect?page=changes>
Changes:
[dave] [#8619] iframe tracking better
[dave] [#8619] block SVG entirely, keep MathML
[dave] [#8619] drop allowed iframe's body
[dave] [#8619] sanitize class/id on void elements too
[dave] [#8619] fix text_contains_hostname substring bypass
[dave] [#8619] invalidate markdown caches
[carlos.cruz] [#8620] fix space handling in renamed files
[carlos.cruz] [#8621] drop ftp/file/data url handlers
------------------------------------------
[...truncated 101.79 KiB...]
^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:195: in init
repo = git.Repo.init(
/allura-data/virtualenv/lib/python3.14/site-packages/git/repo/base.py:1475: in
init
git.init(**kwargs)
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1116: in
<lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1789: in
_call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1432: in execute
proc = safer_popen(
/usr/lib/python3.14/subprocess.py:1039: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.14/subprocess.py:1886: in _execute_child
errpipe_read, errpipe_write = os.pipe()
^^^^^^^^^
E OSError: [Errno 24] Too many open files
____________ ERROR at setup of TestCoreAlluraTasks.test_refreshrepo ____________
forgegit/tests/test_tasks.py:72: in setup_method
super().setup_method(method)
forgegit/tests/functional/test_controllers.py:47: in setup_method
self.setup_with_tools()
../Allura/allura/tests/decorators.py:77: in wrapped
while M.MonQTask.run_ready('setup'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../Allura/allura/model/monq_model.py:229: in run_ready
task()
../Allura/allura/model/monq_model.py:258: in __call__
self.result = func(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../Allura/allura/tasks/repo_tasks.py:35: in init
c.app.repo.init()
../Allura/allura/model/repository.py:482: in init
return self._impl.init()
^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:195: in init
repo = git.Repo.init(
/allura-data/virtualenv/lib/python3.14/site-packages/git/repo/base.py:1475: in
init
git.init(**kwargs)
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1116: in
<lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1789: in
_call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1432: in execute
proc = safer_popen(
/usr/lib/python3.14/subprocess.py:1039: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.14/subprocess.py:1886: in _execute_child
errpipe_read, errpipe_write = os.pipe()
^^^^^^^^^
E OSError: [Errno 24] Too many open files
_______ ERROR at setup of TestCoreAlluraTasks.test_refresh_last_commits ________
forgegit/tests/test_tasks.py:72: in setup_method
super().setup_method(method)
forgegit/tests/functional/test_controllers.py:47: in setup_method
self.setup_with_tools()
../Allura/allura/tests/decorators.py:77: in wrapped
while M.MonQTask.run_ready('setup'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../Allura/allura/model/monq_model.py:229: in run_ready
task()
../Allura/allura/model/monq_model.py:258: in __call__
self.result = func(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../Allura/allura/tasks/repo_tasks.py:35: in init
c.app.repo.init()
../Allura/allura/model/repository.py:482: in init
return self._impl.init()
^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:195: in init
repo = git.Repo.init(
/allura-data/virtualenv/lib/python3.14/site-packages/git/repo/base.py:1475: in
init
git.init(**kwargs)
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1116: in
<lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1789: in
_call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1432: in execute
proc = safer_popen(
/usr/lib/python3.14/subprocess.py:1039: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.14/subprocess.py:1886: in _execute_child
errpipe_read, errpipe_write = os.pipe()
^^^^^^^^^
E OSError: [Errno 24] Too many open files
=================================== FAILURES ===================================
________________ TestGitRepo.test_merge_request_commits_tmp_dir ________________
forgegit/tests/model/test_repository.py:1145: in
test_merge_request_commits_tmp_dir
res_without_tmp = self.repo.merge_request_commits(mr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../Allura/allura/model/repository.py:850: in merge_request_commits
return self._impl.merge_request_commits(mr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:815: in merge_request_commits
base = repo.merge_base(mr)
^^^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:797: in merge_base
g.fetch(mr.app.repo.full_fs_path, mr.target_branch)
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1116: in
<lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1789: in
_call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1432: in execute
proc = safer_popen(
/usr/lib/python3.14/subprocess.py:1039: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.14/subprocess.py:1886: in _execute_child
errpipe_read, errpipe_write = os.pipe()
^^^^^^^^^
E OSError: [Errno 24] Too many open files
_____________________ TestGitImplementation.test_branches ______________________
forgegit/tests/model/test_repository.py:1172: in test_branches
assert impl.branches == [
^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/ming/utils.py:22: in
__get__
result = self._func(obj)
^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:662: in branches
return self._get_refs('branches')
^^^^^^^^^^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:618: in _get_refs
hex_sha = ref.commit.hexsha
^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/refs/symbolic.py:420:
in commit
return self._get_commit()
^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/refs/symbolic.py:324:
in _get_commit
obj = self._get_object()
^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/refs/symbolic.py:315:
in _get_object
return Object.new_from_sha(self.repo,
hex_to_bin(self.dereference_recursive(self.repo, self.path)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/objects/base.py:149:
in new_from_sha
oinfo = repo.odb.info(sha1)
^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/db.py:45: in info
hexsha, typename, size = self._git.get_object_header(bin_to_hex(binsha))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1868: in
get_object_header
cmd = self._get_persistent_cmd("cat_file_header", "cat_file",
batch_check=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1844: in
_get_persistent_cmd
cmd = self._call_process(cmd_name, *args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1789: in
_call_process
return self.execute(call, **exec_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py:1432: in execute
proc = safer_popen(
/usr/lib/python3.14/subprocess.py:1005: in __init__
errread, errwrite) = self._get_handles(stdin, stdout, stderr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/subprocess.py:1764: in _get_handles
errread, errwrite = os.pipe()
^^^^^^^^^
E OSError: [Errno 24] Too many open files
=============================== warnings summary ===============================
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
/allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4:
UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources
package is slated for removal as early as 2025-11-30. Refrain from using this
package or pin to Setuptools<81.
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------ generated xml file: /allura/ForgeGit/pytest.junit.xml -------------
=========================== short test summary info ============================
FAILED
forgegit/tests/model/test_repository.py::TestGitRepo::test_merge_request_commits_tmp_dir
FAILED
forgegit/tests/model/test_repository.py::TestGitImplementation::test_branches
ERROR forgegit/tests/model/test_repository.py::TestGitRepo::test_cached_branches
ERROR forgegit/tests/model/test_repository.py::TestGitRepo::test_cached_tags
ERROR forgegit/tests/model/test_repository.py::TestGitCommit::test_primary - ...
ERROR forgegit/tests/model/test_repository.py::TestGitCommit::test_shorthand
ERROR forgegit/tests/model/test_repository.py::TestGitCommit::test_diff - OSE...
ERROR forgegit/tests/model/test_repository.py::TestGitCommit::test_log - OSEr...
ERROR forgegit/tests/model/test_repository.py::TestGitHtmlView::test_html_view
ERROR forgegit/tests/model/test_repository.py::TestGitRename::test_renamed_file
ERROR forgegit/tests/model/test_repository.py::TestGitRename::test_merge_commit
ERROR forgegit/tests/test_git_app.py::TestGitApp::test_admin_menu - OSError: ...
ERROR forgegit/tests/test_git_app.py::TestGitApp::test_uninstall - OSError: [...
ERROR forgegit/tests/test_tasks.py::TestGitTasks::test_init - OSError: [Errno...
ERROR forgegit/tests/test_tasks.py::TestGitTasks::test_refresh_commit - OSErr...
ERROR forgegit/tests/test_tasks.py::TestGitTasks::test_reclone - OSError: [Er...
ERROR forgegit/tests/test_tasks.py::TestCoreAlluraTasks::test_refreshrepo - O...
ERROR
forgegit/tests/test_tasks.py::TestCoreAlluraTasks::test_refresh_last_commits
======= 2 failed, 162 passed, 1 warning, 16 errors in 280.12s (0:04:40) ========
finished `pytest --junit-xml=pytest.junit.xml ` in ForgeGit, with returncode: 1
........................................................................ [ 85%]
........................................................................ [ 90%]
...ssssssss............................................................. [ 95%]
................................................................ [100%]
=============================== warnings summary ===============================
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
/allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4:
UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources
package is slated for removal as early as 2025-11-30. Refrain from using this
package or pin to Setuptools<81.
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------- generated xml file: /allura/Allura/pytest.junit.xml --------------
=========== 1416 passed, 16 skipped, 4 warnings in 318.98s (0:05:18) ===========
finished `pytest allura/tests/ --junit-xml=pytest.junit.xml -n 4 --dist
loadfile` in Allura, with returncode: 0
................................................................... [100%]
=============================== warnings summary ===============================
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
../../allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4
/allura-data/virtualenv/lib/python3.14/site-packages/paste/script/copydir.py:4:
UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources
package is slated for removal as early as 2025-11-30. Refrain from using this
package or pin to Setuptools<81.
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- generated xml file: /allura/ForgeTracker/pytest.junit.xml -----------
================= 211 passed, 4 warnings in 322.16s (0:05:22) ==================
finished `pytest --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in
ForgeTracker, with returncode: 0
FAILURE(s) in 1 suite(s) above
=============================================================================
Shutdown
=============================================================================
Container allura-web-1 Stopping
Container allura-web-1 Stopped
Container allura-web-1 Removing
Container allura-web-1 Removed
Container allura-mongo-1 Stopping
Container allura-solr-1 Stopping
Container allura-mongo-1 Stopped
Container allura-mongo-1 Removing
Container allura-mongo-1 Removed
Container allura-solr-1 Stopped
Container allura-solr-1 Removing
Container allura-solr-1 Removed
Network allura_default Removing
Network allura_default Removed
Total reclaimed space: 0B
Deleted Volumes:
702ee9fdf8f458423e24dfe1abf172c6162e6a34b043a6201239e0abcc4833e1
Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.