See <https://builds.apache.org/job/Allura/1278/display/redirect?page=changes>

Changes:

[ktaylor] Add a note to the debug section about how to do it with docker

------------------------------------------
[...truncated 69.08 KB...]
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 17 tests in 7.130s

FAILED (failures=2)
...F......F
======================================================================
FAIL: forgeshorturl.tests.functional.test.TestRootController.test_shorturl_add
----------------------------------------------------------------------
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/ForgeShortUrl/forgeshorturl/tests/functional/test.py";,>
 line 46, in test_shorturl_add
    assert redirected.request.url == 'http://www.google.com/'
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: 
forgeshorturl.tests.functional.test.TestRootController.test_shorturl_update
----------------------------------------------------------------------
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/ForgeShortUrl/forgeshorturl/tests/functional/test.py";,>
 line 63, in test_shorturl_update
    assert redirected.request.url == 'http://www.google.com/'
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 11 tests in 6.223s

FAILED (failures=2)
finished `nosetests  --with-xunitmp --cover-package=forgelink --processes=4 
--process-timeout=360` in ForgeLink
<DummyProcess(Thread-1, started daemon 140532208559872)> running `nosetests  
--with-xunitmp --cover-package=forgetracker --processes=4 
--process-timeout=360` in ForgeTracker

finished `nosetests  --with-xunitmp --cover-package=forgeshorturl --processes=4 
--process-timeout=360` in ForgeShortUrl
<DummyProcess(Thread-4, started daemon 140532183381760)> running `nosetests  
--with-xunitmp --cover-package=forgeuserstats --processes=4 
--process-timeout=360` in ForgeUserStats

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

OK (SKIP=8)
finished `nosetests  --with-xunitmp --cover-package=forgeimporters 
--processes=4 --process-timeout=360` in ForgeImporters
<DummyProcess(Thread-3, started daemon 140532191774464)> running `nosetests  
--with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` 
in ForgeWiki

............
----------------------------------------------------------------------
Ran 12 tests in 15.961s

OK
finished `nosetests  --with-xunitmp --cover-package=forgeuserstats 
--processes=4 --process-timeout=360` in ForgeUserStats
<DummyProcess(Thread-4, started daemon 140532183381760)> 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 109, in top-level template code
    {% block content_base %}
  File 
"<https://builds.apache.org/job/Allura/ws/Allura/allura/templates/jinja_master/master.html";,>
 line 135, 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}}&nbsp;
  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 53.704s

FAILED (errors=1)
finished `nosetests  --with-xunitmp --cover-package=forgediscussion 
--processes=4 --process-timeout=360` in ForgeDiscussion
...........................................................S........
----------------------------------------------------------------------
Ran 68 tests in 38.319s

OK (SKIP=1)
finished `nosetests  --with-xunitmp --cover-package=forgewiki --processes=4 
--process-timeout=360` in ForgeWiki
...................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 195 tests in 104.911s

OK
finished `nosetests  --with-xunitmp --cover-package=forgetracker --processes=4 
--process-timeout=360` in ForgeTracker
.................................................................................................................................F................................................................................................................................................................................S.....................................................................................................................................................................................................................................................................SSSSSSSSSSS...............................................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: allura.tests.functional.test_auth.TestOAuth.test_request_token_valid
----------------------------------------------------------------------
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/functional/test_auth.py";,>
 line 1618, in test_request_token_valid
    query_string='')
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock.py";,>
 line 846, in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock.py";,>
 line 835, in assert_called_with
    raise AssertionError(msg)
AssertionError: Expected call: from_request('POST', 
'http://localhost/rest/oauth/request_token', query_string='', headers={'Host': 
'localhost:80', 'Content-Type': 'application/x-www-form-urlencoded; 
charset="utf-8"'}, parameters={'key': 'value'})
Actual call: from_request('POST', 'http://localhost/rest/oauth/request_token', 
query_string='', headers={'Host': 'localhost', 'Content-Type': 
'application/x-www-form-urlencoded; charset="utf-8"'}, parameters={'key': 
u'value'})
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 1129 tests in 202.920s

FAILED (SKIP=13, failures=1)
finished `nosetests allura/tests/ --with-xunitmp --cover-package=allura 
--processes=4 --process-timeout=360` in Allura
..............................................................................................................................................
----------------------------------------------------------------------
Ran 142 tests in 225.155s

OK
finished `nosetests  --with-xunitmp --cover-package=forgegit ` in ForgeGit
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/e92f0f89/ 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

Reply via email to