From unknown Tue Aug 19 08:37:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17212: tests/utils.scm failures on Debian Wheezy i686 with Guile 2.0.5 Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Apr 2014 00:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 17212@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13968290017872 (code B ref -1); Mon, 07 Apr 2014 00:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 00:03:21 +0000 Received: from localhost ([127.0.0.1]:38552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWx21-00022t-1u for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58253) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWx1x-00022k-OG for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWx1n-00040p-Hm for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1n-00040k-FA for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1f-0002mG-U8 for bug-guix@gnu.org; Sun, 06 Apr 2014 20:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWx1Y-0003zF-EM for bug-guix@gnu.org; Sun, 06 Apr 2014 20:02:59 -0400 Received: from world.peace.net ([96.39.62.75]:45449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1Y-0003zB-9s for bug-guix@gnu.org; Sun, 06 Apr 2014 20:02:52 -0400 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WWx1N-0000YK-9g; Sun, 06 Apr 2014 20:02:41 -0400 From: Mark H Weaver Date: Sun, 06 Apr 2014 20:01:39 -0400 Message-ID: <874n26t3bw.fsf@yeeloong.lan> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I see two 'fcntl-lock' related failures with current master on an i686 Debian Wheezy system with Debian's Guile 2.0.5 package. See below for the relevant excerpts from utils.log. Mark --8<---------------cut here---------------start------------->8--- Test begin: test-name: "fcntl-flock wait" source-file: "tests/utils.scm" source-line: 177 source-form: (test-equal "fcntl-flock wait" 42 (let ((file (open-file temp-file "w0"))) (fcntl-flock file (quote write-lock)) (match (primitive-fork) (0 (dynamic-wind (const #t) (lambda () (let ((file (open-file temp-file "r"))) (fcntl-flock file (quote read-lock)) (primitive-exit (read file))) (primitive-exit 1)) (lambda () (primitive-exit 2)))) (pid (display "hello, world!" file) (force-output file) (sleep 1) (seek file 0 SEEK_SET) (truncate-file file 0) (write 42 file) (force-output file) (fcntl-flock file (quote unlock)) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (close-port file) result))))))) Test end: result-kind: fail actual-value: 2 expected-value: 42 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Test begin: test-name: "fcntl-flock non-blocking" source-file: "tests/utils.scm" source-line: 216 source-form: (test-equal "fcntl-flock non-blocking" EAGAIN (match (pipe) ((input . output) (match (primitive-fork) (0 (dynamic-wind (const #t) (lambda () (close-port output) (read-char input) (let ((file (open-file temp-file "w"))) (catch (quote flock-error) (lambda () (fcntl-flock file (quote write-lock) #:wait? #f)) (lambda (key errno) (primitive-exit errno)))) (primitive-exit -1)) (lambda () (primitive-exit -2)))) (pid (close-port input) (let ((file (open-file temp-file "w"))) (fcntl-flock file (quote write-lock)) (write (quote green-light) output) (force-output output) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (fcntl-flock file (quote unlock)) (close-port file) result))))))))) t) (lambda () (close-port output) (read-char input) (let ((file (open-file temp-file "w"))) (catch (quote flock-error) (lambda () (fcntl-flock file (quote write-lock) #:wait? #f)) (lambda (key errno) (primitive-exit errno)))) (primitive-exit -1)) (lambda () (primitive-exit -2)))) (pid (close-port input) (let ((file (open-file temp-file "w"))) (fcntl-flock file (quote write-lock)) (write (quote green-light) output) (force-output output) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (fcntl-flock file (quote unlock)) (close-port file) result))))))))) Test end: result-kind: fail actual-value: 0 expected-value: 11 --8<---------------cut here---------------end--------------->8--- From unknown Tue Aug 19 08:37:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#17212: closed (Re: bug#17212: tests/utils.scm failures on Debian Wheezy i686 with Guile 2.0.5) Message-ID: References: <871tx9t8ni.fsf@gnu.org> <874n26t3bw.fsf@yeeloong.lan> X-Gnu-PR-Message: they-closed 17212 X-Gnu-PR-Package: guix Reply-To: 17212@debbugs.gnu.org Date: Mon, 07 Apr 2014 16:20:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1396887604-22057-1" This is a multi-part message in MIME format... ------------=_1396887604-22057-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17212: tests/utils.scm failures on Debian Wheezy i686 with Guile 2.0.5 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17212@debbugs.gnu.org. --=20 17212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17212 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1396887604-22057-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17212-done) by debbugs.gnu.org; 7 Apr 2014 16:19:04 +0000 Received: from localhost ([127.0.0.1]:39771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXCGF-0005iD-Co for submit@debbugs.gnu.org; Mon, 07 Apr 2014 12:19:03 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:53303) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXCGC-0005hj-13 for 17212-done@debbugs.gnu.org; Mon, 07 Apr 2014 12:19:00 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AC00221B6; Mon, 7 Apr 2014 18:18:58 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HVmZ2GwxSYGd; Mon, 7 Apr 2014 18:18:58 +0200 (CEST) Received: from pluto (pluto.bordeaux.inria.fr [193.50.110.57]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6C2B41831; Mon, 7 Apr 2014 18:18:58 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#17212: tests/utils.scm failures on Debian Wheezy i686 with Guile 2.0.5 References: <874n26t3bw.fsf@yeeloong.lan> Date: Mon, 07 Apr 2014 18:18:57 +0200 In-Reply-To: <874n26t3bw.fsf@yeeloong.lan> (Mark H. Weaver's message of "Sun, 06 Apr 2014 20:01:39 -0400") Message-ID: <871tx9t8ni.fsf@gnu.org> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17212-done Cc: 17212-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Mark H Weaver skribis: > I see two 'fcntl-lock' related failures with current master on an i686 > Debian Wheezy system with Debian's Guile 2.0.5 package. See below for > the relevant excerpts from utils.log. I believe this is fixed with commits 68ec045 and af4535c (tested with Guile 2.0.5 and Debian=E2=80=99s EGLIBC 2.11.3-4 on x86_64.) Can you confirm? Thanks, Ludo=E2=80=99. ------------=_1396887604-22057-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 00:03:21 +0000 Received: from localhost ([127.0.0.1]:38552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWx21-00022t-1u for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58253) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWx1x-00022k-OG for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWx1n-00040p-Hm for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1n-00040k-FA for submit@debbugs.gnu.org; Sun, 06 Apr 2014 20:03:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1f-0002mG-U8 for bug-guix@gnu.org; Sun, 06 Apr 2014 20:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWx1Y-0003zF-EM for bug-guix@gnu.org; Sun, 06 Apr 2014 20:02:59 -0400 Received: from world.peace.net ([96.39.62.75]:45449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWx1Y-0003zB-9s for bug-guix@gnu.org; Sun, 06 Apr 2014 20:02:52 -0400 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WWx1N-0000YK-9g; Sun, 06 Apr 2014 20:02:41 -0400 From: Mark H Weaver To: bug-guix@gnu.org Subject: tests/utils.scm failures on Debian Wheezy i686 with Guile 2.0.5 Date: Sun, 06 Apr 2014 20:01:39 -0400 Message-ID: <874n26t3bw.fsf@yeeloong.lan> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I see two 'fcntl-lock' related failures with current master on an i686 Debian Wheezy system with Debian's Guile 2.0.5 package. See below for the relevant excerpts from utils.log. Mark --8<---------------cut here---------------start------------->8--- Test begin: test-name: "fcntl-flock wait" source-file: "tests/utils.scm" source-line: 177 source-form: (test-equal "fcntl-flock wait" 42 (let ((file (open-file temp-file "w0"))) (fcntl-flock file (quote write-lock)) (match (primitive-fork) (0 (dynamic-wind (const #t) (lambda () (let ((file (open-file temp-file "r"))) (fcntl-flock file (quote read-lock)) (primitive-exit (read file))) (primitive-exit 1)) (lambda () (primitive-exit 2)))) (pid (display "hello, world!" file) (force-output file) (sleep 1) (seek file 0 SEEK_SET) (truncate-file file 0) (write 42 file) (force-output file) (fcntl-flock file (quote unlock)) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (close-port file) result))))))) Test end: result-kind: fail actual-value: 2 expected-value: 42 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Test begin: test-name: "fcntl-flock non-blocking" source-file: "tests/utils.scm" source-line: 216 source-form: (test-equal "fcntl-flock non-blocking" EAGAIN (match (pipe) ((input . output) (match (primitive-fork) (0 (dynamic-wind (const #t) (lambda () (close-port output) (read-char input) (let ((file (open-file temp-file "w"))) (catch (quote flock-error) (lambda () (fcntl-flock file (quote write-lock) #:wait? #f)) (lambda (key errno) (primitive-exit errno)))) (primitive-exit -1)) (lambda () (primitive-exit -2)))) (pid (close-port input) (let ((file (open-file temp-file "w"))) (fcntl-flock file (quote write-lock)) (write (quote green-light) output) (force-output output) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (fcntl-flock file (quote unlock)) (close-port file) result))))))))) t) (lambda () (close-port output) (read-char input) (let ((file (open-file temp-file "w"))) (catch (quote flock-error) (lambda () (fcntl-flock file (quote write-lock) #:wait? #f)) (lambda (key errno) (primitive-exit errno)))) (primitive-exit -1)) (lambda () (primitive-exit -2)))) (pid (close-port input) (let ((file (open-file temp-file "w"))) (fcntl-flock file (quote write-lock)) (write (quote green-light) output) (force-output output) (match (waitpid pid) ((_ . status) (let ((result (status:exit-val status))) (fcntl-flock file (quote unlock)) (close-port file) result))))))))) Test end: result-kind: fail actual-value: 0 expected-value: 11 --8<---------------cut here---------------end--------------->8--- ------------=_1396887604-22057-1--