See <https://builds.apache.org/job/Allura/1586/display/redirect?page=changes>

Changes:

[dbrondsema] [#8370] Enforce no trailing slash on user admin page


------------------------------------------
[...truncated 20.34 KB...]
# 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 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://builds.apache.org/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://builds.apache.org/job/Allura/ws/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> node-sass@4.14.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.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 571 packages from 390 contributors and audited 572 packages in 70.334s

7 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 139719723824896)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in AlluraTest

<DummyProcess(Thread-2, started daemon 139719648212736)> running `nosetests 
allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura

<DummyProcess(Thread-3, started daemon 139719639820032)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity

<DummyProcess(Thread-4, started daemon 139719631427328)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog

<DummyProcess(Thread-5, started daemon 139719623034624)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeChat

<DummyProcess(Thread-7, started daemon 139719606249216)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion

<DummyProcess(Thread-6, started daemon 139719614641920)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback

<DummyProcess(Thread-8, started daemon 139719597856512)> running `nosetests  
--with-xunitmp ` in ForgeGit

<DummyProcess(Thread-9, started daemon 139719111341824)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters

<DummyProcess(Thread-10, started daemon 139719102949120)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeLink

<DummyProcess(Thread-11, started daemon 139719094556416)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl

<DummyProcess(Thread-12, started daemon 139719086163712)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker

<DummyProcess(Thread-13, started daemon 139719077771008)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats

<DummyProcess(Thread-15, started daemon 139719060985600)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki

<DummyProcess(Thread-14, started daemon 139719069378304)> 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.851s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeFeedback
..
----------------------------------------------------------------------
Ran 2 tests in 7.173s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeChat
...........SSSSSSSSSSSSS.....
----------------------------------------------------------------------
Ran 29 tests in 9.325s

OK (SKIP=13)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
AlluraTest
...........
----------------------------------------------------------------------
Ran 11 tests in 10.899s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeShortUrl
...................
----------------------------------------------------------------------
Ran 19 tests in 14.654s

OK
......................
----------------------------------------------------------------------
Ran 22 tests in 15.581s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeLink
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeActivity
............
----------------------------------------------------------------------
Ran 12 tests in 27.355s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeUserStats
........................................................S.
----------------------------------------------------------------------
Ran 58 tests in 31.710s

OK (SKIP=1)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeBlog
.................................................................S........
----------------------------------------------------------------------
Ran 74 tests in 47.029s

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>:907:
 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 907 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 55.772s

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>:950:
 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 950 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>:1330:
 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 1330 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 105.274s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeTracker
..........................................................................................................................SSSS..SS..........S..S.
----------------------------------------------------------------------
Ran 145 tests in 157.144s

OK (SKIP=8)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeImporters
...........................................................................................................................................................................................................................................................................................................................................S............................................E.......F......................................................................................................................................................................................................................................SSSSSSSS.........................................................................................................................................................S........................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: allura.tests.functional.test_site_admin.TestUserDetails.test_404
----------------------------------------------------------------------
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_site_admin.py";,>
 line 451, in test_404
    self.app.get('/nf/admin/user/does-not-exist/', status=404)
  File 
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py";,>
 line 352, in get
    resp = super(ValidatingTestApp, self).get(*args, **kw)
  File 
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/validation.py";,>
 line 295, in get
    return super(PostParamCheckingTestApp, self).get(*args, **kwargs)
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/app.py";,>
 line 335, in get
    expect_errors=expect_errors)
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/app.py";,>
 line 654, in do_request
    self._check_status(status, res)
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/webtest/app.py";,>
 line 689, in _check_status
    "Bad response: %s (not %s)\n%s", res_status, status, res)
AppError: Bad response: 301 Moved Permanently (not 404)
301 Moved Permanently

The resource has been moved to http://localhost/nf/admin/user/does-not-exist; 
you should be redirected automatically.  
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: allura.tests.functional.test_site_admin.TestUserDetails.test_general_info
----------------------------------------------------------------------
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_site_admin.py";,>
 line 464, in test_general_info
    assert_in('Username: test-admin', r)
AssertionError: u'Username: test-admin' not found in <301 Moved Permanently 
text/plain location: http://localhost/nf/admin/user/test-admin body='301 
Moved...y.  '/138>
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 1201 tests in 185.648s

FAILED (SKIP=10, errors=1, failures=1)
finished `nosetests allura/tests/ --with-xunitmp --processes=4 
--process-timeout=360` in Allura
........................................................................................................................................................
----------------------------------------------------------------------
Ran 152 tests in 268.298s

OK
finished `nosetests  --with-xunitmp ` in ForgeGit
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/49f7e3f3e0/ 200 OK
{"sidebar": 1, "markdown": 4, "logging": 74, "jinja": 1, "navbar": 1, 
"jinja.compile": 17, "ming": 104}
npm: 6.14.5
hostname: asf937
NODE_NAME: H37
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

Reply via email to