Skip Menu |

This queue is for tickets about the Lemonldap-NG-Portal CPAN distribution.

Report information
The Basics
Id: 128519
Status: patched
Priority: 0/
Queue: Lemonldap-NG-Portal

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.0.2
Fixed in: (no value)



Subject: t/29-AuthGPG.t fails
t/29-AuthGPG.t fails on some of my smokers systems: for all of my FreeBSD smokers and some of my Linux smokers (e.g. Ubuntu 16.04). Sample test log output: ... # Failed test 'Succeed to sign' # at t/29-AuthGPG.t line 45. # Failed test ' HTTP code is 200' # at t/test-lib.pm line 307. # Expect 200, get $VAR1 = [ # 401, # [ # 'WWW-Authenticate', # 'SSO http://auth.example.com/' # ], # [ # '{"result":0,"error":2}' # ] # ]; # # Failed test ' Get cookie lemonldap ()' # at t/test-lib.pm line 359. # Expect Set-Cookie: lemonldap=something, get $VAR1 = [ # 'WWW-Authenticate', # 'SSO http://auth.example.com/' # ]; # # Looks like you failed 3 tests of 17. t/29-AuthGPG.t .................................................... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/17 subtests ... Sometimes is fails almost silently just with a SIGPIPE.
Le Ven 15 Fév 2019 01:49:29, SREZIC a écrit : Show quoted text
> t/29-AuthGPG.t fails on some of my smokers systems: for all of my > FreeBSD smokers and some of my Linux smokers (e.g. Ubuntu 16.04). > > Sample test log output: > > ... > # Failed test 'Succeed to sign' > # at t/29-AuthGPG.t line 45. > > # Failed test ' HTTP code is 200' > # at t/test-lib.pm line 307. > # Expect 200, get $VAR1 = [ > # 401, > # [ > # 'WWW-Authenticate', > # 'SSO http://auth.example.com/' > # ], > # [ > # '{"result":0,"error":2}' > # ] > # ]; > # > > # Failed test ' Get cookie lemonldap ()' > # at t/test-lib.pm line 359. > # Expect Set-Cookie: lemonldap=something, get $VAR1 = [ > # 'WWW-Authenticate', > # 'SSO http://auth.example.com/' > # ]; > # > # Looks like you failed 3 tests of 17. > t/29-AuthGPG.t .................................................... > Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/17 subtests > ... > > Sometimes is fails almost silently just with a SIGPIPE.
Hello, workaround: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/commit/77ccc9bbc3ac70f9c71c527e6062eebec41be57d Cheers, Xavier
On 2019-02-15 02:39:24, GUIMARD wrote: Show quoted text
> Le Ven 15 Fév 2019 01:49:29, SREZIC a écrit :
> > t/29-AuthGPG.t fails on some of my smokers systems: for all of my > > FreeBSD smokers and some of my Linux smokers (e.g. Ubuntu 16.04). > > > > Sample test log output: > > > > ... > > # Failed test 'Succeed to sign' > > # at t/29-AuthGPG.t line 45. > > > > # Failed test ' HTTP code is 200' > > # at t/test-lib.pm line 307. > > # Expect 200, get $VAR1 = [ > > # 401, > > # [ > > # 'WWW-Authenticate', > > # 'SSO http://auth.example.com/' > > # ], > > # [ > > # '{"result":0,"error":2}' > > # ] > > # ]; > > # > > > > # Failed test ' Get cookie lemonldap ()' > > # at t/test-lib.pm line 359. > > # Expect Set-Cookie: lemonldap=something, get $VAR1 = [ > > # 'WWW-Authenticate', > > # 'SSO http://auth.example.com/' > > # ]; > > # > > # Looks like you failed 3 tests of 17. > > t/29-AuthGPG.t .................................................... > > Dubious, test returned 3 (wstat 768, 0x300) > > Failed 3/17 subtests > > ... > > > > Sometimes is fails almost silently just with a SIGPIPE.
> > Hello, > > workaround: https://gitlab.ow2.org/lemonldap-ng/lemonldap- > ng/commit/77ccc9bbc3ac70f9c71c527e6062eebec41be57d >
I tried 90ddec7ce0f59ed1c6015e688689c8864178d284 on a freebsd12 system, and the t/29-AuthGPG.t test passes here.
Le Ven 15 Fév 2019 14:40:41, SREZIC a écrit : Show quoted text
> On 2019-02-15 02:39:24, GUIMARD wrote:
> > Le Ven 15 Fév 2019 01:49:29, SREZIC a écrit :
> > > t/29-AuthGPG.t fails on some of my smokers systems: for all of my > > > FreeBSD smokers and some of my Linux smokers (e.g. Ubuntu 16.04). > > > > > > Sample test log output: > > > > > > ... > > > # Failed test 'Succeed to sign' > > > # at t/29-AuthGPG.t line 45. > > > > > > # Failed test ' HTTP code is 200' > > > # at t/test-lib.pm line 307. > > > # Expect 200, get $VAR1 = [ > > > # 401, > > > # [ > > > # 'WWW-Authenticate', > > > # 'SSO http://auth.example.com/' > > > # ], > > > # [ > > > # '{"result":0,"error":2}' > > > # ] > > > # ]; > > > # > > > > > > # Failed test ' Get cookie lemonldap ()' > > > # at t/test-lib.pm line 359. > > > # Expect Set-Cookie: lemonldap=something, get $VAR1 = [ > > > # 'WWW-Authenticate', > > > # 'SSO http://auth.example.com/' > > > # ]; > > > # > > > # Looks like you failed 3 tests of 17. > > > t/29-AuthGPG.t > > > .................................................... > > > Dubious, test returned 3 (wstat 768, 0x300) > > > Failed 3/17 subtests > > > ... > > > > > > Sometimes is fails almost silently just with a SIGPIPE.
> > > > Hello, > > > > workaround: https://gitlab.ow2.org/lemonldap-ng/lemonldap- > > ng/commit/77ccc9bbc3ac70f9c71c527e6062eebec41be57d > >
> > I tried 90ddec7ce0f59ed1c6015e688689c8864178d284 on a freebsd12 > system, and the t/29-AuthGPG.t test passes here.
Thanks, will be integrated in v2.0.3