On 06/05/2020 19:59, Jason Tibbitts has written:
"M" == Marco <falon@xxxxxxxxxxxxxxxx> writes:
M> thank you for the info. I trusted an old commit which I found on a
M> SPEC file for Fedora Cyrus IMAP 3.0.x. I'm trying to build an RPM
M> file.
Yes, you shouldn't trust that as I froze the Cassandane version in
Fedora's packaging at an appropriate checkout back when it was decidedly
not useful for testing the released versions. I know that changed now
but I haven't put in the work to get it all updated. That will of
course have to happen when rawhide gets 3.2.0 (which I will hopefully be
able to work on soon).
Hello,
thank you for these clarification. I'm quite new on building for Cyrus3.
Waiting for rawhide, anyway I found the bug about many failing tests.
The Instance.pm of Cassandane looks for a log in
{basedir}/conf/log/syslog
but the Cyrus IMAP log to system MAIL syslog, in redhat by default is
/var/log/maillog.
After patching this, I still have few tests failed. They are:
1) The Rename.rename_inbox fails for this syslog error:
"syslog error: May 7 10:42:36 imap 08292501FB/imap[21159]: IOERROR:
conversations_audit on store:
/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/user/c/cassandane.conversations
B82adf4514b98522d 0 (8 1 0 0 () ((0 5 1 1 0)) () subject1 0 () 5)"
2) The SearchFuzzy.striphtml_alternative fails for the following reason:
Structures begin differing at:
$a->[0] = Does not exist
$b->[0] = '1'
3) The SearchFuzzy.striphtml_rfc822 fails for the following reason:
Structures begin differing at:
$a->[0] = Does not exist
$b->[0] = '1'
I attach the the details about these three errors.
If you like I could add these info as a bug on github.
Other searchfuzzy test failed on 3.0.7 now succeed.
Thank you
Warm Regards
Marco
--- a/Cassandane/Instance.pm.orig 2020-05-07 09:57:28.762872556 +0200
+++ b/Cassandane/Instance.pm 2020-05-07 10:00:32.529012919 +0200
@@ -1099,7 +1099,7 @@
my $syslog_start = 0;
if (-e 'utils/syslog.so') { # XXX check a bit harder?
- $self->{syslog_fname} = "$self->{basedir}/conf/log/syslog";
+ $self->{syslog_fname} = '/var/log/maillog';
$self->{have_syslog_replacement} = 1;
# if the syslog file already exists, remember how large it is
Test Results:
Run: 1140, Failures: 2, Errors: 1
There was 1 error:
1) Rename.rename_inbox
Perl exception: Errors found in syslog
at Cassandane/Instance.pm line 1338, <GEN1415> line 296.
Cassandane::Instance::_check_syslog(Cassandane::Instance=HASH(0x555f1b35a948)) called at Cassandane/Instance.pm line 1427
Cassandane::Instance::stop(Cassandane::Instance=HASH(0x555f1b35a948)) called at Cassandane/Cyrus/TestCase.pm line 773
Cassandane::Cyrus::TestCase::tear_down(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at Cassandane/Cyrus/Rename.pm line 73
Cassandane::Cyrus::Rename::tear_down(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 65
Test::Unit::TestCase::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 436
Error::subs::try(CODE(0x555f1b17f660), HASH(0x555f1b1900a0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 66
Test::Unit::TestCase::run_bare(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) 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(0x555f16424730), Cassandane::Cyrus::Rename=HASH(0x555f1a367158), CODE(0x555f1b1bcb30)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107
Test::Unit::Result::run(Test::Unit::Result=HASH(0x555f16424730), Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51
Test::Unit::TestCase::run(Cassandane::Cyrus::Rename=HASH(0x555f1a367158), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278
Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x555f1a334750), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at Cassandane/Unit/TestPlan.pm line 769
Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), HASH(0x555f1b226b80), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88), 0) called at Cassandane/Unit/TestPlan.pm line 885
Cassandane::Unit::TestPlan::__ANON__(HASH(0x555f1b226b80)) called at Cassandane/Unit/TestPlan.pm line 205
Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x555f164153f0)) called at Cassandane/Unit/TestPlan.pm line 165
Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x555f164153f0)) called at Cassandane/Unit/TestPlan.pm line 310
Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x555f16415420)) called at Cassandane/Unit/TestPlan.pm line 889
Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54
Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88), Cassandane::Unit::TestPlan=HASH(0x555f164102d0), 0) called at ./testrunner.pl line 132
main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), GLOB(0x555f1640ff10)) called at ./testrunner.pl line 315
Annotations:
=====> Cyrus::TestCase::set_up[67] ---------- BEGIN test_rename_inbox ----------
=====> Cyrus::TestCase::config_set[223] Magic attribute Conversations sets config conversations = yes
=====> Instance::start[659] start main instance for test test_rename_inbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB
2020/05/07-10:42:35 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(21140)
Resolved [localhost]:19110 to [::1]:19110, IPv6
Resolved [localhost]:19110 to [127.0.0.1]:19110, IPv4
Binding to TCP port 19110 on host ::1 with IPv6
Binding to TCP port 19110 on host 127.0.0.1 with IPv4
Group Not Defined. Defaulting to EGID '12 0'
User Not Defined. Defaulting to EUID '76'
=====> Instance::_start_smtpd[1119] started smtpd as 21140
=====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB as 21145
=====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/master.log
=====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_fork_command[1562] 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/08292501FB/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/master.log"
=====> Instance::_fork_command[1562] child pid=21147
=====> Instance::_fork_command[1562] setting core size limit to 104857600
=====> Instance::_start_master[1153] _start_master: waiting for PID file
=====> Instance::_start_master[1153] _start_master: PID file present and correct
=====> Instance::_start_master[1153] _start_master: PID waiting for services
=====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19111
=====> Util::Wait::timed_wait[909] Waited 0.141438 sec for 127.0.0.1:19111 to be in LISTEN state
=====> Instance::_start_master[1153] _start_master: all services listening
=====> Instance::create_user[1175] create user cassandane
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19111
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 XCONVERSATIONS 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"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501FB-1588840956-21159-1-5071158053237003030>
C: 3 create user.cassandane
S: 3 OK [MAILBOXID (c1d7fecb-5bf6-4303-840a-723d7f7debd4)] 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=54
=====> Instance::start[659] started main instance for test test_rename_inbox: cyrus version 3.2.0-1.el8
=====> Cyrus::TestCase::set_up[67] (test_rename_inbox) Calling test function
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19111
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 XCONVERSATIONS 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 cassandane "testpw"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501FB-1588840956-21159-2-8678172835430764841>
C: 3 select "INBOX"
S: * 0 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok
S: * OK [UIDVALIDITY 1588840957] Ok
S: * OK [UIDNEXT 1] Ok
S: * OK [HIGHESTMODSEQ 4] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: 3 OK [READ-WRITE] Completed
C: 4 append INBOX (\Seen $NotJunk) " 7-May-2020 10:42:36 +0200" {756}
S: + go ahead
C: Return-Path: <Isabella.Brown@xxxxxxxxxxx>
Received: from gateway (gateway.vmtom.com [10.0.0.1])
by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:42:36 +0200
Received: from mail.hotmail.com (mail.hotmail.com [192.168.0.1])
by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:42:36 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: subject 1
From: Isabella J. Brown <Isabella.Brown@xxxxxxxxxxx>
Message-ID: <fake.1588840956.23148@xxxxxxxxxxx>
Date: Thu, 07 May 2020 10:42:36 +0200
To: Test User <test@xxxxxxxxx>
X-Cassandane-Unique: 162acf466f539004c0daa2ad79a45648cd4776e7
This is a generated test email. If received, please notify qa@cyrus.works
C:
S: * 1 EXISTS
S: * 1 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok
S: 4 OK [APPENDUID 1588840957 1] Completed
C: 5 search SEEN
S: * SEARCH 1
S: 5 OK Completed (1 msgs in 0.000 secs)
=====> Instance::_find_binary[525] Found binary ctl_conversationsdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/ctl_conversationsdb" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/imapd.conf" "-A" "-r" "-v"
=====> Instance::_fork_command[1562] child pid=21160
=====> Instance::_fork_command[1562] setting core size limit to 104857600
=====> Cyrus::TestCase::check_conversations[349] (test_rename_inbox) RESULT: User cassandane
Pass 1: recalculate counts into temporary db
user.cassandane
Pass 2: find differences from recalculated to live dbs
cassandane is OK
C: 6 rename INBOX INBOX.dst
S: * 1 FETCH (FLAGS (\Recent \Seen $NotJunk))
S: 6 OK Completed
C: 7 select "INBOX"
S: * OK [CLOSED] Ok
S: * 0 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok
S: * OK [UIDVALIDITY 1588840957] Ok
S: * OK [UIDNEXT 2] Ok
S: * OK [HIGHESTMODSEQ 8] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: 7 OK [READ-WRITE] Completed
C: 8 search KEYWORD $NotJunk
S: * SEARCH
S: 8 OK Completed (0 msgs in 0.000 secs)
C: 9 select "INBOX.dst"
S: * OK [CLOSED] Ok
S: * 1 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok
S: * OK [UIDVALIDITY 1588840957] Ok
S: * OK [UIDNEXT 2] Ok
S: * OK [HIGHESTMODSEQ 7] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: 9 OK [READ-WRITE] Completed
C: 10 search KEYWORD $NotJunk
S: * SEARCH 1
S: 10 OK Completed (1 msgs in 0.000 secs)
=====> Instance::_find_binary[525] Found binary ctl_conversationsdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/ctl_conversationsdb" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/imapd.conf" "-A" "-r" "-v"
=====> Instance::_fork_command[1562] child pid=21161
=====> Instance::_fork_command[1562] setting core size limit to 104857600
=====> Cyrus::TestCase::check_conversations[361] (test_rename_inbox) RESULT: User cassandane
Pass 1: recalculate counts into temporary db
user.cassandane
user.cassandane.dst
Pass 2: find differences from recalculated to live dbs
cassandane is OK
=====> Cyrus::TestCase::tear_down[73] (test_rename_inbox) Beginning tear_down
C: 11 logout
S: * BYE LOGOUT received
S: 11 OK Completed
A: Release socket, fileno=54
=====> Instance::stop[773] stop main instance for test test_rename_inbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB
=====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 21148
=====> Util::Wait::timed_wait[1376] Waited 0.010127 sec for unknown condition
=====> Instance::__ANON__[1420] killing smtpd 21140
2020/05/07-10:42:36 Server closing!
=====> Instance::__ANON__[1420] killing notifyd 21145
=====> Instance::__ANON__[1459] killing smtpd 21140
=====> Instance::_check_syslog[1427] Cassandane::Instance=HASH(0x555f1b35a948) syslog error: May 7 10:42:36 imap 08292501FB/imap[21159]: IOERROR: conversations_audit on store: /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/user/c/cassandane.conversations B82adf4514b98522d 0 (8 1 0 0 () ((0 5 1 1 0)) () subject1 0 () 5)
=====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19110 19111
There were 2 failures:
1) SearchFuzzy.striphtml_alternative
Structures begin differing at:
$a->[0] = Does not exist
$b->[0] = '1'
at Cassandane/Cyrus/SearchFuzzy.pm line 1405.
Cassandane::Cyrus::SearchFuzzy::test_striphtml_alternative(Cassandane::Cyrus::SearchFuzzy=HASH(0x555f1a5ed880)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75
[...framework calls elided...]
Annotations:
=====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_alternative ----------
=====> Instance::start[659] start main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F
2020/05/07-10:44:19 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(22930)
Resolved [localhost]:19114 to [::1]:19114, IPv6
Resolved [localhost]:19114 to [127.0.0.1]:19114, IPv4
Binding to TCP port 19114 on host ::1 with IPv6
Binding to TCP port 19114 on host 127.0.0.1 with IPv4
Group Not Defined. Defaulting to EGID '12 0'
User Not Defined. Defaulting to EUID '76'
=====> Instance::_start_smtpd[1119] started smtpd as 22930
=====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F as 22953
=====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/master.log
=====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_fork_command[1562] 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/0829250111F/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/master.log"
=====> Instance::_fork_command[1562] child pid=22955
=====> Instance::_fork_command[1562] setting core size limit to 104857600
=====> Instance::_start_master[1153] _start_master: waiting for PID file
=====> Instance::_start_master[1153] _start_master: PID file present and correct
=====> Instance::_start_master[1153] _start_master: PID waiting for services
=====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19115
=====> Util::Wait::timed_wait[909] Waited 0.174427 sec for 127.0.0.1:19115 to be in LISTEN state
=====> Instance::_start_master[1153] _start_master: all services listening
=====> Instance::create_user[1175] create user cassandane
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19115
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 XCONVERSATIONS 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"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<0829250111F-1588841060-22974-1-15100183818831621430>
C: 3 create user.cassandane
S: 3 OK [MAILBOXID (ef32e77b-6fd5-4e69-a90b-ba2ccb161d56)] 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=55
=====> Instance::start[659] started main instance for test test_striphtml_alternative: cyrus version 3.2.0-1.el8
=====> Cyrus::TestCase::set_up[62] (test_striphtml_alternative) Calling test function
=====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_alternative) Xapian CJK tokeniser 'ngrams' detected.
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19115
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 XCONVERSATIONS 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 cassandane "testpw"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<0829250111F-1588841060-22974-2-4890090259575676349>
=====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Index message with both html and plain text part
C: 3 select "inbox"
S: * 0 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok
S: * OK [UIDVALIDITY 1588841061] Ok
S: * OK [UIDNEXT 1] Ok
S: * OK [HIGHESTMODSEQ 4] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: 3 OK [READ-WRITE] Completed
C: 4 append inbox " 7-May-2020 10:44:20 +0200" {889}
S: + go ahead
C: Return-Path: <azsmith@xxxxxxxxx>
Received: from gateway (gateway.vmtom.com [10.0.0.1])
by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:44:20 +0200
Received: from mail.gmail.com (mail.gmail.com [192.168.0.1])
by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:44:20 +0200
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="boundary_1"
Content-Transfer-Encoding: 7bit
Subject: test
From: Ava Z. Smith <azsmith@xxxxxxxxx>
Message-ID: <fake.1588841060.35478@xxxxxxxxx>
Date: Thu, 07 May 2020 10:44:20 +0200
To: Test User <test@xxxxxxxxx>
X-Cassandane-Unique: 9b8b033361ecce2586aa1ffe0a5edb81d4545f82
--boundary_1
Content-Type: text/plain; charset="UTF-8"
<div>This is a plain text body with <b>html</b>.</div>
--boundary_1
Content-Type: text/html; charset="UTF-8"
<div>This is an html body.</div>
--boundary_1--
C:
S: * 1 EXISTS
S: * 1 RECENT
S: 4 OK [APPENDUID 1588841061 1] Completed
=====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/imapd.conf"
=====> Instance::_fork_command[1562] child pid=22975
=====> Instance::_fork_command[1562] setting core size limit to 104857600
0829250111F/squatter[22975]: SQL backend defaulting to engine 'mysql'
0829250111F/squatter[22975]: extractor_init((nil))
0829250111F/squatter[22975]: indexing mailboxes
0829250111F/squatter[22975]: indexing mailbox user.cassandane...
0829250111F/squatter[22975]: Xapian committed 1 updates in 0.008074 sec
0829250111F/squatter[22975]: done indexing mailboxes
0829250111F/squatter[22975]: extractor_destroy(0x55a1cb185b10)
=====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Assert that HTML in plain text is stripped
C: 5 search fuzzy body html
S: * SEARCH 1
S: 5 OK Completed (1 msgs in 0.001 secs)
C: 6 search fuzzy body div
S: * SEARCH 1
S: 6 OK Completed (1 msgs in 0.000 secs)
=====> Cyrus::TestCase::tear_down[93] (test_striphtml_alternative) Beginning tear_down
C: 7 logout
S: * BYE LOGOUT received
S: 7 OK Completed
A: Release socket, fileno=55
=====> Instance::stop[773] stop main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F
=====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 22956
=====> Util::Wait::timed_wait[1376] Waited 0.010104 sec for unknown condition
=====> Instance::__ANON__[1420] killing smtpd 22930
2020/05/07-10:44:20 Server closing!
=====> Instance::__ANON__[1420] killing notifyd 22953
=====> Instance::__ANON__[1459] killing smtpd 22930
=====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_alternative ----------
=====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19114 19115
2) SearchFuzzy.striphtml_rfc822
Structures begin differing at:
$a->[0] = Does not exist
$b->[0] = '1'
at Cassandane/Cyrus/SearchFuzzy.pm line 1472.
Cassandane::Cyrus::SearchFuzzy::test_striphtml_rfc822(Cassandane::Cyrus::SearchFuzzy=HASH(0x555f1a5f1940)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75
[...framework calls elided...]
Annotations:
=====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_rfc822 ----------
=====> Instance::start[659] start main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120
2020/05/07-10:44:21 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(22980)
Resolved [localhost]:19116 to [::1]:19116, IPv6
Resolved [localhost]:19116 to [127.0.0.1]:19116, IPv4
Binding to TCP port 19116 on host ::1 with IPv6
Binding to TCP port 19116 on host 127.0.0.1 with IPv4
Group Not Defined. Defaulting to EGID '12 0'
User Not Defined. Defaulting to EUID '76'
=====> Instance::_start_smtpd[1119] started smtpd as 22980
=====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120 as 23005
=====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/master.log
=====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd
=====> Instance::_fork_command[1562] 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/08292501120/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/master.log"
=====> Instance::_fork_command[1562] child pid=23010
=====> Instance::_fork_command[1562] setting core size limit to 104857600
=====> Instance::_start_master[1153] _start_master: waiting for PID file
=====> Instance::_start_master[1153] _start_master: PID file present and correct
=====> Instance::_start_master[1153] _start_master: PID waiting for services
=====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19117
=====> Util::Wait::timed_wait[909] Waited 0.122989 sec for 127.0.0.1:19117 to be in LISTEN state
=====> Instance::_start_master[1153] _start_master: all services listening
=====> Instance::create_user[1175] create user cassandane
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19117
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 XCONVERSATIONS 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"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501120-1588841062-23020-1-11887763518844812985>
C: 3 create user.cassandane
S: 3 OK [MAILBOXID (cd5b7434-59cd-4f89-9074-263ae695df1a)] 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=55
=====> Instance::start[659] started main instance for test test_striphtml_rfc822: cyrus version 3.2.0-1.el8
=====> Cyrus::TestCase::set_up[62] (test_striphtml_rfc822) Calling test function
=====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_rfc822) Xapian CJK tokeniser 'ngrams' detected.
=====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19117
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 XCONVERSATIONS 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 cassandane "testpw"
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 XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501120-1588841062-23020-2-13985767738996380584>
=====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Index message with attached rfc822 message
C: 3 select "inbox"
S: * 0 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok
S: * OK [UIDVALIDITY 1588841063] Ok
S: * OK [UIDNEXT 1] Ok
S: * OK [HIGHESTMODSEQ 4] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: 3 OK [READ-WRITE] Completed
C: 4 append inbox " 7-May-2020 10:44:22 +0200" {1152}
S: + go ahead
C: Return-Path: <act@xxxxxxxxx>
Received: from gateway (gateway.vmtom.com [10.0.0.1])
by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:44:22 +0200
Received: from mail.gmail.com (mail.gmail.com [192.168.0.1])
by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:44:22 +0200
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="boundary_1"
Content-Transfer-Encoding: 7bit
Subject: test
From: Ashley C. Taylor <act@xxxxxxxxx>
Message-ID: <fake.1588841062.19281@xxxxxxxxx>
Date: Thu, 07 May 2020 10:44:22 +0200
To: Test User <test@xxxxxxxxx>
X-Cassandane-Unique: 8304c52b0c2b67372d5dcbe998ee4e04271275d6
--boundary_1
Content-Type: text/plain; charset="UTF-8"
<main>plain</main>
--boundary_1
Content-Type: message/rfc822
Subject: bar
From: from@local
Date: Wed, 05 Oct 2016 14:59:07 +1100
To: to@local
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=boundary_2
--boundary_2
Content-Type: text/plain; charset="UTF-8"
<div>embeddedplain with <b>html</b>.</div>
--boundary_2
Content-Type: text/html; charset="UTF-8"
<div>embeddedhtml.</div>
--boundary_2--
C:
S: * 1 EXISTS
S: * 1 RECENT
S: 4 OK [APPENDUID 1588841063 1] Completed
=====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin
=====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/imapd.conf"
=====> Instance::_fork_command[1562] child pid=23021
=====> Instance::_fork_command[1562] setting core size limit to 104857600
08292501120/squatter[23021]: SQL backend defaulting to engine 'mysql'
08292501120/squatter[23021]: extractor_init((nil))
08292501120/squatter[23021]: indexing mailboxes
08292501120/squatter[23021]: indexing mailbox user.cassandane...
08292501120/squatter[23021]: Xapian committed 1 updates in 0.004684 sec
08292501120/squatter[23021]: done indexing mailboxes
08292501120/squatter[23021]: extractor_destroy(0x5572e5c10b10)
=====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in top-level message isn't stripped
C: 5 search fuzzy body main
S: * SEARCH 1
S: 5 OK Completed (1 msgs in 0.002 secs)
=====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in embedded message plain text is stripped
C: 6 search fuzzy body div
S: * SEARCH 1
S: 6 OK Completed (1 msgs in 0.001 secs)
=====> Cyrus::TestCase::tear_down[93] (test_striphtml_rfc822) Beginning tear_down
C: 7 logout
S: * BYE LOGOUT received
S: 7 OK Completed
A: Release socket, fileno=55
=====> Instance::stop[773] stop main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120
=====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 23011
=====> Util::Wait::timed_wait[1376] Waited 0.010126 sec for unknown condition
=====> Instance::__ANON__[1420] killing smtpd 22980
2020/05/07-10:44:22 Server closing!
=====> Instance::__ANON__[1420] killing notifyd 23005
=====> Instance::__ANON__[1459] killing smtpd 22980
=====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_rfc822 ----------
=====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19116 19117
----
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