Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662896 - >=net-mail/cyrus-imapd-3.0.4: get_search_program ...FAILED
Summary: >=net-mail/cyrus-imapd-3.0.4: get_search_program ...FAILED
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/cyrusimap/cyrus-im...
Whiteboard:
Keywords: PATCH, PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-08-05 23:22 UTC by ernsteiswuerfel
Modified: 2021-05-06 23:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (cyrus-imapd-3.0.4:20180803-153441.log,222.32 KB, text/plain)
2018-08-05 23:22 UTC, ernsteiswuerfel
Details
emerge --info (file_662896.txt,6.34 KB, text/plain)
2018-08-05 23:22 UTC, ernsteiswuerfel
Details
build.log (3.0.8) (cyrus-imapd-3.0.8:20181024-222043.log,239.76 KB, text/plain)
2018-10-24 22:23 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-08-05 23:22:06 UTC
Created attachment 542516 [details]
build.log

Suite: search_expr
  Test: get_search_program ...FAILED
    1. ./cunit/search_expr.testc:90  - CU_ASSERT_STRING_EQUAL(actual_out="(and (lt internaldate 0))",expected_out="(and (lt internaldate 1354885200))")
    2. ./cunit/search_expr.testc:157  - CU_ASSERT_STRING_EQUAL(actual_out="(and (and (lt internaldate 0) (ge internaldate 0)))",expected_out="(and (and (lt internaldate 1354971600) (ge internaldate 1354885200)))")
    3. ./cunit/search_expr.testc:179  - CU_ASSERT_STRING_EQUAL(actual_out="(and (lt sentdate 0))",expected_out="(and (lt sentdate 1354885200))")
    4. ./cunit/search_expr.testc:189  - CU_ASSERT_STRING_EQUAL(actual_out="(and (and (lt sentdate 0) (ge sentdate 0)))",expected_out="(and (and (lt sentdate 1354971600) (ge sentdate 1354885200)))")
    5. ./cunit/search_expr.testc:194  - CU_ASSERT_STRING_EQUAL(actual_out="(and (ge sentdate 0))",expected_out="(and (ge sentdate 1354885200))")
    6. ./cunit/search_expr.testc:199  - CU_ASSERT_STRING_EQUAL(actual_out="(and (ge internaldate 0))",expected_out="(and (ge internaldate 1354885200))")
  Test: unserialise ...passed
  Test: duplicate ...passed
  Test: normalise ...passed
  Test: countability ...passed
  Test: split_by_folder_and_index ...passed
Comment 1 ernsteiswuerfel archtester 2018-08-05 23:22:49 UTC
Created attachment 542518 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2018-08-06 13:25:43 UTC
Fails with cyrus-imapd-3.0.5 too: 

Suite: search_expr
  Test: get_search_program ...FAILED
    1. ./cunit/search_expr.testc:90  - CU_ASSERT_STRING_EQUAL(actual_out="(and (lt internaldate 0))",expected_out="(and (lt internaldate 1354885200))")
    2. ./cunit/search_expr.testc:157  - CU_ASSERT_STRING_EQUAL(actual_out="(and (and (lt internaldate 0) (ge internaldate 0)))",expected_out="(and (and (lt internaldate 1354971600) (ge internaldate 1354885200)))")
    3. ./cunit/search_expr.testc:179  - CU_ASSERT_STRING_EQUAL(actual_out="(and (lt sentdate 0))",expected_out="(and (lt sentdate 1354885200))")
    4. ./cunit/search_expr.testc:189  - CU_ASSERT_STRING_EQUAL(actual_out="(and (and (lt sentdate 0) (ge sentdate 0)))",expected_out="(and (and (lt sentdate 1354971600) (ge sentdate 1354885200)))")
    5. ./cunit/search_expr.testc:194  - CU_ASSERT_STRING_EQUAL(actual_out="(and (ge sentdate 0))",expected_out="(and (ge sentdate 1354885200))")
    6. ./cunit/search_expr.testc:199  - CU_ASSERT_STRING_EQUAL(actual_out="(and (ge internaldate 0))",expected_out="(and (ge internaldate 1354885200))")
  Test: unserialise ...passed
  Test: duplicate ...passed
  Test: normalise ...passed
  Test: countability ...passed
  Test: split_by_folder_and_index ...passed

[...]

Run Summary:    Type   Total     Ran  Passed Failed Inactive
              suites      40      40     n/a      0        0
               tests     437     437     436      1        0
             asserts 1090630 1090630 1090624      6      n/a

Elapsed time =   10.057 seconds
make[3]: *** [Makefile:6675: check-local] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-mail/cyrus-imapd-3.0.5/work/cyrus-imapd-3.0.5'
Comment 3 ernsteiswuerfel archtester 2018-10-24 22:23:58 UTC
Created attachment 552822 [details]
build.log (3.0.8)

Fails on 3.0.6 and 3.0.8 too.
Comment 4 Pacho Ramos gentoo-dev 2019-06-09 11:33:09 UTC
please report to upstream if still failing with 3.0.10
Comment 5 ernsteiswuerfel archtester 2019-06-10 13:55:11 UTC
(In reply to Pacho Ramos from comment #4)
> please report to upstream if still failing with 3.0.10
Did that. https://github.com/cyrusimap/cyrus-imapd/issues/2795
Comment 6 ernsteiswuerfel archtester 2019-06-14 09:32:24 UTC
Upstream made a patch which makes the tests pass:
https://github.com/elliefm/cyrus-imapd/commit/28f7d3af807a082c8b688018e6e5c381ca44482f.diff

Will be included in next formal release.
Comment 7 Larry the Git Cow gentoo-dev 2021-05-06 23:26:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9724a2bd22bcf58dbd83e2f1580d4507ad9fa6bc

commit 9724a2bd22bcf58dbd83e2f1580d4507ad9fa6bc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-06 23:14:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-06 23:26:18 +0000

    net-mail/cyrus-imapd: add 3.4.0 (masked)
    
    Changes:
    * lmdb support dropped upstream
    * sieve is, for now, unconditionally built due to upstream changes
    
    Masked for testing in a follow-up commit.
    
    Bug: https://bugs.gentoo.org/731266
    Bug: https://bugs.gentoo.org/738280
    Bug: https://bugs.gentoo.org/740188
    Bug: https://bugs.gentoo.org/738278
    Bug: https://bugs.gentoo.org/738276
    Bug: https://bugs.gentoo.org/356341
    Bug: https://bugs.gentoo.org/688242
    Bug: https://bugs.gentoo.org/662896
    Bug: https://bugs.gentoo.org/687864
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/cyrus-imapd/Manifest                 |   1 +
 net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild | 234 ++++++++++++++++++++++++++
 2 files changed, 235 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b08a02bdc724992071e52b60e356ee9fcd0759

commit f2b08a02bdc724992071e52b60e356ee9fcd0759
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-06 22:44:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-06 23:26:17 +0000

    net-mail/cyrus-imapd: add 3.0.15
    
    Bug: https://bugs.gentoo.org/738280
    Bug: https://bugs.gentoo.org/740188
    Bug: https://bugs.gentoo.org/738278
    Bug: https://bugs.gentoo.org/738276
    Bug: https://bugs.gentoo.org/356341
    Bug: https://bugs.gentoo.org/688242
    Bug: https://bugs.gentoo.org/721466
    Bug: https://bugs.gentoo.org/662896
    Bug: https://bugs.gentoo.org/687864
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/cyrus-imapd/Manifest                  |   1 +
 net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild | 229 +++++++++++++++++++++++++
 2 files changed, 230 insertions(+)