See <https://builds.apache.org/job/Allura/1534/display/redirect?page=changes>
Changes: [dave] some pep8/pylint cleanup ------------------------------------------ [...truncated 26.69 KB...] Requirement already satisfied: pyflakes in ./.allura-venv/lib/python2.7/site-packages (2.1.1) Collecting coverage Downloading coverage-5.0.3-cp27-cp27mu-manylinux1_x86_64.whl (223 kB) Collecting nose-xunitmp Downloading nose_xunitmp-0.4.1.tar.gz (2.9 kB) Requirement already satisfied: nose in ./.allura-venv/lib/python2.7/site-packages (from nose-xunitmp) (1.3.7) Building wheels for collected packages: nose-xunitmp Building wheel for nose-xunitmp (setup.py): started Building wheel for nose-xunitmp (setup.py): finished with status 'done' Created wheel for nose-xunitmp: filename=nose_xunitmp-0.4.1-py2-none-any.whl size=3247 sha256=002f2888f15191ea4dc2785711bbd9e8630ef7e1ea3ddea708c3c8abd71f14a9 Stored in directory: /home/jenkins/.cache/pip/wheels/d5/c6/06/f237242ae0d6742cda23895f8741980762b0c1fb5a7f70bbea Successfully built nose-xunitmp Installing collected packages: pycodestyle, coverage, nose-xunitmp Successfully installed coverage-5.0.3 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 ForgeFeedback 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 29, 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/jenkins5432768503602426740.sh: line 68: npm: command not found retrying npm install /tmp/jenkins5432768503602426740.sh: line 68: npm: command not found retrying npm install /tmp/jenkins5432768503602426740.sh: line 68: npm: command not found retrying npm install /tmp/jenkins5432768503602426740.sh: line 68: npm: command not found retrying npm install /tmp/jenkins5432768503602426740.sh: line 68: npm: command not found retrying npm install /tmp/jenkins5432768503602426740.sh: line 68: npm: command not found Not running tests for ForgeSVN, since it isn't set up <DummyProcess(Thread-1, started daemon 140309433448192)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-2, started daemon 140309425055488)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-3, started daemon 140309416662784)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 140309199582976)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 140309191190272)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-7, started daemon 140309174404864)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion <DummyProcess(Thread-6, started daemon 140309182797568)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback <DummyProcess(Thread-8, started daemon 140309166012160)> running `nosetests --with-xunitmp ` in ForgeGit <DummyProcess(Thread-10, started daemon 140309149226752)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-9, started daemon 140309157619456)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-11, started daemon 140308662712064)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-12, started daemon 140308654319360)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker <DummyProcess(Thread-13, started daemon 140308645926656)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-14, started daemon 140308637533952)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki <DummyProcess(Thread-15, started daemon 140308629141248)> running `npm run lint-es6` in . /bin/sh: 1: npm: not found finished `npm run lint-es6` in . ---------------------------------------------------------------------- Ran 0 tests in 3.128s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback .. ---------------------------------------------------------------------- Ran 2 tests in 6.000s OK ..........SSSSSSSSSSSSS...... ---------------------------------------------------------------------- Ran 29 tests in 7.067s OK (SKIP=13) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest ........... ---------------------------------------------------------------------- Ran 11 tests in 11.175s OK ................... ---------------------------------------------------------------------- Ran 19 tests in 11.850s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink ...................... ---------------------------------------------------------------------- Ran 22 tests in 15.546s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity ............ ---------------------------------------------------------------------- Ran 12 tests in 22.454s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats ........................................................S. ---------------------------------------------------------------------- Ran 58 tests in 28.952s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog .................................................S.....................................................SSSS..SS..........S. ---------------------------------------------------------------------- Ran 123 tests in 34.278s OK (SKIP=8) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters .................................................................S........ ---------------------------------------------------------------------- Ran 74 tests in 43.458s OK (SKIP=1) 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>:908: 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 908 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] ........................................................................ ---------------------------------------------------------------------- Ran 72 tests in 53.252s 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>:951: 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 951 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>:1331: 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 1331 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 95.716s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker ..........................................................................................................................................................................................................................................................................................................................................S................................................WARNING: Couldn't connect to validation service to check the HTML .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 80, in test_validation self.app.get('/neighborhood') File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 352, in get self._validate(resp, 'get', val_params) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 322, in _validate validate_page(resp) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 215, in validate_page validate_js(html_or_response, within_html=True) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 202, 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 27, 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 352, in get self._validate(resp, 'get', val_params) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 328, in _validate validate_js(content) File "<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py",> line 202, 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 1198 tests in 165.002s FAILED (SKIP=10, errors=2) finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura ........................................................................................................................................................ ---------------------------------------------------------------------- Ran 152 tests in 237.746s OK finished `nosetests --with-xunitmp ` in ForgeGit Running setup_app() from allura.websetup /p/test/wiki/_discuss/thread/d0e52e73a5/ 200 OK {"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 104} /tmp/jenkins5432768503602426740.sh: line 81: npm: command not found npm: hostname: asf942 NODE_NAME: H42 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