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

Changes:

[ktaylor] [#8353] update several github api usages & auth to latest way of doing


------------------------------------------
[...truncated 19.50 KB...]
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 mkdirp@0.5.3: Legacy versions of mkdirp are no longer 
supported. Please update to mkdirp 1.x. (Note that the API surface has changed 
to use Promises in 1.x.)
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 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 553 packages from 388 contributors and audited 2165 packages in 31.043s

5 packages are looking for funding
  run `npm fund` for details

found 36 vulnerabilities (10 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 139665268283136)> running `nosetests  
--with-xunitmp --processes=4 --process-timeout=360` in AlluraTest

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

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

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

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

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

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

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

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

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

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

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

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

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

<DummyProcess(Thread-15, started daemon 139664333723392)> 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.561s

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

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeChat
..........SSSSSSSSSSSSS....E.
======================================================================
ERROR: alluratest.test_syntax.TestLinters.test_pyflakes_8
----------------------------------------------------------------------
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/AlluraTest/alluratest/test_syntax.py";,>
 line 124, in <lambda>
    pyflake_test_method = lambda self, these_files=files: 
run_pyflakes(these_files)
  File 
"<https://builds.apache.org/job/Allura/ws/AlluraTest/alluratest/test_syntax.py";,>
 line 95, in run_pyflakes
    raise Exception('pyflakes failure, see stdout')
Exception: pyflakes failure, see stdout
-------------------- >> begin captured stdout << ---------------------
ForgeImporters/forgeimporters/base.py:175: import 'v' from line 50 shadowed by 
loop variable

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

----------------------------------------------------------------------
Ran 29 tests in 10.489s

FAILED (SKIP=13, errors=1)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
AlluraTest
...........
----------------------------------------------------------------------
Ran 11 tests in 13.501s

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

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeLink
......................
----------------------------------------------------------------------
Ran 22 tests in 17.118s

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

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

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

OK (SKIP=8)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeImporters
.................................................................S........
----------------------------------------------------------------------
Ran 74 tests in 60.167s

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 88.788s

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 167.275s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in 
ForgeTracker
..........................................................................................................................................................................................................................................................................................................................................S............................................................................................................................................................................................................................................................................................SSSSSSSS...........................................................................................................................................................................E...E......................S..........................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_handled_http_error (allura.tests.test_helpers.TestUrlOpen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock/mock.py";,>
 line 1330, in patched
    return func(*args, **keywargs)
  File 
"<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_helpers.py";,>
 line 482, in test_handled_http_error
    self.assertRaises(HTTPError, h.urlopen, 'myurl')
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File 
"<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/helpers.py";,> line 
1036, in urlopen
    body = e.fp.read()
AttributeError: 'NoneType' object has no attribute 'read'

======================================================================
ERROR: test_unhandled_http_error (allura.tests.test_helpers.TestUrlOpen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<https://builds.apache.org/job/Allura/ws/.allura-venv/local/lib/python2.7/site-packages/mock/mock.py";,>
 line 1330, in patched
    return func(*args, **keywargs)
  File 
"<https://builds.apache.org/job/Allura/ws/Allura/allura/tests/test_helpers.py";,>
 line 492, in test_unhandled_http_error
    self.assertRaises(HTTPError, h.urlopen, 'myurl')
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File 
"<https://builds.apache.org/job/Allura/ws/Allura/allura/lib/helpers.py";,> line 
1036, in urlopen
    body = e.fp.read()
AttributeError: 'NoneType' object has no attribute 'read'

----------------------------------------------------------------------
Ran 1200 tests in 293.108s

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

OK
finished `nosetests  --with-xunitmp ` in ForgeGit
Running setup_app() from allura.websetup
/p/test/wiki/_discuss/thread/b4657747bb/ 200 OK
{"sidebar": 1, "jinja": 1, "markdown": 4, "ming": 104}
npm: 6.13.4
hostname: asf932
NODE_NAME: H32
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