Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935394

Summary: net-mail/mailutils-3.17 test fail
Product: Gentoo Linux Reporter: Arniii <lg3dx6fd>
Component: Current packagesAssignee: Eray Aslan <eras>
Status: RESOLVED FIXED    
Severity: normal CC: lg3dx6fd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log in zip
/var/tmp/portage/net-mail/mailutils-3.17/work $ zip -9 mailutils-3.17.zip ./mailutils-3.17/**.log
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3
/etc/portage/make.conf // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13 O3 pipe march=native(verbose) lto graphite ggdb3 testing FEATUREs : testing

Description Arniii 2024-07-03 09:06:31 UTC
=== mail tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/Followup.exp ...
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/folder/alice
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/outfolder/alice
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/Reply.exp ...
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/record
ERROR: : spawn id exp14 not open
    while executing
"expect {
-i exp14 -timeout 30
        -ex "\r\n" { }
        default {
            perror "mu_command for target failed";
            return -1
        }
    }"
    ("uplevel" body line 1)
    invoked from within
"uplevel $body" NONE : spawn id exp14 not open
WARNING: remote_expect statement without a default case
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/alias.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/folder.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/followup.exp ...
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/folder/hare
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/outfolder/hare
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/if.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/read.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/reply.exp ...
FAIL: Contents of /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/data/spool/record
ERROR: : spawn id exp21 not open
    while executing
"expect {
-i exp21 -timeout 30
        -ex "\r\n" { }
        default {
            perror "mu_command for target failed";
            return -1
        }
    }"
    ("uplevel" body line 1)
    invoked from within
"uplevel $body" NONE : spawn id exp21 not open
WARNING: remote_expect statement without a default case
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/send.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/tag.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/write.exp ...
Running /var/tmp/portage/net-mail/mailutils-3.17/work/mailutils-3.17/mail/testsuite/mail/z.exp ...

                === mail Summary ===

# of expected passes            115
# of unexpected failures        6
# of unresolved testcases       2
Comment 1 Arniii 2024-07-03 09:08:08 UTC
Created attachment 896836 [details]
build.log in zip
Comment 2 Arniii 2024-07-03 09:14:01 UTC
Created attachment 896837 [details]
/var/tmp/portage/net-mail/mailutils-3.17/work $ zip -9 mailutils-3.17.zip ./mailutils-3.17/**.log
Comment 3 Arniii 2024-07-03 09:14:55 UTC
Created attachment 896838 [details]
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3
Comment 4 Arniii 2024-07-03 09:15:22 UTC
Created attachment 896839 [details]
/etc/portage/make.conf // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13 O3 pipe march=native(verbose) lto graphite ggdb3 testing FEATUREs : testing
Comment 5 Arniii 2024-11-11 14:01:10 UTC
reproducible with net-mail/mailutils-3.17-r100
Comment 6 Larry the Git Cow gentoo-dev 2025-01-07 13:58:45 UTC
The bug has been closed via the following commit(s):

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

commit afb42b3ee85b689df5e4fd5f1cd4c9b891434874
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2025-01-07 13:55:21 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2025-01-07 13:58:35 +0000

    net-mail/mailutils: Skip failing tests
    
    A few tests in the mail testsuite expect mbox pattern mailboxes and fail
    when default mailbox pattern is maildir which is the Gentoo default.
    Skip them
    
    Closes: https://bugs.gentoo.org/935394
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 .../files/mailutils-skip-mbox-tests.patch          | 60 ++++++++++++++++++++++
 net-mail/mailutils/mailutils-3.18.ebuild           |  1 +
 2 files changed, 61 insertions(+)