See <https://ci-builds.apache.org/job/Allura/job/Allura/13/display/redirect?page=changes>
Changes: [dave] [#8380] py3 fix to make python-modernize happy ------------------------------------------ [...truncated 16.16 KB...] Using cached WebTest-2.0.33-py2.py3-none-any.whl (32 kB) Processing /home/jenkins/.cache/pip/wheels/aa/0a/cb/e31e525e074359f542ff2240747f3d4cc1dad9c895bb6df70c/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 44)) (44.1.1) Building wheels for collected packages: oauth2 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=ccc1b64e9deee0351e20cae34441a809b846a672598f82c970cac5868f78741c Stored in directory: /tmp/user/910/pip-ephem-wheel-cache-UWfCEL/wheels/c2/6d/cd/a3b91642f0547785b196109e09745fab8e76c5b9d28939849b Successfully built oauth2 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-1.3.1 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.8 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 Using cached 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 Using cached 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated exists-sync@0.0.4: Please replace with usage of fs.existsSync 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 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 circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. 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 572 packages from 390 contributors and audited 573 packages in 42.488s 8 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 140179978675968)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-3, started daemon 140179961890560)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-2, started daemon 140179970283264)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 140179746584320)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 140179738191616)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 140179729798912)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion <DummyProcess(Thread-8, started daemon 140179713013504)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback <DummyProcess(Thread-9, started daemon 140179704620800)> running `nosetests --with-xunitmp ` in ForgeGit <DummyProcess(Thread-7, started daemon 140179721406208)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-10, started daemon 140179696228096)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-12, started daemon 140179201320704)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-11, started daemon 140179209713408)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker <DummyProcess(Thread-13, started daemon 140179192928000)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-14, started daemon 140179184535296)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki <DummyProcess(Thread-15, started daemon 140179176142592)> 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.780s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat ....E.....SSSSSSSSSSSSS...... ====================================================================== ERROR: alluratest.test_syntax.TestLinters.test_pyflakes_1 ---------------------------------------------------------------------- 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/AlluraTest/alluratest/test_syntax.py",> line 123, in <lambda> pyflake_test_method = lambda self, these_files=files: run_pyflakes(these_files) File "<https://ci-builds.apache.org/job/Allura/job/Allura/ws/AlluraTest/alluratest/test_syntax.py",> line 94, in run_pyflakes raise Exception('pyflakes failure, see stdout') Exception: pyflakes failure, see stdout -------------------- >> begin captured stdout << --------------------- Allura/allura/lib/project_create_helpers.py:244: undefined name 'Union' --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 29 tests in 9.658s FAILED (SKIP=13, errors=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest ........... ---------------------------------------------------------------------- Ran 11 tests in 11.450s OK ............. ---------------------------------------------------------------------- Ran 13 tests in 11.634s 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 13.870s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink ...................... ---------------------------------------------------------------------- Ran 22 tests in 18.124s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity ............ ---------------------------------------------------------------------- Ran 12 tests in 25.298s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats .......................................................S.. ---------------------------------------------------------------------- Ran 58 tests in 32.126s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog .................................................................S........ ---------------------------------------------------------------------- Ran 74 tests in 50.369s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki ........................................................<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] ........................................................................ ---------------------------------------------------------------------- Ran 72 tests in 59.067s 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'}) ....................................................................................................... ---------------------------------------------------------------------- Ran 203 tests in 106.276s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker ..........................................................................................................................SSSS..SS..........S..S. ---------------------------------------------------------------------- Ran 145 tests in 157.292s OK (SKIP=8) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters ..................................................................................................................................................................................................................................................................................................................................................S............................................................................................................................................................................................................................................................................................SSSSSSSS...................................................................................................................................................................................................S............................................................................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 1210 tests in 181.292s OK (SKIP=10) finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura ......................................................................................................................................................... ---------------------------------------------------------------------- Ran 153 tests in 255.601s OK finished `nosetests --with-xunitmp ` in ForgeGit /p/test/wiki/_discuss/thread/d6b932eee4/ 200 OK {"sidebar": 1, "markdown": 4, "logging": 74, "jinja": 1, "navbar": 1, "jinja.compile": 17, "ming": 104} npm: 6.14.8 hostname: asf922 NODE_NAME: H22 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?