From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Re: Drat, Test/A05 still hanging sometimes
Date: Tue, 14 Oct 2014 11:34:59 +0200 [thread overview]
Message-ID: <20141014093458.GN5405@sym.noone.org> (raw)
In-Reply-To: <141013101803.ZM5769@torch.brasslantern.com>
Hi Bart,
On Mon, Oct 13, 2014 at 10:18:03AM -0700, Bart Schaefer wrote:
> Give the following a try? With the "sleep" in there, I am unable to
> make the A05 test hang. Without it, I get one hang in each 20 repeats
> of the test, pretty reliably.
Thanks. I've made an upload to Debian Experimental last night with a
bunch of cherry-picked post-5.0.7 patches plus this one.
> Although why putting the sleep at that particular place has the right
> side-effect, I do not know.
>
> diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
> index ca97f4f..0b40a73 100644
> --- a/Test/A05execution.ztst
> +++ b/Test/A05execution.ztst
> @@ -208,6 +208,7 @@ F:This similar test was triggering a reproducible failure with pipestatus.
> print -u $ZTST_fd 'This test takes 5 seconds to fail...'
> { printf "%d\n" {1..20000} } | ( read -e )
> hang(){ printf "%d\n" {2..20000} | cat }; hang | ( read -e )
> + sleep 1 ;: avoid coproc exit race condition
> print -p done
> read -et 6 -p
> 0:Bug regression: piping a shell construct to an external process may hang
One build failure so far (four slower/busier architectures still
outstanding), but it happened on the architecture where it happened
the most often so far (kfreebsd-amd64). It was inside A05, but not at
the above location but at the test starting at line 179 (or not
properly synced output):
https://buildd.debian.org/status/fetch.php?pkg=zsh&arch=kfreebsd-amd64&ver=5.0.7-2&stamp=1413276687
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)
next prev parent reply other threads:[~2014-10-14 9:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 20:42 Bart Schaefer
2014-10-07 14:07 ` Peter Stephenson
2014-10-09 7:52 ` Axel Beckert
2014-10-12 18:47 ` Bart Schaefer
2014-10-13 3:03 ` Axel Beckert
2014-10-13 17:18 ` Bart Schaefer
2014-10-14 9:34 ` Axel Beckert [this message]
2014-10-27 0:40 ` Bart Schaefer
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=20141014093458.GN5405@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).