Re: Cyrus IMAP 3.2.0 released

Marco <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Il 04/05/2020 08:18, ellie timoney ha scritto:
> The Cyrus team is proud to announce the first stable release from the new Cyrus IMAP 3.2 series: 3.2.0
> 
> The main https://www.cyrusimap.org/ website now shows content for the 3.2 series.

Hello,

  I'm trying to build this release, but I see many errors in Cassandane 
tests.

One failing test is:

1) test_carddavcreate(Cassandane::Cyrus::Carddav)
  ERROR WITH REQUEST
<<<<<<<< PROPFIND http://127.0.0.1:19120/dav/principals/user/cassandane 
HTTP/1.1
<D:propfind xmlns:CY='http://cyrusimap.org/ns/' 
xmlns:C='urn:ietf:params:xml:ns:carddav' 
xmlns:D='DAV:'><D:prop><C:addressbook-home-set/></D:prop></D:propfind>
 >>>>>>>> HTTP/1.1 404 Not Found
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">
<html>
   <head>
     <title>404 Not Found</title>
   </head>
   <body>
     <h1>Not Found</h1>
     <p>Mailbox does not exist</p>
     <hr>
     <address>Cyrus-HTTP/3.2.0-1.el8  Cyrus-SASL/2.1.27 Lib/XML2.9.7 
Jansson/2.11 Nghttp2/1.33.0 OpenSSL/1.1.1c Zlib/1.2.11 LibiCal/3.0 
ICU4C/60.3 SQLite/3.26.0 Server at 127.0.0.1 Port 19120</address>
   </body>
</html>

========

  at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 313.
         Net::DAVTalk::Request(Net::CardDAVTalk=HASH(0x558068907358), 
"PROPFIND", "", XML::Spice::Chunk=HASH(0x558068918ad8), "Depth", 0) 
called at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 371
         Net::DAVTalk::GetProps(Net::CardDAVTalk=HASH(0x558068907358), 
"", ARRAY(0x55806890f3e8)) called at 
/usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 471
         Net::DAVTalk::GetHomeSet("Net::CardDAVTalk", "homesetns", "C", 
"principal", "http://127.0.0.1:19120/dav/principals/user/cassandane", 
"homeset", "addressbook-home-set", "user", ...) called at 
/usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 105
         Net::DAVTalk::new("Net::CardDAVTalk", "password", "pass", 
"host", "127.0.0.1", "expandurl", 1, "wellknown", ...) called at 
/usr/share/perl5/vendor_perl/Net/CardDAVTalk.pm line 63
         Net::CardDAVTalk::new("Net::CardDAVTalk", "user", "cassandane", 
"password", "pass", "host", "127.0.0.1", "port", ...) called at 
Cassandane/Cyrus/Carddav.pm line 76
 
Cassandane::Cyrus::Carddav::set_up(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) 
called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 58
 
Test::Unit::TestCase::run_bare(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) 
called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103
         Test::Unit::Result::__ANON__() called at 
/usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119
 
Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), CODE(0x5580688b90d8)) 
called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107
 
Test::Unit::Result::run(Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51
 
Test::Unit::TestCase::run(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278
 
Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x558066152b78), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
Cassandane/Unit/TestPlan.pm line 749
 
Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
HASH(0x5580688f8670), Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 0) called at 
Cassandane/Unit/TestPlan.pm line 865
         Cassandane::Unit::TestPlan::__ANON__(HASH(0x5580688f8670)) 
called at Cassandane/Unit/TestPlan.pm line 205
 
Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x5580680801e0)) 
called at Cassandane/Unit/TestPlan.pm line 165
 
Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x5580680801e0)) 
called at Cassandane/Unit/TestPlan.pm line 310
 
Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x558064beede0)) 
called at Cassandane/Unit/TestPlan.pm line 869
 
Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54
 
Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 
Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 0) called at 
./testrunner.pl line 125
         main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
GLOB(0x558064b1ea58)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/Error.pm line 12.
         Test::Unit::Error::make_new_from_error("Test::Unit::Error", 
Error::Simple=HASH(0x558068918820)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 130
 
Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), CODE(0x5580688b90d8)) 
called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107
 
Test::Unit::Result::run(Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51
 
Test::Unit::TestCase::run(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278
 
Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x558066152b78), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
Cassandane/Unit/TestPlan.pm line 749
 
Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
HASH(0x5580688f8670), Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 0) called at 
Cassandane/Unit/TestPlan.pm line 865
         Cassandane::Unit::TestPlan::__ANON__(HASH(0x5580688f8670)) 
called at Cassandane/Unit/TestPlan.pm line 205
 
Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x5580680801e0)) 
called at Cassandane/Unit/TestPlan.pm line 165
 
Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x5580680801e0)) 
called at Cassandane/Unit/TestPlan.pm line 310
 
Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x558064beede0)) 
called at Cassandane/Unit/TestPlan.pm line 869
 
Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
Test::Unit::Result=HASH(0x558064beea38), 
Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at 
/usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54
 
Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 
Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 0) called at 
./testrunner.pl line 125
         main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 
GLOB(0x558064b1ea58)) called at ./testrunner.pl line 299

Annotations:
=====> Cyrus::TestCase[558] ---------- BEGIN test_carddavcreate ----------
=====> Instance[1053] start main instance for test test_carddavcreate: 
basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E
=====> Instance[1036] started smtpd as 21058
2020/05/05-11:58:24 Cassandane::Net::SMTPServer (type 
Net::Server::PreForkSimple) starting! pid(21058)
Resolved [localhost]:19139 to [::1]:19139, IPv6
Resolved [localhost]:19139 to [127.0.0.1]:19139, IPv4
Binding to TCP port 19139 on host ::1 with IPv6
Binding to TCP port 19139 on host 127.0.0.1 with IPv4
Group Not Defined.  Defaulting to EGID '12 0'
User Not Defined.  Defaulting to EUID '76'
=====> Instance[474] Found binary ctl_cyrusdb in 
/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance[474] Found binary httpd in 
/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance[474] Found binary imapd in 
/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance[924] started saslauthd for 
/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E as 21060
=====> Instance[951] started notifyd for 
/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E as 21061
=====> Instance[1836] opening socket 
/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/run/mux
=====> Instance[867] _start_master: logging to 
/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/master.log
=====> Instance[474] Found binary master in 
/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance[1573] Running: 
"/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" 
"-C" 
"/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/imapd.conf" 
"-l" "255" "-p" 
"/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/run/master.pid" 
"-d" "-M" 
"/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/cyrus.conf" 
"-L" 
"/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/master.log"
=====> Instance[876] _start_master: waiting for PID file
=====> Instance[879] _start_master: PID file present and correct
=====> Instance[891] _start_master: PID waiting for services
=====> Daemon[356] is_listening: service http is listening on 
127.0.0.1:19120
=====> Util::Wait[75] Waited 0.083126 sec for 127.0.0.1:19120 to be in 
LISTEN state
=====> Daemon[356] is_listening: service imap is listening on 
127.0.0.1:19121
=====> Instance[902] _start_master: all services listening
=====> Instance[978] create user cassandane
=====> Util::Socket[61] create_client_socket INET host=127.0.0.1 port=19121
C: 1 capability
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN 
SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8  server ready
S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT 
SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA 
LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC 
SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 
X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ 
PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR 
COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE 
X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE
S: 1 OK Completed
C: 2 login admin "testpw"
=====> Instance[1851] authdaemon connection: admin testpw imap
S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT 
SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA 
LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC 
SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 
X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ 
PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE 
COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE 
X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in 
SESSIONID=<095553025E-1588672704-21077-1-17747698262435727511>
C: 3 create user.cassandane
S: 3 OK [MAILBOXID (cfa83d51-0aa5-4fc9-83d9-b6dcfde53c6a)] Completed
C: 4 setacl user.cassandane admin lrswipkxtecdan
S: 4 OK Completed
C: 5 setacl user.cassandane cassandane lrswipkxtecdn
S: 5 OK Completed
C: 6 setacl user.cassandane anyone p
S: 6 OK Completed
A: is_open test
A: is_open test received timeout, still open
C: 7 logout
S: * BYE LOGOUT received
S: 7 OK Completed
A: Release socket, fileno=78
=====> Instance[1089] started main instance for test test_carddavcreate: 
cyrus version 3.2.0-1.el8
=====> Cyrus::TestCase[565] Calling test function
******** REDIRECT 301 to http://127.0.0.1:19120/dav/addressbooks
=====> Instance[1851] authdaemon connection: cassandane pass http
<<<<<<<< PROPFIND http://127.0.0.1:19120/.well-known/carddav HTTP/1.1
<D:propfind xmlns:D='DAV:' xmlns:C='urn:ietf:params:xml:ns:carddav' 
xmlns:CY='http://cyrusimap.org/ns/'><D:prop><D:current-user-principal/></D:prop></D:propfind>
 >>>>>>>> HTTP/1.1 207 Multi-Status
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav" 
xmlns:CY="http://cyrusimap.org/ns/">
   <D:response>
     <D:href>/dav/addressbooks</D:href>
     <D:propstat>
       <D:prop>
         <D:current-user-principal>
           <D:href>/dav/principals/user/cassandane/</D:href>
         </D:current-user-principal>
       </D:prop>
       <D:status>HTTP/1.1 200 OK</D:status>
     </D:propstat>
   </D:response>
</D:multistatus>

========

=====> Instance[1851] authdaemon connection: cassandane pass http
<<<<<<<< PROPFIND http://127.0.0.1:19120/dav/principals/user/cassandane 
HTTP/1.1
<D:propfind xmlns:CY='http://cyrusimap.org/ns/' 
xmlns:C='urn:ietf:params:xml:ns:carddav' 
xmlns:D='DAV:'><D:prop><C:addressbook-home-set/></D:prop></D:propfind>
 >>>>>>>> HTTP/1.1 404 Not Found
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">
<html>
   <head>
     <title>404 Not Found</title>
   </head>
   <body>
     <h1>Not Found</h1>
     <p>Mailbox does not exist</p>
     <hr>
     <address>Cyrus-HTTP/3.2.0-1.el8  Cyrus-SASL/2.1.27 Lib/XML2.9.7 
Jansson/2.11 Nghttp2/1.33.0 OpenSSL/1.1.1c Zlib/1.2.11 LibiCal/3.0 
ICU4C/60.3 SQLite/3.26.0 Server at 127.0.0.1 Port 19120</address>
   </body>
</html>

========

=====> Daemon[385] checking for stray processes on ports: 19120 19121 19139


====================================================================

I work with 
https://github.com/cyrusimap/cassandane/archive/00bfe0109f80437ed09154aca9fbd53eef8f1b09.tar.gz
This cassandane release works pretty with 3.0.12. I didn't find build 
changes in Release notes for 3.2.0...

Could you help me to deal with this error?

Thank you very much
Kind Regards
Marco
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.