[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-deterministic test failure: _clos1way2
From: |
arnold |
Subject: |
Re: non-deterministic test failure: _clos1way2 |
Date: |
Wed, 20 Oct 2021 00:24:19 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
Thanks for the bug report.
This sort of error shows up on (say) Ubuntu when running the checks
under valgrind. It does happen also some legacy Unix and (IIRC) BSD
systems. Any idea what might be the difference between Guix and
Ubuntu that would cause this?
In any case, although it's annoying that the test fails, it's not
indicative of any kind of major problem and you can use the gawk
that you've built.
Thanks,
Arnold
Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> Hello!
>
> While building gawk 5.1.0 with Guix, I stumbled upon the following test
> failure:
>
> --8<---------------cut here---------------start------------->8---
> 1 TESTS FAILED
> make[3]: *** [Makefile:5145: pass-fail] Error 1
> make[3]: Leaving directory '/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/test'
> make[3]: Entering directory '/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/test'
> for i in _* ; \
> do \
> if [ "$i" != "_*" ]; then \
> echo ============== $i ============= ; \
> base=`echo $i | sed 's/^_//'` ; \
> if [ -r ${base}.ok ]; then \
> diff -c ${base}.ok $i ; \
> else \
> diff -c "."/${base}.ok $i ; \
> fi ; \
> fi ; \
> done
> ============== _clos1way2 =============
> *** clos1way2.ok 2019-08-28 18:43:58.000000000 +0000
> --- _clos1way2 2021-10-19 04:25:01.526475198 +0000
> ***************
> *** 1,4 ****
> ! gawk: clos1way2.awk:5: (FILENAME=- FNR=1) warning: fflush: cannot flush:
> two-way pipe `cat - 1>&2 && sleep 2' has closed write end
> ! test
> gawk: clos1way2.awk:6: (FILENAME=- FNR=1) fatal: print: attempt to write to
> closed write end of two-way pipe
> EXIT CODE: 2
> --- 1,4 ----
> ! gawk: clos1way2.awk:5: test
> ! (FILENAME=- FNR=1) warning: fflush: cannot flush: two-way pipe `cat - 1>&2
> && sleep 2' has closed write end
> gawk: clos1way2.awk:6: (FILENAME=- FNR=1) fatal: print: attempt to write to
> closed write end of two-way pipe
> EXIT CODE: 2
> make[3]: *** [Makefile:5154: diffout] Error 1
> make[3]: Leaving directory '/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/test'
> make[2]: *** [Makefile:2034: check] Error 1
> make[2]: Leaving directory '/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/test'
> make[1]: *** [Makefile:747: check-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0'
> make: *** [Makefile:1047: check] Error 2
>
> Test suite failed, dumping logs.
> --8<---------------cut here---------------end--------------->8---
>
> It doesn't seem to be deterministic as retrying the build succeeded.
>
> Thank you,
>
> Maxim