See 
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.7/174/display/redirect?page=changes>

Changes:

[dbrondsema] update deprecated html unescape function


------------------------------------------
[...truncated 128.94 KB...]
gw0 I / gw1 I / gw2 I / gw3 I
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.0, pluggy-1.0.0
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.0, pluggy-1.0.0
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.0, pluggy-1.0.0
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.0, pluggy-1.0.0
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.0, pluggy-1.0.0
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.0.2, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I

> allura@0.0.0 lint-es6 /allura
> eslint -c .eslintrc-es6  --ignore-path .eslintignore-es6 
> Allura/allura/public/**/*.es6.js || true

gw0 [29] / gw1 [29] / gw2 [29] / gw3 [29]

finished `npm run lint-es6` in ., with returncode: 0
collected 154 items

collected 87 items

gw0 [11] / gw1 [11] / gw2 [11] / gw3 [11]

gw0 [19] / gw1 [19] / gw2 [19] / gw3 [19]

gw0 [12] / gw1 [12] / gw2 [12] / gw3 [12]

gw0 [22] / gw1 [22] / gw2 [22] / gw3 [22]

gw0 [2] / gw1 [2] / gw2 [2] / gw3 [2]

gw0 [72] / gw1 [72] / gw2 [72] / gw3 [72]

gw0 [13] / gw1 [13] / gw2 [13] / gw3 [13]

gw0 [59] / gw1 [59] / gw2 [59] / gw3 [59]

gw0 [14] / gw1 [14] / gw2 [14] / gw3 [14]

gw0 [76] / gw1 [76] / gw2 [76] / gw3 [76]

gw0 [146] / gw1 [146] / gw2 [146] / gw3 [146]

gw0 [206] / gw1 [206] / gw2 [206] / gw3 [206]

forgegit/tests/test_git_app.py ..                                        [  1%]
forgesvn/tests/test_svn_app.py ..                                        [  2%]
gw0 [1241] / gw1 [1241] / gw2 [1241] / gw3 [1241]

..                                                                       [100%]
------------ generated xml file: /allura/ForgeChat/pytest.junit.xml ------------
======================= 2 passed, 11 warnings in 25.53s ========================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeChat, with returncode: 0
forgegit/tests/test_tasks.py .....                                       [  4%]
.......................................................s................ [  5%]
forgesvn/tests/test_tasks.py ....                                        [  6%]
........................................................................ [ 11%]
forgesvn/tests/functional/test_auth.py ..                                [  9%]
.............                                                            [100%]
---------- generated xml file: /allura/ForgeFeedback/pytest.junit.xml ----------
======================= 13 passed, 43 warnings in 38.00s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeFeedback, with returncode: 0
...............................................s..................ss.s.. [ 49%]
forgegit/tests/functional/test_auth.py .........                         [ 10%]
...........                                                              [100%]
---------- generated xml file: /allura/ForgeShortUrl/pytest.junit.xml ----------
======================= 11 passed, 66 warnings in 48.92s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeShortUrl, with returncode: 0
............                                                             [100%]
--------- generated xml file: /allura/ForgeUserStats/pytest.junit.xml ----------
====================== 12 passed, 144 warnings in 49.26s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeUserStats, with returncode: 0
........................................................................ [ 17%]
...................                                                      [100%]
------------ generated xml file: /allura/ForgeLink/pytest.junit.xml ------------
====================== 19 passed, 108 warnings in 52.01s =======================
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, 118 warnings in 55.29s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeActivity, with returncode: 0
...s.s.s.s.s.s.s.s.s.s.s.s.s.                                            [100%]
----------- generated xml file: /allura/AlluraTest/pytest.junit.xml ------------
======================= 16 passed, 13 skipped in 55.44s ========================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in AlluraTest, with returncode: 0
........................................................................ [ 23%]
..............                                                           [100%]
----------- generated xml file: /allura/ForgeFiles/pytest.junit.xml ------------
================== 14 passed, 65 warnings in 63.08s (0:01:03) ==================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeFiles, with returncode: 0
........................................................................ [ 34%]
........................................................................ [ 29%]
s..........................................................              [100%]
------------ generated xml file: /allura/ForgeBlog/pytest.junit.xml ------------
============ 58 passed, 1 skipped, 404 warnings in 85.54s (0:01:25) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeBlog, with returncode: 0
........................................................................ [ 34%]
.....................................s..s.....................s......... [ 98%]
forgegit/tests/functional/test_controllers.py .......................... [ 27%]
........................................................................ [ 40%]
s....................................................................... [ 94%]
....                                                                     [100%]
------------ generated xml file: /allura/ForgeWiki/pytest.junit.xml ------------
=========== 75 passed, 1 skipped, 852 warnings in 143.29s (0:02:23) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeWiki, with returncode: 0
s.                                                                       [100%]
--------- generated xml file: /allura/ForgeImporters/pytest.junit.xml ----------
=========== 138 passed, 8 skipped, 514 warnings in 144.32s (0:02:24) ===========
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeImporters, with returncode: 0
........................................................................ [100%]
--------- generated xml file: /allura/ForgeDiscussion/pytest.junit.xml ---------
================ 72 passed, 1012 warnings in 147.04s (0:02:27) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeDiscussion, with returncode: 0
........................................................................ [ 46%]
forgesvn/tests/functional/test_controllers.py ........................   [ 36%]
...............F........................................................ [ 52%]
........................................................................ [ 58%]
..........................................s............................. [ 63%]
forgesvn/tests/model/test_repository.py ................................ [ 73%]
........................................................................ [ 69%]
......................................................                   [ 62%]
...................                                                      [ 95%]
forgesvn/tests/model/test_svnimplementation.py ....                      [100%]

------------ generated xml file: /allura/ForgeSVN/pytest.junit.xml -------------
================ 87 passed, 4406 warnings in 242.05s (0:04:02) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml ` in 
ForgeSVN, with returncode: 0
........................................................................ [ 75%]
........................................................................ [ 81%]
forgegit/tests/model/test_repository.py ................................ [ 83%]
........................................................................ [ 87%]
........................................................................ [ 69%]
........................................................................ [ 92%]
.................................ssssssss............................... [ 98%]
.................                                                        [100%]
=================================== FAILURES ===================================
____________________ TestProjectAdmin.test_social_networks _____________________
[gw2] linux -- Python 3.7.16 /allura-data/virtualenv/bin/python3.7

self = <allura.tests.functional.test_admin.TestProjectAdmin object at 
0x7fd369ea97d0>

    def test_social_networks(self):
        #Invalid Twitter
        resp = self.app.post('/admin/update', 
params={'twitter_handle':'https://twit.com/tests'})
        assert resp.status_int == 200
        resp = self.app.post('/admin/update', params={'twitter_handle': 
'https://google.com'})
        assert resp.status_int == 200
        #invalid Facebook
        resp = self.app.post('/admin/update', params={'facebook_page': 
'https://facebok.com'})
        assert resp.status_int == 200
        resp = self.app.post('/admin/update', params={'facebook_page': 
'https://spam.com'})
        assert resp.status_int == 200
        assert 'Invalid Facebook address' in resp
        #invalid instagram
        resp = self.app.post('/admin/update', params={'instagram_page': 
'https://instagrams.com'})
        assert resp.status_int == 200
        #invalid fediverse
        resp = self.app.post('/admin/update', params={'fediverse_address': 
'@test12@indieweb.social'})
>       assert resp.status_int == 200
E       AssertionError: assert 302 == 200
E        +  where 302 = <302 Found text/plain location: 
http://localhost/admin/overview body=b'302 Foun...y.  '/111>.status_int

allura/tests/functional/test_admin.py:976: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
WARNING  allura.lib.custom_middleware:custom_middleware.py:203 CSRF attempt 
detected: cookie 
'79ded82f0619317479c1a4728a3a74c89e36787e983360a41be3dcd69b7e66cdb004ed02195f554e'
 != param None
------------- generated xml file: /allura/Allura/pytest.junit.xml --------------
=========================== short test summary info ============================
FAILED 
allura/tests/functional/test_admin.py::TestProjectAdmin::test_social_networks
==== 1 failed, 1230 passed, 10 skipped, 5333 warnings in 301.28s (0:05:01) =====
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/ForgeGit/pytest.junit.xml -------------
================ 154 passed, 3486 warnings in 306.56s (0:05:06) ================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml ` in 
ForgeGit, with returncode: 0
..............................................................           [100%]
---------- generated xml file: /allura/ForgeTracker/pytest.junit.xml -----------
================ 206 passed, 2541 warnings in 437.13s (0:07:17) ================
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_web_run_88d627ca0677 ... 
Removing allura_solr_1               ... 
Removing allura_mongo_1              ... 
Removing allura_web_run_88d627ca0677 ... done
Removing allura_solr_1               ... done
Removing allura_mongo_1              ... done
Removing allura_web_1                ... done
Removing network allura_default
Deleted Containers:
eaa985f41983e8d39bd82fd2a549f21e9a9f2b86ac1508811b2c2a51865103c1

Total reclaimed space: 54.06MB
Deleted Volumes:
bd2f075e0728be34318661d16a0c79f6211964a7295b8d8e46664c42ffa141aa
0f90bc41428756d6a037ff4d20ead683e767c3b056350083863c84f1570d9332
1b29eab948740afceced49951328c3e8fc95fe8321f9e1043259b23f5c450507
0a80004a72c8f818c19b191f8425118f123ed4089f2cdab39da030fd5099a9c5
40e03d48d5c01c9213db676daf79fd25d6c7a102deda51d57208e87190f991e4
61261a32df5cfbba0496e40d0297d94ed69c9a995a7f7aa148a85316f137d454
a8be0142ab1df9bac595d36726f42047908b9c3eb00c43cb9d2418b84fcbccf8
06b795c28a8b04ee01152b131c2745a3f158dd0f8370f23c08c237d28a2f18b8
5cfd36703bd5eff8dc2a2350ea4d008ba62eb7b54b89b38707d26e474eedcbb4
a327167daf0ca9ec6a5a61c72ec6c3e546d758dba65f8dd00c5b9be1bce14def
fc6fa6301a4358903e401aa9031803f43c8e20ccdca57605ed6d0b012448e124
719ba03ee90ff59783cd469e9eb49ac200af0efa65bfcf773e84af04afd71512
96efc1de730a2c3aec48ec0100e2333ef1384e6bbd96f93693ec52255d5f56b7

Total reclaimed space: 1.284GB
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

Reply via email to