zsh-workers
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Re: zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst
Date: Fri, 15 Aug 2014 11:32:56 +0200	[thread overview]
Message-ID: <20140815093255.GN6176@sym.noone.org> (raw)
In-Reply-To: <140814215053.ZM4188@torch.brasslantern.com>

Hi,

On Thu, Aug 14, 2014 at 09:50:53PM -0700, Bart Schaefer wrote:
> On Aug 14,  7:34pm, Axel Beckert wrote:
> } 
> } One thing I noticed in the failed build logs: Exactly before
> } terminating the hanging test suite there is the following message:
> } 
> } Unable to change MONITOR option
> 
> Yes, that's coming from the third-to-last test in the file:
> 
>   { setopt MONITOR } 2>/dev/null
>   [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option'
> 
> Where as the "5 seconds" message is from the very last test:
> 
>   { unsetopt MONITOR } 2>/dev/null
>   coproc { read -Et 5 || kill -INT $$ }
>   print -u $ZTST_fd 'This test takes 5 seconds to fail...'
> 
> So two tests have succeeded between the "Unable" message and the one
> that hangs.  The inability to change MONITOR is a side-effect of no
> controlling terminal, so the test warns you.

Thanks for the explanations!

> Actually the warning could be stronger than that, because the
> inability to setpt MONITOR renders the test invalid

So instead of or in addition to the warning, can we skip this test in
case of no controlling terminal? Because the situation where it
currently shows up reproducibly (on the build daemons), it's always
without controlling terminal.

(The one case where it seems to hang for me with a controlling
terminal, I wonder if I was just not patient enough. I think I waited
for at least 20 to 30 seconds before pressing Ctrl-C, but I'm no more
sure.)

> (it will always succeed, even in the case we are trying to regress).

Well, it at least hangs under some yet to be determined conditions. So
skipping the test if it doesn't do anything useful seems a step
forward for me. :-)

		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.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


  reply	other threads:[~2014-08-15  9:33 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 20:29 zsh 5.0.5-dev-2 Peter Stephenson
2014-08-12 22:36 ` Axel Beckert
2014-08-13 14:04   ` zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst Axel Beckert
2014-08-13 19:08     ` Bart Schaefer
2014-08-14  8:48       ` Axel Beckert
2014-08-14  8:50       ` Peter Stephenson
2014-08-14 16:25         ` Bart Schaefer
2014-08-14 16:31           ` Axel Beckert
2014-08-14 17:34             ` Axel Beckert
2014-08-15  4:50               ` Bart Schaefer
2014-08-15  9:32                 ` Axel Beckert [this message]
2014-08-15 17:33                   ` Bart Schaefer
2014-08-15 19:42                     ` Axel Beckert
2014-08-16 18:12                       ` zsh 5.0.5/6 Peter Stephenson
2014-08-13 17:28   ` zsh 5.0.5-dev-2 Dominic Hopf
2014-08-13 22:34 ` Oliver Kiddle
2014-08-14  8:34   ` Peter Stephenson
2014-08-14  9:32     ` Peter Stephenson
2014-08-14 16:20       ` Bart Schaefer
2014-08-14 19:54         ` Peter Stephenson
2014-08-15  4:44           ` Bart Schaefer
2014-08-15  8:38             ` Peter Stephenson
2014-08-15 11:23             ` Han Pingtian
2014-08-15 17:17               ` Bart Schaefer
2014-08-16  0:35                 ` Han Pingtian
2014-08-17 17:30                   ` Bart Schaefer
2014-08-18  2:56                     ` Han Pingtian
2014-08-18  6:36                       ` Bart Schaefer
2014-08-18 14:02                         ` Han Pingtian
2014-08-23 17:51                     ` Symlink chasing Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140815093255.GN6176@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).