From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 20:03:21 2014 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--- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 12:19:04 2014 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. From unknown Tue Aug 19 08:37:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 May 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator