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

Changes:

[guillermo.cruz] [#8492] test fix for test_remove_no_index_tag_profile


------------------------------------------
[...truncated 135.25 KB...]
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.1.0, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.1.0, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.1.0, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.1, pluggy-1.0.0
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.1.0, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
============================= test session starts ==============================
platform linux -- Python 3.7.16, pytest-7.2.1, pluggy-1.0.0
rootdir: /allura, configfile: pytest.ini
plugins: xdist-3.1.0, sugar-0.9.6
gw0 I / gw1 I / gw2 I / gw3 I
finished `npm run lint-es6` in ., with returncode: 0
gw0 [29] / gw1 [29] / gw2 [29] / gw3 [29]

collected 87 items

collected 154 items

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

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

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

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 [76] / gw1 [76] / gw2 [76] / gw3 [76]

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

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

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

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

forgesvn/tests/test_svn_app.py ..                                        [  2%]
gw0 [206] / gw1 [206] / gw2 [206] / gw3 [206]

forgegit/tests/test_git_app.py ..                                        [  1%]
forgesvn/tests/test_tasks.py ....                                        [  6%]
forgesvn/tests/functional/test_auth.py ..                                [  9%]
..                                                                       [100%]
------------ generated xml file: /allura/ForgeChat/pytest.junit.xml ------------
======================= 2 passed, 11 warnings in 23.59s ========================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeChat, with returncode: 0
gw0 [1241] / gw1 [1241] / gw2 [1241] / gw3 [1241]

forgegit/tests/test_tasks.py .....                                       [  4%]
...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 27.10s ========================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in AlluraTest, with returncode: 0
............................................................s........... [  5%]
........................................................................ [ 11%]
.............                                                            [100%]
---------- generated xml file: /allura/ForgeFeedback/pytest.junit.xml ----------
======================= 13 passed, 43 warnings in 33.33s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeFeedback, with returncode: 0
........................s.s.s.............s............s...s............ [ 48%]
...................                                                      [100%]
------------ generated xml file: /allura/ForgeLink/pytest.junit.xml ------------
====================== 19 passed, 108 warnings in 41.84s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeLink, with returncode: 0
forgegit/tests/functional/test_auth.py .........                         [ 10%]
...........                                                              [100%]
---------- generated xml file: /allura/ForgeShortUrl/pytest.junit.xml ----------
======================= 11 passed, 66 warnings in 43.42s =======================
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 43.67s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeUserStats, with returncode: 0
........................................................................ [ 17%]
........................................................................ [ 23%]
..............                                                           [100%]
----------- generated xml file: /allura/ForgeFiles/pytest.junit.xml ------------
======================= 14 passed, 65 warnings in 56.58s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeFiles, with returncode: 0
......................                                                   [100%]
---------- generated xml file: /allura/ForgeActivity/pytest.junit.xml ----------
====================== 22 passed, 118 warnings in 56.69s =======================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeActivity, with returncode: 0
........................................................................ [ 34%]
........................................................................ [ 29%]
s..........................................................              [100%]
------------ generated xml file: /allura/ForgeBlog/pytest.junit.xml ------------
============ 58 passed, 1 skipped, 404 warnings in 79.38s (0:01:19) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeBlog, with returncode: 0
........................................................................ [ 34%]
......................................................s................. [ 98%]
........................................................................ [ 40%]
forgegit/tests/functional/test_controllers.py .......................... [ 27%]
s....................................................................... [ 94%]
forgesvn/tests/functional/test_controllers.py ........................   [ 36%]
....                                                                     [100%]
------------ generated xml file: /allura/ForgeWiki/pytest.junit.xml ------------
=========== 75 passed, 1 skipped, 852 warnings in 139.71s (0:02:19) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeWiki, with returncode: 0
........................................................................ [ 46%]
s.                                                                       [100%]
--------- generated xml file: /allura/ForgeImporters/pytest.junit.xml ----------
=========== 138 passed, 8 skipped, 514 warnings in 148.98s (0:02:28) ===========
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, 1015 warnings in 157.22s (0:02:37) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeDiscussion, with returncode: 0
........................................................................ [ 52%]
........................................................................ [ 58%]
...................................s.................................... [ 63%]
forgesvn/tests/model/test_repository.py ................................ [ 73%]
........................................................................ [ 69%]
...................                                                      [ 95%]
forgesvn/tests/model/test_svnimplementation.py ....                      [100%]

------------ generated xml file: /allura/ForgeSVN/pytest.junit.xml -------------
================ 87 passed, 4406 warnings in 239.56s (0:03:59) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml ` in 
ForgeSVN, with returncode: 0
......................................................                   [ 62%]
...................................F.................................... [ 75%]
........................................................................ [ 81%]
........................................................................ [ 69%]
........................................................................ [ 87%]
........................................................................ [ 92%]
..................................ssssssss.............................. [ 98%]
forgegit/tests/model/test_repository.py ................................ [ 83%]
.................                                                        [100%]
=================================== FAILURES ===================================
_______________ TestUserProfile.test_remove_no_index_tag_profile _______________
[gw2] linux -- Python 3.7.16 /allura-data/virtualenv/bin/python3.7

self = <allura.tests.functional.test_user_profile.TestUserProfile object at 
0x7fe722ff63d0>

    @td.with_user_project('test-user')
    def test_remove_no_index_tag_profile(self):
        self._make_post("New Post...", 'test-user')
        r = self.app.get('/u/test-user/profile/')
>       assert 'content="noindex, follow"' not in r.text
E       assert 'content="noindex, follow"' not in '\n<!DOCTYPE...dy>\n</html>'
E         'content="noindex, follow"' is contained here:
E           ="robots" content="noindex, follow">
E               
E               <link rel="alternate" type="application/rss+xml" title="RSS" 
href="feed.rss">
E               <link rel="alternate" type="application/atom+xml" title="Atom" 
href="feed.atom">
E               
E               ...
E         
E         ...Full output truncated (388 lines hidden), use '-vv' to show

allura/tests/functional/test_user_profile.py:278: AssertionError
------------------------------ Captured log call -------------------------------
DEBUG    allura.model.artifact:artifact.py:629 Snapshot version 1 of <class 
'forgewiki.model.wiki.Page'>
DEBUG    allura.model.notification:notification.py:251 Notifications disabled 
for project u/test-user, not sending metadata(<Page title='Home' text='Welcome 
to your wiki!\n\nThis is
  the default page, edit it as you see fit. To add a new
  page simply reference it within brackets, e.g.:
  [SamplePage].\n\nThe wiki uses
  [Markdown](/u/test-user/wiki/markdown_syntax/)
  syntax.\n\n[[members limit=20]]\n' text_cache=I{'md5':
  None, 'fix7528': <Missing>, 'html': None, 'render_time':
  None} version=1 _id=ObjectId('63d3ec21db648189b11795ad')
  mod_date=datetime.datetime(2023, 1, 27, 15, 22, 9, 622305)
  app_config_id=ObjectId('63d3ec21db648189b11795a6') acl=I[]
  labels=I[] import_id=None deleted=False>)
DEBUG    allura.model.artifact:artifact.py:629 Snapshot version 1 of <class 
'forgewiki.model.wiki.Page'>
DEBUG    allura.model.notification:notification.py:251 Notifications disabled 
for project test, not sending metadata(<Page title='Home' text='Welcome to your 
wiki!\n\nThis is
  the default page, edit it as you see fit. To add a new
  page simply reference it within brackets, e.g.:
  [SamplePage].\n\nThe wiki uses
  [Markdown](/p/test/wiki/markdown_syntax/)
  syntax.\n\n[[members limit=20]]\n' text_cache=I{'md5':
  None, 'fix7528': <Missing>, 'html': None, 'render_time':
  None} version=1 _id=ObjectId('63d3ec21db648189b11795c8')
  mod_date=datetime.datetime(2023, 1, 27, 15, 22, 9, 757396)
  app_config_id=ObjectId('63d3ec21db648189b11795c2') acl=I[]
  labels=I[] import_id=None deleted=False>)
DEBUG    allura.model.artifact:artifact.py:629 Snapshot version 1 of <class 
'forgewiki.model.wiki.Page'>
DEBUG    allura.model.notification:notification.py:251 Notifications disabled 
for project u/test-admin, not sending metadata(<Page title='Home' text='Welcome 
to your wiki!\n\nThis is
  the default page, edit it as you see fit. To add a new
  page simply reference it within brackets, e.g.:
  [SamplePage].\n\nThe wiki uses
  [Markdown](/u/test-admin/wiki/markdown_syntax/)
  syntax.\n\n[[members limit=20]]\n' text_cache=I{'md5':
  None, 'fix7528': <Missing>, 'html': None, 'render_time':
  None} version=1 _id=ObjectId('63d3ec22db648189b11795f1')
  mod_date=datetime.datetime(2023, 1, 27, 15, 22, 10,
  509262) app_config_id=ObjectId('63d3ec22db648189b11795ea')
  acl=I[] labels=I[] import_id=None deleted=False>)
DEBUG    allura.model.artifact:artifact.py:84 Not updating mod_date
INFO     allura.lib.spam:__init__.py:42 No spam checking enabled
INFO     allura.model.discuss:discuss.py:351 Auto-approving message from 
test-user
DEBUG    allura.model.artifact:artifact.py:629 Snapshot version 1 of <class 
'allura.model.discuss.Post'>
DEBUG    allura.model.artifact:artifact.py:629 Snapshot version 2 of <class 
'allura.model.discuss.Post'>
DEBUG    allura.model.artifact:artifact.py:84 Not updating mod_date
------------- generated xml file: /allura/Allura/pytest.junit.xml --------------
=========================== short test summary info ============================
FAILED 
allura/tests/functional/test_user_profile.py::TestUserProfile::test_remove_no_index_tag_profile
==== 1 failed, 1230 passed, 10 skipped, 5399 warnings in 302.04s (0:05:02) =====
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 317.24s (0:05:17) ================
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.74s (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_mongo_1 ... 
Removing allura_solr_1  ... 
Removing allura_mongo_1 ... done
Removing allura_solr_1  ... done
Removing allura_web_1   ... done
Removing network allura_default
Deleted Containers:
2e767f67e9408c146325936474ebb3d493d3d870fec6a2aed560ed4d10f23a39

Total reclaimed space: 54.06MB
Deleted Volumes:
ea1df15dbdccf3478ebe6501d3268c3a6ccfc4f944ce05f034d3c4bd941fb518

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

Reply via email to