* AIX7.2: test-fcntl fails when run via AIX make with -j
@ 2021-01-06 23:04 Bernhard Voelker
2021-01-07 2:04 ` Bruno Haible
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Voelker @ 2021-01-06 23:04 UTC (permalink / raw)
To: bug-gnulib
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.
Reproducer:
Export 'fcntl' module into a tarball, and transfer it to the AIX7.2 host.
$ ./gnulib-tool --create-testdir --dir=/tmp/gl-fcntl --single-configure fcntl \
&& cd /tmp \
&& tar -zcf gl-fcntl.tar.gz gl-fcntl \
&& scp -p gl-fcntl.tar.gz gcc119.fsffrance.org:
Logon there.
$ ssh gcc119.fsffrance.org
Go away from ksh.
$ exec bash --login
Build the 'fcntl' module.
$ gzip -d -c - < gl-fcntl.tar.gz \
| tar -xf - \
&& cd gl-fcntl \
&& ./configure && make
Run tests with -j4 --> test-fcntl fails:
$ make -j4 check
...
FAIL: test-fcntl
...
$ cat gltests/test-fcntl.log
FAIL test-fcntl (exit status: 42)
Run tests without -j --> test-fcntl succeeds:
make check
...
PASS: test-fcntl
...
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?
Have a nice day,
Berny
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AIX7.2: test-fcntl fails when run via AIX make with -j
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
2021-01-07 18:33 ` Bernhard Voelker
0 siblings, 1 reply; 3+ messages in thread
From: Bruno Haible @ 2021-01-07 2:04 UTC (permalink / raw)
To: bug-gnulib; +Cc: Bernhard Voelker
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AIX7.2: test-fcntl fails when run via AIX make with -j
2021-01-07 2:04 ` Bruno Haible
@ 2021-01-07 18:33 ` Bernhard Voelker
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Voelker @ 2021-01-07 18:33 UTC (permalink / raw)
To: Bruno Haible, bug-gnulib
On 1/7/21 3:04 AM, Bruno Haible wrote:
> 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.
Great, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-07 18:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-01-07 18:33 ` Bernhard Voelker
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).