See 
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.14/427/display/redirect?page=changes>

Changes:

[Guillermo Cruz] [#11714] more Permissions-Policy values drop Feature-policy


------------------------------------------
[...truncated 93.42 KiB...]
    assert not any(l.label.startswith('Force push') for l in c.app.admin_menu())
E   assert not True
E    +  where True = any(<generator object 
TestRootController.test_force_push_disabled_by_default.<locals>.<genexpr> at 
0x7f2e38d6cf20>)
________________ TestFork.test_fork_does_not_inherit_force_push ________________
forgegit/tests/functional/test_controllers.py:831: in 
test_fork_does_not_inherit_force_push
    assert not cr.has_section('receive')
E   AssertionError: assert not True
E    +  where True = has_section('receive')
E    +    where has_section = <git.config.GitConfigParser object at 
0x7f2e38de2850>.has_section
------------------------------ Captured log call -------------------------------
WARNING  allura.lib.custom_middleware:custom_middleware.py:195 CSRF attempt 
detected: cookie 
'ea58339def03ab8680fcd0111e4f4432b73634109fbb3fd519d5a33816aa1f27f7add494524eb362'
 != param None
INFO     allura.model.repository:repository.py:589 ... <Repository 
/tmp/git/p/test2/code_force_test.git> cloned
INFO     allura.model.repository:repository.py:771 ... <Repository 
/tmp/git/p/test2/code_force_test.git> analyzing
INFO     allura.model.repo_refresh:repo_refresh.py:53 Refreshing 0 commits on 
/tmp/git/p/test2/code_force_test.git
INFO     allura.model.repo_refresh:repo_refresh.py:111 Refresh complete for 
/tmp/git/p/test2/code_force_test.git
INFO     allura.model.repository:repository.py:775 ... <Repository 
/tmp/git/p/test2/code_force_test.git> ready
___________ TestGitRepo.test_init_leaves_config_alone_when_disabled ____________
forgegit/tests/model/test_repository.py:779: in 
test_init_leaves_config_alone_when_disabled
    assert 'denyNonFastforwards = true' in text
E   AssertionError: assert 'denyNonFastforwards = true' in 
'[core]\n\trepositoryformatversion = 0\n\tfilemode = true\n\tbare = 
true\n\tsharedrepository = 2\n[receive]\n\tdenyNonFastForwards = true\n'
_______________________ TestGitRepo.test_cached_branches _______________________
forgegit/tests/model/test_repository.py:1154: in test_cached_branches
    branches = rev._impl._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
__________________ TestGitImplementation.test_last_commit_ids __________________
forgegit/tests/model/test_repository.py:1195: in test_last_commit_ids
    assert lcd('13951944969cf45a701bf90f83647b309815e6d5', ['f2.txt', 
'f3.txt']) == {
E   AssertionError: assert {} == {'f2.txt': '2...8797b19d778a'}
E     
E     Right contains 2 more items:
E     {'f2.txt': '259c77dd6ee0e6091d11e429b56c44ccbf1e64a3',
E      'f3.txt': '653667b582ef2950c1954a0c7e1e8797b19d778a'}
E     Use -v to get more diff
------------------------------ Captured log call -------------------------------
ERROR    allura.model.repository:repository.py:307 Error in SCM thread: [Errno 
24] Too many open files
Traceback (most recent call last):
  File "/allura/Allura/allura/model/repository.py", line 298, in get_ids
    commit_id, changes = self._get_last_commit(
                         ~~~~~~~~~~~~~~~~~~~~~^
        commit._id, paths)
        ^^^^^^^^^^^^^^^^^^
  File "/allura/ForgeGit/forgegit/model/git_repo.py", line 691, in 
_get_last_commit
    output = self._git.git.log(
        '--end-of-options', commit_id, '--', *[p for p in paths],
    ...<2 lines>...
        max_count=1,
        skip=skip)
  File "/allura/ForgeGit/forgegit/model/git_repo.py", line 71, in log
    return self.client.log(*args, **kwargs)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1116, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
                                   ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1789, in _call_process
    return self.execute(call, **exec_kwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1432, in execute
    proc = safer_popen(
        command,
    ...<9 lines>...
        **subprocess_kwargs,
    )
  File "/usr/lib/python3.14/subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 1886, in _execute_child
    errpipe_read, errpipe_write = os.pipe()
                                  ~~~~~~~^^
OSError: [Errno 24] Too many open files
_____________ TestGitImplementation.test_last_commit_ids_threaded ______________
forgegit/tests/model/test_repository.py:1205: in test_last_commit_ids_threaded
    self.test_last_commit_ids()
forgegit/tests/model/test_repository.py:1195: in test_last_commit_ids
    assert lcd('13951944969cf45a701bf90f83647b309815e6d5', ['f2.txt', 
'f3.txt']) == {
E   AssertionError: assert {'f2.txt': '2...44ccbf1e64a3'} == {'f2.txt': 
'2...8797b19d778a'}
E     
E     Omitting 1 identical items, use -vv to show
E     Right contains 1 more item:
E     {'f3.txt': '653667b582ef2950c1954a0c7e1e8797b19d778a'}
E     Use -v to get more diff
------------------------------ Captured log call -------------------------------
ERROR    allura.model.repository:repository.py:307 Error in SCM thread: [Errno 
24] Too many open files
Traceback (most recent call last):
  File "/allura/Allura/allura/model/repository.py", line 298, in get_ids
    commit_id, changes = self._get_last_commit(
                         ~~~~~~~~~~~~~~~~~~~~~^
        commit._id, paths)
        ^^^^^^^^^^^^^^^^^^
  File "/allura/ForgeGit/forgegit/model/git_repo.py", line 691, in 
_get_last_commit
    output = self._git.git.log(
        '--end-of-options', commit_id, '--', *[p for p in paths],
    ...<2 lines>...
        max_count=1,
        skip=skip)
  File "/allura/ForgeGit/forgegit/model/git_repo.py", line 71, in log
    return self.client.log(*args, **kwargs)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1116, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
                                   ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1789, in _call_process
    return self.execute(call, **exec_kwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/allura-data/virtualenv/lib/python3.14/site-packages/git/cmd.py", line 
1432, in execute
    proc = safer_popen(
        command,
    ...<9 lines>...
        **subprocess_kwargs,
    )
  File "/usr/lib/python3.14/subprocess.py", line 1005, in __init__
    errread, errwrite) = self._get_handles(stdin, stdout, stderr)
                         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 1764, in _get_handles
    errread, errwrite = os.pipe()
                        ~~~~~~~^^
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/functional/test_controllers.py::TestRootController::test_force_push_disabled_by_default
FAILED 
forgegit/tests/functional/test_controllers.py::TestFork::test_fork_does_not_inherit_force_push
FAILED 
forgegit/tests/model/test_repository.py::TestGitRepo::test_init_leaves_config_alone_when_disabled
FAILED 
forgegit/tests/model/test_repository.py::TestGitRepo::test_cached_branches
FAILED 
forgegit/tests/model/test_repository.py::TestGitImplementation::test_last_commit_ids
FAILED 
forgegit/tests/model/test_repository.py::TestGitImplementation::test_last_commit_ids_threaded
ERROR forgegit/tests/model/test_repository.py::TestGitRepo::test_cached_tags
ERROR forgegit/tests/model/test_repository.py::TestGitCommit::test_committer_url
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
======= 6 failed, 158 passed, 1 warning, 16 errors in 298.72s (0:04:58) ========
finished `pytest  --junit-xml=pytest.junit.xml ` in ForgeGit, with returncode: 1
........................................s............................... [ 80%]
........................................................................ [ 85%]
......................................................ssssssss.......... [ 90%]
........................................................................ [ 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/ForgeTracker/pytest.junit.xml -----------
================= 211 passed, 4 warnings in 343.54s (0:05:43) ==================
finished `pytest  --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in 
ForgeTracker, 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/Allura/pytest.junit.xml --------------
=========== 1423 passed, 16 skipped, 4 warnings in 355.73s (0:05:55) ===========
finished `pytest allura/tests/ --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in Allura, 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-solr-1 Stopping 
 Container allura-mongo-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:
1bf4d750de1d2cc5a829403befd573093b0866a0bad9a3609b6a37eea5830493

Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to