allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Allura #1183
Date Fri, 21 Jul 2017 18:38:33 GMT
See <https://builds.apache.org/job/Allura/1183/display/redirect?page=changes>

Changes:

[dave] [#8159] Loosen IP matching restrictions for antispam checks

------------------------------------------
[...truncated 61.31 KB...]
    session.impl.insert(doc, validate=False)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 23, in wrapper
    return func(self, doc, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 163, in insert
    bson = self._impl(doc).insert(data, safe=kwargs.get('safe', True))
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 390, in insert
    bson_safe(doc)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 1065, in bson_safe
    bson.BSON.encode(obj)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/bson/__init__.py",>
line 672, in encode
    return cls(_dict_to_bson(document, check_keys, uuid_subtype))
InvalidDocument: ("Cannot encode object: <MagicMock name='convert()._deinstrument()' id='139824912877904'>",
"doc:  {'import_id': None, 'status': 'pending', 'spam_check_id': '', 'deleted': False, 'text':
u'**bold**', 'labels': [], 'app_id': ObjectId('5972481763aafc5c0aef24c2'), 'thread_id': None,
'discussion_id': None, 'mod_date': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'app_config_id':
ObjectId('5972481763aafc5c0aef24c2'), 'last_edit_date': None, 'slug': 'b67c', 'is_meta': False,
'edit_count': 0, 'last_edit_by_id': None, 'text_cache': {'render_time': 0.002033233642578125,
'html': <MagicMock name='convert()._deinstrument()' id='139824912877904'>, 'fix7528':
3, 'md5': 'bc0c583b1ae32c4aa45a1476678a9239'}, 'acl': [], 'parent_id': None, 'full_slug':
None, 'version': 0, 'timestamp': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'author_id':
ObjectId('5972481763aafc5c0aef247a'), '_id': u'b930503290c37191300ce981ea9791ac3e502a0f.wiki@test.p.localhost'}")
-------------------- >> begin captured logging << --------------------
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: allura.tests.test_globals.test_hideawards_macro
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/nose/case.py",>
line 197, in runTest
    self.test(*self.arg)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/decorators.py",>
line 82, in wrapped
    return func(*args, **kw)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_globals.py",>
line 631, in test_hideawards_macro
    ThreadLocalORMSession.flush_all()
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/odmsession.py",>
line 411, in flush_all
    sess.flush()
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/odmsession.py",>
line 99, in flush
    self.uow.flush()
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/unit_of_work.py",>
line 45, in flush
    inow(obj, st)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/odmsession.py",>
line 111, in insert_now
    mapper(obj).insert(obj, st, self, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/mapper.py",>
line 71, in insert
    session.impl.insert(doc, validate=False)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 23, in wrapper
    return func(self, doc, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 163, in insert
    bson = self._impl(doc).insert(data, safe=kwargs.get('safe', True))
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 390, in insert
    bson_safe(doc)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 1065, in bson_safe
    bson.BSON.encode(obj)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/bson/__init__.py",>
line 672, in encode
    return cls(_dict_to_bson(document, check_keys, uuid_subtype))
InvalidDocument: ("Cannot encode object: <MagicMock name='convert()._deinstrument()' id='139824912877904'>",
"doc:  {'import_id': None, 'status': 'pending', 'spam_check_id': '', 'deleted': False, 'text':
u'**bold**', 'labels': [], 'app_id': ObjectId('5972481763aafc5c0aef24c2'), 'thread_id': None,
'discussion_id': None, 'mod_date': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'app_config_id':
ObjectId('5972481763aafc5c0aef24c2'), 'last_edit_date': None, 'slug': 'b67c', 'is_meta': False,
'edit_count': 0, 'last_edit_by_id': None, 'text_cache': {'render_time': 0.002033233642578125,
'html': <MagicMock name='convert()._deinstrument()' id='139824912877904'>, 'fix7528':
3, 'md5': 'bc0c583b1ae32c4aa45a1476678a9239'}, 'acl': [], 'parent_id': None, 'full_slug':
None, 'version': 0, 'timestamp': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'author_id':
ObjectId('5972481763aafc5c0aef247a'), '_id': u'b930503290c37191300ce981ea9791ac3e502a0f.wiki@test.p.localhost'}")
-------------------- >> begin captured logging << --------------------
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: allura.tests.test_globals.test_macro_include_no_extra_br
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/nose/case.py",>
line 197, in runTest
    self.test(*self.arg)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/decorators.py",>
line 82, in wrapped
    return func(*args, **kw)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_globals.py",>
line 278, in test_macro_include_no_extra_br
    p.commit()
  File "<https://builds.apache.org/job/Allura/ws/ForgeWiki/forgewiki/model/wiki.py",>
line 148, in commit
    session(self).flush()
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/odmsession.py",>
line 99, in flush
    self.uow.flush()
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/unit_of_work.py",>
line 45, in flush
    inow(obj, st)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/odmsession.py",>
line 111, in insert_now
    mapper(obj).insert(obj, st, self, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",>
line 27, in inner
    result = func(obj, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/mapper.py",>
line 71, in insert
    session.impl.insert(doc, validate=False)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 23, in wrapper
    return func(self, doc, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/session.py",>
line 163, in insert
    bson = self._impl(doc).insert(data, safe=kwargs.get('safe', True))
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 390, in insert
    bson_safe(doc)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/mim.py",>
line 1065, in bson_safe
    bson.BSON.encode(obj)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/bson/__init__.py",>
line 672, in encode
    return cls(_dict_to_bson(document, check_keys, uuid_subtype))
InvalidDocument: ("Cannot encode object: <MagicMock name='convert()._deinstrument()' id='139824912877904'>",
"doc:  {'import_id': None, 'status': 'pending', 'spam_check_id': '', 'deleted': False, 'text':
u'**bold**', 'labels': [], 'app_id': ObjectId('5972481763aafc5c0aef24c2'), 'thread_id': None,
'discussion_id': None, 'mod_date': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'app_config_id':
ObjectId('5972481763aafc5c0aef24c2'), 'last_edit_date': None, 'slug': 'b67c', 'is_meta': False,
'edit_count': 0, 'last_edit_by_id': None, 'text_cache': {'render_time': 0.002033233642578125,
'html': <MagicMock name='convert()._deinstrument()' id='139824912877904'>, 'fix7528':
3, 'md5': 'bc0c583b1ae32c4aa45a1476678a9239'}, 'acl': [], 'parent_id': None, 'full_slug':
None, 'version': 0, 'timestamp': datetime.datetime(2017, 7, 21, 18, 29, 43, 975757), 'author_id':
ObjectId('5972481763aafc5c0aef247a'), '_id': u'b930503290c37191300ce981ea9791ac3e502a0f.wiki@test.p.localhost'}")
-------------------- >> begin captured logging << --------------------
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Snapshot version 1 of <class 'forgewiki.model.wiki.Page'>
allura.model.artifact: DEBUG: Not updating mod_date
allura.model.artifact: DEBUG: Not updating mod_date
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_empty_cache (allura.tests.test_globals.TestCachedMarkdown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock.py",>
line 1618, in _inner
    return f(*args, **kw)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_globals.py",>
line 695, in test_empty_cache
    self.assertEqual(html, self.post.text_cache.html)
AssertionError: u'<p><strong>bold</strong></p>' != None

======================================================================
FAIL: test_stale_cache (allura.tests.test_globals.TestCachedMarkdown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock.py",>
line 1618, in _inner
    return f(*args, **kw)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_globals.py",>
line 706, in test_stale_cache
    self.assertEqual(html, self.post.text_cache.html)
AssertionError: u'<p>new, different source text</p>' != None

======================================================================
FAIL: test_valid_cache (allura.tests.test_globals.TestCachedMarkdown)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock.py",>
line 1618, in _inner
    return f(*args, **kw)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_globals.py",>
line 717, in test_valid_cache
    self.assertEqual(html, self.expected_html)
AssertionError: <MagicMock name='convert()' id='139824911875600'> != u'<p><strong>bold</strong></p>'

----------------------------------------------------------------------
Ran 1116 tests in 139.134s

FAILED (SKIP=13, errors=3, failures=3)
finished `nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=360`
in Allura
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgeactivity --processes=4 --process-timeout=360` in ForgeActivity

...................
----------------------------------------------------------------------
Ran 19 tests in 4.924s

OK
finished `nosetests  --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=360`
in ForgeActivity
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog

.................................................SSS.
----------------------------------------------------------------------
Ran 53 tests in 11.466s

OK (SKIP=3)
finished `nosetests  --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360`
in ForgeBlog
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgechat --processes=4 --process-timeout=360` in ForgeChat

..
----------------------------------------------------------------------
Ran 2 tests in 1.789s

OK
finished `nosetests  --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360`
in ForgeChat
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion

..................................................................
----------------------------------------------------------------------
Ran 66 tests in 26.904s

OK
finished `nosetests  --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360`
in ForgeDiscussion
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgegit ` in ForgeGit

.............................................................................................................................................
----------------------------------------------------------------------
Ran 141 tests in 261.283s

OK
finished `nosetests  --with-xunitmp --cover-package=forgegit ` in ForgeGit
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgeimporters --processes=4 --process-timeout=360` in ForgeImporters

...............................................................................S.......................SSSS..SS..........S.
----------------------------------------------------------------------
Ran 123 tests in 16.824s

OK (SKIP=8)
finished `nosetests  --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=360`
in ForgeImporters
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink

.................
----------------------------------------------------------------------
Ran 17 tests in 5.692s

OK
finished `nosetests  --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360`
in ForgeLink
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl

...........
----------------------------------------------------------------------
Ran 11 tests in 3.826s

OK
finished `nosetests  --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360`
in ForgeShortUrl
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker

.................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 193 tests in 88.207s

OK
finished `nosetests  --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360`
in ForgeTracker
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats

............
----------------------------------------------------------------------
Ran 12 tests in 8.135s

OK
finished `nosetests  --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360`
in ForgeUserStats
<DummyProcess(Thread-1, started daemon 139659030497024)> running `nosetests  --with-xunitmp
--cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki

...........................................................S........
----------------------------------------------------------------------
Ran 68 tests in 23.691s

OK (SKIP=1)
finished `nosetests  --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360`
in ForgeWiki
<DummyProcess(Thread-1, started daemon 139659030497024)> running `npm run lint-es6`
in .


> allura@0.0.0 lint-es6 <https://builds.apache.org/job/Allura/ws/>
> eslint -c .eslintrc-es6  --ignore-path .eslintignore-es6 Allura/allura/public/**/*.es6.js
|| true

finished `npm run lint-es6` in .
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/c37f42a8/ 200 OK
{"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 111}
Build step 'Execute shell' marked build as failure
Recording plot data
Skipping Cobertura coverage report as build was not SUCCESS or better ...
Recording test results

Mime
View raw message