See <https://ci-builds.apache.org/job/Allura/job/Allura/19/display/redirect?page=changes>
Changes: [dave] Skip spam checks on metadata comments (ticket diff) and imported comments (often ip/ua/referrer/author info is not available) ------------------------------------------ [...truncated 17.92 KB...] Created wheel for ming: filename=Ming-0.10.2-py2-none-any.whl size=87341 sha256=c63dac917da2f76b23c8d22170e75c62512e62c213059be5cba6fbb169d6a708 Stored in directory: /home/jenkins/.cache/pip/wheels/8f/c9/25/c6c68f39956cc515e00411d85d10c70b3381be5b7fd6ec5d34 Building wheel for oauth2 (setup.py): started Building wheel for oauth2 (setup.py): finished with status 'done' Created wheel for oauth2: filename=oauth2-1.9.0.post1-py2.py3-none-any.whl size=14027 sha256=8c12cc4bf4d63812ebb6226b003d1b5e41c21f74faaf758a7f4c038a30cf33be Stored in directory: /tmp/pip-ephem-wheel-cache-k3BZ7o/wheels/c2/6d/cd/a3b91642f0547785b196109e09745fab8e76c5b9d28939849b Building wheel for paginate (setup.py): started Building wheel for paginate (setup.py): finished with status 'done' Created wheel for paginate: filename=paginate-0.5.6-py2-none-any.whl size=12891 sha256=5c79c05cb5652f0d279498c2a40eaabcd54c9794417dd0a381a5fac57aa2644f Stored in directory: /home/jenkins/.cache/pip/wheels/ab/2f/61/798b2301726ab7cfc78fb5d0ea43ed9824c3db910a512b6abb Successfully built feedgenerator httplib2 ming oauth2 paginate Installing collected packages: pymongo, activitystream, asn1crypto, webob, backlash, backports.functools-lru-cache, backports.shutil-get-terminal-size, funcsigs, beaker, soupsieve, beautifulsoup4, webencodings, six, bleach, certifi, pycparser, cffi, chardet, iso8601, translationstring, enum34, colander, crank, genshi, creoleparser, ipaddress, cryptography, datadiff, decorator, docutils, formencode, markupsafe, paste, python-dateutil, easywidgets, emoji, faulthandler, pytz, feedgenerator, feedparser, future, smmap2, gitdb2, gitpython, gunicorn, html5lib, httplib2, idna, inflection, ipython-genutils, traitlets, wcwidth, prompt-toolkit, ptyprocess, pexpect, simplegeneric, scandir, pathlib2, pickleshare, pygments, ipython, jinja2, markdown, markdown-checklist, ming, mock, nose, oauth2, oauthlib, paginate, pastedeploy, pastescript, pillow, profanityfilter, pyflakes, textile, pypeline, urllib3, requests, pysolr, python-magic, python-oembed, qrcode, repoze.lru, requests-oauthlib, setproctitle, testfixtures, timermiddleware, turbogears2, waitress, webhelpers2, webtest, wrapt Successfully installed activitystream-0.3.0 asn1crypto-0.24.0 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.4 certifi-2019.6.16 cffi-1.12.2 chardet-3.0.4 colander-1.7.0 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.6 emoji-0.5.3 enum34-1.1.6 faulthandler-3.1 feedgenerator-1.9.1 feedparser-5.2.1 formencode-2.0.0 funcsigs-1.0.2 future-0.17.1 genshi-0.7.3 gitdb2-2.0.4 gitpython-2.1.11 gunicorn-19.5.0 html5lib-1.0.1 httplib2-0.18.1 idna-2.8 inflection-0.3.1 ipaddress-1.0.22 ipython-5.8.0 ipython-genutils-0.2.0 iso8601-0.1.12 jinja2-2.11.2 markdown-2.6.11 markdown-checklist-0.4.1 markupsafe-1.1.1 ming-0.10.2 mock-3.0.5 nose-1.3.7 oauth2-1.9.0.post1 oauthlib-3.0.2 paginate-0.5.6 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.2.2 profanityfilter-2.0.6 prompt-toolkit-1.0.16 ptyprocess-0.6.0 pycparser-2.19 pyflakes-2.1.1 pygments-2.4.2 pymongo-3.10.1 pypeline-0.5.2 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 six-1.15.0 smmap2-2.0.4 soupsieve-1.9.3 testfixtures-6.10.0 textile-3.0.4 timermiddleware-0.5.1 traitlets-4.3.2 translationstring-1.3 turbogears2-2.3.12 urllib3-1.25.10 waitress-1.4.3 wcwidth-0.1.7 webencodings-0.5.1 webhelpers2-2.0 webob-1.7.4 webtest-2.0.33 wrapt-1.11.2 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting pycodestyle Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB) Requirement already satisfied: pyflakes in ./.allura-venv/lib/python2.7/site-packages (2.1.1) Collecting coverage Downloading coverage-5.3-cp27-cp27mu-manylinux1_x86_64.whl (226 kB) Processing /home/jenkins/.cache/pip/wheels/d5/c6/06/f237242ae0d6742cda23895f8741980762b0c1fb5a7f70bbea/nose_xunitmp-0.4.1-py2-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-5.3 nose-xunitmp-0.4.1 pycodestyle-2.6.0 <https://ci-builds.apache.org/job/Allura/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/pycodestyle.py>:2623: 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 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0. npm WARN deprecated exists-sync@0.0.4: Please replace with usage of fs.existsSync npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue > node-sass@4.14.1 install > <https://ci-builds.apache.org/job/Allura/job/Allura/ws/node_modules/node-sass> > node scripts/install.js Cached binary found at /home/jenkins/.npm/node-sass/4.14.1/linux-x64-72_binding.node > core-js@2.6.11 postinstall > <https://ci-builds.apache.org/job/Allura/job/Allura/ws/node_modules/core-js> > node -e "try{require('./postinstall')}catch(e){}" > node-sass@4.14.1 postinstall > <https://ci-builds.apache.org/job/Allura/job/Allura/ws/node_modules/node-sass> > node scripts/build.js Binary found at <https://ci-builds.apache.org/job/Allura/job/Allura/ws/node_modules/node-sass/vendor/linux-x64-72/binding.node> Testing binary Binary is fine npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN foundation-sites@6.6.3 requires a peer of jquery@>=2.2.0 but none is installed. You must install peer dependencies yourself. npm WARN foundation-sites@6.6.3 requires a peer of what-input@>=4.1.0 but none is installed. You must install peer dependencies yourself. added 575 packages from 393 contributors and audited 576 packages in 251.781s 10 packages are looking for funding run `npm fund` for details found 38 vulnerabilities (12 low, 2 moderate, 23 high, 1 critical) run `npm audit fix` to fix them, or `npm audit` for details Not running tests for ForgeSVN, since it isn't set up <DummyProcess(Thread-1, started daemon 139763983320832)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-2, started daemon 139763974928128)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-3, started daemon 139763966535424)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 139763958142720)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 139763949750016)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 139763604518656)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion <DummyProcess(Thread-7, started daemon 139763596125952)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback <DummyProcess(Thread-8, started daemon 139763587733248)> running `nosetests --with-xunitmp ` in ForgeGit <DummyProcess(Thread-10, started daemon 139763570947840)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-9, started daemon 139763579340544)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-12, started daemon 139763554162432)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-11, started daemon 139763562555136)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker <DummyProcess(Thread-13, started daemon 139763067647744)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-14, started daemon 139763059255040)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki <DummyProcess(Thread-15, started daemon 139763050862336)> running `npm run lint-es6` in . > allura@0.0.0 lint-es6 <https://ci-builds.apache.org/job/Allura/job/Allura/ws/> > eslint -c .eslintrc-es6 --ignore-path .eslintignore-es6 > Allura/allura/public/**/*.es6.js || true finished `npm run lint-es6` in . .. ---------------------------------------------------------------------- Ran 2 tests in 7.121s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat ..........SSSSSSSSSSSSS...... ---------------------------------------------------------------------- Ran 29 tests in 10.204s OK (SKIP=13) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest ........... ---------------------------------------------------------------------- Ran 11 tests in 11.836s OK ............. ---------------------------------------------------------------------- Ran 13 tests in 12.230s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback ................... ---------------------------------------------------------------------- Ran 19 tests in 15.160s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink ...................... ---------------------------------------------------------------------- Ran 22 tests in 19.153s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity ............ ---------------------------------------------------------------------- Ran 12 tests in 27.450s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats ........................................................S. ---------------------------------------------------------------------- Ran 58 tests in 33.796s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog .................................................................S........ ---------------------------------------------------------------------- Ran 74 tests in 52.902s OK (SKIP=1) ...................................F....................<https://ci-builds.apache.org/job/Allura/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://ci-builds.apache.org/job/Allura/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] finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki ........................................................................ ---------------------------------------------------------------------- Ran 72 tests in 60.602s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion .........................................<https://ci-builds.apache.org/job/Allura/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://ci-builds.apache.org/job/Allura/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://ci-builds.apache.org/job/Allura/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://ci-builds.apache.org/job/Allura/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'}) ....................................................................................................... ====================================================================== FAIL: forgetracker.tests.functional.test_root.TestEmailMonitoring.test_notifications_off_spam ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci-builds.apache.org/job/Allura/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/nose/case.py",> line 197, in runTest self.test(*self.arg) File "<https://ci-builds.apache.org/job/Allura/job/Allura/ws/Allura/allura/tests/decorators.py",> line 86, in wrapped return func(*args, **kw) File "<https://ci-builds.apache.org/job/Allura/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock/mock.py",> line 1330, in patched return func(*args, **keywargs) File "<https://ci-builds.apache.org/job/Allura/job/Allura/ws/ForgeTracker/forgetracker/tests/functional/test_root.py",> line 2768, in test_notifications_off_spam assert not send_direct.called AssertionError ---------------------------------------------------------------------- Ran 203 tests in 125.405s FAILED (failures=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker ..........................................................................................................................SSSS..SS..........S..S. ---------------------------------------------------------------------- Ran 145 tests in 162.355s OK (SKIP=8) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters ..................................................................................................................................................................................................................................................................................................................................................S............................................................................................................................................................................................................................................................................................SSSSSSSS.........................................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 1210 tests in 223.567s OK (SKIP=10) finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura .......................................................................................................................................................... ---------------------------------------------------------------------- Ran 154 tests in 311.080s OK finished `nosetests --with-xunitmp ` in ForgeGit /p/test/wiki/_discuss/thread/597f576179/ 200 OK {"sidebar": 1, "markdown": 4, "logging": 74, "jinja": 1, "navbar": 1, "jinja.compile": 17, "ming": 104} npm: 6.14.8 hostname: asf938 NODE_NAME: H38 Build step 'Execute shell' marked build as failure Recording test results Publishing Clover coverage report... Clover HTML report '<https://ci-builds.apache.org/job/Allura/job/Allura/ws/'> does not exist and was not copied! Clover XML file '**/coverage.xml' does not exist in '<https://ci-builds.apache.org/job/Allura/job/Allura/ws/'> and was not copied! Processing Clover XML report ... Could not find '/**/coverage.xml'. Did you generate the XML report for Clover?