See <https://builds.apache.org/job/Allura/1314/display/redirect?page=changes>
Changes: [deshani.14] [#8219] Personal Dashboard - Test Tickets section [deshani.14] [#8219] Personal Dashboard - Test Tickets section and fix issue in [deshani.14] [#8219] Personal Dashboard - Refactor the code. Issue exist when testing [dave] [#8219] omit test that needs MockSOLR to support "OR" ------------------------------------------ [...truncated 66.43 KB...] Running setup.py install for datadiff: started Running setup.py install for datadiff: finished with status 'done' Running setup.py install for ipython: started Running setup.py install for ipython: finished with status 'done' Running setup.py install for mock: started Running setup.py install for mock: finished with status 'done' Running setup.py install for testfixtures: started Running setup.py install for testfixtures: finished with status 'done' Running setup.py install for logilab-common: started Running setup.py install for logilab-common: finished with status 'done' Running setup.py install for q: started Running setup.py install for q: finished with status 'done' Running setup.py develop for sphinx-argparse Successfully installed ActivityStream-0.2.2 Babel-1.3 Beaker-1.6.4 BeautifulSoup-3.2.0 Creoleparser-0.7.3 EasyWidgets-0.2.dev20150922 FormEncode-1.2.4 Genshi-0.6 GitPython-0.3.2rc1 Jinja2-2.9.6 Mako-0.3.2 Markdown-2.2.1 MarkupSafe-1.0 Ming-0.5.6 Paste-1.7.5.1 PasteDeploy-1.5.0 PasteScript-1.7.4.2 Pillow-2.9.0 Pygments-2.2.0 Pylons-1.0 Pypeline-0.4 Routes-1.12.3 Tempita-0.5.1 TimerMiddleware-0.4.4 TurboGears2-2.1.5 WebError-0.10.3 WebFlash-0.1a9 WebHelpers-1.3 WebOb-1.0.8 WebTest-1.4.0 alabaster-0.7.11 astroid-1.3.8 async-0.6.1 beautifulsoup4-4.4.0 cffi-1.7.0 chardet-1.0.1 colander-0.9.3 cryptography-1.4 datadiff-1.1.5 decorator-3.3.2 docutils-0.12 enum34-1.1.6 faulthandler-2.1 feedparser-5.1.3 gitdb-0.5.4 gunicorn-19.4.5 html5lib-0.999 httplib2-0.7.4 idna-2.1 imagesize-1.0.0 ipaddress-1.0.16 ipython-1.2.1 iso8601-0.1.4 logilab-common-1.0.2 mock-1.0.1 nose-1.3.4 oauth2-1.5.170 oauthlib-0.4.2 packaging-17.1 poster-0.8.1 pyasn1-0.1.9 pycparser-2.14 pyflakes-0.8.1 pylint-1.4.4 pymongo-2.8.1 pyparsing-2.2.0 pysolr-3.6.0 python-dateutil-1.5 python-magic-0.4.3 python-oembed-0.2.1 pytz-2014.10 q-2.3 qrcode-5.3 requests-2.11.1 requests-oauthlib-0.4.0 setproctitle-1.1.9 simplejson-2.2.1 six-1.10.0 smmap-0.8.1 snowballstemmer-1.2.1 sphinx-1.7.6 sphinx-argparse sphinx-rtd-theme-0.1.6 sphinxcontrib-programoutput-0.8 sphinxcontrib-websupport-1.1.0 testfixtures-3.0.0 textile-2.1.5 translationstring-0.4 typing-3.6.4 Collecting pep8 Using cached https://files.pythonhosted.org/packages/42/3f/669429ce58de2c22d8d2c542752e137ec4b9885fff398d3eceb1a7f5acb4/pep8-1.7.1-py2.py3-none-any.whl Requirement already satisfied: pyflakes in ./.allura-venv/lib/python2.7/site-packages (0.8.1) Collecting coverage Using cached https://files.pythonhosted.org/packages/31/22/724704999cf994b590db9421b5ef1b5122ea485d67d56f9ecf34f2f721ad/coverage-4.5.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting nose-xunitmp Using cached https://files.pythonhosted.org/packages/86/cc/ab61fd10d25d090e80326e84dcde8d6526c45265b4cee242db3f792da80f/nose_xunitmp-0.4.0.tar.gz Requirement already satisfied: nose in ./.allura-venv/lib/python2.7/site-packages (from nose-xunitmp) (1.3.4) Installing collected packages: pep8, coverage, nose-xunitmp Running setup.py install for nose-xunitmp: started Running setup.py install for nose-xunitmp: finished with status 'done' Successfully installed coverage-4.5.1 nose-xunitmp-0.4.0 pep8-1.7.1 <https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pep8.py>:2124: UserWarning: pep8 has been renamed to pycodestyle (GitHub issue #466) Use of the pep8 tool will be removed in a future release. Please install and use `pycodestyle` instead. $ pip install pycodestyle $ pycodestyle ... '\n\n' # 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 pysvn must be installed for ForgeSVN to work Traceback (most recent call last): File "setup.py", line 26, in <module> import pysvn ImportError: No module named pysvn # Error setting up ForgeSVN # You may want to run 'pip uninstall ForgeSVN' to un-register it so you don't get further errors. # setting up ForgeTracker dependencies # setting up ForgeUserStats dependencies # setting up ForgeWiki dependencies Not running tests for ForgeSVN, since it isn't set up Not running tests for virtualenv-1.9.1, since it isn't set up <DummyProcess(Thread-1, started daemon 139944530671360)> running `nosetests --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-2, started daemon 139944522278656)> running `nosetests allura/tests/ --with-xunitmp --cover-package=allura --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-4, started daemon 139944505493248)> running `nosetests --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-3, started daemon 139944513885952)> running `nosetests --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 139944497100544)> running `nosetests --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 139944488707840)> running `nosetests --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion .. ---------------------------------------------------------------------- Ran 2 tests in 4.046s OK finished `nosetests --with-xunitmp --cover-package=forgechat --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-5, started daemon 139944497100544)> 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 .No config file found, using default configuration ...................... ---------------------------------------------------------------------- Ran 22 tests in 11.279s OK finished `nosetests --with-xunitmp --cover-package=forgeactivity --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 139944505493248)> 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 20.591s OK finished `nosetests --with-xunitmp --cover-package=alluratest --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-1, started daemon 139944530671360)> running `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink ................................................SSS.. ---------------------------------------------------------------------- Ran 53 tests in 21.483s OK (SKIP=3) finished `nosetests --with-xunitmp --cover-package=forgeblog --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-3, started daemon 139944513885952)> running `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl ................. ---------------------------------------------------------------------- Ran 17 tests in 6.861s OK finished `nosetests --with-xunitmp --cover-package=forgelink --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-1, started daemon 139944530671360)> running `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ........... ---------------------------------------------------------------------- Ran 11 tests in 6.346s OK finished `nosetests --with-xunitmp --cover-package=forgeshorturl --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-3, started daemon 139944513885952)> running `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats .............................................S.........................................................SSSS..SS..........S. ---------------------------------------------------------------------- Ran 123 tests in 27.857s OK (SKIP=8) finished `nosetests --with-xunitmp --cover-package=forgeimporters --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-4, started daemon 139944505493248)> running `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki ............ ---------------------------------------------------------------------- Ran 12 tests in 14.867s OK finished `nosetests --with-xunitmp --cover-package=forgeuserstats --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-3, started daemon 139944513885952)> 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 sh: 1: eslint: not found finished `npm run lint-es6` in . .................................................................... ---------------------------------------------------------------------- Ran 68 tests in 57.499s OK finished `nosetests --with-xunitmp --cover-package=forgediscussion --processes=4 --process-timeout=360` in ForgeDiscussion ............................................................S........ ---------------------------------------------------------------------- Ran 69 tests in 36.499s OK (SKIP=1) finished `nosetests --with-xunitmp --cover-package=forgewiki --processes=4 --process-timeout=360` in ForgeWiki .................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 196 tests in 104.048s OK finished `nosetests --with-xunitmp --cover-package=forgetracker --processes=4 --process-timeout=360` in ForgeTracker ......................................................................................................................................................................................................................................................................................................................S...........................................................F.........................................................................................................................................................................................................SSSSSSSSSSS...............................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................... ====================================================================== 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 25, 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 324, in get self._validate(resp, 'get', val_params) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 300, 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/eslint-sWbXr9.js): > allura@0.0.0 eslint <https://builds.apache.org/job/Allura/ws/> > eslint "-c" > "<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc-es5"> > "--no-ignore" "/tmp/eslint-sWbXr9.js" sh: 1: eslint: not found npm ERR! Linux 4.4.0-130-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "eslint" "--" "-c" "<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc-es5"> "--no-ignore" "/tmp/eslint-sWbXr9.js" npm ERR! node v6.14.3 npm ERR! npm v3.10.10 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! allura@0.0.0 eslint: `eslint "-c" "<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc-es5"> "--no-ignore" "/tmp/eslint-sWbXr9.js"` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the allura@0.0.0 eslint script 'eslint "-c" "<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc-es5"> "--no-ignore" "/tmp/eslint-sWbXr9.js"'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the allura package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! eslint "-c" "<https://builds.apache.org/job/Allura/ws/Allura/../.eslintrc-es5"> "--no-ignore" "/tmp/eslint-sWbXr9.js" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs allura npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls allura npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! <https://builds.apache.org/job/Allura/ws/Allura/npm-debug.log> -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 1133 tests in 203.040s 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 251.329s OK finished `nosetests --with-xunitmp --cover-package=forgegit ` in ForgeGit Running setup_app() from allura.websetup /p/test/wiki/_discuss/thread/4de6cb61/ 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