See <https://ci-builds.apache.org/job/Allura/job/Allura-py3.8%20WIP%20Ticket%208519/5/display/redirect?page=changes>
Changes: [Dillon Walls] fixup! [#8519] ran 'pyupgrade --py38-plus --keep-mock ./**/*.py' ------------------------------------------ [...truncated 176.04 KB...] 4 workers [72 items] 4 workers [59 items] 4 workers [13 items] 4 workers [22 items] 4 workers [12 items] 4 workers [207 items] forgesvn/tests/test_svn_app.py .. [ 2%] forgegit/tests/test_git_app.py .. [ 1%] .. [100%] ------------ generated xml file: /allura/ForgeChat/pytest.junit.xml ------------ ======================== 2 passed, 9 warnings in 20.54s ======================== finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeChat, with returncode: 0 forgesvn/tests/test_tasks.py .... [ 6%] 4 workers [1242 items] forgesvn/tests/functional/test_auth.py .. [ 9%] forgegit/tests/test_tasks.py ..... [ 4%] ....................................................s................... [ 5%] ........................................................................ [ 11%] .........................s.sss....................s.s................... [ 48%] ............. [100%] ---------- generated xml file: /allura/ForgeFeedback/pytest.junit.xml ---------- ======================= 13 passed, 19 warnings in 30.49s ======================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeFeedback, with returncode: 0 ........... [100%] ---------- generated xml file: /allura/ForgeShortUrl/pytest.junit.xml ---------- ======================= 11 passed, 34 warnings in 33.53s ======================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeShortUrl, with returncode: 0 ........................................................................ [ 17%] ............ [100%] --------- generated xml file: /allura/ForgeUserStats/pytest.junit.xml ---------- ======================= 12 passed, 28 warnings in 36.39s ======================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeUserStats, with returncode: 0 ................... [100%] ------------ generated xml file: /allura/ForgeLink/pytest.junit.xml ------------ ======================= 19 passed, 56 warnings in 36.75s ======================= forgegit/tests/functional/test_auth.py ......... [ 10%] finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeLink, with returncode: 0 ...................... [100%] ---------- generated xml file: /allura/ForgeActivity/pytest.junit.xml ---------- ======================= 22 passed, 67 warnings in 48.08s ======================= ........................................................................ [ 23%] finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeActivity, with returncode: 0 .............. [100%] ----------- generated xml file: /allura/ForgeFiles/pytest.junit.xml ------------ ======================= 14 passed, 37 warnings in 50.72s ======================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeFiles, with returncode: 0 . [100%] ----------- generated xml file: /allura/AlluraTest/pytest.junit.xml ------------ ============================== 1 passed in 51.27s ============================== finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in AlluraTest, with returncode: 0 ........................................................................ [ 34%] .......................................................s................ [ 97%] ........................................................................ [ 28%] s.......................................................... [100%] ------------ generated xml file: /allura/ForgeBlog/pytest.junit.xml ------------ ============ 58 passed, 1 skipped, 154 warnings in 73.22s (0:01:13) ============ finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeBlog, with returncode: 0 ........................................................................ [ 34%] ........................................................................ [ 40%] forgegit/tests/functional/test_controllers.py .......................... [ 27%] .s. [100%] --------- generated xml file: /allura/ForgeImporters/pytest.junit.xml ---------- =========== 139 passed, 8 skipped, 257 warnings in 132.69s (0:02:12) =========== finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeImporters, with returncode: 0 s....................................................................... [ 93%] forgesvn/tests/functional/test_controllers.py ........................ [ 36%] ..... [100%] ------------ generated xml file: /allura/ForgeWiki/pytest.junit.xml ------------ =========== 76 passed, 1 skipped, 210 warnings in 152.57s (0:02:32) ============ finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeWiki, with returncode: 0 ........................................................................ [ 46%] ........................................................................ [100%] --------- generated xml file: /allura/ForgeDiscussion/pytest.junit.xml --------- ================= 72 passed, 225 warnings in 176.89s (0:02:56) ================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeDiscussion, with returncode: 0 ........................................................................ [ 52%] ........................................................................ [ 57%] forgesvn/tests/model/test_repository.py ................................ [ 73%] .....F......................................s........................... [ 63%] ................... [ 95%] forgesvn/tests/model/test_svnimplementation.py .... [100%] ------------ generated xml file: /allura/ForgeSVN/pytest.junit.xml ------------- ================= 87 passed, 136 warnings in 275.28s (0:04:35) ================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml ` in ForgeSVN, with returncode: 0 .....F.................................................................. [ 69%] ...................................................... [ 61%] ........................................................................ [ 75%] ........................................................................ [ 69%] ........................................................................ [ 81%] forgegit/tests/model/test_repository.py ................................ [ 82%] ........................................................................ [ 86%] ........................................................................ [ 92%] ...........................ssssssss..................................... [ 98%] ........................... [100%] ------------ generated xml file: /allura/ForgeGit/pytest.junit.xml ------------- ================ 155 passed, 333 warnings in 400.40s (0:06:40) ================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml ` in ForgeGit, with returncode: 0 .................. [100%] =================================== FAILURES =================================== ______________________ TestRootController.test_validation ______________________ [gw1] linux -- Python 3.8.18 /allura-data/virtualenv/bin/python3.8 allura/tests/functional/test_root.py:96: in test_validation self.app.get('/neighborhood') ../AlluraTest/alluratest/validation.py:343: in get self._validate(resp, 'get', val_params) ../AlluraTest/alluratest/validation.py:313: in _validate validate_page(resp) ../AlluraTest/alluratest/validation.py:212: in validate_page validate_js(html_or_response, within_html=True) ../AlluraTest/alluratest/validation.py:205: in validate_js report_validation_error('js', fname, stdout) ../AlluraTest/alluratest/validation.py:86: in report_validation_error raise AssertionError(message) E AssertionError: js Validation errors (/tmp/eslint-2zju8lwj.html): E E > allura@0.0.0 eslint /allura E > eslint "-c" "/allura/Allura/../.eslintrc-es5" "--no-ignore" "--rule" "indent: 0" "--plugin" "html" "/tmp/eslint-2zju8lwj.html" E E sh: 1: eslint: not found E npm ERR! code ELIFECYCLE E npm ERR! syscall spawn E npm ERR! file sh E npm ERR! errno ENOENT E npm ERR! allura@0.0.0 eslint: `eslint "-c" "/allura/Allura/../.eslintrc-es5" "--no-ignore" "--rule" "indent: 0" "--plugin" "html" "/tmp/eslint-2zju8lwj.html"` E npm ERR! spawn ENOENT E npm ERR! E npm ERR! Failed at the allura@0.0.0 eslint script. E npm ERR! This is probably not a problem with npm. There is likely additional logging output above. E E npm ERR! A complete log of this run can be found in: E npm ERR! /root/.npm/_logs/2023-09-18T14_37_46_898Z-debug.log _______________ TestStaticFilesMiddleware.test_static_controller _______________ [gw1] linux -- Python 3.8.18 /allura-data/virtualenv/bin/python3.8 allura/tests/functional/test_static.py:30: in test_static_controller self.app.get('/nf/_static_/wiki/js/browse.js') ../AlluraTest/alluratest/validation.py:343: in get self._validate(resp, 'get', val_params) ../AlluraTest/alluratest/validation.py:319: in _validate validate_js(resp.text) ../AlluraTest/alluratest/validation.py:205: in validate_js report_validation_error('js', fname, stdout) ../AlluraTest/alluratest/validation.py:86: in report_validation_error raise AssertionError(message) E AssertionError: js Validation errors (/tmp/eslint-2urdb4cc.js): E E > allura@0.0.0 eslint /allura E > eslint "-c" "/allura/Allura/../.eslintrc-es5" "--no-ignore" "/tmp/eslint-2urdb4cc.js" E E sh: 1: eslint: not found E npm ERR! code ELIFECYCLE E npm ERR! syscall spawn E npm ERR! file sh E npm ERR! errno ENOENT E npm ERR! allura@0.0.0 eslint: `eslint "-c" "/allura/Allura/../.eslintrc-es5" "--no-ignore" "/tmp/eslint-2urdb4cc.js"` E npm ERR! spawn ENOENT E npm ERR! E npm ERR! Failed at the allura@0.0.0 eslint script. E npm ERR! This is probably not a problem with npm. There is likely additional logging output above. E E npm ERR! A complete log of this run can be found in: E npm ERR! /root/.npm/_logs/2023-09-18T14_38_19_142Z-debug.log ------------- generated xml file: /allura/Allura/pytest.junit.xml -------------- =========================== short test summary info ============================ FAILED allura/tests/functional/test_root.py::TestRootController::test_validation FAILED allura/tests/functional/test_static.py::TestStaticFilesMiddleware::test_static_controller ==== 2 failed, 1230 passed, 10 skipped, 1490 warnings in 404.06s (0:06:44) ===== finished `pytest allura/tests/ --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in Allura, with returncode: 1 ............................................................... [100%] ---------- generated xml file: /allura/ForgeTracker/pytest.junit.xml ----------- ================ 207 passed, 505 warnings in 606.51s (0:10:06) ================= finished `pytest --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist loadfile` in ForgeTracker, with returncode: 0 ============================================================================= 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_solr_1 ... Removing allura_mongo_1 ... Removing allura_mongo_1 ... done Removing allura_solr_1 ... done Removing allura_web_1 ... done Removing network allura_default Total reclaimed space: 0B Deleted Volumes: 7196dc4a570337e32f922e68cb1f1f8be4c3e39097042f65b88b8daed8dae545 94e6c5b6e2e16160cafbdd1325162d3dc51cd4ed38e05dfecaef6725c0bb7a3c f563b9cddac50fd0f9d9804c82705086e8d99969e9afad4c7fea56192cba5f99 19b6eb84e36dcfe0418397eb3f04a037b408be33f26a77c63bf31ed1b299b67d bcb40efc79008f8faa83b71e909fdc3239762199e64b657a57cd30011cbcf895 c5bd1397844a939cb3cb3ed96f4ccf9c1b680c75e5d425941b7d7579d763fd89 e9322c7375621f091d93e9aca73260bd9d74bbf806520cdeafb52872957f6514 4606f305f0404b6a7c0f6455f405dab8f11cdde2ddd3a7f9d480d7b12072d59c 40174435cee64a84ef494ea9ace1e32120d6b4e988343d4a250e1d410a6e8004 6ef32b5abbe5b679be8dbf8d08417d8a328912144cf26d10986a44f3130bc895 7d9a7f89c9b6c07f5584eb003f72812830b6d4d493af39f508351320b74127c8 e7bb5f75def515a832da128eaa94078b895860e5ee6b42092c868165bbec5dd5 2afaefa7940d4b8a87f022daa1d47fcb191285b529087d8c4a4cebf3f30e0070 4e80e5f3adc9e14e785cbcb086838b062293d8d60e253a450f42e60361cbbefd 2c39426c516d9094c6f33e43b4a974a3ea276b4b1bce8eec33b131ec369b3cb5 86456dcb0b63c036f79fedc760fb00125379cb8e92daa9f83f0c376d62c3f082 0defaa68e4c2e8fc333bfdc2acf08c79215235ecc74c7ee54ce576cc571db89d 392e38a95cddc7ea4902f193ee51db233b02f1f72340a9e5c45fa1c935d9ea03 1379af7e3ee08b3447f35106b6e52f9a9222fdc290a7c3fd70e13886492893fa 72038b7b1661d51721f50475ef6c27abfe0e5c3c93829a05a7652eff2da4cbc3 bc1b03ff2fbd4df2c380cc32950d8927907a838fd6441390abe3bf7088e4c0e8 cc8b167149a81958d2a7b3ae6ae01c6938e8a59f64cf6f124a1801b0909ae832 3f75ba013645810adec36e539ab8028a4d256040eccd8ff53f7f8df1c86ef3b3 bb6faa18c7ec61ef627e77885d91df844fdd3ea41dcaac528a2a369fc6c15b35 2e0e091f2939229458f628da3c2c9eb4cf7b0bbd70246096bcba0991540c4d05 e8b6806ce34488c2f9f026e7432fa730890aca71f0626171271ae914b675429f 034f0998389778105a0bee250be2af8eb19235531f3e411d494397f4f03808a8 6ff84cb2efbbeb5985ed67b92648f419e28fce846141e91bdd3b0a65e0b377a9 5cbec94401d120ce87ad9e5df11035a684c08e088220a51afeea6df9a806773f d53224a34ba19b993ecd01c6e7d0c035cd9f4768317d0f31ce6f058389accaf9 54a188c460d7c1c8bd92d81623ccc26606cbfc2598583fa486d7a7d8259e942f 911aaea34c8c246e59a2e7c6ee70c0da50f1887f2f9aac92a4885907bb29bb9a bd7bc9918145d8d87431b727b6b9ab6a2a2e37b971c775a45a7deb87fac15501 6372f09100db88b017ec1fdbd902e8b585ba30c39995014422085b0671ea2cec e271a86713e7b9cfee22670d0b0d15938e39cf4676b8f7bd566a7052b979a1cc 0a1d64acd09d4edafc145a9158ac493cfd266ce90c45196ac9236deb25937cb9 0181831faa68865b1138a6cc2496d3abd0d114db741afde63fcd5d4e31842cc4 d1aac4c2b40751c0032106d64b48cefd3ae9954ec931e01f4ed7d901497e7806 f167e9fc7c320e06b66a9e127b352cc9344f9f0348813e78c76971241d27040c fef265657faf01a741c7d91f6e2e168d3fd9039563046f8b139e6b024aabdf12 4ab5f518ee4ed763018c6cc77d2ec27bbe28a057481c161bf63b52ae878b43c3 56b474ba38f4208b4aa1422acd16513abe12d1b7d6fc33f007eaf500d59bcbf0 b054a2f427f1964c2f0de33ba65bb745a4d59c0ed3310ee2b105a1a066edc6a5 dadae2bb712db22723e9fcc3ebece9238d0a13f0635aa6c204f14178b1cbacee e15f826a26c15ad360afd87daed91518a4c8d7a9bb45f2bbaae18f65f87ca504 68b64353c30e9a9c4aff7d065abdbd38fb4ea4ee1ffc6798fd6b0f481350ec72 Total reclaimed space: 7.763GB Build step 'Execute shell' marked build as failure Recording test results [Checks API] No suitable checks publisher found.