bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Cc: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: AIX7.2: test-fcntl fails when run via AIX make with -j
Date: Thu, 07 Jan 2021 03:04:50 +0100	[thread overview]
Message-ID: <2043538.OPJBG07OLg@omega> (raw)
In-Reply-To: <e2d6df97-4be1-5dd5-43ac-3bbe53573b79@bernhard-voelker.de>

Bernhard Voelker wrote:
> I notice that 'test-fcntl' fails on AIX7.2 when run from AIX make with any -j value,
> but succeeds if run both without -j or when run via gmake.
> ...
> Funny thing is: it fails even with -j1:
> 
>   $ make -j1 check
>   ...
>   FAIL: test-fcntl
>   ...
> 
> Finally: no problems with gmake:
> 
>   $ gmake -j4 check
>   ...
>   PASS: test-fcntl
>   ...
> 
> Is this worth investigating/fixing?

test-fcntl is not the only test that fails:

$ cat test-fcntl.log
FAIL test-fcntl (exit status: 42)

$ cat test-execute.sh.log
test-execute-main: test-execute-child subprocess failed
Test case 14: 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
../../gltests/test-execute-main.c:295: assertion 'ret == 0' failed
../../gltests/test-execute.sh[5]: 34603272 IOT/Abort trap(coredump)
test-execute.sh: test case 14 failed
Test case 15: 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
../../gltests/test-execute-main.c:305: assertion 'ret == 0' failed
../../gltests/test-execute.sh[5]: 34603274 IOT/Abort trap(coredump)
test-execute.sh: test case 15 failed
Test case 16: 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
../../gltests/test-execute-main.c:315: assertion 'ret == 0' failed
../../gltests/test-execute.sh[5]: 29098616 IOT/Abort trap(coredump)
test-execute.sh: test case 16 failed
../../gltests/test-execute-main.c:387: assertion 'fd_out >= 0 && fd_out < 10' failed
../../gltests/test-execute.sh[5]: 19398982 IOT/Abort trap(coredump)
test-execute.sh: test case 19 failed
FAIL test-execute.sh (exit status: 1)

This indicates that all processes inherit many open file descriptors
(at least, all from 4 to 19). This explains the failures.

Nothing to worry about.

Bruno



  reply	other threads:[~2021-01-07  2:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 23:04 AIX7.2: test-fcntl fails when run via AIX make with -j Bernhard Voelker
2021-01-07  2:04 ` Bruno Haible [this message]
2021-01-07 18:33   ` Bernhard Voelker

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

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

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

  git send-email \
    --in-reply-to=2043538.OPJBG07OLg@omega \
    --to=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    --cc=mail@bernhard-voelker.de \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).