See <https://builds.apache.org/job/Allura/1305/display/redirect?page=changes>
Changes: [ktaylor] [#8212] handle case where github event can have a null user ------------------------------------------ [...truncated 66.55 KB...] .No config file found, using default configuration ..................................................SSS ---------------------------------------------------------------------- Ran 53 tests in 17.393s OK (SKIP=3) finished `nosetests --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 140525522355968)> running `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink .No config file found, using default configuration . ---------------------------------------------------------------------- Ran 27 tests in 18.331s OK finished `nosetests --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-1, started daemon 140525555926784)> running `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl ................. ---------------------------------------------------------------------- Ran 17 tests in 5.798s OK finished `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-5, started daemon 140525522355968)> running `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ........... ---------------------------------------------------------------------- Ran 11 tests in 5.506s OK finished `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-1, started daemon 140525555926784)> running `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats .............................................S.........................................................SSSS..SS..........S. ---------------------------------------------------------------------- Ran 123 tests in 21.501s OK (SKIP=8) finished `nosetests --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-3, started daemon 140525539141376)> running `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki ............ ---------------------------------------------------------------------- Ran 12 tests in 13.427s OK finished `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-1, started daemon 140525555926784)> 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 . ..................................E................................. ====================================================================== ERROR: forgediscussion.tests.functional.test_forum.TestForumMessageHandling.test_posts ---------------------------------------------------------------------- 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/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py",> line 248, in test_posts r = self.app.get(url, params=dict(version='1')) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 322, in get resp = super(ValidatingTestApp, self).get(*args, **kw) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 269, in get return super(PostParamCheckingTestApp, self).get(*args, **kwargs) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/app.py",> line 756, in get expect_errors=expect_errors) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/app.py",> line 1099, in do_request res = req.get_response(app, catch_exc_info=True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webob/request.py",> line 1049, in get_response application, catch_exc_info=True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webob/request.py",> line 1022, in call_application app_iter = application(self.environ, start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/lint.py",> line 179, in lint_app iterator = application(environ, start_response_wrapper) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/middleware.py",> line 150, in __call__ self.app, environ, catch_exc_info=True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/util.py",> line 51, in call_wsgi_application output.extend(app_iter) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/paste/registry.py",> line 409, in streaming_iter for item in self.application(environ, start_response): File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/middleware.py",> line 29, in __call__ result = self.app(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/custom_middleware.py",> line 60, in __call__ return self.app(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ew/middleware.py",> line 65, in __call__ result = self.app(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/custom_middleware.py",> line 260, in __call__ return resp(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/config/middleware.py",> line 207, in AlluraGlobalsMiddleware return app(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/custom_middleware.py",> line 214, in __call__ return self._app(environ, session_start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/timermiddleware/__init__.py",> line 202, in __call__ resp = req.get_response(self.app) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webob/request.py",> line 1053, in get_response application, catch_exc_info=False) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webob/request.py",> line 1022, in call_application app_iter = application(self.environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/custom_middleware.py",> line 153, in __call__ self.app, environ, catch_exc_info=True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/util.py",> line 48, in call_wsgi_application app_iter = application(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/custom_middleware.py",> line 402, in __call__ return self.app(environ, remember_login_start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/beaker/middleware.py",> line 155, in __call__ return self.wrap_app(environ, session_start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/routes/middleware.py",> line 131, in __call__ response = self.app(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py",> line 107, in __call__ response = self.dispatch(controller, environ, start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py",> line 312, in dispatch return controller(environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/controllers/basetest_project_root.py",> line 143, in __call__ return WsgiDispatchController.__call__(self, environ, start_response) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/base.py",> line 49, in __call__ environ, start_response) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/controllers/core.py",> line 211, in __call__ response = self._dispatch_call() File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/controllers/core.py",> line 162, in _dispatch_call response = self._inspect_call(func) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pylons/controllers/core.py",> line 105, in _inspect_call result = self._perform_call(func, args) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/controllers/dispatcher.py",> line 258, in _perform_call r = self._call(func, params, remainder=remainder) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py",> line 142, in _call response = self._render_response(controller, output) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py",> line 331, in _render_response **render_params) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/render.py",> line 188, in render kwargs['result'] = render_function(template_name, tg_vars, **kwargs) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/render.py",> line 470, in render_jinja cache_key=cache_key, cache_type=cache_type, cache_expire=cache_expire) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/render.py",> line 253, in cached_template return render_func() File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/tg/render.py",> line 467, in render_template return literal(template.render(**globs)) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/jinja2/environment.py",> line 1008, in render return self.environment.handle_exception(exc_info, True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/jinja2/environment.py",> line 780, in handle_exception reraise(exc_type, exc_value, tb) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/discussion/post.html",> line 19, in top-level template code {% extends g.theme.master %} File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/jinja_master/master.html",> line 111, in top-level template code {% block content_base %} File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/jinja_master/master.html",> line 137, in block "content_base" {% block content %}{% endblock %} File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/discussion/post.html",> line 32, in block "content" <li>{{c.post.display(value=post)}}</li> File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ew/widget.py",> line 45, in display return self.template(context) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ew/render.py",> line 32, in __call__ return self.engine.render(self.template, context) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/config/app_cfg.py",> line 133, in render text = template.render(**context) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/jinja2/environment.py",> line 1008, in render return self.environment.handle_exception(exc_info, True) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/jinja2/environment.py",> line 780, in handle_exception reraise(exc_type, exc_value, tb) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/widgets/post_widget.html",> line 81, in top-level template code {{g.markdown.cached_convert(value, 'text')|safe}} File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/app_globals.py",> line 137, in cached_convert with utils.skip_mod_date(artifact.__class__), \ File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/utils.py",> line 687, in skip_mod_date skip_mod_date = getattr(session(model_cls)._get(), 'skip_mod_date', False) File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/ming/odm/base.py",> line 10, in session return v.query.mapper.session AttributeError: type object 'Object' has no attribute 'query' -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 68 tests in 43.429s FAILED (errors=1) finished `nosetests --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion ............................................................S........ ---------------------------------------------------------------------- Ran 69 tests in 28.730s OK (SKIP=1) finished `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki .................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 196 tests in 79.954s OK finished `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ....EE..............................................................................................................................................................................................................................................................................................................S.....................................................................................................................................................................................................................................................................SSSSSSSSSSS...............................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................... ====================================================================== ERROR: allura.tests.functional.test_admin.TestExport.test_bulk_export_path_for_nbhd ---------------------------------------------------------------------- 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/functional/test_admin.py",> line 1089, in test_bulk_export_path_for_nbhd assert_equals(project.bulk_export_path(), '/tmp/bulk_export/p/p') File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/project.py",> line 1139, in bulk_export_path return rootdir.format( AttributeError: 'NoneType' object has no attribute 'format' -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ====================================================================== ERROR: allura.tests.functional.test_admin.TestExport.test_bulk_export_path_for_user_project ---------------------------------------------------------------------- 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 46, in wrapped return func(*args, **kw) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/functional/test_admin.py",> line 1075, in test_bulk_export_path_for_user_project assert_equals(project.bulk_export_path(), File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/project.py",> line 1139, in bulk_export_path return rootdir.format( AttributeError: 'NoneType' object has no attribute 'format' -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 1131 tests in 156.442s FAILED (SKIP=13, errors=2) finished `nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=360` in Allura .............................................................................................................................................. ---------------------------------------------------------------------- Ran 142 tests in 202.364s OK finished `nosetests --with-xunitmp --cover-package=forgegit ` in ForgeGit Running setup_app() from allura.websetup /p/test/wiki/_discuss/thread/7178870c/ 200 OK {"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 111} Build step 'Execute shell' marked build as failure Recording plot data [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ... Recording test results