FYI, these specific failures are kind of random, I think depending on how many
processes are used via ./run_tests and depending on when exactly some tests run.
 I don't know exactly how to fix it, but they do pass quite often on Jenkins and
other systems too.

On 7/11/16 11:35 AM, Apache Jenkins Server wrote:
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_closed
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 271, in test_get_site_notification_closed
>     assert_is_none(ThemeProvider().get_site_notification())
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_impressions_persistent
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 314, in test_get_site_notification_impressions_persistent
>     assert_is(ThemeProvider().get_site_notification(), note)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_new_notification
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 327, in test_get_site_notification_new_notification
>     assert_is(ThemeProvider().get_site_notification(), note)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_with_page_regex
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 433, in test_get_site_notification_with_page_regex
>     assert_is(ThemeProvider().get_site_notification(), note)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_with_role
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 400, in test_get_site_notification_with_role
>     assert_is(ThemeProvider().get_site_notification(), None)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ======================================================================
> ERROR: 
> allura.tests.test_plugin.TestThemeProvider.test_get_site_notification_without_role
> ----------------------------------------------------------------------
> 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-venv/local/lib/python2.7/site-packages/mock.py";,>
>  line 1201, in patched
>     return func(*args, **keywargs)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_plugin.py";,>
>  line 422, in test_get_site_notification_without_role
>     assert_is(ThemeProvider().get_site_notification(), note)
>   File 
> "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/plugin.py";,> line 
> 1335, in get_site_notification
>     tool_name = c.app.config.tool_name if c.app else ''
>   File 
> "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py";,>
>  line 137, in __getattr__
>     return getattr(self._current_obj(), attr)
> AttributeError: 'EmptyClass' object has no attribute 'app'
> 
> ----------------------------------------------------------------------
> Ran 1067 tests in 146.673s
> 
> FAILED (SKIP=13, errors=6)
> finished `nosetests allura/tests/ --with-xunitmp --cover-package=allura 
> --processes=4 --process-timeout=360` in Allura
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgeactivity --processes=4 
> --process-timeout=360` in ForgeActivity
> 
> ...................
> ----------------------------------------------------------------------
> Ran 19 tests in 5.700s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgeactivity 
> --processes=4 --process-timeout=360` in ForgeActivity
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` 
> in ForgeBlog
> 
> ................................................SSS.
> ----------------------------------------------------------------------
> Ran 52 tests in 12.278s
> 
> OK (SKIP=3)
> finished `nosetests  --with-xunitmp --cover-package=forgeblog --processes=4 
> --process-timeout=360` in ForgeBlog
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360` 
> in ForgeChat
> 
> ..
> ----------------------------------------------------------------------
> Ran 2 tests in 2.227s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgechat --processes=4 
> --process-timeout=360` in ForgeChat
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgediscussion --processes=4 
> --process-timeout=360` in ForgeDiscussion
> 
> ..................................................................
> ----------------------------------------------------------------------
> Ran 66 tests in 31.244s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgediscussion 
> --processes=4 --process-timeout=360` in ForgeDiscussion
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgegit ` in ForgeGit
> 
> .........................................................................................................................................
> ----------------------------------------------------------------------
> Ran 137 tests in 480.114s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgegit ` in ForgeGit
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgeimporters --processes=4 
> --process-timeout=360` in ForgeImporters
> 
> ...............................................................S.......................................SSSS..SS..........S.
> ----------------------------------------------------------------------
> Ran 123 tests in 16.173s
> 
> OK (SKIP=8)
> finished `nosetests  --with-xunitmp --cover-package=forgeimporters 
> --processes=4 --process-timeout=360` in ForgeImporters
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` 
> in ForgeLink
> 
> .................
> ----------------------------------------------------------------------
> Ran 17 tests in 5.057s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgelink --processes=4 
> --process-timeout=360` in ForgeLink
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgeshorturl --processes=4 
> --process-timeout=360` in ForgeShortUrl
> 
> ...........
> ----------------------------------------------------------------------
> Ran 11 tests in 4.227s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgeshorturl 
> --processes=4 --process-timeout=360` in ForgeShortUrl
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgetracker --processes=4 
> --process-timeout=360` in ForgeTracker
> 
> .................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 193 tests in 77.232s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgetracker 
> --processes=4 --process-timeout=360` in ForgeTracker
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgeuserstats --processes=4 
> --process-timeout=360` in ForgeUserStats
> 
> ............
> ----------------------------------------------------------------------
> Ran 12 tests in 11.767s
> 
> OK
> finished `nosetests  --with-xunitmp --cover-package=forgeuserstats 
> --processes=4 --process-timeout=360` in ForgeUserStats
> <DummyProcess(Thread-1, started daemon 140716746864384)> running `nosetests  
> --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` 
> in ForgeWiki
> 
> ...........................................................S........
> ----------------------------------------------------------------------
> Ran 68 tests in 26.123s
> 
> OK (SKIP=1)
> finished `nosetests  --with-xunitmp --cover-package=forgewiki --processes=4 
> --process-timeout=360` in ForgeWiki
> <DummyProcess(Thread-1, started daemon 140716746864384)> 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
> 
> /usr/bin/env: node: No such file or directory
> finished `npm run lint-es6` in .
> Running setup_app() from allura.websetup
> /p/test/wiki/_discuss/thread/691e5e98/ 200 OK
> {"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 105}
> 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
> 



-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Reply via email to