See http://ci.opensuse.org/job/obs_osc_testsuite_master/183/changes Changes: [opensuse] - improve output of assertEquals failures on multi-line strings [opensuse] - avoid false negative failures due to trivial differences in diff hunk headers [suse-tux] - tests.test_difffiles: added TODO to __canonise_diff. ------------------------------------------ [...truncated 41 lines...] ====================================================================== ERROR [0.016s]: diff a deleted binary file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 176, in testDiffBinaryDeleted self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a modified binary file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 186, in testDiffBinaryModified self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a file which is in the conflict state ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 94, in testDiffConflict self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a missing file (missing files are ignored) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 56, in testDiffMissing self.__check_diff(p, '', None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a modified file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 109, in testDiffModified self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff multiple files ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 143, in testDiffMultipleFiles self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteExistingLocalNotExisting (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 253, in testDiffRemoteExistingLocalNotExisting self.__check_diff(p, exp, 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteMissingLocalDeleted (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 296, in testDiffRemoteMissingLocalDeleted self.__check_diff(p, '', 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteMissingLocalExisting (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 285, in testDiffRemoteMissingLocalExisting self.__check_diff(p, exp, 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteModified (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 216, in testDiffRemoteModified self.__check_diff(p, exp, 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteNoChange (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 194, in testDiffRemoteNoChange self.__check_diff(p, '', 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteNotExistingLocalAdded (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 232, in testDiffRemoteNotExistingLocalAdded self.__check_diff(p, exp, 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: testDiffRemoteUnchangedLocalModified (test_difffiles.TestDiffFiles) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/common.py", line 84, in wrapped_test_method test_method(*args) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 271, in testDiffRemoteUnchangedLocalModified self.__check_diff(p, exp, 3) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a removed file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 49, in testDiffRemoved self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a replaced file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 70, in testDiffReplaced self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a complete package ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 156, in testDiffReplacedEmptyTodo self.__check_diff(p, exp, None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff a skipped file (skipped files are ignored) ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 77, in testDiffSkipped self.__check_diff(p, '', None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ====================================================================== ERROR [0.016s]: diff an unmodified file ---------------------------------------------------------------------- Traceback (most recent call last): File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 23, in testDiffUnmodified self.__check_diff(p, '', None) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 326, in __check_diff got = __canonise_diff(got) File "http://ci.opensuse.org/job/obs_osc_testsuite_master/ws/tests/test_difffiles.py", line 322, in __canonise_diff diff = re.sub('^@@ -(\d+) ', '@@ -\\1,\\1 ', diff, 0, re.MULTILINE) TypeError: sub() takes at most 4 arguments (5 given) ---------------------------------------------------------------------- Ran 171 tests in 5.311s FAILED (errors=20) Generating XML reports... Build step 'Execute shell' marked build as failure Recording test results -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org