Modify ↓
Opened 10 years ago
Closed 10 years ago
#12253 closed defect (worksforme)
Functional test failures with Subversion 1.9
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control | Version: | |
| Severity: | normal | Keywords: | svn svn19 |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I upgraded my client from 1.8.13 to 1.9.2 a few days ago and noticed some test failures today. I'm assuming the failures are related to the upgrade, but cannot say definitively.
python trac/tests/functional/__init__.py
..................FFFFF...FF..F.................................................................................................................................................SKIP: RegressionTestTicket11515 (Message catalogs not compiled)
.........................................
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.TestEmptySvnRepo)
Check empty repository
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 55, in runTest
tc.follow('Last Change')
File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/twill/commands.py", line 202, in follow
raise TwillAssertionError("no links match to '%s'" % (what,))
TwillAssertionError: no links match to 'Last Change'
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.TestRepoCreation)
Create a directory tree in the repository
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 77, in runTest
tc.find('component1')
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to 'component1' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/TestRepoCreation.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.TestRepoBrowse)
Add a file to the repository and verify it is in the browser
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 116, in runTest
tc.find('component1')
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to 'component1' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/TestRepoBrowse.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.TestNewFileLog)
Verify browser log for a new file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 137, in runTest
tc.find('@%d' % revision)
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to '@3' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/TestNewFileLog.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.RegressionTestTicket5819)
Test for regression of http://trac.edgewall.org/ticket/5819
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 156, in runTest
tc.find(components, 's')
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to 'Create component1/d.*Create component1/c.*Create component1/b.*Create component1/a' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/RegressionTestTicket5819.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.RegressionTestTicket11346)
Test for regression of http://trac.edgewall.org/ticket/11346
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 260, in runTest
tc.find('@1')
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to '@1' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/RegressionTestTicket11346.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.RegressionTestTicket11438)
Test for regression of http://trac.edgewall.org/ticket/11438
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 305, in runTest
tc.url(self._tester.url + r'/log/\?revs=' + str(rev - 1) + '-head')
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 248, in better_url
(to_unicode(e), filename))
TwillAssertionError: current url is 'http://127.0.0.1:8994/intertrac/log:@12:head';
does not match 'http://127.0.0.1:8994/log/\?revs=12-head'
at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/RegressionTestTicket11438.html
======================================================================
FAIL: runTest (trac.versioncontrol.tests.functional.RegressionTestTicket11777)
Test for regression of http://trac.edgewall.org/ticket/11777
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/versioncontrol/tests/functional.py", line 368, in runTest
tc.find(r'\[%d\]: ticket-11777' % rev)
File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 229, in better_find
(to_unicode(e), filename))
TwillAssertionError: no match to '\[15\]: ticket-11777' at file:///Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/testenv/trac/log/RegressionTestTicket11777.html
----------------------------------------------------------------------
Ran 217 tests in 430.063s
FAILED (failures=8)
make: *** [functional-test] Error 1
All unit tests pass on Mac OSX.
Attachments (0)
Change History (2)
comment:1 by , 10 years ago
| Keywords: | svn svn19 added; subversion removed |
|---|
comment:2 by , 10 years ago
| Milestone: | 1.0.10 |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



False report. The python virtual environment in which I was running the tests was still symbolically linked to the Subversion 1.8.13 libraries:
Tests pass after changing to: