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

Changes:

[daniel.castillo] Force push enable of repos

[daniel.castillo] Added scm.force_push.git.enabled flag

[daniel.castillo] Fix for force push on new repos

[daniel.castillo] New script to backfill allow forcepush flag

[daniel.castillo] Added migrations instructions to changes, plus some fixes

[daniel.castillo] Fix for CHANGES version


------------------------------------------
[...truncated 106.18 KiB...]
    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_tags ________________________
forgegit/tests/model/test_repository.py:1185: in test_tags
    assert impl.tags == [
           ^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/ming/utils.py:22: in 
__get__
    result = self._func(obj)
             ^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:666: in tags
    return self._get_refs('tags')
           ^^^^^^^^^^^^^^^^^^^^^^
forgegit/model/git_repo.py:618: in _get_refs
    hex_sha = ref.commit.hexsha
              ^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/refs/tag.py:58: in 
commit
    obj = self.object
          ^^^^^^^^^^^
/allura-data/virtualenv/lib/python3.14/site-packages/git/refs/tag.py:88: in 
object
    return Reference._get_object(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
/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_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/model/test_repository.py::TestGitRepo::test_merge_request_commits_tmp_dir
FAILED forgegit/tests/model/test_repository.py::TestGitImplementation::test_tags
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_url - OSEr...
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
======= 3 failed, 160 passed, 1 warning, 17 errors in 263.93s (0:04:23) ========
finished `pytest  --junit-xml=pytest.junit.xml ` in ForgeGit, with returncode: 1
...........................................................s............ [ 80%]
........................................................................ [ 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/ForgeTracker/pytest.junit.xml -----------
================= 211 passed, 4 warnings in 302.21s (0:05:02) ==================
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 --------------
=========== 1416 passed, 16 skipped, 4 warnings in 313.67s (0:05:13) ===========
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-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:
f5cc6ab89ae29826782b816d0652578931a789dadb30cbeb452a57b0485a9521
c48b1e7d1c1c9ca7e164230a01763718b2eda92d9ea64a61818c5532cbe07f63
661369d44f6cb1590aff3c7eb55e80d7fd870b13598addd6e68716ecdba68458

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

Reply via email to