You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/02/26 20:44:25 UTC
Build failed in Jenkins: Allura #1541
See <https://builds.apache.org/job/Allura/1541/display/redirect?page=changes>
Changes:
[dave] Work around virtualenv 20 issue causing our entry points to not be found
[dave] Handle str vs unicode in ApacheAccessHandler.py
------------------------------------------
[...truncated 26.96 KB...]
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=1f14d4669894f62c356625a40572e9ac5e93adb2458c2cc49d84dd323a117376
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
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 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.13.1 install <https://builds.apache.org/job/Allura/ws/node_modules/node-sass>
> node scripts/install.js
Cached binary found at /home/jenkins/.npm/node-sass/4.13.1/linux-x64-72_binding.node
> core-js@2.6.11 postinstall <https://builds.apache.org/job/Allura/ws/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"
> node-sass@4.13.1 postinstall <https://builds.apache.org/job/Allura/ws/node_modules/node-sass>
> node scripts/build.js
Binary found at <https://builds.apache.org/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.1 requires a peer of jquery@>=2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN foundation-sites@6.6.1 requires a peer of what-input@>=4.1.0 but none is installed. You must install peer dependencies yourself.
added 554 packages from 388 contributors and audited 2165 packages in 30.84s
5 packages are looking for funding
run `npm fund` for details
found 34 vulnerabilities (8 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 139697513477888)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest
<DummyProcess(Thread-2, started daemon 139697435178752)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura
<DummyProcess(Thread-3, started daemon 139697426786048)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity
<DummyProcess(Thread-4, started daemon 139697418393344)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog
<DummyProcess(Thread-5, started daemon 139697410000640)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat
<DummyProcess(Thread-6, started daemon 139697401607936)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion
<DummyProcess(Thread-7, started daemon 139697393215232)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback
<DummyProcess(Thread-8, started daemon 139697384822528)> running `nosetests --with-xunitmp ` in ForgeGit
<DummyProcess(Thread-9, started daemon 139696898307840)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters
<DummyProcess(Thread-11, started daemon 139696881522432)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink
<DummyProcess(Thread-10, started daemon 139696889915136)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl
<DummyProcess(Thread-12, started daemon 139696873129728)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker
<DummyProcess(Thread-13, started daemon 139696864737024)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats
<DummyProcess(Thread-14, started daemon 139696856344320)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki
<DummyProcess(Thread-15, started daemon 139696847951616)> 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
finished `npm run lint-es6` in .
----------------------------------------------------------------------
Ran 0 tests in 4.914s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback
..
----------------------------------------------------------------------
Ran 2 tests in 7.118s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat
..........SSSSSSSSSSSSS......
----------------------------------------------------------------------
Ran 29 tests in 10.963s
OK (SKIP=13)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest
...........
----------------------------------------------------------------------
Ran 11 tests in 13.231s
OK
...................
----------------------------------------------------------------------
Ran 19 tests in 14.138s
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 17.061s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity
....E.......
======================================================================
ERROR: test_commit_stats (forgeuserstats.tests.test_model.TestUserStats)
----------------------------------------------------------------------
Traceback (most recent call last):
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/decorators.py",> line 78, in wrapped
while M.MonQTask.run_ready('setup'):
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 239, in run_ready
task()
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/monq_model.py",> line 267, in __call__
self.result = func(*self.args, **self.kwargs)
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/tasks/repo_tasks.py",> line 34, in init
c.app.repo.init()
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/repository.py",> line 455, in init
return self._impl.init()
File "<https://builds.apache.org/job/Allura/ws/ForgeGit/forgegit/model/git_repo.py",> line 177, in init
fullname = self._setup_paths()
File "<https://builds.apache.org/job/Allura/ws/Allura/allura/model/repository.py",> line 223, in _setup_paths
os.makedirs(self._repo.fs_path)
File "<https://builds.apache.org/job/Allura/ws/.allura-venv/lib/python2.7/os.py",> line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/tmp/git/p/test/'
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 12 tests in 24.288s
FAILED (errors=1)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats
.......................................................S..
----------------------------------------------------------------------
Ran 58 tests in 32.590s
OK (SKIP=1)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog
.................................................S.....................................................SSSS..SS..........S.
----------------------------------------------------------------------
Ran 123 tests in 41.138s
OK (SKIP=8)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters
.................................................................S........
----------------------------------------------------------------------
Ran 74 tests in 58.063s
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 78.869s
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 152.293s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker
...........................................................................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................SSSSSSSS.......................................................................................................................................................S........................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1198 tests in 280.247s
OK (SKIP=10)
finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura
........................................................................................................................................................
----------------------------------------------------------------------
Ran 152 tests in 401.313s
OK
finished `nosetests --with-xunitmp ` in ForgeGit
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/018aeedb94/ 200 OK
{"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 104}
npm: 6.13.4
hostname: asf928
NODE_NAME: H28
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
Jenkins build is back to normal : Allura #1542
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Allura/1542/display/redirect>