GNU bug report logs - #12729
coreutils-8.20/gnulib-tests/

Previous Next

Package: coreutils;

Reported by: Alice <giacomo_giorgianni <at> alice.it>

Date: Thu, 25 Oct 2012 06:59:02 UTC

Severity: normal

Merged with 11150

Done: Pádraig Brady <P <at> draigBrady.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 12729 in the body.
You can then email your comments to 12729 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12729; Package coreutils. (Thu, 25 Oct 2012 06:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alice <giacomo_giorgianni <at> alice.it>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 25 Oct 2012 06:59:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alice <giacomo_giorgianni <at> alice.it>
To: bug-coreutils <at> gnu.org
Subject: coreutils-8.20/gnulib-tests/
Date: Thu, 25 Oct 2012 08:44:28 +0200
[Message part 1 (text/plain, inline)]
Archlinux 64 bit

no work.!!!
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12729; Package coreutils. (Thu, 25 Oct 2012 13:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 12729 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Alice <giacomo_giorgianni <at> alice.it>
Cc: 12729 <at> debbugs.gnu.org
Subject: Re: bug#12729: coreutils-8.20/gnulib-tests/
Date: Thu, 25 Oct 2012 14:41:39 +0100
On 10/25/2012 07:44 AM, Alice wrote:
> Archlinux 64 bit
> no work.!!!
> FAIL: test-getlogin
> ===================
> test-getlogin.c:45: assertion failed

You can see the test here:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-getlogin.c;h=449ceaa;hb=HEAD#l45

Does this happen every time for that test?

I notice the test is not checking for
  errno==ENOENT or errno=ENXIO
Could you adjust the test to print out the
errno that's being returned?

thanks,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#12729; Package coreutils. (Thu, 25 Oct 2012 17:01:02 GMT) Full text and rfc822 format available.

Message #11 received at 12729 <at> debbugs.gnu.org (full text, mbox):

From: Henrik Juul Pedersen <henrikjuul <at> gmail.com>
To: 12729 <at> debbugs.gnu.org
Subject: Re: bug#12729: coreutils-8.20/gnulib-tests/
Date: Thu, 25 Oct 2012 18:55:45 +0200
[Message part 1 (text/plain, inline)]
Hi, just for good measure;

I believe that Alice has tried my (feature-)patched version of coreutils,
available from the experimental Arch-User-Repository:

https://aur.archlinux.org/packages.php?ID=63133

As I write in the comments, I am unable to reproduce the failing checks on
any of my machines.
I would recommend Alice to try and compile and test a clean coreutils 8.20
before doing any further debugging.

/Henrik

On Thu, Oct 25, 2012 at 3:41 PM, Pádraig Brady <P <at> draigbrady.com> wrote:

> On 10/25/2012 07:44 AM, Alice wrote:
> > Archlinux 64 bit
> > no work.!!!
>
>> FAIL: test-getlogin
>> ===================
>> test-getlogin.c:45: assertion failed
>>
>
> You can see the test here:
> http://git.sv.gnu.org/gitweb/?**p=gnulib.git;a=blob;f=tests/**
> test-getlogin.c;h=449ceaa;hb=**HEAD#l45<http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-getlogin.c;h=449ceaa;hb=HEAD#l45>
>
> Does this happen every time for that test?
>
> I notice the test is not checking for
>   errno==ENOENT or errno=ENXIO
> Could you adjust the test to print out the
> errno that's being returned?
>
> thanks,
> Pádraig.
>
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12729; Package coreutils. (Thu, 25 Oct 2012 20:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 12729 <at> debbugs.gnu.org (full text, mbox):

From: g.esp <at> free.fr
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 12729 <at> debbugs.gnu.org, Alice <giacomo_giorgianni <at> alice.it>
Subject: Re: bug#12729: coreutils-8.20/gnulib-tests/
Date: Thu, 25 Oct 2012 22:21:43 +0200 (CEST)

----- Mail original -----
> De: "Pádraig Brady" <P <at> draigBrady.com>
> À: "Alice" <giacomo_giorgianni <at> alice.it>
> Cc: 12729 <at> debbugs.gnu.org
> Envoyé: Jeudi 25 Octobre 2012 15:41:39
> Objet: bug#12729: coreutils-8.20/gnulib-tests/
> 
> On 10/25/2012 07:44 AM, Alice wrote:
>  > Archlinux 64 bit
>  > no work.!!!
> > FAIL: test-getlogin
> > ===================
> > test-getlogin.c:45: assertion failed
> 
> You can see the test here:
> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-getlogin.c;h=449ceaa;hb=HEAD#l45
> 
> Does this happen every time for that test?
> 
> I notice the test is not checking for
>    errno==ENOENT or errno=ENXIO
> Could you adjust the test to print out the
> errno that's being returned?
> 
> thanks,
> Pádraig.
> 
> 
I think this is the same issue as #11150
http://lists.gnu.org/archive/html/bug-coreutils/2012-04/msg00056.html

I added a printf to see errno and the number reported was 2 (ENOENT).

It is normal that getlogin fail as nobody is logged inside my chroot.
[chroot-i486] root:/$ w
 22:14:14 up 1 day,  2:53,  0 users,  load average: 0.51, 0.59, 0.34
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT

In the chroot, I created a user with a shell and log as this user. Then the test pass.
./gnulib-tests/test-getlogin && echo $?
0

Gilles




Information forwarded to bug-coreutils <at> gnu.org:
bug#12729; Package coreutils. (Fri, 09 Nov 2012 15:05:02 GMT) Full text and rfc822 format available.

Message #17 received at 12729 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: g.esp <at> free.fr
Cc: 12729 <at> debbugs.gnu.org, Alice <giacomo_giorgianni <at> alice.it>
Subject: Re: bug#12729: coreutils-8.20/gnulib-tests/
Date: Fri, 09 Nov 2012 15:04:15 +0000
unarchive 11150
forcemerge 12729 11150
close 11150
stop

On 10/25/2012 09:21 PM, g.esp <at> free.fr wrote:
>
>
> ----- Mail original -----
>> De: "Pádraig Brady" <P <at> draigBrady.com>
>> À: "Alice" <giacomo_giorgianni <at> alice.it>
>> Cc: 12729 <at> debbugs.gnu.org
>> Envoyé: Jeudi 25 Octobre 2012 15:41:39
>> Objet: bug#12729: coreutils-8.20/gnulib-tests/
>>
>> On 10/25/2012 07:44 AM, Alice wrote:
>>   > Archlinux 64 bit
>>   > no work.!!!
>>> FAIL: test-getlogin
>>> ===================
>>> test-getlogin.c:45: assertion failed
>>
>> You can see the test here:
>> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-getlogin.c;h=449ceaa;hb=HEAD#l45
>>
>> Does this happen every time for that test?
>>
>> I notice the test is not checking for
>>     errno==ENOENT or errno=ENXIO
>> Could you adjust the test to print out the
>> errno that's being returned?
>>
>> thanks,
>> Pádraig.
>>
>>
> I think this is the same issue as #11150
> http://lists.gnu.org/archive/html/bug-coreutils/2012-04/msg00056.html
>
> I added a printf to see errno and the number reported was 2 (ENOENT).
>
> It is normal that getlogin fail as nobody is logged inside my chroot.
> [chroot-i486] root:/$ w
>   22:14:14 up 1 day,  2:53,  0 users,  load average: 0.51, 0.59, 0.34
> USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
>
> In the chroot, I created a user with a shell and log as this user. Then the test pass.
> ./gnulib-tests/test-getlogin && echo $?

Fixed with:

http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=4f81aa5
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=bfe5b0d

thanks,
Pádraig.




Forcibly Merged 11150 12729. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Fri, 09 Nov 2012 15:05:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11150 <at> debbugs.gnu.org and Matt Burgess <matthew <at> linuxfromscratch.org> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Fri, 09 Nov 2012 15:05:03 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. (Sat, 08 Dec 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.