From: Vladimir Marek Date: Tue, 13 Aug 2013 08:49:12 +0000 (+0200) Subject: notmuch tests issue on solaris X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cf145f7da3e5f41d310508b369218445216363d;p=notmuch-archives.git notmuch tests issue on solaris --- diff --git a/ab/f1f4ad9206d150b51ee6bd742824e4acf83bea b/ab/f1f4ad9206d150b51ee6bd742824e4acf83bea new file mode 100644 index 000000000..7307ec680 --- /dev/null +++ b/ab/f1f4ad9206d150b51ee6bd742824e4acf83bea @@ -0,0 +1,133 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 2461A431FBD + for ; Tue, 13 Aug 2013 01:50:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.299 +X-Spam-Level: +X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id aNIgzo753-pz for ; + Tue, 13 Aug 2013 01:49:21 -0700 (PDT) +Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 38812431FAF + for ; Tue, 13 Aug 2013 01:49:21 -0700 (PDT) +Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) + by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with + ESMTP id r7D8nJce009681 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) + for ; Tue, 13 Aug 2013 08:49:20 GMT +Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) + by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id + r7D8nHS4016859 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) + for ; Tue, 13 Aug 2013 08:49:19 GMT +Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) + by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id + r7D8nHDx015094 + for ; Tue, 13 Aug 2013 08:49:17 GMT +Received: from virt.cz.oracle.com (/10.163.102.127) + by default (Oracle Beehive Gateway v4.0) + with ESMTP ; Tue, 13 Aug 2013 01:49:16 -0700 +Date: Tue, 13 Aug 2013 10:49:12 +0200 +From: Vladimir Marek +To: notmuch@notmuchmail.org +Subject: notmuch tests issue on solaris +Message-ID: <20130813084856.GA1208@virt.cz.oracle.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +User-Agent: Mutt/ (2012-12-30) +X-Source-IP: acsinet22.oracle.com [141.146.126.238] +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 13 Aug 2013 08:50:28 -0000 + +Hi, + +I returned back to making the test suite work on Solaris. But now I +stumbled upon a problem with emacs which I don't know how to solve ... + +Emacs seems to throw some kind of error while trying to send email + ++ emacsclient --socket-name=notmuch-test-suite-9620 --eval '(progn (let ((message-send-mail-function '\''message-smtpmail-send-it) + (smtpmail-smtp-server "localhost") + (smtpmail-smtp-service "25025")) + (setq smtpmail-debug-info t) + (notmuch-hello) + (notmuch-mua-mail) + (message-goto-to) + (insert "test_suite@notmuchmail.org\nDate: 01 Jan 2000 12:00:00 -0000") + (message-goto-subject) + (insert "Testing message sent via SMTP") + (message-goto-body) + (insert "This is a test that messages are sent via SMTP") + (message-goto-to) + (kill-whole-line) + (insert "To: user@example.com\n") + (message-send-and-exit)))' +*ERROR*: Sending failed; SMTP protocol error + + + + +If I try to instrument the smtp-dummy binary, I can see: + +11183/1: 0.1832 write(5, 0x0806550C, 26) = 26 +11183/1: 2 2 0 l o c a l h o s t s m t p - d u m m y\r\n +11183/1: 0.1839 read(5, 0x0806550C, 8192) = 14 +11183/1: E H L O S 1 1 . 1 _ F C S +11183/1: 0.1841 read(5, "\r\n", 8192) = 2 +11183/1: 0.1842 write(5, "\r\n", 2) = 2 +11183/1: 0.1842 write(5, 0x0806550C, 21) = 21 +11183/1: 5 0 2 n o t i m p l e m e n t e d\r\n +11183/1: 0.1845 read(5, 0x0806550C, 8192) = 14 +11183/1: H E L O S 1 1 . 1 _ F C S +11183/1: 0.1847 read(5, "\r\n", 8192) = 2 +11183/1: 0.1847 write(5, "\r\n", 2) = 2 +11183/1: 0.1847 write(5, 0x0806550C, 15) = 15 +11183/1: 2 5 0 l o c a l h o s t\r\n +11183/1: 0.1850 read(5, " Q U I T", 8192) = 4 +11183/1: 0.1852 read(5, "\r\n", 8192) = 2 +11183/1: 0.1853 write(5, "\r\n", 2) = 2 +11183/1: 0.1853 write(5, " 2 2 1 B Y E\r\n", 9) = 9 +11183/1: 0.1854 close(3) = 0 +11183/1: 0.1855 llseek(5, 0, SEEK_CUR) Err#29 ESPIPE +11183/1: 0.1855 close(5) = 0 +11183/1: 0.1855 close(4) = 0 +11183/1: 0.1856 _exit(0) + +Which is + +-> 220 localhost smtp-dummy +<- EHLO S11.1_FCS +-> 502 not implemented +<- HELO S11.1_FCS +-> 250 localhost +<- QUIT +-> 221 BYE + +So it seems that emacs just quits after HELO command? Is there a way to +debug emacs? Several tests are using emacs for sending email ... + +Thank you +-- + Vlad