See
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.7/11/display/redirect?page=changes>
Changes:
[Dillon Walls] 8414 Added a new validator to restrict private/internal ips from
being submitted in the form
------------------------------------------
[...truncated 121.34 KB...]
Requirement already satisfied: urllib3<1.27,>=1.21.1 in
/allura-data/virtualenv/lib/python3.7/site-packages (from
requests>=2.5.0->sphinx>=1.2.0->sphinx-argparse->-r requirements-dev.txt (line
6)) (1.26.6)
Requirement already satisfied: certifi>=2017.4.17 in
/allura-data/virtualenv/lib/python3.7/site-packages (from
requests>=2.5.0->sphinx>=1.2.0->sphinx-argparse->-r requirements-dev.txt (line
6)) (2021.5.30)
Requirement already satisfied: charset-normalizer~=2.0.0 in
/allura-data/virtualenv/lib/python3.7/site-packages (from
requests>=2.5.0->sphinx>=1.2.0->sphinx-argparse->-r requirements-dev.txt (line
6)) (2.0.4)
Requirement already satisfied: pyparsing>=2.0.2 in
/allura-data/virtualenv/lib/python3.7/site-packages (from
packaging->sphinx>=1.2.0->sphinx-argparse->-r requirements-dev.txt (line 6))
(2.4.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-py3-none-any.whl
size=3248
sha256=eb614e110cd10780c05f290cfb6363098c3b456dd2f019cbecb4e7398390c488
Stored in directory:
/root/.cache/pip/wheels/2e/29/a9/431158315f33abeaad2905460f5ffb18fc30f7ed7c66c47dee
Successfully built nose-xunitmp
Installing collected packages: snowballstemmer, q, nose, alabaster, tomli,
sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath,
sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp,
pycodestyle, nose-xunitmp, imagesize, coverage, babel, sphinx, pep517, click,
sphinxcontrib-programoutput, sphinx-rtd-theme, sphinx-argparse, pip-tools
Successfully installed alabaster-0.7.12 babel-2.9.1 click-8.0.4 coverage-6.3.2
imagesize-1.3.0 nose-1.3.7 nose-xunitmp-0.4.1 pep517-0.12.0 pip-tools-6.5.1
pycodestyle-2.8.0 q-2.6 snowballstemmer-2.2.0 sphinx-4.4.0
sphinx-argparse-0.3.1 sphinx-rtd-theme-1.0.0 sphinxcontrib-applehelp-1.0.2
sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0
sphinxcontrib-jsmath-1.0.1 sphinxcontrib-programoutput-0.17
sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 tomli-2.0.1
=============================================================================
Run: tests
=============================================================================
Creating allura_web_run ...
Creating allura_web_run ... done
1
Creating allura_web_run ...
Creating allura_web_run ... done
/allura-data/virtualenv/lib/python3.7/site-packages/pycodestyle.py:2665:
UserWarning: [pep8] section is deprecated. Use [pycodestyle].
warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
1
Creating allura_web_run ...
Creating allura_web_run ... done
<DummyProcess(Thread-1, started daemon 139757301114624)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in AlluraTest
<DummyProcess(Thread-2, started daemon 139757292721920)> running `nosetests
allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura
<DummyProcess(Thread-3, started daemon 139757284329216)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity
<DummyProcess(Thread-4, started daemon 139757275936512)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog
<DummyProcess(Thread-5, started daemon 139757267543808)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeChat
<DummyProcess(Thread-6, started daemon 139757259151104)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion
<DummyProcess(Thread-7, started daemon 139757250758400)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback
<DummyProcess(Thread-8, started daemon 139757242365696)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeFiles
<DummyProcess(Thread-9, started daemon 139756759414528)> running `nosetests
--with-xunitmp ` in ForgeGit
<DummyProcess(Thread-10, started daemon 139756751021824)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters
<DummyProcess(Thread-11, started daemon 139756742629120)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeLink
<DummyProcess(Thread-12, started daemon 139756734236416)> running `nosetests
--with-xunitmp ` in ForgeSVN
<DummyProcess(Thread-13, started daemon 139756725843712)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl
<DummyProcess(Thread-14, started daemon 139756717451008)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker
<DummyProcess(Thread-15, started daemon 139756709058304)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats
<DummyProcess(Thread-16, started daemon 139756155434752)> running `nosetests
--with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki
<DummyProcess(Thread-17, started daemon 139756147042048)> running `npm run
lint-es6` in .
> [email protected] lint-es6 /allura
> eslint -c .eslintrc-es6 --ignore-path .eslintignore-es6
> Allura/allura/public/**/*.es6.js || true
finished `npm run lint-es6` in .
..
----------------------------------------------------------------------
Ran 2 tests in 9.987s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeChat
..........SSSSSSSSSSSSS......
----------------------------------------------------------------------
Ran 29 tests in 15.717s
OK (SKIP=13)
.............
----------------------------------------------------------------------
Ran 13 tests in 16.617s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
AlluraTest
...........
----------------------------------------------------------------------
Ran 11 tests in 17.291s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeFeedback
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeShortUrl
...................
----------------------------------------------------------------------
Ran 19 tests in 20.984s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeLink
..............
----------------------------------------------------------------------
Ran 14 tests in 22.769s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeFiles
......................
----------------------------------------------------------------------
Ran 22 tests in 24.990s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeActivity
............
----------------------------------------------------------------------
Ran 12 tests in 31.679s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeUserStats
........................................................S.
----------------------------------------------------------------------
Ran 58 tests in 38.495s
OK (SKIP=1)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeBlog
....................................................................S......
----------------------------------------------------------------------
Ran 75 tests in 58.790s
OK (SKIP=1)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeWiki
........................................................./allura/ForgeTracker/forgetracker/tests/functional/test_root.py:912:
GuessedAtParserWarning: 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 912 of the file
/allura/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 71 tests in 71.987s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeDiscussion
......................................../allura/ForgeTracker/forgetracker/tests/functional/test_root.py:955:
GuessedAtParserWarning: 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 955 of the file
/allura/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']))
..../allura/ForgeTracker/forgetracker/tests/functional/test_root.py:1335:
GuessedAtParserWarning: 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 1335 of the file
/allura/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'})
..........................................................................................................SSSS..SS..........S..................S.
----------------------------------------------------------------------
Ran 145 tests in 112.659s
OK (SKIP=8)
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeImporters
......................................................................................................
----------------------------------------------------------------------
Ran 203 tests in 129.304s
OK
finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in
ForgeTracker
......E.................................................................................
======================================================================
ERROR:
forgesvn.tests.functional.test_controllers.TestImportController.test_url_import_validation_fail
----------------------------------------------------------------------
Traceback (most recent call last):
File "/allura-data/virtualenv/lib/python3.7/site-packages/nose/case.py", line
198, in runTest
self.test(*self.arg)
File "/allura/Allura/allura/tests/decorators.py", line 86, in wrapped
return func(*args, **kw)
File "/allura/ForgeSVN/forgesvn/tests/functional/test_controllers.py", line
325, in test_url_import_validation_fail
status=200)
File "/allura/AlluraTest/alluratest/validation.py", line 363, in post
resp = super(ValidatingTestApp, self).post(*args, **kw)
File "/allura/AlluraTest/alluratest/validation.py", line 305, in post
return super(PostParamCheckingTestApp, self).post(*args, **kwargs)
File "/allura/AlluraTest/alluratest/validation.py", line 234, in post
return super(AntiSpamTestApp, self).post(*args, **kwargs)
File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/app.py",
line 372, in post
content_type=content_type)
File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/app.py",
line 750, in _gen_request
expect_errors=expect_errors)
File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/app.py",
line 646, in do_request
self._check_status(status, res)
File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/app.py",
line 681, in _check_status
"Bad response: %s (not %s)\n%s", res_status, status, res)
webtest.app.AppError: Bad response: 302 Found (not 200)
302 Found
The resource was found at http://localhost/; you should be redirected
automatically.
----------------------------------------------------------------------
Ran 88 tests in 220.756s
FAILED (errors=1)
finished `nosetests --with-xunitmp ` in ForgeSVN
....................................................................................................................................................................................................................................................................................................................................................S...................................................................................................................................................................................................................................................................................................SSSSSSSS.......................................................................................................................................S........................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1232 tests in 226.270s
OK (SKIP=10)
finished `nosetests allura/tests/ --with-xunitmp --processes=4
--process-timeout=360` in Allura
...........................................................................................................................................................
----------------------------------------------------------------------
Ran 155 tests in 267.491s
OK
finished `nosetests --with-xunitmp ` in ForgeGit
1
=============================================================================
Shutdown
=============================================================================
Stopping allura_solr_1 ...
Stopping allura_mongo_1 ...
Stopping allura_solr_1 ... done
Stopping allura_mongo_1 ... done
Removing allura_web_run_bf4034f57bfc ...
Removing allura_web_run_f745964627e2 ...
Removing allura_web_run_ac920974855c ...
Removing allura_web_run_3e9ee19147d7 ...
Removing allura_web_run_95fbce8a748a ...
Removing allura_web_run_3f7ff14b9ee6 ...
Removing allura_solr_1 ...
Removing allura_mongo_1 ...
Removing allura_web_run_3f7ff14b9ee6 ... done
Removing allura_solr_1 ... done
Removing allura_web_run_95fbce8a748a ... done
Removing allura_web_run_f745964627e2 ... done
Removing allura_mongo_1 ... done
Removing allura_web_run_3e9ee19147d7 ... done
Removing allura_web_run_ac920974855c ... done
Removing allura_web_run_bf4034f57bfc ... done
Removing network allura_default
Deleted Containers:
c4d9e385b013fa8bfe05cb96cdedb05421acd12487a6f9b088e319d738df3cfe
1dd05c08422baf7757f0cec259c2deb0aaaae7ed42686f56de243f9312449774
bfa4d5ad8049624fcb2b5c54959d898d2010f1cb5fff5c935bdc5cb2960aa786
0c8506eb06b601cdd584aaae286424f2a57ff04f3f7800aed84879d81bf207d7
517f6bbae0a49ade097e20e67e78c6b0ba07823992d1f93315580133721b13a7
1a8fa20cbe85894b2a0e52b96da2ae0b288c6d30bc00b004a13149dd7f3fa824
Total reclaimed space: 495.6MB
Deleted Volumes:
ed65c3797bbac43adad9573af815a74060b09d5cb17b26d525c3152bb59aa79b
Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.
Publishing Clover coverage report...
No Clover report will be published due to a build Failure