See <https://builds.apache.org/job/Allura/1259/display/redirect?page=changes>
Changes: [dave] [#8187] Allows editing of forum thread subjects ------------------------------------------ [...truncated 49.89 KB...] <DummyProcess(Thread-3, started daemon 140713146918656)> running `nosetests --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 140713138525952)> running `nosetests --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 140712926508800)> running `nosetests --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 140712918116096)> running `nosetests --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion .. ---------------------------------------------------------------------- Ran 2 tests in 3.285s OK finished `nosetests --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-5, started daemon 140712926508800)> running `nosetests --with-xunitmp --cover-package=forgegit ` in ForgeGit ............No config file found, using default configuration .No config file found, using default configuration .No config file found, using default configuration ................... ---------------------------------------------------------------------- Ran 19 tests in 8.673s OK .No config file found, using default configuration finished `nosetests --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-3, started daemon 140713146918656)> running `nosetests --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=360` in ForgeImporters .No config file found, using default configuration .No config file found, using default configuration .No config file found, using default configuration .No config file found, using default configuration .No config file found, using default configuration ....No config file found, using default configuration .No config file found, using default configuration .No config file found, using default configuration . ---------------------------------------------------------------------- Ran 27 tests in 19.637s OK finished `nosetests --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-1, started daemon 140713163704064)> running `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink ...........................................SSS....... ---------------------------------------------------------------------- Ran 53 tests in 20.469s OK (SKIP=3) finished `nosetests --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-4, started daemon 140713138525952)> running `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl ................. ---------------------------------------------------------------------- Ran 17 tests in 7.081s OK finished `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-1, started daemon 140713163704064)> running `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ........... ---------------------------------------------------------------------- Ran 11 tests in 6.561s OK finished `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-4, started daemon 140713138525952)> running `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats ...............................................................S.......................................SSSS..SS..........S. ---------------------------------------------------------------------- Ran 123 tests in 27.253s OK (SKIP=8) finished `nosetests --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-3, started daemon 140713146918656)> running `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki ............ ---------------------------------------------------------------------- Ran 12 tests in 17.621s OK finished `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-4, started daemon 140713138525952)> 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 247, 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 205, 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 383, 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 108, in top-level template code {% block content_base %} File "<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/jinja_master/master.html",> line 134, 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 83, 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 67 tests in 54.466s FAILED (errors=1) finished `nosetests --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion ...........................................................S........ ---------------------------------------------------------------------- Ran 68 tests in 38.250s OK (SKIP=1) finished `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki ................................................................................................................................................................................................. ---------------------------------------------------------------------- Ran 193 tests in 101.635s OK finished `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ................................................................................................................................................................................................................................................................................................................S.....................................................................................................................................................................................................................................................................SSSSSSSSSSS............................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 1124 tests in 200.687s OK (SKIP=13) finished `nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=360` in Allura .............................................................................................................................................. ---------------------------------------------------------------------- Ran 142 tests in 257.656s OK finished `nosetests --with-xunitmp --cover-package=forgegit ` in ForgeGit Running setup_app() from allura.websetup /p/test/wiki/_discuss/thread/31ea9602/ 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