You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/02/16 22:51:27 UTC

Build failed in Jenkins: Allura #767

See <https://builds.apache.org/job/Allura/767/changes>

Changes:

[jetmind2] [#4542] ticket:714 Basic webhooks framework & repo-push hook

[jetmind2] [#4542] ticket:714 Sign webhook payload

[jetmind2] [#4542] ticket:714 Audit log of webhooks added

[jetmind2] [#4542] ticket:714 Edit webhooks & validation improvements

[jetmind2] [#4542] ticket:714 Delete webhooks

[jetmind2] [#4542] ticket:714 Handle DuplicateKeyError

[jetmind2] [#4542] ticket:714 Add tests for new webhook functionality

[jetmind2] [#4542] ticket:715 Add rate limits

[jetmind2] [#4542] ticket:715 Add thresholds

[jetmind2] [#4542] ticket:715 Better error handling & retries

[jetmind2] [#4542] ticket:723 Tweak error message

[jetmind2] [#4542] ticket:723 Change repo-push hook payload

[jetmind2] [#4542] ticket:726 Move 'Webhooks' from sidebar to app admin

[jetmind2] [#4542] ticket:726 Add edit link and truncate long urls

[jetmind2] [#4542] ticket:726 Fix tests

[jetmind2] [#4542] ticket:726 Fix git & svn admin menu tests

[jetmind2] [#4542] ticket:728 Use admin_url in Webhook.url()

[jetmind2] [#4542] ticket:728 Add ref to webhook payload

[jetmind2] [#4542] ticket:728 Don't enforce limit if multiple branches pushed at once

[jetmind2] [#4542] ticket:728 Handle case when every commit has no branch (i.e. svn)

[jetmind2] [#4542] ticket:728 Convert svn ids

[jetmind2] [#4542] ticket:728 Fix tests

[jetmind2] [#4542] ticket:728 Add more test + refactoring

------------------------------------------
[...truncated 1447 lines...]
  Running setup.py install for WebTest
    
    warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'
    warning: no files found matching '*.txt' under directory 'tests'
  Running setup.py install for testfixtures
    
  Running setup.py install for q
    
  Running setup.py install for WebError
    paster_plugins not set in setup(), but WebError.egg-info/paster_plugins.txt exists
    
Successfully installed pytz ActivityStream BeautifulSoup Beaker chardet colander Creoleparser decorator docutils EasyWidgets faulthandler feedparser FormEncode Genshi html5lib httplib2 iso8601 Jinja2 Markdown Ming oauth2 Paste PasteDeploy PasteScript Pillow poster Pygments pymongo Pypeline pysolr python-dateutil python-magic python-oembed requests oauthlib requests-oauthlib setproctitle six textile translationstring TimerMiddleware TurboGears2 WebOb Babel Mako MarkupSafe Pylons simplejson Tempita Routes WebFlash WebHelpers GitPython async gitdb smmap datadiff ipython mock nose pyflakes WebTest testfixtures q WebError
Cleaning up...
Downloading/unpacking pep8
  Storing download in cache at /tmp/python-pip-cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpep8%2Fpep8-1.6.2.tar.gz
  Running setup.py egg_info for package pep8
    
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'testsuite'
    warning: no previously-included files matching '*.pyo' found under directory 'testsuite'
    no previously-included directories found matching 'docs/_build'
Requirement already satisfied (use --upgrade to upgrade): pyflakes in ./.allura-venv/lib/python2.7/site-packages
Downloading/unpacking coverage
  Storing download in cache at /tmp/python-pip-cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fc%2Fcoverage%2Fcoverage-4.0a4.tar.gz
  Running setup.py egg_info for package coverage
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking nose-xunitmp
  Downloading nose_xunitmp-0.3.2.tar.gz
  Storing download in cache at /tmp/python-pip-cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fn%2Fnose_xunitmp%2Fnose_xunitmp-0.3.2.tar.gz
  Running setup.py egg_info for package nose-xunitmp
    
Requirement already satisfied (use --upgrade to upgrade): nose in ./.allura-venv/lib/python2.7/site-packages (from nose-xunitmp)
Installing collected packages: pep8, coverage, nose-xunitmp
  Running setup.py install for pep8
    
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'testsuite'
    warning: no previously-included files matching '*.pyo' found under directory 'testsuite'
    no previously-included directories found matching 'docs/_build'
    Installing pep8 script to <https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
  Running setup.py install for coverage
    building 'coverage.tracer' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/tracer.c -o build/temp.linux-x86_64-2.7/coverage/tracer.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/coverage/tracer.o -o build/lib.linux-x86_64-2.7/coverage/tracer.so
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    Installing coverage2 script to <https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
    Installing coverage-2.7 script to <https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
    Installing coverage script to <https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
  Running setup.py install for nose-xunitmp
    
Successfully installed pep8 coverage nose-xunitmp
Cleaning up...
# setting up Allura dependencies
warning: no files found matching 'allura/public/favicon.ico'
# setting up AlluraTest dependencies
# setting up ForgeActivity dependencies
# setting up ForgeBlog dependencies
# setting up ForgeChat dependencies
# setting up ForgeDiscussion dependencies
# setting up ForgeGit dependencies
# setting up ForgeImporters dependencies
# setting up ForgeLink dependencies
# setting up ForgeShortUrl dependencies
# setting up ForgeSVN dependencies
# setting up ForgeTracker dependencies
# setting up ForgeUserStats dependencies
# setting up ForgeWiki dependencies
Not running tests for virtualenv-1.9.1, since it isn't set up
<DummyProcess(Thread-1, started daemon 140057071060736)> running nosetests  --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=180 {'cwd': 'AlluraTest'}
<DummyProcess(Thread-2, started daemon 140057062668032)> running nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=180 {'cwd': 'Allura'}
<DummyProcess(Thread-3, started daemon 140057054275328)> running nosetests  --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=180 {'cwd': 'ForgeActivity'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=180 {'cwd': 'ForgeBlog'}
....
----------------------------------------------------------------------
Ran 4 tests in 5.111s

OK
finished nosetests  --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=180 {'cwd': 'AlluraTest'}
<DummyProcess(Thread-1, started daemon 140057071060736)> running nosetests  --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=180 {'cwd': 'ForgeChat'}
..............
----------------------------------------------------------------------
Ran 14 tests in 8.632s

OK
finished nosetests  --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=180 {'cwd': 'ForgeActivity'}
<DummyProcess(Thread-3, started daemon 140057054275328)> running nosetests  --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=180 {'cwd': 'ForgeDiscussion'}
.
----------------------------------------------------------------------
Ran 1 test in 3.481s

OK
finished nosetests  --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=180 {'cwd': 'ForgeChat'}
<DummyProcess(Thread-1, started daemon 140057071060736)> running nosetests  --with-xunitmp --cover-package=forgegit  {'cwd': 'ForgeGit'}
....................................SSS..
----------------------------------------------------------------------
Ran 41 tests in 20.274s

OK (SKIP=3)
finished nosetests  --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=180 {'cwd': 'ForgeBlog'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=180 {'cwd': 'ForgeImporters'}
...........................................................
----------------------------------------------------------------------
Ran 59 tests in 47.531s

OK
finished nosetests  --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=180 {'cwd': 'ForgeDiscussion'}
<DummyProcess(Thread-3, started daemon 140057054275328)> running nosetests  --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=180 {'cwd': 'ForgeLink'}
.........
----------------------------------------------------------------------
Ran 9 tests in 5.132s

OK
finished nosetests  --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=180 {'cwd': 'ForgeLink'}
<DummyProcess(Thread-3, started daemon 140057054275328)> running nosetests  --with-xunitmp --cover-package=forgesvn  {'cwd': 'ForgeSVN'}
.......................................S.......................S.................................S..............S..........................................S.........SSSS..SS..........S.
----------------------------------------------------------------------
Ran 185 tests in 43.733s

OK (SKIP=12)
finished nosetests  --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=180 {'cwd': 'ForgeImporters'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=180 {'cwd': 'ForgeShortUrl'}
...........
----------------------------------------------------------------------
Ran 11 tests in 6.094s

OK
finished nosetests  --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=180 {'cwd': 'ForgeShortUrl'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=180 {'cwd': 'ForgeTracker'}
...................................................................................................................................................................................
----------------------------------------------------------------------
Ran 179 tests in 102.151s

OK
finished nosetests  --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=180 {'cwd': 'ForgeTracker'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=180 {'cwd': 'ForgeUserStats'}
............
----------------------------------------------------------------------
Ran 12 tests in 14.549s

OK
finished nosetests  --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=180 {'cwd': 'ForgeUserStats'}
<DummyProcess(Thread-4, started daemon 140057045882624)> running nosetests  --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=180 {'cwd': 'ForgeWiki'}
.............................................................................................................................................................................................................................S........................................................................................................................................................................................SSSSSSSSSSS...............................................................................................................................................................................................................................S...........................................................................................................................................................................................................EE.....
======================================================================
ERROR: allura.tests.test_webhooks.TestWebhookController.test_delete_validation
----------------------------------------------------------------------
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 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/nose/util.py",> line 470, in try_run
    return func()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_webhooks.py",> line 100, in setUp
    self.setup_with_tools()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/decorators.py",> line 76, in wrapped
    while M.MonQTask.run_ready('setup'):
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 237, in run_ready
    task()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 265, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tasks/repo_tasks.py",> line 31, in init
    c.app.repo.init()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/repository.py",> line 410, in init
    return self._impl.init()
  File "<https://builds.apache.org/job/Allura/ws/ForgeGit/forgegit/model/git_repo.py",> line 137, in init
    shared='all')
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/repo/base.py",> line 656, in init
    output = git.init(**kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 227, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 456, in _call_process
    return self.execute(call, **_kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 377, in execute
    raise GitCommandError(command, status, stderr_value)
GitCommandError: 'git init --shared=all --bare --quiet' returned exit status 128: fatal: Could not get current working directory: No such file or directory
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

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

======================================================================
ERROR: allura.tests.test_webhooks.TestWebhookController.test_edit
----------------------------------------------------------------------
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 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/nose/util.py",> line 470, in try_run
    return func()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_webhooks.py",> line 100, in setUp
    self.setup_with_tools()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/decorators.py",> line 76, in wrapped
    while M.MonQTask.run_ready('setup'):
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 237, in run_ready
    task()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 265, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tasks/repo_tasks.py",> line 31, in init
    c.app.repo.init()
  File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/repository.py",> line 410, in init
    return self._impl.init()
  File "<https://builds.apache.org/job/Allura/ws/ForgeGit/forgegit/model/git_repo.py",> line 137, in init
    shared='all')
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/repo/base.py",> line 656, in init
    output = git.init(**kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 227, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 456, in _call_process
    return self.execute(call, **_kwargs)
  File "<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/git/cmd.py",> line 377, in execute
    raise GitCommandError(command, status, stderr_value)
GitCommandError: 'git init --shared=all --bare --quiet' returned exit status 128: fatal: Could not get current working directory: No such file or directory
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

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

----------------------------------------------------------------------
Ran 851 tests in 211.788s

FAILED (SKIP=13, errors=2)
finished nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=180 {'cwd': 'Allura'}
.............................................S.......
----------------------------------------------------------------------
Ran 53 tests in 32.404s

OK (SKIP=1)
finished nosetests  --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=180 {'cwd': 'ForgeWiki'}
............................................................................................
----------------------------------------------------------------------
Ran 92 tests in 177.024s

OK
finished nosetests  --with-xunitmp --cover-package=forgesvn  {'cwd': 'ForgeSVN'}
...................................................................................................................
----------------------------------------------------------------------
Ran 115 tests in 242.208s

OK
finished nosetests  --with-xunitmp --cover-package=forgegit  {'cwd': 'ForgeGit'}
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/0deab4b4/ 200 OK
{"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 107}
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

Jenkins build is back to normal : Allura #768

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Allura/768/changes>