See <https://ci-builds.apache.org/job/Allura/job/Allura-py3.7/124/display/redirect?page=changes>
Changes: [guillermo.cruz] [#8462] Redirect any missing tools as 301 instead of 404 ------------------------------------------ [...truncated 123.68 KB...] Copyright (C) 2017 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.9 (compiled with 1.3.9) - handles 'http' scheme - handles 'https' scheme The following authentication credential caches are available: * Plaintext cache in /root/.subversion * Gnome Keyring * GPG-Agent * KWallet (KDE) pip: pip 22.2.2 from /allura-data/virtualenv/lib/python3.7/site-packages/pip (python 3.7) npm: 6.14.12 whoami: root ============================================================================= Setup: tests ============================================================================= ============================================================================= Run: tests ============================================================================= /allura-data/virtualenv/lib/python3.7/site-packages/pycodestyle.py:2634: UserWarning: [pep8] section is deprecated. Use [pycodestyle]. warnings.warn('[pep8] section is deprecated. Use [pycodestyle].') <DummyProcess(Thread-1, started daemon 139749585671936)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest <DummyProcess(Thread-2, started daemon 139749577279232)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura <DummyProcess(Thread-3, started daemon 139749568886528)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity <DummyProcess(Thread-4, started daemon 139749560493824)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog <DummyProcess(Thread-5, started daemon 139749552101120)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat <DummyProcess(Thread-6, started daemon 139749543708416)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion <DummyProcess(Thread-7, started daemon 139749535315712)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback <DummyProcess(Thread-8, started daemon 139749526923008)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFiles <DummyProcess(Thread-9, started daemon 139749041895168)> running `nosetests --with-xunitmp ` in ForgeGit <DummyProcess(Thread-10, started daemon 139749033502464)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters <DummyProcess(Thread-11, started daemon 139749025109760)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink <DummyProcess(Thread-12, started daemon 139749016717056)> running `nosetests --with-xunitmp ` in ForgeSVN <DummyProcess(Thread-13, started daemon 139749008324352)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl <DummyProcess(Thread-14, started daemon 139748999931648)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker <DummyProcess(Thread-15, started daemon 139748991538944)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats <DummyProcess(Thread-16, started daemon 139748437915392)> running `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki <DummyProcess(Thread-17, started daemon 139748429522688)> running `npm run lint-es6` in . > allura@0.0.0 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 11.935s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat ..........SSSSSSSSSSSSS...... ---------------------------------------------------------------------- Ran 29 tests in 17.258s OK (SKIP=13) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest ........... ---------------------------------------------------------------------- Ran 11 tests in 20.666s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl ...................... ---------------------------------------------------------------------- Ran 22 tests in 26.100s OK ................... .............. ---------------------------------------------------------------------- Ran 19 tests in 26.265s OK ---------------------------------------------------------------------- Ran 14 tests in 26.495s OK ............. ---------------------------------------------------------------------- Ran 13 tests in 26.381s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeFiles finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink ............ ---------------------------------------------------------------------- Ran 12 tests in 39.033s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats .......................................................S... ---------------------------------------------------------------------- Ran 59 tests in 44.967s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog ....................................................................S...... ---------------------------------------------------------------------- Ran 75 tests in 67.171s OK (SKIP=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki ........................................................./allura/ForgeTracker/forgetracker/tests/functional/test_root.py:906: 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 906 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 72 tests in 84.221s OK finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion ..............................E........../allura/ForgeTracker/forgetracker/tests/functional/test_root.py:949: 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 949 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:1329: 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 1329 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 146 tests in 116.153s OK (SKIP=8) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters ........................................................................................................ ====================================================================== ERROR: See [#5708] for details. ---------------------------------------------------------------------- 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 84, in wrapped return func(*args, **kw) File "/allura/ForgeTracker/forgetracker/tests/functional/test_root.py", line 2316, in test_move_ticket_and_delete_tool r.follow(status=404) # and not found 'cause already deleted File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/response.py", line 93, in follow return self._follow(**kw) File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/response.py", line 80, in _follow return self.test_app.get(abslocation, **kw) File "/allura/AlluraTest/alluratest/validation.py", line 341, in get resp = super().get(*args, **kw) File "/allura/AlluraTest/alluratest/validation.py", line 284, in get return super().get(*args, **kwargs) File "/allura-data/virtualenv/lib/python3.7/site-packages/webtest/app.py", line 325, in get 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: 301 Moved Permanently (not 404) 301 Moved Permanently The resource has been moved to http://localhost/p/test/admin/; you should be redirected automatically. ---------------------------------------------------------------------- Ran 206 tests in 150.392s FAILED (errors=1) finished `nosetests --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker .......................................................................................................................................................................................................................................................................................................................................................S.............................................................................................................................................................................................................................................................................../allura-data/virtualenv/lib/python3.7/site-packages/bs4/__init__.py:439: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup. MarkupResemblesLocatorWarning ....................SSSSSSSS.......................................................................................................................................S...................................................................................................................................../allura-data/virtualenv/lib/python3.7/site-packages/bs4/__init__.py:439: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup. MarkupResemblesLocatorWarning .................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 1236 tests in 250.235s OK (SKIP=10) finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura ....................................................................................... ---------------------------------------------------------------------- Ran 87 tests in 267.992s OK finished `nosetests --with-xunitmp ` in ForgeSVN .............................................................................................................................................................. ---------------------------------------------------------------------- Ran 158 tests in 326.005s OK finished `nosetests --with-xunitmp ` in ForgeGit ============================================================================= Shutdown ============================================================================= Stopping allura_web_1 ... Stopping allura_solr_1 ... Stopping allura_web_1 ... done Stopping allura_solr_1 ... done Removing allura_web_1 ... Removing allura_web_run_d8e5d8f904b3 ... Removing allura_mongo_1 ... Removing allura_solr_1 ... Removing allura_mongo_1 ... done Removing allura_solr_1 ... done Removing allura_web_run_d8e5d8f904b3 ... done Removing allura_web_1 ... done Removing network allura_default Total reclaimed space: 0B Deleted Volumes: 57a8b9b67ea690bdbff6c956a032fe8f6033c148bd266fdeeac1f8260339aa36 19ded88f3df28187af5b4d44a878a3c017c367555e6ccd219b794a6a2fcab333 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