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

Changes:

[Guillermo Cruz] [#SF-9782] Upgrade emoji 2.12.1 -> 2.14.0, and its deps: 
typing_extensions

[Guillermo Cruz] [#SF-9782] Upgrade Markdown 3.6 -> 3.7

[Guillermo Cruz] [#SF-9782] Upgrade Ming 0.15.0 -> 0.15.1, and its deps: 
pymongo,dnspython,pytz

[Guillermo Cruz] [#SF-9782] Upgrade paginate 0.5.6 -> 0.5.7

[Guillermo Cruz] [#SF-9782] Upgrade pillow 10.4.0 -> 11.0.0

[Guillermo Cruz] [#SF-9782] Upgrade pysolr 3.9.0 -> 3.10.0, and its deps: 
requests,certifi,charset-normalizer,idna,urllib3

[Guillermo Cruz] [#SF-9782] Upgrade qrcode 7.4.2 -> 8.0, and its deps: 
pypng,typing_extensions

[Guillermo Cruz] [#SF-9782] Upgrade Werkzeug 3.0.6 -> 3.1.2, and its deps: 
MarkupSafe

[Guillermo Cruz] [#SF-9782] Upgrade ruff 0.5.4 -> 0.7.2

[Guillermo Cruz] [#SF-9782] Upgrade WebTest 3.0.0 -> 3.0.1, and its deps: 
beautifulsoup4,soupsieve,waitress,WebOb

[Guillermo Cruz] [#SF-9782] Upgrade pytest 8.3.1 -> 8.3.3, and its deps: 
iniconfig,packaging,pluggy

[Guillermo Cruz] [#SF-9782] Upgrade pytest-sugar 1.0.0 -> no upgrade, and its 
deps: packaging,pytest,iniconfig,packaging,pluggy,termcolor

[Guillermo Cruz] [#SF-9782] Upgrade pre-commit 3.7.1 -> 4.0.1, and its deps: 
cfgv,identify,nodeenv,PyYAML,virtualenv,distlib,filelock,platformdirs

[Guillermo Cruz] #8570 pinned Ming to 0.15.0 and pymongo to 4.8.0

[Guillermo Cruz] [#8570] requirements rebuilt with Python 3.9

[Guillermo Cruz] [#8570] migrated pre-commit to latest settings

[Dillon Walls] [#8570] ran pre-commit autoupdate to keep ruff versions in sync


------------------------------------------
[...truncated 209.60 KB...]
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeChat, with returncode: 0
<DummyProcess(Thread-5 (worker), started daemon 140301800822336)> running `npm 
run lint-es6` in .

4 workers [1300 items]

........................................................................ [ 48%]

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

finished `npm run lint-es6` in ., with returncode: 0
forgegit/tests/functional/test_auth.py .........                         [  5%]
...............................s........................................ [  5%]
............                                                             [100%]
--------- generated xml file: /allura/ForgeUserStats/pytest.junit.xml ----------
================== 12 passed, 26 warnings in 60.12s (0:01:00) ==================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeUserStats, with returncode: 0
.............                                                            [100%]
---------- generated xml file: /allura/ForgeFeedback/pytest.junit.xml ----------
================== 13 passed, 23 warnings in 61.61s (0:01:01) ==================
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, 48 warnings in 66.20s (0:01:06) ==================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeShortUrl, with returncode: 0
...................                                                      [100%]
------------ generated xml file: /allura/ForgeLink/pytest.junit.xml ------------
================== 19 passed, 74 warnings in 68.86s (0:01:08) ==================
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, 73 warnings in 77.21s (0:01:17) ==================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeActivity, with returncode: 0
.........................s....................s.....s..s.s.ss........... [ 96%]
..............                                                           [100%]
----------- generated xml file: /allura/ForgeFiles/pytest.junit.xml ------------
================== 14 passed, 41 warnings in 83.80s (0:01:23) ==================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeFiles, with returncode: 0
........................................................................ [ 11%]
s....                                                                    [100%]
--------- generated xml file: /allura/ForgeImporters/pytest.junit.xml ----------
=========== 141 passed, 8 skipped, 190 warnings in 85.22s (0:01:25) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeImporters, with returncode: 0
...................s.......................................              [100%]
------------ generated xml file: /allura/ForgeBlog/pytest.junit.xml ------------
============ 58 passed, 1 skipped, 162 warnings in 95.48s (0:01:35) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeBlog, with returncode: 0
........................................................................ [ 35%]
F                                                                        [100%]
=================================== FAILURES ===================================
______________________________ test_run_precommit ______________________________
[gw0] linux -- Python 3.11.10 /allura-data/virtualenv/bin/python3.11
alluratest/test_syntax.py:43: in test_run_precommit
    raise Exception(f'pre-commit failed to run: {outputs[0].decode()} 
{outputs[1].decode()}')
E   Exception: pre-commit failed to run: [INFO] Initializing environment for 
https://github.com/pre-commit/pre-commit-hooks.
E   [INFO] Initializing environment for 
https://github.com/pre-commit/pygrep-hooks.
E   [INFO] Initializing environment for 
https://github.com/aristanetworks/j2lint.
E   [INFO] Initializing environment for https://github.com/milin/giticket.
E   [INFO] Initializing environment for 
https://github.com/astral-sh/ruff-pre-commit.
E   [INFO] Installing environment for 
https://github.com/pre-commit/pre-commit-hooks.
E   [INFO] Once installed this environment will be reused.
E   [INFO] This may take a few minutes...
E   [INFO] Installing environment for https://github.com/aristanetworks/j2lint.
E   [INFO] Once installed this environment will be reused.
E   [INFO] This may take a few minutes...
E   [INFO] Installing environment for 
https://github.com/astral-sh/ruff-pre-commit.
E   [INFO] Once installed this environment will be reused.
E   [INFO] This may take a few minutes...
E   check 
xml.......................................................................Passed
E   check 
yaml......................................................................Passed
E   check 
json......................................................................Passed
E   check for merge 
conflicts.......................................................Passed
E   check docstring is 
first........................................................Passed
E   rst ``code`` is two backticks...............................(no files to 
check)Skipped
E   rst directives end with two 
colons..............................................Passed
E   rst ``inline code`` next to normal 
text.........................................Passed
E   don't use local tz 
functions....................................................Passed
E   search for scss invalid extend patterns in class 
elements.......................Passed
E   Check for Linting error on Jinja2 
templates.....................................Passed
E   
ruff............................................................................Failed
E   - hook id: ruff
E   - exit code: 1
E   
E   ForgeImporters/forgeimporters/base.py:379:9: PLE0101 Explicit return in 
`__init__`
E       |
E   377 |                 or hasattr(cls, 'target_app')):
E   378 |             raise AttributeError(f"{name} must define either 
`target_app` or `target_app_ep_names`")
E   379 |         return type.__init__(cls, name, bases, attrs)
E       |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PLE0101
E   380 | 
E   381 |     def __call__(cls, *args, **kw):
E       |
E   
E   Found 1 error.
----------------------------- Captured stdout call -----------------------------
[INFO] Initializing environment for 
https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks.
[INFO] Initializing environment for https://github.com/aristanetworks/j2lint.
[INFO] Initializing environment for https://github.com/milin/giticket.
[INFO] Initializing environment for 
https://github.com/astral-sh/ruff-pre-commit.
[INFO] Installing environment for 
https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/aristanetworks/j2lint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
check 
xml.......................................................................Passed
check 
yaml......................................................................Passed
check 
json......................................................................Passed
check for merge 
conflicts.......................................................Passed
check docstring is 
first........................................................Passed
rst ``code`` is two backticks...............................(no files to 
check)Skipped
rst directives end with two 
colons..............................................Passed
rst ``inline code`` next to normal 
text.........................................Passed
don't use local tz 
functions....................................................Passed
search for scss invalid extend patterns in class 
elements.......................Passed
Check for Linting error on Jinja2 
templates.....................................Passed
ruff............................................................................Failed
- hook id: ruff
- exit code: 1

ForgeImporters/forgeimporters/base.py:379:9: PLE0101 Explicit return in 
`__init__`
    |
377 |                 or hasattr(cls, 'target_app')):
378 |             raise AttributeError(f"{name} must define either `target_app` 
or `target_app_ep_names`")
379 |         return type.__init__(cls, name, bases, attrs)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PLE0101
380 | 
381 |     def __call__(cls, *args, **kw):
    |

Found 1 error.

----------- generated xml file: /allura/AlluraTest/pytest.junit.xml ------------
=========================== short test summary info ============================
FAILED alluratest/test_syntax.py::test_run_precommit - Exception: pre-commit ...
======================== 1 failed in 101.70s (0:01:41) =========================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in AlluraTest, with returncode: 1
................s....................................................... [ 16%]
forgegit/tests/functional/test_controllers.py .......................... [ 22%]
........................................................................ [ 22%]
s....................................................................... [ 93%]
.....                                                                    [100%]
------------ generated xml file: /allura/ForgeWiki/pytest.junit.xml ------------
=========== 76 passed, 1 skipped, 267 warnings in 145.32s (0:02:25) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeWiki, with returncode: 0
........................................................................ [ 27%]
....................................................................F... [100%]
=================================== FAILURES ===================================
____________________ TestForum.test_create_topic_attachment ____________________
[gw0] linux -- Python 3.11.10 /allura-data/virtualenv/bin/python3.11
forgediscussion/tests/functional/test_forum.py:1005: in 
test_create_topic_attachment
    r = form.submit().follow()
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/forms.py:623: in 
submit
    return self.response.goto(self.action, method=self.method,
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/response.py:274: 
in goto
    return method(href, **args)
../AlluraTest/alluratest/validation.py:340: in post
    resp = super().post(*args, **kw)
../AlluraTest/alluratest/validation.py:288: in post
    return super().post(*args, **kwargs)
../AlluraTest/alluratest/validation.py:225: in post
    return super().post(*args, **kwargs)
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/app.py:372: in post
    return self._gen_request('POST', url, params=params, headers=headers,
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/app.py:728: in 
_gen_request
    content_type, params = self.encode_multipart(
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/app.py:509: in 
encode_multipart
    _append_file([key] + list(file))
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/app.py:479: in 
_append_file
    key, filename, value, fcontent = self._get_file_info(file_info)
/allura-data/virtualenv/lib/python3.11/site-packages/webtest/app.py:779: in 
_get_file_info
    raise ValueError(
E   ValueError: upload_files need to be a list of tuples of (fieldname, 
filename, filecontent, mimetype) or (fieldname, filename, filecontent) or 
(fieldname, filename); you gave: 
"[b'Xw6YSwrkaw7vChUzCrScHcMKXAsKqwpnDhsKhIcOjMA', 'm', 'y', 'f', 'i', 'l', 'e', 
'.', 't', 'x', 't']"
--------- generated xml file: /allura/ForgeDiscussion/pytest.junit.xml ---------
=========================== short test summary info ============================
FAILED 
forgediscussion/tests/functional/test_forum.py::TestForum::test_create_topic_attachment
============ 1 failed, 71 passed, 778 warnings in 155.50s (0:02:35) ============
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeDiscussion, with returncode: 1
forgesvn/tests/functional/test_controllers.py ........................   [ 29%]
........................................................................ [ 33%]
........................................................................ [ 38%]
........................................................................ [ 44%]
........................................................................ [ 49%]
........................................................................ [ 55%]
........................................................................ [ 60%]
forgesvn/tests/model/test_repository.py ................................ [ 66%]
.......................................................                  [ 57%]
...................                                                      [ 88%]
forgesvn/tests/model/test_svnimplementation.py ....                      [ 93%]
forgesvn/tests/test_svn_app.py ..                                        [ 95%]
forgesvn/tests/test_tasks.py ....                                        [100%]

------------ generated xml file: /allura/ForgeSVN/pytest.junit.xml -------------
================= 87 passed, 157 warnings in 256.41s (0:04:16) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml ` in 
ForgeSVN, with returncode: 0
..................s..................................................... [ 66%]
forgegit/tests/model/test_repository.py ................................ [ 78%]
........................................................................ [ 72%]
...........................                                              [ 95%]
........................................................................ [ 70%]
forgegit/tests/test_git_app.py ..                                        [ 96%]
forgegit/tests/test_tasks.py .....                                       [100%]

------------ generated xml file: /allura/ForgeGit/pytest.junit.xml -------------
================ 156 passed, 414 warnings in 291.91s (0:04:51) =================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml ` in 
ForgeGit, with returncode: 0
........................................................................ [ 77%]
.......................................................s................ [ 83%]
........................................................................ [ 88%]
...ssssssss............................................................. [ 94%]
........................................................................ [ 99%]
....                                                                     [100%]
------------- generated xml file: /allura/Allura/pytest.junit.xml --------------
========= 1288 passed, 12 skipped, 2043 warnings in 328.78s (0:05:28) ==========
finished `pytest allura/tests/ --disable-warnings --junit-xml=pytest.junit.xml 
-n 4 --dist loadfile` in Allura, with returncode: 0
............................................................             [100%]
---------- generated xml file: /allura/ForgeTracker/pytest.junit.xml -----------
================ 204 passed, 1290 warnings in 405.49s (0:06:45) ================
finished `pytest  --disable-warnings --junit-xml=pytest.junit.xml -n 4 --dist 
loadfile` in ForgeTracker, with returncode: 0

=============================================================================
Shutdown
=============================================================================
 Container allura-web-1  Stopping
 Container allura-web-1  Stopped
 Container allura-web-1  Removing
 Container allura-web-1  Removed
 Container allura-solr-1  Stopping
 Container allura-mongo-1  Stopping
 Container allura-mongo-1  Stopped
 Container allura-mongo-1  Removing
 Container allura-mongo-1  Removed
 Container allura-solr-1  Stopped
 Container allura-solr-1  Removing
 Container allura-solr-1  Removed
 Network allura_default  Removing
 Network allura_default  Removed
Total reclaimed space: 0B
Deleted Volumes:
1a377486d84fa9d9bbcf27cb079fc334de906e511c423cb28f4f638f5d954434

Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to