unix/tests/user001

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

unix/tests/user001

GHC - devs mailing list

On Linux I get this validate  failure all the time.  What should I do?  I’ve trained myself to ignore it, but that seems wrong

Simon

Unexpected failures:

   ../libraries/unix/tests/user001.run  user001 [bad stdout] (normal)

 

 

 

=====> user001(normal) 1 of 1 [0, 0, 0]

cd "./user001.run" &&  "/5playpen/simonpj/HEAD/inplace/test   spaces/ghc-stage2" -o user001 user001.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output  -package unix

cd "./user001.run" && ./user001 

Actual stdout output differs from expected:

diff -uw "./user001.run/user001.stdout.normalised" "./user001.run/user001.run.stdout.normalised"

--- ./user001.run/user001.stdout.normalised    2017-12-08 10:22:59.835931843 +0000

+++ ./user001.run/user001.run.stdout.normalised       2017-12-08 10:22:59.835931843 +0000

@@ -4,8 +4,8 @@

getEffectiveGroupID: OK

getGroups: OK

getEffectiveUserName: OK

-getGroupEntryForID: OK

-getGroupEntryForName: OK

+getGroupEntryForID: ERROR: getGroupEntryForID: does not exist (no such group)

+getGroupEntryForName: ERROR: getGroupEntryForID: does not exist (no such group)

getAllGroupEntries: OK

getUserEntryForID: OK

getAllUserEntries: OK

*** unexpected failure for user001(normal)


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: unix/tests/user001

Ben Gamari-3
Simon Peyton Jones via ghc-devs <[hidden email]> writes:

> On Linux I get this validate  failure all the time.  What should I do?  I've trained myself to ignore it, but that seems wrong
> Simon
>
> Unexpected failures:
>
>    ../libraries/unix/tests/user001.run  user001 [bad stdout] (normal)
>
It sounds like your machine may be misconfigured. The test attempts to
lookup the entry in /etc/group corresponding to the process's group.
However, it appears that such an entry doesn't exist. This would imply
that your user doesn't have a valid group, which is quite odd. What does
the `id` command say?

Cheers,

- Ben

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: unix/tests/user001

GHC - devs mailing list
|  that your user doesn't have a valid group, which is quite odd. What
|  does the `id` command say?

simonpj@cam-05-unx:~/tmp$ id
uid=501(simonpj) gid=1001 groups=1001,27(sudo)

|  -----Original Message-----
|  From: Ben Gamari [mailto:[hidden email]]
|  Sent: 08 December 2017 15:13
|  To: Simon Peyton Jones <[hidden email]>; [hidden email]
|  Subject: Re: unix/tests/user001
|  
|  Simon Peyton Jones via ghc-devs <[hidden email]> writes:
|  
|  > On Linux I get this validate  failure all the time.  What should I
|  do?
|  > I've trained myself to ignore it, but that seems wrong Simon
|  >
|  > Unexpected failures:
|  >
|  >    ../libraries/unix/tests/user001.run  user001 [bad stdout]
|  (normal)
|  >
|  It sounds like your machine may be misconfigured. The test attempts to
|  lookup the entry in /etc/group corresponding to the process's group.
|  However, it appears that such an entry doesn't exist. This would imply
|  that your user doesn't have a valid group, which is quite odd. What
|  does the `id` command say?
|  
|  Cheers,
|  
|  - Ben
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: unix/tests/user001

Ben Gamari-3
Simon Peyton Jones via ghc-devs <[hidden email]> writes:

> |  that your user doesn't have a valid group, which is quite odd. What
> |  does the `id` command say?
>
> simonpj@cam-05-unx:~/tmp$ id
> uid=501(simonpj) gid=1001 groups=1001,27(sudo)

Indeed it looks like your group doesn't have an entry in /etc/group.
Quite odd. Perhaps this was due to the upgrade?

Is there an entry for group id 501 in /etc/group?

Cheers,

- Ben

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment