Modify ↓
#12476 closed defect (fixed)
Checkout failed in functional tests on AppVeyor
Reported by: | Jun Omae | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.12 |
Component: | general | Version: | |
Severity: | minor | Keywords: | appveyor |
Cc: | Branch: | ||
Release Notes: |
Fixed tests failure on AppVeyor CI service. |
||
API Changes: | |||
Internal Changes: |
Description
It seems functional tests on AppVeyor only for x86 failed. The tests passed for x64.
[00:02:27] python trac/tests/functional/__init__.py [00:02:29] SKIP: validation of XHTML output in functional tests (no lxml installed) [00:02:29] make.exe : Traceback (most recent call last): [00:02:29] At C:\projects\trac\contrib\appveyor.ps1:376 char:9 [00:02:29] + & make.exe $goal 2>&1 | Tee-Object -Variable make [00:02:29] + ~~~~~~~~~~~~~~~~~~~~~ [00:02:29] + CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException [00:02:29] + FullyQualifiedErrorId : NativeCommandError [00:02:29] [00:02:29] File "trac/tests/functional/__init__.py", line 221, in <module> [00:02:29] unittest.main(defaultTest='suite') [00:02:29] File "C:\Python27\lib\unittest\main.py", line 95, in __init__ [00:02:29] self.runTests() [00:02:29] File "C:\Python27\lib\unittest\main.py", line 232, in runTests [00:02:29] self.result = testRunner.run(self.test) [00:02:29] File "C:\Python27\lib\unittest\runner.py", line 151, in run [00:02:29] test(result) [00:02:29] File "C:\Python27\lib\unittest\suite.py", line 70, in __call__ [00:02:29] return self.run(*args, **kwds) [00:02:29] File "C:\Python27\lib\unittest\suite.py", line 108, in run [00:02:29] test(result) [00:02:29] File "C:\Python27\lib\unittest\suite.py", line 70, in __call__ [00:02:29] return self.run(*args, **kwds) [00:02:29] File "C:\projects\trac\trac\test.py", line 223, in run [00:02:29] self.setUp() [00:02:29] File "trac/tests/functional/__init__.py", line 150, in setUp [00:02:29] self._testenv = self.env_class(env_path, port, baseurl) [00:02:29] File "C:\projects\trac\trac\tests\functional\testenv.py", line 78, in __init__ [00:02:29] self.create() [00:02:29] File "C:\projects\trac\trac\tests\functional\testenv.py", line 139, in create [00:02:29] self.create_repo() [00:02:29] File "C:\projects\trac\trac\tests\functional\svntestenv.py", line 40, in create_repo [00:02:29] raise Exception('Checkout from %s failed.' % self.repo_url()) [00:02:29] Exception: Checkout from file:///C:/projects/trac/testenv/repo failed.
See https://ci.appveyor.com/project/edgewall-org/trac/build/1.0-stable.223.
Attachments (0)
Change History (4)
comment:1 by , 9 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Severity: | normal → minor |
---|
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
All is green again ;-)
Thanks for the watch, Jun!
comment:4 by , 8 years ago
Release Notes: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
The testing.log shows:
Going there in the shell, it seems that this message is produced by svn 1.9.3 from C:/msys64/usr/bin. That version of svn expects local URLs in the form of
file:///C/projects/...
.It seems that we suddenly use that version instead of the one corresponding to the binding because the setup of the PATH is broken (maybe due the switch to make 4.1 and the way export works there?).
In the PowerShell, all seems fine:
Doing
make status
, slightly modified so that it shows the actual value of the PATH environment variable (I'll commit that change):And this mix of
;
and:
doesn't work well, if you look at the actual path from within the python process (os.environ['PATH']
):So the "correct" path to the svn binaries that we want to use is garbled, and the next svn binaries found are the msys64 ones, with this different URL convention.
Besides, the mysql56 service is no longer, it looks like there's only MySQL 5.7 x64 database service. I'll fix that as well.