Source: xandikos Version: 0.2.8-1 Severity: serious Hello, for some reasons, new dulwich regressed xandikos autopkgtests:
https://ci.debian.net/data/autopkgtest/testing/amd64/x/xandikos/37481831/log.gz 67s autopkgtest [19:11:41]: test litmus: [----------------------- 67s ++ dirname ./compat/xandikos-litmus.sh 67s + . ./compat/common.sh 67s ++ XANDIKOS_PID= 67s +++ mktemp 67s ++ DAEMON_LOG=/tmp/tmp.42IyyL5qPk 67s +++ mktemp -d 67s ++ SERVEDIR=/tmp/tmp.c7IRXodIt3 67s ++ '[' -z xandikos ']' 67s ++ set -e 67s + TESTS=basic 67s + set -e 67s + run_xandikos 5233 --autocreate 67s + PORT=5233 67s + shift 1 67s + XANDIKOS_PID=1667 67s + trap xandikos_cleanup 0 EXIT 67s + i=0 67s + '[' 0 -lt 10 ']' 67s + curl http://localhost:5233/ 67s + xandikos -p5233 -llocalhost -d /tmp/tmp.c7IRXodIt3 --autocreate 67s % Total % Received % Xferd Average Speed Time Time Time Current 67s Dload Upload Total Spent Left Speed 67s 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 67s curl: (7) Failed to connect to localhost port 5233 after 0 ms: Couldn't connect to server 67s + sleep 1 67s INFO:root:Creating /tmp/tmp.c7IRXodIt3/user/ 67s INFO:root:Listening on localhost:5233 67s WARNING:root:aiohttp-openmetrics not found; /metrics will not be available. 68s + let i+=1 68s + '[' 1 -lt 10 ']' 68s + curl http://localhost:5233/ 68s % Total % Received % Xferd Average Speed Time Time Time Current 68s Dload Upload Total Spent Left Speed 68s 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "GET / HTTP/1.1" 200 678 "-" "curl/8.2.1" 68s 100 500 100 500 0 0 96618 0 --:--:-- --:--:-- --:--:-- 97k 68s + break 68s + which litmus 68s + LITMUS=litmus 68s + TESTS=basic 68s + litmus http://localhost:5233/ 68s -> running `basic': 68s 0. init.................. 0. init.................. pass 68s 1. begin................. INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "DELETE /litmus/ HTTP/1.1" 404 182 "-" "litmus/0.13 neon/0.32.5" 68s INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/ HTTP/1.1" 201 155 "-" "litmus/0.13 neon/0.32.5" 68s 1. begin................. pass 68s 2. options............... 2. options............... pass 68s 3. put_get............... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "OPTIONS /litmus/ HTTP/1.1" 200 366 "-" "litmus/0.13 neon/0.32.5" 68s ERROR:aiohttp.server:Error handling request 68s Traceback (most recent call last): 68s File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 433, in _handle_request 68s resp = await request_handler(request) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 504, in _handle 68s resp = await handler(request) 68s ^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/web.py", line 1305, in xandikos_handler 68s return await main_app.aiohttp_handler(request, options.route_prefix) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 2070, in aiohttp_handler 68s response = await self._handle_request(request, environ) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 2028, in _handle_request 68s return await do.handle(request, environ, self) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1670, in handle 68s (new_name, new_etag) = r.create_member(name, new_contents, content_type) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/web.py", line 359, in create_member 68s (name, etag) = self.store.import_one(name, content_type, contents) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 320, in import_one 68s etag = self._import_one(name, fi.normalized(), message, author=author) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 693, in _import_one 68s index[encoded_name] = IndexEntry( 68s ^^^^^^^^^^^ 68s TypeError: dulwich.index.IndexEntry() argument after * must be an iterable, not IndexEntry 68s INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "PUT /litmus/res HTTP/1.1" 500 245 "-" "litmus/0.13 neon/0.32.5" 68s 3. put_get............... FAIL (PUT of `/litmus/res' failed: 500 Internal Server Error) 68s 4. put_get_utf8_segment.. ERROR:aiohttp.server:Error handling request 68s Traceback (most recent call last): 68s File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 433, in _handle_request 68s resp = await request_handler(request) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 504, in _handle 68s resp = await handler(request) 68s ^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/web.py", line 1305, in xandikos_handler 68s return await main_app.aiohttp_handler(request, options.route_prefix) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 2070, in aiohttp_handler 68s response = await self._handle_request(request, environ) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 2028, in _handle_request 68s return await do.handle(request, environ, self) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1670, in handle 68s (new_name, new_etag) = r.create_member(name, new_contents, content_type) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/web.py", line 359, in create_member 68s (name, etag) = self.store.import_one(name, content_type, contents) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 320, in import_one 68s etag = self._import_one(name, fi.normalized(), message, author=author) 68s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 68s File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 693, in _import_one 68s index[encoded_name] = IndexEntry( 68s ^^^^^^^^^^^ 68s TypeError: dulwich.index.IndexEntry() argument after * must be an iterable, not IndexEntry 68s 4. put_get_utf8_segment.. FAIL (PUT of `/litmus/res-%e2%82%ac' failed: 500 Internal Server Error) 68s 5. put_no_parent......... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "PUT /litmus/res-%e2%82%ac HTTP/1.1" 500 245 "-" "litmus/0.13 neon/0.32.5" 68s 5. put_no_parent......... pass 68s 6. mkcol_over_plain...... 6. mkcol_over_plain...... SKIPPED 68s 7. delete................ 7. delete................ SKIPPED 68s 8. delete_null........... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/409me/noparent.txt/ HTTP/1.1" 409 156 "-" "litmus/0.13 neon/0.32.5" 68s 8. delete_null........... pass 68s 9. delete_fragment....... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "DELETE /litmus/404me HTTP/1.1" 404 187 "-" "litmus/0.13 neon/0.32.5" 68s INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/frag/ HTTP/1.1" 201 155 "-" "litmus/0.13 neon/0.32.5" 68s WARNING: DELETE removed collection resource with Request-URI including fragment; unsafe 68s ...................... pass (with 1 warning) 68s ...................... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "DELETE /litmus/frag/#ment HTTP/1.1" 204 99 "-" "litmus/0.13 neon/0.32.5" 68s 10. mkcol................. pass 68s 11. mkcol_again........... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/coll/ HTTP/1.1" 201 155 "-" "litmus/0.13 neon/0.32.5" 68s 11. mkcol_again........... pass 68s 12. delete_coll........... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/coll/ HTTP/1.1" 405 260 "-" "litmus/0.13 neon/0.32.5" 68s 12. delete_coll........... pass 68s 13. mkcol_no_parent....... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "DELETE /litmus/coll/ HTTP/1.1" 204 99 "-" "litmus/0.13 neon/0.32.5" 68s 13. mkcol_no_parent....... pass 68s 14. mkcol_with_body....... INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/409me/noparent/ HTTP/1.1" 409 156 "-" "litmus/0.13 neon/0.32.5" 68s 14. mkcol_with_body....... pass 68s 15. finish................ INFO:aiohttp.access:::1 [05/Sep/2023:19:11:42 +0000] "MKCOL /litmus/mkcolbody HTTP/1.1" 415 211 "-" "litmus/0.13 neon/0.32.5" 68s 15. finish................ pass 68s -> 2 tests were skipped. 68s <- summary for `basic': of 14 tests run: 12 passed, 2 failed. 85.7% 68s -> 1 warning was issued. 68s See debug.log for network/debug traces. 68s + xandikos_cleanup 68s + '[' -z 1667 ']' 68s + kill -INT 1667 68s + rm --preserve-root -rf /tmp/tmp.c7IRXodIt3 68s + cat /tmp/tmp.42IyyL5qPk 68s ======== Running on http://localhost:5233 ======== 68s (Press CTRL+C to quit) 68s + wait 1667 68s autopkgtest [19:11:42]: test litmus: -----------------------] 68s autopkgtest [19:11:42]: test litmus: - - - - - - - - - - results - - - - - - - - - - 68s litmus FAIL non-zero exit status 1 69s autopkgtest [19:11:43]: @@@@@@@@@@@@@@@@@@@@ summary 69s litmus FAIL non-zero exit status 1 This is preventing dulwich migration to testing. G.
OpenPGP_signature
Description: OpenPGP digital signature