Created
October 25, 2017 23:28
-
-
Save nicoddemus/85b100282dabab1d1b7acd98c8795059 to your computer and use it in GitHub Desktop.
py.path\test_svnwc.py failures on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[00:00:00] Build started | |
[00:00:00] git clone -q https://github.com/pytest-dev/py.git C:\projects\py | |
[00:00:11] git fetch -q origin +refs/pull/157/merge: | |
[00:00:12] git checkout -qf FETCH_HEAD | |
[00:00:12] Running Install scripts | |
[00:00:12] echo Installed Pythons | |
[00:00:12] Installed Pythons | |
[00:00:12] dir c:\Python* | |
[00:00:12] Volume in drive C is Windows | |
[00:00:12] Volume Serial Number is D4AB-4044 | |
[00:00:12] | |
[00:00:12] Directory of c:\ | |
[00:00:12] | |
[00:00:12] 04/20/2016 02:59 AM <DIR> Python26 | |
[00:00:12] 04/20/2016 02:59 AM <DIR> Python26-x64 | |
[00:00:12] 10/04/2017 03:39 AM <DIR> Python27 | |
[00:00:12] 10/04/2017 03:40 AM <DIR> Python27-x64 | |
[00:00:12] 04/20/2016 02:59 AM <DIR> Python33 | |
[00:00:12] 04/20/2016 02:59 AM <DIR> Python33-x64 | |
[00:00:12] 08/05/2016 02:35 AM <DIR> Python34 | |
[00:00:12] 08/05/2016 02:35 AM <DIR> Python34-x64 | |
[00:00:12] 02/19/2017 07:23 PM <DIR> Python35 | |
[00:00:12] 02/19/2017 07:24 PM <DIR> Python35-x64 | |
[00:00:12] 10/04/2017 03:41 AM <DIR> Python36 | |
[00:00:12] 10/19/2017 05:28 PM <DIR> Python36-x64 | |
[00:00:12] 0 File(s) 0 bytes | |
[00:00:12] 12 Dir(s) 26,272,538,624 bytes free | |
[00:00:12] C:\Python36\python -m pip install --upgrade --pre tox | |
[00:00:19] Collecting tox | |
[00:00:19] Downloading tox-2.9.1-py2.py3-none-any.whl (73kB) | |
[00:00:19] Collecting six (from tox) | |
[00:00:19] Downloading six-1.11.0-py2.py3-none-any.whl | |
[00:00:19] Collecting py>=1.4.17 (from tox) | |
[00:00:19] Downloading py-1.4.34-py2.py3-none-any.whl (84kB) | |
[00:00:19] Collecting pluggy<1.0,>=0.3.0 (from tox) | |
[00:00:19] Downloading pluggy-0.5.2.tar.gz | |
[00:00:20] Requirement already up-to-date: virtualenv>=1.11.2; python_version != "3.2" in c:\python36\lib\site-packages (from tox) | |
[00:00:20] Installing collected packages: six, py, pluggy, tox | |
[00:00:21] Running setup.py install for pluggy: started | |
[00:00:21] Running setup.py install for pluggy: finished with status 'done' | |
[00:00:21] Successfully installed pluggy-0.5.2 py-1.4.34 six-1.11.0 tox-2.9.1 | |
[00:00:22] C:\Python36\python -m tox | |
[00:00:22] GLOB sdist-make: C:\projects\py\setup.py | |
[00:00:23] py27-pytest30 create: C:\projects\py\.tox\py27-pytest30 | |
[00:00:37] py27-pytest30 installdeps: pytest~=3.0.0 | |
[00:00:38] py27-pytest30 inst: C:\projects\py\.tox\dist\py-1.4.34.zip | |
[00:00:41] py27-pytest30 installed: colorama==0.3.9,py==1.4.34,pytest==3.0.7 | |
[00:00:41] py27-pytest30 runtests: PYTHONHASHSEED='27' | |
[00:00:41] py27-pytest30 runtests: commands[0] | pip install -U .. | |
[00:00:42] Processing c:\projects\py | |
[00:00:49] Installing collected packages: py | |
[00:00:49] Found existing installation: py 1.4.34 | |
[00:00:49] Uninstalling py-1.4.34: | |
[00:00:49] Successfully uninstalled py-1.4.34 | |
[00:00:49] Running setup.py install for py: started | |
[00:00:49] Running setup.py install for py: finished with status 'done' | |
[00:00:50] Successfully installed py-1.4.34 | |
[00:00:50] py27-pytest30 runtests: commands[1] | py.test --confcutdir=.. -rfsxX --junitxml=C:\projects\py\.tox\py27-pytest30\log/junit-py27-pytest30.xml | |
[00:00:50] ============================= test session starts ============================= | |
[00:00:50] platform win32 -- Python 2.7.14, pytest-3.0.7, py-1.4.34, pluggy-0.4.0 | |
[00:00:50] rootdir: C:\projects\py, inifile: tox.ini | |
[00:00:52] collected 828 items / 1 skipped | |
[00:00:52] | |
[00:00:52] code\test_assertion.py ............x..ss.....x. | |
[00:00:52] code\test_code.py .............. | |
[00:00:57] code\test_excinfo.py ...........s........s...x............x..x..xxxx........................xx | |
[00:00:57] code\test_source.py ..................................................................... | |
[00:00:57] io_\test_capture.py .........s................................................s................s......... | |
[00:00:57] io_\test_saferepr.py ........ | |
[00:00:57] io_\test_terminalwriter.py .ss.....................ssssss..........ss.. | |
[00:00:57] log\test_warning.py x..... | |
[00:00:57] path\test_cacheutil.py ............. | |
[00:00:58] path\test_local.py ..............................s..................................ss.s......s......................x......ssssssssssss............................ssssssssssssssssssssssssss..x... | |
[00:00:58] path\test_svnauth.py ........................sssssssssss | |
[00:01:02] path\test_svnurl.py .............................s................................ss....x.........x..... | |
[00:01:20] path\test_svnwc.py ...............................s........................FFFFFFFF..ss.....FF..FxFFFFF..........FFFF.FFF.......... | |
[00:01:20] process\test_cmdexec.py ..... | |
[00:01:21] process\test_forkedfunc.py ssssssssssssss | |
[00:01:21] process\test_killproc.py . | |
[00:01:21] root\test_builtin.py ................... | |
[00:01:21] root\test_error.py ...... | |
[00:01:21] root\test_py_imports.py ......s.......... | |
[00:01:21] root\test_std.py ... | |
[00:01:21] root\test_xmlgen.py ................... | |
[00:01:21] | |
[00:01:21] generated xml file: C:\projects\py\.tox\py27-pytest30\log\junit-py27-pytest30.xml | |
[00:01:21] =========================== short test summary info =========================== | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_copy_file | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_copy_dir | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_remove_file | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_remove_dir_recursive_by_default | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_ensure_dir | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_mkdir_and_remove | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_move_file | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_move_dir | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_added | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_change | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_unchanged | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_replaced | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_ignored | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_conflict | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_external | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_deleted | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_properties | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_proplist_recursive | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_long_properties | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_ensure | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_lock_unlock | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_commit_nonrecursive | |
[00:01:21] FAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_commit_return_value | |
[00:01:21] SKIP [3] testing\path\common.py:451: sys.version_info < (3,6) | |
[00:01:21] SKIP [1] testing\path\test_local.py:396: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:759: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:36: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:837: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:54: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:6: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:19: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:752: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:731: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:846: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [3] testing\io_\test_terminalwriter.py:165: condition: sys.platform == 'win32' | |
[00:01:21] SKIP [1] C:\projects\py\testing\log\test_log.py:8: could not import 'py._log.log.default_keywordmapper' | |
[00:01:21] SKIP [3] testing\io_\test_terminalwriter.py:160: condition: sys.platform == 'win32' | |
[00:01:21] SKIP [1] testing\path\test_local.py:440: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:740: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:384: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:699: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:812: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:407: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\io_\test_terminalwriter.py:228: win32 has no native ansi | |
[00:01:21] SKIP [11] C:\projects\py\testing\path\test_svnauth.py:272: use --runslowtests to run these tests | |
[00:01:21] SKIP [3] testing\path\common.py:190: sys.version_info < (3,6) | |
[00:01:21] SKIP [1] testing\path\test_local.py:827: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\io_\test_terminalwriter.py:239: win32 has no native ansi | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:123: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] C:\projects\py\testing\root\test_py_imports.py:8: syslog is not available on Windows | |
[00:01:21] SKIP [1] testing\path\test_local.py:67: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:832: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:12: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] C:\projects\py\testing\code\test_excinfo.py:318: could not import 'jinja2' | |
[00:01:21] SKIP [3] C:\projects\py\testing\io_\test_capture.py:115: could not run 'lsof' | |
[00:01:21] SKIP [1] testing\path\test_local.py:723: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:916: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:767: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:83: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:46: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:60: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:707: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:860: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:455: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:27: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:746: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] C:\projects\py\testing\code\test_excinfo.py:203: could not import 'decorator' | |
[00:01:21] SKIP [1] C:\projects\py\testing\io_\test_terminalwriter.py:27: could not import 'fcntl' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:69: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:783: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [3] testing\path\common.py:446: sys.version_info < (3,6) | |
[00:01:21] SKIP [1] testing\path\test_local.py:448: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:798: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:377: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:421: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [2] C:\projects\py\testing\code\test_assertion.py:175: could not import 'py._code._assertionold' | |
[00:01:21] SKIP [1] testing\path\test_local.py:371: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:820: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:106: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:92: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:464: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] C:\projects\py\testing\io_\test_terminalwriter.py:13: could not import 'fcntl' | |
[00:01:21] SKIP [1] testing\path\test_local.py:883: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:905: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:871: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:714: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:792: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:899: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:118: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:431: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\path\test_local.py:402: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] SKIP [1] testing\process\test_forkedfunc.py:76: condition: not hasattr(os, 'fork') | |
[00:01:21] SKIP [1] testing\path\test_local.py:736: condition: sys.platform == 'win32' or getattr(os, '_name', None) == 'nt' | |
[00:01:21] XFAIL code\test_assertion.py::test_assert_with_brokenrepr_arg | |
[00:01:21] reason: [NOTRUN] broken on modern pytest | |
[00:01:21] XFAIL code\test_assertion.py::test_assert_raise_subclass | |
[00:01:21] reason: [NOTRUN] broken on modern pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_repr_source_excinfo | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_repr_excinfo_addouterr | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_tb_entry_AssertionError | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_toterminal_long | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_toterminal_long_missing_source | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_toterminal_long_incomplete_source | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_toterminal_long_filenames | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_native_style | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL code\test_excinfo.py::TestFormattedExcinfo::()::test_traceback_repr_style | |
[00:01:21] reason: [NOTRUN] this test hasn't been fixed after moving py.code into pytest | |
[00:01:21] XFAIL log\test_warning.py::test_forwarding_to_warnings_module | |
[00:01:21] XFAIL path\test_local.py::TestLocalPath::()::test_long_filenames | |
[00:01:21] reason: [NOTRUN] unreliable est for long filenames | |
[00:01:21] XFAIL path\test_local.py::TestUnicodePy2Py3::()::test_read_write | |
[00:01:21] changing read/write might break existing usages | |
[00:01:21] XFAIL path\test_svnurl.py::TestSvnURLCommandPath::()::test_load | |
[00:01:21] XFAIL path\test_svnurl.py::TestSvnURLCommandPath::()::test_svnurl_characters_colon_path | |
[00:01:21] condition: sys.platform == 'win32' | |
[00:01:21] XFAIL path\test_svnwc.py::TestWCSvnCommandPath::()::test_status_update | |
[00:01:21] svn-1.7 has buggy 'status --xml' output | |
[00:01:21] ================================== FAILURES =================================== | |
[00:01:21] _____________________ TestWCSvnCommandPath.test_copy_file _____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044A21D0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_copy_file(self, path1): | |
[00:01:21] otherdir = path1.join('otherdir') | |
[00:01:21] initpy = otherdir.join('__init__.py') | |
[00:01:21] copied = otherdir.join('copied') | |
[00:01:21] > initpy.copy(copied) | |
[00:01:21] | |
[00:01:21] path\common.py:359: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:588: in copy | |
[00:01:21] py.process.cmdexec("svn copy %s %s" %(str(self), str(target))) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn copy c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\otherdir\\__init__.py c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\otherdir\\copied' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn copy c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir\__init__.py c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir\copied | |
[00:01:21] E svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does not support file locking; if the working copy is on a network filesystem, make sure file locking has been enabled on the file server | |
[00:01:21] E svn: E200033: sqlite[S5]: database is locked | |
[00:01:21] E svn: E200033: Additional errors: | |
[00:01:21] E svn: E200033: sqlite[S5]: database is locked | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] _____________________ TestWCSvnCommandPath.test_copy_dir ______________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x0455A310> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_copy_dir(self, path1): | |
[00:01:21] otherdir = path1.join('otherdir') | |
[00:01:21] copied = path1.join('newdir') | |
[00:01:21] try: | |
[00:01:21] > otherdir.copy(copied) | |
[00:01:21] | |
[00:01:21] path\common.py:373: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:588: in copy | |
[00:01:21] py.process.cmdexec("svn copy %s %s" %(str(self), str(target))) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn copy c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\otherdir c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\newdir' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn copy c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\newdir | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ____________________ TestWCSvnCommandPath.test_remove_file ____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x045FA110> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_remove_file(self, path1): | |
[00:01:21] > d = path1.ensure('todeleted') | |
[00:01:21] | |
[00:01:21] path\common.py:384: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:556: in ensure | |
[00:01:21] p.add() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:569: in add | |
[00:01:21] self._svn('add') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn add "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\todeleted"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn add "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\todeleted" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] __________ TestWCSvnCommandPath.test_remove_dir_recursive_by_default __________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x0455AE10> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_remove_dir_recursive_by_default(self, path1): | |
[00:01:21] > d = path1.ensure('to', 'be', 'deleted') | |
[00:01:21] | |
[00:01:21] path\common.py:390: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:554: in ensure | |
[00:01:21] parent._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:536: in _ensuredirs | |
[00:01:21] parent._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:538: in _ensuredirs | |
[00:01:21] self.mkdir() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:564: in mkdir | |
[00:01:21] self._svn('mkdir') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn mkdir "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\to"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn mkdir "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\to" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ____________________ TestWCSvnCommandPath.test_ensure_dir _____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04115250> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_ensure_dir(self, path1): | |
[00:01:21] > b = path1.ensure_dir("001", "002") | |
[00:01:21] | |
[00:01:21] path\common.py:397: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\common.py:278: in ensure_dir | |
[00:01:21] return self.ensure(*args, **{"dir": True}) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:552: in ensure | |
[00:01:21] return p._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:536: in _ensuredirs | |
[00:01:21] parent._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:538: in _ensuredirs | |
[00:01:21] self.mkdir() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:564: in mkdir | |
[00:01:21] self._svn('mkdir') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn mkdir "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\001"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn mkdir "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\001" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] _________________ TestWCSvnCommandPath.test_mkdir_and_remove __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044C17F0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_mkdir_and_remove(self, path1): | |
[00:01:21] tmpdir = path1 | |
[00:01:21] py.test.raises(py.error.EEXIST, tmpdir.mkdir, 'sampledir') | |
[00:01:21] new = tmpdir.join('mktest1') | |
[00:01:21] > new.mkdir() | |
[00:01:21] | |
[00:01:21] path\common.py:405: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:564: in mkdir | |
[00:01:21] self._svn('mkdir') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn mkdir "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\mktest1"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn mkdir "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\mktest1" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] _____________________ TestWCSvnCommandPath.test_move_file _____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044A2930> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_move_file(self, path1): | |
[00:01:21] p = path1.join('samplefile') | |
[00:01:21] newp = p.dirpath('moved_samplefile') | |
[00:01:21] > p.move(newp) | |
[00:01:21] | |
[00:01:21] path\common.py:417: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\common.py:207: in move | |
[00:01:21] self.rename(target) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:592: in rename | |
[00:01:21] py.process.cmdexec("svn move --force %s %s" %(str(self), str(target))) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn move --force c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\moved_samplefile' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn move --force c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\samplefile c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\moved_samplefile | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] _____________________ TestWCSvnCommandPath.test_move_dir ______________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04559850> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_move_dir(self, path1): | |
[00:01:21] source = path1.join('sampledir') | |
[00:01:21] dest = path1.join('moveddir') | |
[00:01:21] > source.move(dest) | |
[00:01:21] | |
[00:01:21] path\common.py:432: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\common.py:207: in move | |
[00:01:21] self.rename(target) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:592: in rename | |
[00:01:21] py.process.cmdexec("svn move --force %s %s" %(str(self), str(target))) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn move --force c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\sampledir c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\moveddir' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn move --force c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\sampledir c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\moveddir | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ___________________ TestWCSvnCommandPath.test_status_added ____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x045F9850> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_added(self, path1): | |
[00:01:21] nf = path1.join('newfile') | |
[00:01:21] nf.write('hello') | |
[00:01:21] > nf.add() | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:48: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:569: in add | |
[00:01:21] self._svn('add') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn add "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\newfile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn add "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\newfile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ___________________ TestWCSvnCommandPath.test_status_change ___________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04386150> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_change(self, path1): | |
[00:01:21] nf = path1.join('samplefile') | |
[00:01:21] try: | |
[00:01:21] nf.write(nf.read() + 'change') | |
[00:01:21] s = nf.status() | |
[00:01:21] assert not s.added | |
[00:01:21] assert s.modified | |
[00:01:21] assert not s.prop_modified | |
[00:01:21] assert not s.replaced | |
[00:01:21] finally: | |
[00:01:21] > nf.revert() | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:68: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:737: in revert | |
[00:01:21] result = self._svn('revert') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn revert "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn revert "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\samplefile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] _________________ TestWCSvnCommandPath.test_status_unchanged __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044B5290> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_unchanged(self, path1): | |
[00:01:21] r = path1 | |
[00:01:21] s = path1.status(rec=1) | |
[00:01:21] # Comparing just the file names, because paths are unpredictable | |
[00:01:21] # on Windows. (long vs. 8.3 paths) | |
[00:01:21] > assert r.join('samplefile').basename in [item.basename | |
[00:01:21] for item in s.unchanged] | |
[00:01:21] E AssertionError: assert 'samplefile' in ['path1wc', 'anotherfile', 'execfile', 'otherdir', '__init__.py', 'a.py', ...] | |
[00:01:21] E + where 'samplefile' = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile').basename | |
[00:01:21] E + where svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile') = <bound method SvnWCCommandPath.join of svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc')>('samplefile') | |
[00:01:21] E + where <bound method SvnWCCommandPath.join of svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc')> = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc').join | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:102: AssertionError | |
[00:01:21] __________________ TestWCSvnCommandPath.test_status_replaced __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x03965490> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_replaced(self, path1): | |
[00:01:21] p = path1.join("samplefile") | |
[00:01:21] > p.remove() | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:127: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:584: in remove | |
[00:01:21] self._svn('remove', *flags) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn remove --force "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn remove --force "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\samplefile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] __________________ TestWCSvnCommandPath.test_status_ignored ___________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04600550> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_ignored(self, path1): | |
[00:01:21] try: | |
[00:01:21] d = path1.join('sampledir') | |
[00:01:21] p = py.path.local(d).join('ignoredfile') | |
[00:01:21] p.ensure(file=True) | |
[00:01:21] s = d.status() | |
[00:01:21] assert [x.basename for x in s.unknown] == ['ignoredfile'] | |
[00:01:21] assert [x.basename for x in s.ignored] == [] | |
[00:01:21] d.propset('svn:ignore', 'ignoredfile') | |
[00:01:21] s = d.status() | |
[00:01:21] assert [x.basename for x in s.unknown] == [] | |
[00:01:21] assert [x.basename for x in s.ignored] == ['ignoredfile'] | |
[00:01:21] finally: | |
[00:01:21] > path1.revert(rec=1) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:148: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:735: in revert | |
[00:01:21] result = self._svn('revert -R') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn revert -R "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn revert -R "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] __________________ TestWCSvnCommandPath.test_status_conflict __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x046002B0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] tmpdir = local('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_status_conflict0') | |
[00:01:21] | |
[00:01:21] def test_status_conflict(self, path1, tmpdir): | |
[00:01:21] wc = path1 | |
[00:01:21] wccopy = py.path.svnwc(tmpdir.join("conflict_copy")) | |
[00:01:21] wccopy.checkout(wc.url) | |
[00:01:21] > p = wc.ensure('conflictsamplefile', file=1) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:154: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:556: in ensure | |
[00:01:21] p.add() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:569: in add | |
[00:01:21] self._svn('add') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn add "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\conflictsamplefile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn add "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\conflictsamplefile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] __________________ TestWCSvnCommandPath.test_status_external __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044A2E30> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] repowc2 = (local('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_status_external0\\test_status_external-repo-2'), ...-2', svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_status_external0\\test_status_external-wc-2')) | |
[00:01:21] | |
[00:01:21] def test_status_external(self, path1, repowc2): | |
[00:01:21] otherrepo, otherrepourl, otherwc = repowc2 | |
[00:01:21] d = path1.ensure('sampledir', dir=1) | |
[00:01:21] try: | |
[00:01:21] d.update() | |
[00:01:21] d.propset('svn:externals', 'otherwc %s' % (otherwc.url,)) | |
[00:01:21] d.update() | |
[00:01:21] s = d.status() | |
[00:01:21] assert [x.basename for x in s.external] == ['otherwc'] | |
[00:01:21] assert 'otherwc' not in [x.basename for x in s.unchanged] | |
[00:01:21] s = d.status(rec=1) | |
[00:01:21] assert [x.basename for x in s.external] == ['otherwc'] | |
[00:01:21] assert 'otherwc' in [x.basename for x in s.unchanged] | |
[00:01:21] finally: | |
[00:01:21] > path1.revert(rec=1) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:180: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:735: in revert | |
[00:01:21] result = self._svn('revert -R') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn revert -R "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn revert -R "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ---------------------------- Captured stdout setup ---------------------------- | |
[00:01:21] created svn repository c:\users\appveyor\appdata\local\temp\1\pytest-0\test_status_external0\test_status_external-repo-2 | |
[00:01:21] checked out new repo into c:\users\appveyor\appdata\local\temp\1\pytest-0\test_status_external0\test_status_external-wc-2 | |
[00:01:21] __________________ TestWCSvnCommandPath.test_status_deleted ___________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044A2DF0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_status_deleted(self, path1): | |
[00:01:21] d = path1.ensure('sampledir', dir=1) | |
[00:01:21] > d.remove() | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:184: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:584: in remove | |
[00:01:21] self._svn('remove', *flags) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn remove --force "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\sampledir"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn remove --force "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\sampledir" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ____________________ TestWCSvnCommandPath.test_properties _____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x045F8510> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_properties(self, path1): | |
[00:01:21] try: | |
[00:01:21] path1.propset('gaga', 'this') | |
[00:01:21] assert path1.propget('gaga') == 'this' | |
[00:01:21] # Comparing just the file names, because paths are unpredictable | |
[00:01:21] # on Windows. (long vs. 8.3 paths) | |
[00:01:21] assert path1.basename in [item.basename for item in | |
[00:01:21] path1.status().prop_modified] | |
[00:01:21] assert 'gaga' in path1.proplist() | |
[00:01:21] assert path1.proplist()['gaga'] == 'this' | |
[00:01:21] | |
[00:01:21] finally: | |
[00:01:21] > path1.propdel('gaga') | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:288: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:715: in propdel | |
[00:01:21] res = self._svn('propdel', name) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn propdel gaga "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn propdel gaga "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ________________ TestWCSvnCommandPath.test_proplist_recursive _________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04559390> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_proplist_recursive(self, path1): | |
[00:01:21] s = path1.join('samplefile') | |
[00:01:21] > s.propset('gugu', 'that') | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:292: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:704: in propset | |
[00:01:21] self._svn('propset', name, '--file', str(p), *args) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn propset gugu --file c:\\users\\appveyor\\appdata\\local\\temp\\1\\tmpauxitn\\value "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\samplefile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn propset gugu --file c:\users\appveyor\appdata\local\temp\1\tmpauxitn\value "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\samplefile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] __________________ TestWCSvnCommandPath.test_long_properties __________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x045593B0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_long_properties(self, path1): | |
[00:01:21] value = """ | |
[00:01:21] vadm:posix : root root 0100755 | |
[00:01:21] Properties on 'chroot/dns/var/bind/db.net.xots': | |
[00:01:21] """ | |
[00:01:21] try: | |
[00:01:21] path1.propset('gaga', value) | |
[00:01:21] backvalue = path1.propget('gaga') | |
[00:01:21] assert backvalue == value | |
[00:01:21] #assert len(backvalue.split('\n')) == 1 | |
[00:01:21] finally: | |
[00:01:21] > path1.propdel('gaga') | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:313: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:715: in propdel | |
[00:01:21] res = self._svn('propdel', name) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn propdel gaga "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn propdel gaga "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ______________________ TestWCSvnCommandPath.test_ensure _______________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x04383AF0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_ensure(self, path1): | |
[00:01:21] > newpath = path1.ensure('a', 'b', 'c') | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:317: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:554: in ensure | |
[00:01:21] parent._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:536: in _ensuredirs | |
[00:01:21] parent._ensuredirs() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:538: in _ensuredirs | |
[00:01:21] self.mkdir() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:564: in mkdir | |
[00:01:21] self._svn('mkdir') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn mkdir "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\a"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn mkdir "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\a" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ____________________ TestWCSvnCommandPath.test_lock_unlock ____________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x045EB8F0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_lock_unlock(self, path1): | |
[00:01:21] root = path1 | |
[00:01:21] somefile = root.join('somefile') | |
[00:01:21] > somefile.ensure(file=True) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:340: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:556: in ensure | |
[00:01:21] p.add() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:569: in add | |
[00:01:21] self._svn('add') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn add "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\somefile"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn add "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\somefile" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ________________ TestWCSvnCommandPath.test_commit_nonrecursive ________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044652F0> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_commit_nonrecursive(self, path1): | |
[00:01:21] somedir = path1.join('sampledir') | |
[00:01:21] somedir.mkdir("subsubdir") | |
[00:01:21] somedir.propset('foo', 'bar') | |
[00:01:21] status = somedir.status() | |
[00:01:21] assert len(status.prop_modified) == 1 | |
[00:01:21] assert len(status.added) == 1 | |
[00:01:21] | |
[00:01:21] > somedir.commit('non-recursive commit', rec=0) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:370: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:689: in commit | |
[00:01:21] out = self._authsvn(cmd) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:462: in _authsvn | |
[00:01:21] return self._svn(cmd, *args) | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn commit -m "non-recursive commit" --force-log -N "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\sampledir"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn commit -m "non-recursive commit" --force-log -N "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\sampledir" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Commit failed (details follow): | |
[00:01:21] E svn: E155004: Working copy 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] ________________ TestWCSvnCommandPath.test_commit_return_value ________________ | |
[00:01:21] | |
[00:01:21] self = <test_svnwc.TestWCSvnCommandPath object at 0x044C1470> | |
[00:01:21] path1 = svnwc('c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc') | |
[00:01:21] | |
[00:01:21] def test_commit_return_value(self, path1): | |
[00:01:21] > testfile = path1.join('test.txt').ensure(file=True) | |
[00:01:21] | |
[00:01:21] path\test_svnwc.py:381: | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:556: in ensure | |
[00:01:21] p.add() | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:569: in add | |
[00:01:21] self._svn('add') | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_path\svnwc.py:476: in _svn | |
[00:01:21] out = py.process.cmdexec(string) | |
[00:01:21] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[00:01:21] | |
[00:01:21] cmd = 'svn add "c:\\users\\appveyor\\appdata\\local\\temp\\1\\pytest-0\\test_make_repo0\\path1wc\\test.txt"' | |
[00:01:21] | |
[00:01:21] def cmdexec(cmd): | |
[00:01:21] """ return unicode output of executing 'cmd' in a separate process. | |
[00:01:21] | |
[00:01:21] raise cmdexec.Error exeception if the command failed. | |
[00:01:21] the exception will provide an 'err' attribute containing | |
[00:01:21] the error-output from the command. | |
[00:01:21] if the subprocess module does not provide a proper encoding/unicode strings | |
[00:01:21] sys.getdefaultencoding() will be used, if that does not exist, 'UTF-8'. | |
[00:01:21] """ | |
[00:01:21] process = subprocess.Popen(cmd, shell=True, | |
[00:01:21] universal_newlines=True, | |
[00:01:21] stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
[00:01:21] out, err = process.communicate() | |
[00:01:21] if sys.version_info[0] < 3: # on py3 we get unicode strings, on py2 not | |
[00:01:21] try: | |
[00:01:21] default_encoding = sys.getdefaultencoding() # jython may not have it | |
[00:01:21] except AttributeError: | |
[00:01:21] default_encoding = sys.stdout.encoding or 'UTF-8' | |
[00:01:21] out = unicode(out, process.stdout.encoding or default_encoding) | |
[00:01:21] err = unicode(err, process.stderr.encoding or default_encoding) | |
[00:01:21] status = process.poll() | |
[00:01:21] if status: | |
[00:01:21] > raise ExecutionFailed(status, status, cmd, out, err) | |
[00:01:21] E Error: ExecutionFailed: 1 svn add "c:\users\appveyor\appdata\local\temp\1\pytest-0\test_make_repo0\path1wc\test.txt" | |
[00:01:21] E svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) | |
[00:01:21] E svn: E155004: Working copy 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc' locked. | |
[00:01:21] E svn: E155004: 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-0\test_make_repo0\path1wc\otherdir' is already locked. | |
[00:01:21] | |
[00:01:21] ..\.tox\py27-pytest30\lib\site-packages\py\_process\cmdexec.py:28: Error | |
[00:01:21] =========================== pytest-warning summary ============================ | |
[00:01:21] WC1 None pytest_funcarg__repowc1: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__repowc2: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__importasmod: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 C:\projects\py\testing\code\test_source.py yield tests are deprecated, and scheduled to be removed in pytest 4.0 | |
[00:01:21] WC1 None pytest_funcarg__tmpfile: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__tw: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__setup: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__path1: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] WC1 None pytest_funcarg__path1: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. | |
[00:01:21] 23 failed, 696 passed, 93 skipped, 17 xfailed, 14 pytest-warnings in 30.76 seconds | |
[00:01:21] ERROR: InvocationError: 'C:\\projects\\py\\.tox\\py27-pytest30\\Scripts\\py.test.EXE --confcutdir=.. -rfsxX --junitxml=C:\\projects\\py\\.tox\\py27-pytest30\\log/junit-py27-pytest30.xml' | |
[00:01:21] ___________________________________ summary ___________________________________ | |
[00:01:21] ERROR: py27-pytest30: commands failed | |
[00:01:21] Command exited with code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment