[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913301: dulwich breaks xandikos autopkgtest



Source: dulwich, xandikos
Control: found -1 dulwich/0.19.8-1
Control: found -1 xandikos/0.0.10-2
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainers, Jelmer,

With a recent upload of dulwich the autopkgtest of xandikos fails in
testing when that autopkgtest is run with the binary packages of dulwich
from unstable. It passes when run with only packages from testing. In
tabular form:
                       pass            fail
dulwich                from testing    0.19.8-1
xandikos               from testing    0.0.10-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is contributing to the delay of the migration
of dulwich to testing [1]. Due to the nature of this issue, I filed this
bug report against both packages. Can you please investigate the
situation and reassign the bug to the right package? If needed, please
change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=dulwich

https://ci.debian.net/data/autopkgtest/testing/amd64/x/xandikos/1289087/log.gz

autopkgtest [06:48:17]: test caldav-tester: [-----------------------
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
    0curl: (7) Failed to connect to localhost port 5233: Connection refused
INFO:root:Creating /tmp/tmp.JLiLHGHueq/user/
INFO:root:Create calendar in /tmp/tmp.JLiLHGHueq/user/calendars/calendar.
INFO:root:Create addressbook in
/tmp/tmp.JLiLHGHueq/user/contacts/addressbook.
INFO:root:Create inbox in /tmp/tmp.JLiLHGHueq/user/inbox.
INFO:root:Listening on localhost:5233
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
    0
100   500  100   500    0     0  71428      0 --:--:-- --:--:-- --:--:--
71428
127.0.0.1 - - [09/Nov/2018 06:48:19] "GET / HTTP/1.1" 200 500
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 935, in
__call__
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1791,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1490,
in handle
    name, new_contents, content_type)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 282, in
create_member
    (name, etag) = self.store.import_one(name, content_type, contents)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 161,
in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 578,
in _import_one
    author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 550,
in _commit_tree
    committer = self.repo._get_user_identity()
TypeError: _get_user_identity() missing 1 required positional argument:
'config'
127.0.0.1 - - [09/Nov/2018 06:48:19] "PUT
/calendars/__uids__/user01/calendar/1.ics HTTP/1.1" 500 59
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 935, in
__call__
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1791,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1412,
in handle
    pr.delete_member(item_name, current_etag)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 274, in
delete_member
    self.store.delete_one(name, etag=extract_strong_etag(etag))
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 610,
in delete_one
    author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 550,
in _commit_tree
    committer = self.repo._get_user_identity()
TypeError: _get_user_identity() missing 1 required positional argument:
'config'
127.0.0.1 - - [09/Nov/2018 06:48:19] "DELETE
/calendars/__uids__/user01/calendar/1.ics HTTP/1.1" 500 59
127.0.0.1 - - [09/Nov/2018 06:48:19] "SCHEDULE
/calendars/__uids__/user01/outbox/ HTTP/1.1" 405 0
127.0.0.1 - - [09/Nov/2018 06:48:19] "OPTIONS
/calendars/__uids__/user01/ HTTP/1.1" 200 0
127.0.0.1 - - [09/Nov/2018 06:48:19] "OPTIONS
/calendars/__uids__/user01/ HTTP/1.1" 200 0
WARNING:root:Client requested unknown property {DAV:}resource-id
127.0.0.1 - - [09/Nov/2018 06:48:19] "PROPFIND
/calendars/__uids__/user01/ HTTP/1.1" 207 1099
WARNING:root:Client requested unknown property {DAV:}resource-id
127.0.0.1 - - [09/Nov/2018 06:48:19] "PROPFIND
/calendars/__uids__/user01/ HTTP/1.1" 207 1099
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 935, in
__call__
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1791,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1490,
in handle
    name, new_contents, content_type)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 282, in
create_member
    (name, etag) = self.store.import_one(name, content_type, contents)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 161,
in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 578,
in _import_one
    author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 550,
in _commit_tree
    committer = self.repo._get_user_identity()
TypeError: _get_user_identity() missing 1 required positional argument:
'config'
127.0.0.1 - - [09/Nov/2018 06:48:19] "PUT
/calendars/__uids__/user01/tasks/925236fd-8b1d-49bb-9fa1-ae14e5145454
HTTP/1.1" 500 59
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 935, in
__call__
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1791,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1412,
in handle
    pr.delete_member(item_name, current_etag)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 274, in
delete_member
    self.store.delete_one(name, etag=extract_strong_etag(etag))
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 610,
in delete_one
    author=author)
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 550,
in _commit_tree
    committer = self.repo._get_user_identity()
TypeError: _get_user_identity() missing 1 required positional argument:
'config'
Starting tests

File 1 of 4

.usr.share.caldavtester.scripts.tests.CalDAV.delete            [ERROR]

File 2 of 4

.usr.share.caldavtester.scripts.tests.CalDAV.schedulenomore
  Suite: SCHEDULE Fails
    Test: 1                                                       [OK]

File 3 of 4

.usr.share.caldavtester.scripts.tests.CalDAV.options
  Suite: OPTIONS+DAV
    Test: 1                                                       [OK]
    Test: 2                                                       [OK]
  Suite: PROPFIND - no DAV
    Test: 1                                                       [OK]
    Test: 2                                                       [OK]

File 4 of 4

.usr.share.caldavtester.scripts.tests.CalDAV.vtodos
  Suite: PUT
    Test: 1                                                   [FAILED]

======================================================================
[ERROR]
Start items failed - tests will not be run.

.usr.share.caldavtester.scripts.tests.CalDAV.delete
======================================================================
[FAILED]
Failed Verifier: statusCode
        HTTP Status Code Wrong: 500
-------BEGIN:REQUEST-------
PUT
/calendars/__uids__/user01/tasks/925236fd-8b1d-49bb-9fa1-ae14e5145454
HTTP/1.1
Host: localhost:5233
Accept-Encoding: identity
Content-Length: 543
Content-Type: text/calendar; charset=utf-8
Authorization: Basic dXNlcjAxOnVzZXIwMQ==
User-Agent: /usr/share/caldavtester/scripts/tests/CalDAV/vtodos.xml |
PUT | 1 | #1

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20060313T145240Z
STATUS;REASON={com.example}delivery-failed;SUBSTATE=ERROR;MODIFIED=20130212T120000Z;GROUP=G1:FAILED
STRUCTURED-LOCATION;GROUP=G1:My Office
COMMENT;MODIFIED=20130226T110451Z;GROUP=G1:My office is cold
COMMENT;MODIFIED=20130226T100451Z;GROUP=G1:They turned the heat up
COMMENT;MODIFIED=20130226T090451Z;GROUP=G1:Now I am too hot!
SUMMARY:Test Task #1
UID:138e401f-d8c3-4da8-a673-a5b0f8171602
END:VTODO
END:VCALENDAR

--------END:REQUEST--------

-------BEGIN:RESPONSE-------
HTTP/1.0 500 Internal Server Error
Date: Fri, 09 Nov 2018 06:48:19 GMT
Server: WSGIServer/0.2 CPython/3.6.7
Content-Type: text/plain
Content-Length: 59

A server error occurred.  Please contact the administrator.
--------END:RESPONSE--------


.usr.share.caldavtester.scripts.tests.CalDAV.vtodos/PUT/1
----------------------------------------------------------------------
Ran 7 tests in 0.060s

FAILED (ok=5, ignored=0, failed=1, errors=1)
127.0.0.1 - - [09/Nov/2018 06:48:19] "DELETE
/calendars/__uids__/user01/tasks/925236fd-8b1d-49bb-9fa1-ae14e5145454
HTTP/1.1" 500 59
autopkgtest [06:48:20]: test caldav-tester: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: