See <https://builds.apache.org/job/Allura/980/changes>
Changes:
[heiths] [#8039] install eslint
[heiths] [#8039] remove jslint; run eslint
[heiths] [#8039] remove jre dependency
[heiths] [#8039] parse inline JS from html too (jslint did this); .eslintrc file
[heiths] [#8039] always fail if validation is on and fails
[heiths] [#8039] install eslint and deps locally; run local command via npm
since
[heiths] [#8039] can do the same thing for broccoli, since we already use "npm
[heiths] [#8039] Add broccoli-timepiece to package.json so it can be installed
------------------------------------------
[...truncated 1569 lines...]
Running setup.py install for gunicorn
warning: no previously-included files matching '__pycache__' found under
directory '*'
warning: no previously-included files matching '*.py[co]' found under
directory '*'
File
"<https://builds.apache.org/job/Allura/ws/.allura-venv/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py",>
line 68
yield from self.wsgi.close()
^
SyntaxError: invalid syntax
Installing gunicorn_paster script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Installing gunicorn script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Installing gunicorn_django script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Running setup.py install for sphinx
warning: no files found matching 'TODO'
no previously-included directories found matching 'doc/_build'
Installing sphinx-apidoc script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Installing sphinx-build script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Installing sphinx-quickstart script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Installing sphinx-autogen script to
<https://builds.apache.org/job/Allura/ws/.allura-venv/bin>
Running setup.py install for snowballstemmer
warning: no files found matching '*.py' under directory 'src'
Running setup.py install for alabaster
warning: no files found matching 'README.md'
warning: no previously-included files matching '.*.swp' found under
directory 'alabaster'
Successfully installed ActivityStream BeautifulSoup beautifulsoup4 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 pytz 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 pylint astroid logilab-common q WebError
sphinx-argparse sphinx-rtd-theme sphinxcontrib-programoutput gunicorn sphinx
snowballstemmer alabaster
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.7.0.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.1b1.tar.gz
Running setup.py egg_info for package coverage
warning: no previously-included files found matching 'ci/appveyor.token'
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'tests/eggsrc/build'
no previously-included directories found matching 'tests/eggsrc/dist'
no previously-included directories found matching 'tests/eggsrc/*.egg-info'
warning: no previously-included files matching '*.py[co]' 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/ctracer/datastack.c -o
build/temp.linux-x86_64-2.7/coverage/ctracer/datastack.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
coverage/ctracer/filedisp.c -o
build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
coverage/ctracer/module.c -o
build/temp.linux-x86_64-2.7/coverage/ctracer/module.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
coverage/ctracer/tracer.c -o
build/temp.linux-x86_64-2.7/coverage/ctracer/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/ctracer/datastack.o
build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o
build/temp.linux-x86_64-2.7/coverage/ctracer/module.o
build/temp.linux-x86_64-2.7/coverage/ctracer/tracer.o -o
build/lib.linux-x86_64-2.7/coverage/tracer.so
warning: no previously-included files found matching 'ci/appveyor.token'
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'tests/eggsrc/build'
no previously-included directories found matching 'tests/eggsrc/dist'
no previously-included directories found matching 'tests/eggsrc/*.egg-info'
warning: no previously-included files matching '*.py[co]' 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-2, started daemon 140328323806976)> running nosetests
--with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=360
in AlluraTest
<DummyProcess(Thread-1, started daemon 140328332199680)> running nosetests
allura/tests/ --with-xunitmp --cover-package=allura --processes=4
--process-timeout=360 in Allura
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgeactivity --processes=4
--process-timeout=360 in ForgeActivity
<DummyProcess(Thread-4, started daemon 140328307021568)> running nosetests
--with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360 in
ForgeBlog
..................
----------------------------------------------------------------------
Ran 18 tests in 15.689s
OK
finished nosetests --with-xunitmp --cover-package=forgeactivity --processes=4
--process-timeout=360 in ForgeActivity
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360 in
ForgeChat
..
----------------------------------------------------------------------
Ran 2 tests in 4.408s
OK
finished nosetests --with-xunitmp --cover-package=forgechat --processes=4
--process-timeout=360 in ForgeChat
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgediscussion --processes=4
--process-timeout=360 in ForgeDiscussion
....No config file found, using default configuration
.
----------------------------------------------------------------------
Ran 5 tests in 31.331s
OK
finished nosetests --with-xunitmp --cover-package=alluratest --processes=4
--process-timeout=360 in AlluraTest
<DummyProcess(Thread-2, started daemon 140328323806976)> running nosetests
--with-xunitmp --cover-package=forgegit in ForgeGit
.........................................SSS.
----------------------------------------------------------------------
Ran 45 tests in 32.411s
OK (SKIP=3)
finished nosetests --with-xunitmp --cover-package=forgeblog --processes=4
--process-timeout=360 in ForgeBlog
<DummyProcess(Thread-4, started daemon 140328307021568)> running nosetests
--with-xunitmp --cover-package=forgeimporters --processes=4
--process-timeout=360 in ForgeImporters
...............................................................
----------------------------------------------------------------------
Ran 63 tests in 72.361s
OK
finished nosetests --with-xunitmp --cover-package=forgediscussion
--processes=4 --process-timeout=360 in ForgeDiscussion
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360 in
ForgeLink
.......................................S................S................................................S.................S..................................S.........SSSS..SS..........S.
----------------------------------------------------------------------
Ran 188 tests in 64.991s
OK (SKIP=12)
finished nosetests --with-xunitmp --cover-package=forgeimporters --processes=4
--process-timeout=360 in ForgeImporters
<DummyProcess(Thread-4, started daemon 140328307021568)> running nosetests
--with-xunitmp --cover-package=forgesvn in ForgeSVN
.................
----------------------------------------------------------------------
Ran 17 tests in 12.441s
OK
finished nosetests --with-xunitmp --cover-package=forgelink --processes=4
--process-timeout=360 in ForgeLink
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgeshorturl --processes=4
--process-timeout=360 in ForgeShortUrl
...........
----------------------------------------------------------------------
Ran 11 tests in 9.681s
OK
finished nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4
--process-timeout=360 in ForgeShortUrl
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360
in ForgeTracker
..............................................................................................................................................................................................
----------------------------------------------------------------------
Ran 190 tests in 165.329s
OK
finished nosetests --with-xunitmp --cover-package=forgetracker --processes=4
--process-timeout=360 in ForgeTracker
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgeuserstats --processes=4
--process-timeout=360 in ForgeUserStats
............
----------------------------------------------------------------------
Ran 12 tests in 22.431s
OK
finished nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4
--process-timeout=360 in ForgeUserStats
<DummyProcess(Thread-3, started daemon 140328315414272)> running nosetests
--with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360 in
ForgeWiki
.......................................................S........
----------------------------------------------------------------------
Ran 64 tests in 55.558s
OK (SKIP=1)
finished nosetests --with-xunitmp --cover-package=forgewiki --processes=4
--process-timeout=360 in ForgeWiki
..........................................................................................
----------------------------------------------------------------------
Ran 90 tests in 282.061s
OK
finished nosetests --with-xunitmp --cover-package=forgesvn in ForgeSVN
...........................................................................................................................................................................................................................................................................................S.........................................................F......................................................................................................................................................................................................................................S.............................................................................................................SSSSSSSSSSS....................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: allura.tests.functional.test_static.TestStatic.test_static_controller
----------------------------------------------------------------------
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_static.py",>
line 24, in test_static_controller
self.app.get('/nf/_static_/wiki/js/browse.js')
File
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",>
line 302, in get
self._validate(resp, 'get', val_params)
File
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",>
line 281, in _validate
validate_js(content)
File
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",>
line 204, in validate_js
report_validation_error('js', fname, stdout)
File
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",>
line 87, in report_validation_error
ok_(False, message)
AssertionError: js Validation errors (/tmp/user/10021/eslint-sbjMSX.js):
npm ERR! Error: ENOENT, open
'<https://builds.apache.org/job/Allura/ws/node_modules/eslint/package.json'>
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.13.0-36-lowlatency
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "eslint" "--" "-c"
"<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc"> "--no-ignore"
"/tmp/user/10021/eslint-sbjMSX.js"
npm ERR! cwd <https://builds.apache.org/job/Allura/ws/Allura>
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path
<https://builds.apache.org/job/Allura/ws/node_modules/eslint/package.json>
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! <https://builds.apache.org/job/Allura/ws/Allura/npm-debug.log>
npm ERR! not ok code 0
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 1049 tests in 392.891s
FAILED (SKIP=13, failures=1)
finished nosetests allura/tests/ --with-xunitmp --cover-package=allura
--processes=4 --process-timeout=360 in Allura
......................................................................................................................................
----------------------------------------------------------------------
Ran 134 tests in 421.908s
OK
finished nosetests --with-xunitmp --cover-package=forgegit in ForgeGit
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/554e25ec/ 200 OK
{"sidebar": 1, "jinja": 1, "markdown": 3, "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