See
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.7/35/display/redirect?page=changes>
Changes:
[dbrondsema] Upgrade a few packages that dropped py2 support
------------------------------------------
[...truncated 325.79 KB...]
commit._id, paths)
File "/allura/ForgeGit/forgegit/model/git_repo.py", line 648, in
_get_last_commit
skip=skip)
File "/allura/ForgeGit/forgegit/model/git_repo.py", line 64, in log
return self.client.log(*args, **kwargs)
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
585, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
1124, in _call_process
return self.execute(call, **exec_kwargs)
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
928, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git log --pretty=format:%H --name-only --max-count=1 --skip=0
13951944969cf45a701bf90f83647b309815e6d5 -- f2.txt
stderr: 'fatal: unsafe repository
('/allura/ForgeGit/forgegit/tests/data/testrename.git' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory
/allura/ForgeGit/forgegit/tests/data/testrename.git'
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_tags (forgegit.tests.model.test_repository.TestGitImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 993, in
test_tags
object_id='1e146e67985dcd71c74de79613719bef7bddca4a'),
AssertionError: Lists differ: [] != [{'name': 'foo', 'object_id':
'1e146e67985dcd71c74de79613719bef7bddca4a'}]
Second list contains 1 additional elements.
First extra element 0:
{'name': 'foo', 'object_id': '1e146e67985dcd71c74de79613719bef7bddca4a'}
- []
+ [{'name': 'foo', 'object_id': '1e146e67985dcd71c74de79613719bef7bddca4a'}]
======================================================================
FAIL: test_renamed_file (forgegit.tests.model.test_repository.TestGitRename)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 1157,
in test_renamed_file
self.assertEqual(len(commits), 4)
AssertionError: 0 != 4
======================================================================
FAIL: test_commit_artifact_references
(forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 491, in
test_commit_artifact_references
assert ref
AssertionError
======================================================================
FAIL: test_default_branch_invalid
(forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 629, in
test_default_branch_invalid
assert_equal(self.repo.get_default_branch('master'), 'master')
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: 'zz' != 'master'
- zz
+ master
======================================================================
FAIL: test_default_branch_non_standard_invalid
(forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 621, in
test_default_branch_non_standard_invalid
assert_equal(self.repo.get_default_branch('master'), 'foo')
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: 'zz' != 'foo'
- zz
+ foo
======================================================================
FAIL: test_default_branch_non_standard_unset
(forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 613, in
test_default_branch_non_standard_unset
assert_equal(self.repo.get_default_branch('master'), 'foo')
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: 'master' != 'foo'
- master
+ foo
======================================================================
FAIL: test_is_empty (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 591, in
test_is_empty
assert not self.repo.is_empty()
AssertionError
======================================================================
FAIL: test_log (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 316, in
test_log
'rename_details': {}},
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: Lists differ: [] != [{'authored': {'date':
datetime.datetime(2[1656 chars] {}}]
Second list contains 4 additional elements.
First extra element 0:
{'authored': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email':
'[email protected]', 'name': 'Rick Copeland'}, 'committed': {'date':
datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': '[email protected]',
'name': 'Rick Copeland'}, 'id': '1e146e67985dcd71c74de79613719bef7bddca4a',
'message': 'Change README\n', 'parents':
['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD', 'foo',
'master'], 'size': None, 'rename_details': {}}
Diff is 2112 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_log_file (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 349, in
test_log_file
'rename_details': {}},
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: Lists differ: [] != [{'authored': {'date':
datetime.datetime(2[831 chars] {}}]
Second list contains 2 additional elements.
First extra element 0:
{'authored': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email':
'[email protected]', 'name': 'Rick Copeland'}, 'committed': {'date':
datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': '[email protected]',
'name': 'Rick Copeland'}, 'id': '1e146e67985dcd71c74de79613719bef7bddca4a',
'message': 'Change README\n', 'parents':
['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD', 'foo',
'master'], 'size': 28, 'rename_details': {}}
Diff is 1085 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_log_id_only (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 264, in
test_log_id_only
'9a7df788cf800241e3bb5a849c8870f2f8259d98'])
File "/allura/AlluraTest/alluratest/tools.py", line 49, in assert_equal
return testcase.assertEqual(*a, **kw)
AssertionError: Lists differ: [] !=
['1e146e67985dcd71c74de79613719bef7bddca4a[129 chars]d98']
Second list contains 4 additional elements.
First extra element 0:
'1e146e67985dcd71c74de79613719bef7bddca4a'
- []
+ ['1e146e67985dcd71c74de79613719bef7bddca4a',
+ 'df30427c488aeab84b2352bdf88a3b19223f9d7a',
+ '6a45885ae7347f1cac5103b0050cc1be6a1496c8',
+ '9a7df788cf800241e3bb5a849c8870f2f8259d98']
======================================================================
FAIL: test_refresh (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 378, in
test_refresh
assert notification
AssertionError
======================================================================
FAIL: test_webhook_payload (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura/ForgeGit/forgegit/tests/model/test_repository.py", line 710, in
test_webhook_payload
assert_equals(payload, expected_payload)
File "/allura-data/virtualenv/lib/python3.7/site-packages/datadiff/tools.py",
line 34, in assert_equal
raise AssertionError(msg)
AssertionError:
--- a
+++ b
{
-'after': '',
+'after': '5c47243c8e424136fd5cdd18cd94d34c66d1955c',
-'before': '',
+'before': 'df30427c488aeab84b2352bdf88a3b19223f9d7a',
'commits': [
@@ -0 +0,1 @@
+{'id': '5c47243c8e424136fd5cdd18cd94d34c66d1955c', 'url':
'http://localhost/p/test/src-git/ci/5c47243c8e424136fd5cdd18cd94d34c66d1955c/',
'timestamp': datetime.datetime(2013, 3, 28, 18, 54, 16), 'message': 'Not repo
root', 'author': {'name': 'Cory Johns', 'email': '[email protected]',
'username': 'cory'}, 'committer': {'name': 'Cory Johns', 'email':
'[email protected]', 'username': 'cory'}, 'added': ['bad'], 'removed':
[], 'modified': [], 'copied': [], 'renamed': []},
+{'id': '1e146e67985dcd71c74de79613719bef7bddca4a', 'url':
'http://localhost/p/test/src-git/ci/1e146e67985dcd71c74de79613719bef7bddca4a/',
'timestamp': datetime.datetime(2010, 10, 7, 18, 44, 11), 'message': 'Change
README', 'author': {'name': 'Rick Copeland', 'email': '[email protected]',
'username': 'rick'}, 'committer': {'name': 'Rick Copeland', 'email':
'[email protected]', 'username': 'rick'}, 'added': [], 'removed': [],
'modified': ['README'], 'copied': [], 'renamed': []},
],
'ref': 'refs/heads/zz',
'repository': {'name': 'Git', 'full_name': '/p/test/src-git/', 'url':
'http://localhost/p/test/src-git/'},
-'size': 0,
+'size': 2,
}
----------------------------------------------------------------------
Ran 156 tests in 281.341s
FAILED (errors=55, failures=41)
Exception ignored in: <function Git.AutoInterrupt.__del__ at 0x7fbb203424d0>
Traceback (most recent call last):
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
389, in __del__
BrokenPipeError: [Errno 32] Broken pipe
Exception ignored in: <function Git.AutoInterrupt.__del__ at 0x7fbb203424d0>
Traceback (most recent call last):
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
389, in __del__
BrokenPipeError: [Errno 32] Broken pipe
Exception ignored in: <function Git.AutoInterrupt.__del__ at 0x7fbb203424d0>
Traceback (most recent call last):
File "/allura-data/virtualenv/lib/python3.7/site-packages/git/cmd.py", line
389, in __del__
BrokenPipeError: [Errno 32] Broken pipe
finished `nosetests --with-xunitmp ` in ForgeGit
.......................................................................................
----------------------------------------------------------------------
Ran 87 tests in 304.607s
OK
finished `nosetests --with-xunitmp ` in ForgeSVN
....................................................................................................................................................................................................................................................................................................................................................S...................................................................................................................................................................................................................................................................................................SSSSSSSS.......................................................................................................................................S........................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1232 tests in 302.190s
OK (SKIP=10)
finished `nosetests allura/tests/ --with-xunitmp --processes=4
--process-timeout=360` in Allura
1
=============================================================================
Shutdown
=============================================================================
Stopping allura_solr_1 ...
Stopping allura_mongo_1 ...
Stopping allura_solr_1 ... done
Stopping allura_mongo_1 ... done
Removing allura_web_run_c1e7b8d321c2 ...
Removing allura_web_run_1a7917135bf7 ...
Removing allura_web_run_7b16eb637ee2 ...
Removing allura_web_run_274bc92185d6 ...
Removing allura_web_run_23d08002a7f0 ...
Removing allura_web_run_1bee0cad89d3 ...
Removing allura_solr_1 ...
Removing allura_mongo_1 ...
Removing allura_web_run_274bc92185d6 ... done
Removing allura_solr_1 ... done
Removing allura_web_run_23d08002a7f0 ... done
Removing allura_web_run_c1e7b8d321c2 ... done
Removing allura_web_run_7b16eb637ee2 ... done
Removing allura_web_run_1a7917135bf7 ... done
Removing allura_mongo_1 ... done
Removing allura_web_run_1bee0cad89d3 ... done
Removing network allura_default
Total reclaimed space: 0B
Deleted Volumes:
e73a046656c7c53a9ac36b903744b709a453ebbdf41e957c1d643d5e7d24a248
Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.
Publishing Clover coverage report...
No Clover report will be published due to a build Failure