See <https://builds.apache.org/job/Allura/1503/display/redirect?page=changes>
Changes: [ktaylor] [#8340] remove ez_setup file [ktaylor] [#8340] test coverage for repo tasks/scripts [ktaylor] [#8340] repo: remove dead code, add some test coverage [ktaylor] [#8340] tracker test coverage and remove dead code [ktaylor] [#8340] various admin/auth tests and dead code removal (url for editing [ktaylor] [#8340] some wiki increased coverage, fix bug by restoring some code [ktaylor] [#8340] tests for scripts/commands [ktaylor] [#8340] misc other coverage [ktaylor] [#8340] more blog tests [ktaylor] [#8340] more misc coverage [ktaylor] [#8340] discussion test coverage improvement ------------------------------------------ [...truncated 22.28 KB...] Collecting webtest==2.0.33 Using cached https://files.pythonhosted.org/packages/47/fd/569d7e5ce6ea92d8ff6dd7a91f125762d88b199f2b4e17d7030a703f241d/WebTest-2.0.33-py2.py3-none-any.whl Processing /home/jenkins/.cache/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd/wrapt-1.11.2-cp27-cp27mu-linux_x86_64.whl Requirement already satisfied: setuptools>=18.5 in ./.allura-venv/lib/python2.7/site-packages (from ipython==5.8.0->-r requirements.txt (line 45)) (41.6.0) Installing collected packages: pymongo, activitystream, asn1crypto, six, wrapt, enum34, singledispatch, backports.functools-lru-cache, lazy-object-proxy, astroid, webob, backlash, backports.shutil-get-terminal-size, funcsigs, beaker, soupsieve, beautifulsoup4, webencodings, bleach, certifi, pycparser, cffi, chardet, translationstring, iso8601, colander, configparser, crank, genshi, creoleparser, ipaddress, cryptography, datadiff, decorator, docutils, paste, markupsafe, python-dateutil, formencode, easywidgets, emoji, faulthandler, feedparser, future, futures, smmap2, gitdb2, gitpython, gunicorn, html5lib, httplib2, idna, ipython-genutils, simplegeneric, scandir, pathlib2, pickleshare, ptyprocess, pexpect, traitlets, pygments, wcwidth, prompt-toolkit, ipython, isort, jinja2, markdown, markdown-checklist, mccabe, pytz, ming, mock, nose, oauth2, oauthlib, pastedeploy, pastescript, pillow, poster, pyflakes, pylint, textile, pypeline, urllib3, requests, pysolr, python-magic, python-oembed, qrcode, repoze.lru, requests-oauthlib, setproctitle, testfixtures, timermiddleware, turbogears2, waitress, webhelpers, webtest Successfully installed activitystream-0.2.2 asn1crypto-0.24.0 astroid-1.6.6 backlash-0.1.4 backports.functools-lru-cache-1.5 backports.shutil-get-terminal-size-1.0.0 beaker-1.10.1 beautifulsoup4-4.8.0 bleach-3.1.0 certifi-2019.6.16 cffi-1.12.2 chardet-3.0.4 colander-1.7.0 configparser-3.7.4 crank-0.8.1 creoleparser-0.7.5 cryptography-2.6.1 datadiff-2.0.0 decorator-4.4.0 docutils-0.15.2 easywidgets-0.3.5 emoji-0.5.3 enum34-1.1.6 faulthandler-3.1 feedparser-5.2.1 formencode-1.3.1 funcsigs-1.0.2 future-0.17.1 futures-3.3.0 genshi-0.7.3 gitdb2-2.0.4 gitpython-2.1.11 gunicorn-19.4.5 html5lib-1.0.1 httplib2-0.13.1 idna-2.8 ipaddress-1.0.22 ipython-5.8.0 ipython-genutils-0.2.0 iso8601-0.1.12 isort-4.3.21 jinja2-2.10 lazy-object-proxy-1.4.1 markdown-2.6.11 markdown-checklist-0.4.1 markupsafe-1.1.1 mccabe-0.6.1 ming-0.5.6 mock-3.0.5 nose-1.3.7 oauth2-1.9.0.post1 oauthlib-3.0.2 paste-3.1.0 pastedeploy-2.0.1 pastescript-3.1.0 pathlib2-2.3.4 pexpect-4.7.0 pickleshare-0.7.5 pillow-6.1.0 poster-0.8.1 prompt-toolkit-1.0.16 ptyprocess-0.6.0 pycparser-2.19 pyflakes-2.1.1 pygments-2.4.2 pylint-1.9.5 pymongo-2.8.1 pypeline-0.5.1 pysolr-3.6.0 python-dateutil-2.8.0 python-magic-0.4.15 python-oembed-0.2.4 pytz-2019.1 qrcode-6.1 repoze.lru-0.7 requests-2.22.0 requests-oauthlib-1.2.0 scandir-1.10.0 setproctitle-1.1.9 simplegeneric-0.8.1 singledispatch-3.4.0.3 six-1.12.0 smmap2-2.0.4 soupsieve-1.9.3 testfixtures-6.10.0 textile-3.0.4 timermiddleware-0.5.0 traitlets-4.3.2 translationstring-1.3 turbogears2-2.3.12 urllib3-1.25.3 waitress-1.3.0 wcwidth-0.1.7 webencodings-0.5.1 webhelpers-1.3 webob-1.7.4 webtest-2.0.33 wrapt-1.11.2 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting pycodestyle Using cached https://files.pythonhosted.org/packages/0e/0c/04a353e104d2f324f8ee5f4b32012618c1c86dd79e52a433b64fceed511b/pycodestyle-2.5.0-py2.py3-none-any.whl Requirement already satisfied: pyflakes in ./.allura-venv/lib/python2.7/site-packages (2.1.1) Collecting coverage Using cached https://files.pythonhosted.org/packages/b6/8c/a6ff1dc86ed0523de907f1f0c53e8933ae7bcd9c302b8d1eaebf3a6b80f0/coverage-4.5.4-cp27-cp27mu-manylinux1_x86_64.whl Processing /home/jenkins/.cache/pip/wheels/c4/1f/cd/9250fbf2fcc179e28bb4f7ee26a4fc7525914469d83a4f0c09/nose_xunitmp-0.4.1-cp27-none-any.whl Requirement already satisfied: nose in ./.allura-venv/lib/python2.7/site-packages (from nose-xunitmp) (1.3.7) Installing collected packages: pycodestyle, coverage, nose-xunitmp Successfully installed coverage-4.5.4 nose-xunitmp-0.4.1 pycodestyle-2.5.0 <https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pycodestyle.py>:2527: UserWarning: [pep8] section is deprecated. Use [pycodestyle]. warnings.warn('[pep8] section is deprecated. Use [pycodestyle].') # setting up Allura dependencies /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'message_extractors' warnings.warn(msg) 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 /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found retrying npm install /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found retrying npm install /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found retrying npm install /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found retrying npm install /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found retrying npm install /tmp/jenkins7734260116887336517.sh: line 67: npm: command not found Not running tests for ForgeSVN, since it isn't set up <DummyProcess(Thread-1, started daemon 140665502926592)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-2, started daemon 140665494533888)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-3, started daemon 140665413433088)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 140665405040384)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 140665396647680)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 140665388254976)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion <DummyProcess(Thread-7, started daemon 140665379862272)> running `nosetests --with-xunitmp ` in ForgeGit <DummyProcess(Thread-8, started daemon 140665371469568)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-9, started daemon 140665363076864)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-10, started daemon 140664809453312)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-11, started daemon 140664801060608)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker <DummyProcess(Thread-12, started daemon 140664792667904)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-13, started daemon 140664784275200)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki <DummyProcess(Thread-14, started daemon 140664775882496)> running `npm run lint-es6` in . /bin/sh: 1: npm: not found finished `npm run lint-es6` in . .. ---------------------------------------------------------------------- Ran 2 tests in 6.202s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat ........... ---------------------------------------------------------------------- Ran 11 tests in 12.633s OK ................... ---------------------------------------------------------------------- Ran 19 tests in 12.989s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl ...................... ---------------------------------------------------------------------- Ran 22 tests in 14.155s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity ............No config file found, using default configuration .No config file found, using default configuration ............ ---------------------------------------------------------------------- Ran 12 tests in 24.007s OK .No config file found, using default configuration .No config file found, using default configuration finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats ........................................................S. ---------------------------------------------------------------------- Ran 58 tests in 30.643s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog .No config file found, using default configuration .No config file found, using default configuration .................................................S.....................................................SSSS..SS..........S. ---------------------------------------------------------------------- Ran 123 tests in 39.563s OK (SKIP=8) finished `nosetests --with-xunitmp --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 .................................................................S........ ---------------------------------------------------------------------- Ran 74 tests in 51.722s OK (SKIP=1) .No config file found, using default configuration finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki .........................................................<https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:902: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line 902 of the file <https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor. file_link = BeautifulSoup(form.text).findAll('a')[2] .No config file found, using default configuration . ---------------------------------------------------------------------- Ran 27 tests in 56.566s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest ........................................................................ ---------------------------------------------------------------------- Ran 72 tests in 59.934s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion ........................................<https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:945: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line 945 of the file <https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor. download = self.app.get(str(BeautifulSoup(form.text).findAll('a')[2]['href'])) ....<https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:1323: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line 1323 of the file <https://builds.apache.org/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor. error_message = BeautifulSoup(form.text).find('div', {'class': 'error'}) ...................................................................................................... ---------------------------------------------------------------------- Ran 203 tests in 102.657s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker ...........................................................................................................................................................................................................................................................................................................................................S...........E................................................E.........................................................................................................................................................................................................................SSSSSSSS.......................................................................................................................................................S.................................................................................................................................................................................................................................................................................................................................................................................................................................... ====================================================================== ERROR: allura.tests.functional.test_root.TestRootController.test_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 197, in runTest self.test(*self.arg) File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/functional/test_root.py",> line 78, in test_validation self.app.get('/neighborhood') 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 294, in _validate validate_page(resp) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 211, in validate_page validate_js(html_or_response, within_html=True) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 198, in validate_js p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ====================================================================== ERROR: 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 198, in validate_js p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory -------------------- >> begin captured stdout << --------------------- Running setup_app() from allura.websetup --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 1190 tests in 171.730s FAILED (SKIP=10, errors=2) finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura ....................................................................................................................................................... ---------------------------------------------------------------------- Ran 151 tests in 247.980s OK finished `nosetests --with-xunitmp ` in ForgeGit Running setup_app() from allura.websetup /p/test/wiki/_discuss/thread/e3f07f4b77/ 200 OK {"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 104} 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