Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Testsuite failures in A05execution inside Jenkins, but not locally (was: zsh 5.0.8.-test-3)



Hi Peter,

On Tue, Aug 25, 2015 at 07:48:07PM +0100, Peter Stephenson wrote:
> I've uploaded 5.0.8-test-3 to
> 
> http://www.zsh.org/pub/development/
[...]
> If you have a not very common operating system, please try this out;
> otherwise, 5.1 should be fit to release.

Sorry for my silence this time, I'm currently in that
busy-after-back-from-holidays state.

I managed to import 5.0.8-test-2 into Debian's Zsh packaging git
repository and it build fine locally.

But I had test suite failures when being build inside a Jenkins job.
Doesn't seem to be caused by the zsh updated though as the most recent
5.0.8 build failed at the very same test:

../../Test/A05execution.ztst: starting.
[…]
Running test: Check whether '$pipestatus[]' behaves.
Unable to change MONITOR option
Test successful.
Running test: Check $pipestatus with a known difficult case
Test successful.
Running test: Bug regression: piping a shell construct to an external process may hang
This test takes 5 seconds to fail...
*** /tmp/zsh.ztst.err.17001  Sat Aug 22 01:00:25 2015
--- /tmp/zsh.ztst.terr.17001 Sat Aug 22 01:00:25 2015
***************
*** 0 ****
--- 1,5 ----
+ (eval):printf:4: write error: broken pipe
+ (eval):4: write error: inappropriate ioctl for device
+ cat: write error: Broken pipe
+ hang:printf: write error: broken pipe
+ hang: write error: inappropriate ioctl for device
Test ../../Test/A05execution.ztst failed: error output differs from expected as shown above for:
  { unsetopt MONITOR } 2>/dev/null
  coproc { read -et 5 || { print -u $ZTST_fd KILLED; kill -HUP -$$ } }
  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
Was testing: Bug regression: piping a shell construct to an external process may hang
../../Test/A05execution.ztst: test failed.
The following may (or may not) help identifying the cause:
  This test checks for a file descriptor leak that could cause the left
  side of a pipe to block on write after the right side has exited
../../Test/A06assign.ztst: starting.
[…]

Details:
5.0.8-test-2: http://jenkins.grml.org/view/Debian/job/zsh-binaries/201/architecture=amd64/console
5.0.8: http://jenkins.grml.org/view/Debian/job/zsh-binaries/200/architecture=amd64/console

Will try to import and test 5.0.8-test-3 as soon as possible.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author