Modify ↓
Opened 9 months ago
Closed 9 months ago
#13867 closed defect (fixed)
Unit tests failing with Subversion 1.14.5
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | version control | Version: | 1.6 |
| Severity: | normal | Keywords: | svn |
| Cc: | Branch: | ||
| Release Notes: |
Fixed |
||
| API Changes: | |||
| Internal Changes: | |||
Description
It seems that SubversionNode.get_copy_ancestry raises the following AttributeError in the all failures.
- https://github.com/edgewall/trac/actions/runs/13170368156/job/36759513527
- https://github.com/edgewall/trac/actions/runs/13170368156
======================================================================
ERROR: test_get_copy_ancestry_for_move (tracopt.versioncontrol.svn.tests.svn_fs.SvnCachedRepositoryScopedTests.test_get_copy_ancestry_for_move)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/trac/trac/tracopt/versioncontrol/svn/tests/svn_fs.py", line 1267, in test_get_copy_ancestry_for_move
ancestry = node.get_copy_ancestry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/work/trac/trac/tracopt/versioncontrol/svn/svn_fs.py", line 855, in get_copy_ancestry
path = path.lstrip(b'/')
^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'lstrip'
...
Ran 2810 tests in 554.016s
FAILED (errors=12, skipped=5)
Attachments (0)
Change History (2)
comment:1 by , 9 months ago
| Keywords: | macos removed |
|---|---|
| Summary: | Unit tests of Subversion is failing on macOS → Unit tests failing with Subversion 1.14.5 |
comment:2 by , 9 months ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Hmm, the same failures occur with Subversion 1.14.5 on both Ubuntu and macOS. They doesn't occur with Subversion 1.14.4.