From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24016 invoked by alias); 2 Dec 2013 18:25:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32085 Received: (qmail 11476 invoked from network); 2 Dec 2013 18:25:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Mon, 2 Dec 2013 19:25:42 +0100 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: Test suite failures in 5.0.2-test-1 _and_ 5.0.2-test-3 on automatic build (was: Re: 5.0.2-test-2 is available) Message-ID: <20131202182542.GX13790@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <20131201194653.7a98a4a4@pws-pc.ntlworld.com> <20131202151502.GP13790@sym.noone.org> <20131202162830.GT13790@sym.noone.org> <131202092215.ZM21914@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <131202092215.ZM21914@torch.brasslantern.com> X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) Hi, On Mon, Dec 02, 2013 at 09:22:15AM -0800, Bart Schaefer wrote: > On Dec 2, 5:28pm, Axel Beckert wrote: > } > } *** /tmp/zsh.ztst.err.16395 Mon Dec 2 16:15:29 2013 > } --- /tmp/zsh.ztst.terr.16395 Mon Dec 2 16:15:29 2013 > } *************** > } *** 0 **** > } --- 1 ---- > } + (eval):setopt:1: can't change option: MONITOR > > This is a tough one to reproduce because I can't manually create a case > where the MONITOR option can't be reset. > > However, changing the option is non-critical to the test itself, so it's > only necessary to suppress the extra stderr output. > > Attempting to test this did reveal that acquire_pgrp() can still be caused > to go into an infinite loop, even after the patch in 31906, if the shell > that is attempting to assert MONITOR is sufficiently far down the process > tree from the parent that actually controls the terminal. I guess that > loop just needs to give up after a certain number of failed attempts, if > it really needs to be a loop at all. (No patch for that yet.) > > diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst > index ba7e02c..61f6f5a 100644 > --- a/Test/A05execution.ztst > +++ b/Test/A05execution.ztst > @@ -179,7 +179,7 @@ > 0:Status reset by starting a backgrounded command > >0 > > - setopt MONITOR > + { setopt MONITOR } 2>/dev/null > [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option' > repeat 2048; do (return 2 | > return 1 | Still fails, now looks like this: http://jenkins.grml.org/view/Debian/job/zsh-binaries/92/architecture=i386/console ../../Test/A05execution.ztst: starting. Unable to change MONITOR option *** /tmp/zsh.ztst.err.1283 Mon Dec 2 18:04:46 2013 --- /tmp/zsh.ztst.terr.1283 Mon Dec 2 18:04:46 2013 *************** *** 0 **** --- 1 ---- + (eval):setopt:1: can't change option: MONITOR Test ../../Test/A05execution.ztst failed: error output differs from expected as shown above for: setopt MONITOR externFunc() { awk >/dev/null 2>&1; true; } false | true | false | true | externFunc echo $pipestatus Was testing: Check $pipestatus with a known difficult case ../../Test/A05execution.ztst: test failed. The following may (or may not) help identifying the cause: This similar test was triggering a reproducible failure with pipestatus. ../../Test/A06assign.ztst: starting. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)