Your message dated Tue, 29 Aug 2023 16:53:28 +0200
with message-id <20230829165328.3ff8e...@monsterix.mbehrle.de>
and subject line Re:
has caused the Debian Bug report #1029283,
regarding pywebdav: autopkgtest regression with Python 3.11
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1029283: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029283
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pywebdav
Version: 0.10.0-1
Severity: serious
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pywebdav/30536187/log.gz
...
=================================== FAILURES ===================================
_____________________________ Test.test_run_litmus _____________________________
self = <test_litmus.Test testMethod=test_run_litmus>
def test_run_litmus(self):
result = []
proc = None
try:
print('Starting davserver')
davserver_cmd = [sys.executable, os.path.join(testdir, '..',
'pywebdav', 'server', 'server.py'), '-D',
self.rundir, '-u', user, '-p', password, '-H',
'localhost', '--port', str(port)]
self.davserver_proc = subprocess.Popen(davserver_cmd)
# Ensure davserver has time to startup
time.sleep(1)
# Run Litmus
print('Running litmus')
try:
ret = run(["make", "URL=http://localhost:%d" % port, 'CREDS="%s
%s"' % (user, password), "check"], cwd=self.litmus_dist, capture_output=True)
results = ret.stdout
except subprocess.CalledProcessError as ex:
results = ex.output
lines = results.decode().split('\n')
assert len(lines), "No litmus output"
for line in lines:
line = line.split('\r')[-1]
result.append(line)
if len(re.findall('^ *\d+\.', line)):
> assert line.endswith('pass'), line
E AssertionError: 0. init.................. See debug.log
for network/debug traces.
E assert False
E + where False = <built-in method endswith of str object
at 0x7fce25b6a2b0>('pass')
E + where <built-in method endswith of str object at
0x7fce25b6a2b0> = ' 0. init.................. See debug.log for network/debug
traces.'.endswith
...
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 33084)
Traceback (most recent call last):
File "/usr/lib/python3.10/socketserver.py", line 683, in
process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.10/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.10/socketserver.py", line 747, in __init__
self.handle()
File "/usr/lib/python3.10/http/server.py", line 433, in handle
self.handle_one_request()
File "/usr/lib/python3.10/http/server.py", line 421, in handle_one_request
method()
File "/usr/lib/python3/dist-packages/pywebdav/lib/WebDAVServer.py", line 344,
in do_PROPFIND
DATA = pf.createResponse()
File "/usr/lib/python3/dist-packages/pywebdav/lib/propfind.py", line 69, in
createResponse
df = self.create_prop(allprop=True)
File "/usr/lib/python3/dist-packages/pywebdav/lib/propfind.py", line 179, in
create_prop
res = self.mk_prop_response(uri, gp, bp, doc)
File "/usr/lib/python3/dist-packages/pywebdav/lib/propfind.py", line 268, in
mk_prop_response
ns_prefix = "ns" + str(self.namespaces.index(ns)) + ":"
AttributeError: 'dict_keys' object has no attribute 'index'
----------------------------------------
127.0.0.1 - - [20/Jan/2023 07:37:19] "PROPFIND /litmus/prop HTTP/1.1" 207 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "DELETE /litmus/prop HTTP/1.1" 204 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "PUT /litmus/prop HTTP/1.1" 201 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "PUT /litmus/prop HTTP/1.1" 201 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "PROPPATCH /litmus/prop HTTP/1.1" 423 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "PROPFIND /litmus/prop HTTP/1.1" 207 -
127.0.0.1 - - [20/Jan/2023 07:37:19] "DELETE /litmus/prop HTTP/1.1" 204 -
=============================== warnings summary ===============================
test/test_litmus.py:75
/tmp/autopkgtest-lxc.wquwbg71/downtmp/autopkgtest_tmp/test/test_litmus.py:75:
DeprecationWarning: invalid escape sequence '\d'
if len(re.findall('^ *\d+\.', line)):
test/test_litmus.py:110
/tmp/autopkgtest-lxc.wquwbg71/downtmp/autopkgtest_tmp/test/test_litmus.py:110:
DeprecationWarning: invalid escape sequence '\d'
if len(re.findall('^ *\d+\.', line)):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_litmus.py::Test::test_run_litmus - AssertionError: 0. init....
FAILED test/test_litmus.py::Test::test_run_litmus_noauth - AssertionError: 6...
======================== 2 failed, 2 warnings in 14.26s ========================
autopkgtest [07:37:19]: test run-testsuite3: -----------------------]
autopkgtest [07:37:20]: test run-testsuite3: - - - - - - - - - - results - - -
- - - - - - -
run-testsuite3 FAIL non-zero exit status 1
--- End Message ---
--- Begin Message ---
autopkgtest passing in salasa CI and after upload.
Thanks!
--
Mathias Behrle
PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6
--- End Message ---