GNU bug report logs -
#12891
test-suite AIX 6.1 non-root xlC compiler
Previous Next
Reported by: Michael Felt <mamfelt <at> gmail.com>
Date: Thu, 15 Nov 2012 08:02:01 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12891 in the body.
You can then email your comments to 12891 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 15 Nov 2012 08:02:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Felt <mamfelt <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Thu, 15 Nov 2012 08:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
FYI
[Message part 2 (text/html, inline)]
[test-suite.log.gz (application/x-gzip, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 15 Nov 2012 16:43:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 12891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The compressed nohup.out - for what is it worth, or not - attached.
On Thu, Nov 15, 2012 at 9:00 AM, Michael Felt <mamfelt <at> gmail.com> wrote:
> FYI
>
[Message part 2 (text/html, inline)]
[nohup.out.gz (application/x-gzip, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 15 Nov 2012 17:10:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 12891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Adding same, as xz archives, for make check as root.
On Thu, Nov 15, 2012 at 5:41 PM, Michael Felt <mamfelt <at> gmail.com> wrote:
> The compressed nohup.out - for what is it worth, or not - attached.
>
> On Thu, Nov 15, 2012 at 9:00 AM, Michael Felt <mamfelt <at> gmail.com> wrote:
>
>> FYI
>>
>
>
[Message part 2 (text/html, inline)]
[nohup.out.xz (application/octet-stream, attachment)]
[test-suite.log.xz (application/octet-stream, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 15 Nov 2012 17:41:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 12891 <at> debbugs.gnu.org (full text, mbox):
There are a lot of failures there, though none seem to
be all that serious for real-world use. Probably the best
thing to do is to go through them one by one. The first
failure is in tests/tail-2/F-vs-missing.sh, and the log
says:
+ rm -rf /data/prj/gnu/coreutils/coreutils-8.20/gt-F-vs-missing.sh.f7EB
rm: cannot remove '/data/prj/gnu/coreutils/coreutils-8.20/gt-F-vs-missing.sh.f7EB': File exists
This indicates that coreutils 'rm -rf' somehow missed some
files under that directory, and then tried to remove the
directory without removing the files, or perhaps the kernel
didn't remove the files, or something like that.
Can you please 'truss' the test and see what system calls
were executed near the point of failure? One way to do that
would be something like this:
cd tests
truss -f -o /tmp/tr make check TESTS=tail-2/F-vs-missing.sh
and then look near the end of /tmp/tr.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Tue, 20 Nov 2012 20:34:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 12891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
root <at> x104:[/data/prj/gnu/
coreutils/coreutils-8.20]cd tests
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]truss -f -o /tmp/tr
m>
cd .. && make check TESTS=tests/tail-2/F-vs-missing.sh SUBDIRS=.
make[1]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
GEN public-submodule-commit
make check-recursive
make[2]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
Making check in .
make[3]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
make check-TESTS check-local
make[4]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[5]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
PASS: tests/tail-2/F-vs-missing.sh
=============
1 test passed
=============
make[5]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
GEN check-README
GEN check-duplicate-no-install
GEN sc-avoid-builtin
GEN sc-avoid-io
GEN sc-avoid-non-zero
GEN sc-avoid-path
GEN sc-avoid-timezone
GEN sc-avoid-zeroes
GEN sc-exponent-grouping
GEN sc-lower-case-var
GEN sc-use-small-caps-NUL
GEN check-texinfo
make[4]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[3]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[2]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[1]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]
So, for directory ./tests it passes; from . it does not :)
=========
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]cd ..
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]truss -f -o /tmp/tr make
check TESTS=tail-2/F-vs-missing.sh
GEN public-submodule-commit
make check-recursive
make[1]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
Making check in po
make[2]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20/po'
make[2]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20/po'
Making check in .
make[2]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
make check-TESTS check-local
make[3]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[4]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20'
cat: tail-2/F-vs-missing.log: No such file or directory
================================================
GNU coreutils 8.20: ./tests/test-suite.log
================================================
1 of 1 test failed.
.. contents:: :depth: 2
======================================
1 of 1 test failed
See ./tests/test-suite.log
Please report to bug-coreutils <at> gnu.org
======================================
make[4]: *** [tests/test-suite.log] Error 1
make[4]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/data/prj/gnu/coreutils/coreutils-8.20'
make: *** [check] Error 2
root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]
Suggestions?
On Thu, Nov 15, 2012 at 6:39 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> There are a lot of failures there, though none seem to
> be all that serious for real-world use. Probably the best
> thing to do is to go through them one by one. The first
> failure is in tests/tail-2/F-vs-missing.sh, and the log
> says:
>
> + rm -rf /data/prj/gnu/coreutils/coreutils-8.20/gt-F-vs-missing.sh.f7EB
> rm: cannot remove
> '/data/prj/gnu/coreutils/coreutils-8.20/gt-F-vs-missing.sh.f7EB': File
> exists
>
> This indicates that coreutils 'rm -rf' somehow missed some
> files under that directory, and then tried to remove the
> directory without removing the files, or perhaps the kernel
> didn't remove the files, or something like that.
>
> Can you please 'truss' the test and see what system calls
> were executed near the point of failure? One way to do that
> would be something like this:
>
> cd tests
> truss -f -o /tmp/tr make check TESTS=tail-2/F-vs-missing.sh
>
> and then look near the end of /tmp/tr.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 22 Nov 2012 10:02:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 12891 <at> debbugs.gnu.org (full text, mbox):
On 11/20/2012 08:31 PM, Michael Felt wrote:
> root <at> x104:[/data/prj/gnu/
> coreutils/coreutils-8.20]cd tests
> root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]truss -f -o /tmp/tr
> m>
> cd .. && make check TESTS=tests/tail-2/F-vs-missing.sh SUBDIRS=.
All make invocations must be from the top level directory now,
where the Makefile is. Notice the cd .. above which moves you
to the top level dir
> =============
> 1 test passed
> =============
>
> So, for directory ./tests it passes; from . it does not :)
> =========
> root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]cd ..
> root <at> x104:[/data/prj/gnu/coreutils/coreutils-8.20]truss -f -o /tmp/tr make
> check TESTS=tail-2/F-vs-missing.sh
So this is from the same dir as above but is missing the required tests/
prefix to the TESTS path
> cat: tail-2/F-vs-missing.log: No such file or directory
thanks,
Pádraig.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 22 Nov 2012 10:46:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 12891 <at> debbugs.gnu.org (full text, mbox):
On 11/15/2012 08:00 AM, Michael Felt wrote:
> FAIL: tests/rm/d-2.sh (exit: 1)
> ===============================
> + diff -u exp out
> --- exp 2012-11-14 22:58:24 +0100
> +++ out 2012-11-14 22:58:23 +0100
> @@ -1 +1 @@
> -rm: cannot remove 'd': Directory not empty
> +rm: cannot remove 'd': File exists
That looks like a valid test issue.
I'll apply the following in a little while.
thanks,
Pádraig.
commit 5e1187ac933fc54f738810dcfc41bbbd6eec3be7
Author: Pádraig Brady <P <at> draigBrady.com>
Date: Thu Nov 22 10:36:31 2012 +0000
tests: accept EEXIST from rm -d
* tests/rm/d-2.sh: EEXIST is a valid error on some systems.
Reported by Michael Felt on AIX 6.1
diff --git a/tests/rm/d-2.sh b/tests/rm/d-2.sh
index b62c2ee..1a1a560 100755
--- a/tests/rm/d-2.sh
+++ b/tests/rm/d-2.sh
@@ -24,10 +24,14 @@ mkdir d || framework_failure_
> d/a || framework_failure_
rm -d d 2> out && fail=1
+
+# Accept any of these: EEXIST, ENOTEMPTY
+sed 's/: File exists/: Directory not empty/' out > out2
+
printf "%s\n" \
"rm: cannot remove 'd': Directory not empty" \
> exp || framework_failure_
-compare exp out || fail=1
+compare exp out2 || fail=1
Exit $fail
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#12891
; Package
coreutils
.
(Thu, 22 Nov 2012 17:23:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 12891 <at> debbugs.gnu.org (full text, mbox):
Pádraig Brady wrote:
> On 11/15/2012 08:00 AM, Michael Felt wrote:
>
>> FAIL: tests/rm/d-2.sh (exit: 1)
>> ===============================
>
>> + diff -u exp out
>> --- exp 2012-11-14 22:58:24 +0100
>> +++ out 2012-11-14 22:58:23 +0100
>> @@ -1 +1 @@
>> -rm: cannot remove 'd': Directory not empty
>> +rm: cannot remove 'd': File exists
>
> That looks like a valid test issue.
> I'll apply the following in a little while.
>
> thanks,
> Pádraig.
>
> commit 5e1187ac933fc54f738810dcfc41bbbd6eec3be7
> Author: Pádraig Brady <P <at> draigBrady.com>
> Date: Thu Nov 22 10:36:31 2012 +0000
>
> tests: accept EEXIST from rm -d
>
> * tests/rm/d-2.sh: EEXIST is a valid error on some systems.
> Reported by Michael Felt on AIX 6.1
>
> diff --git a/tests/rm/d-2.sh b/tests/rm/d-2.sh
> index b62c2ee..1a1a560 100755
> --- a/tests/rm/d-2.sh
> +++ b/tests/rm/d-2.sh
> @@ -24,10 +24,14 @@ mkdir d || framework_failure_
> > d/a || framework_failure_
>
> rm -d d 2> out && fail=1
> +
> +# Accept any of these: EEXIST, ENOTEMPTY
> +sed 's/: File exists/: Directory not empty/' out > out2
> +
> printf "%s\n" \
> "rm: cannot remove 'd': Directory not empty" \
> > exp || framework_failure_
>
> -compare exp out || fail=1
> +compare exp out2 || fail=1
Thanks. Looks perfect.
Added tag(s) fixed.
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 15 Oct 2018 18:03:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
12891 <at> debbugs.gnu.org and Michael Felt <mamfelt <at> gmail.com>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 15 Oct 2018 18:03:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 13 Nov 2018 12:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.