On (28/07/14 10:18), Simo Sorce wrote:
On Wed, 2014-07-23 at 09:01 +0200, Lukas Slebodnik wrote:
> On (09/07/14 18:21), Jurica Stanojkovic wrote:
> >
> >Hello,
> >
> >Package sssd_1.11.5.1-1 on Debian FTBFS for mips and mipsel.
>
>https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=mips&ver=1.11.5.1-1&stamp=1399675946
>
>https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=mipsel&ver=1.11.5.1-1&stamp=1399663454
> >
> >dyndns_test_ok is failing with following log:
> >[ RUN ] dyndns_test_ok(Tue Jul 8 15:53:55:004476 2014) [sssd]
[be_nsupdate_args] (0x0200): (Tue Jul 8 15:53:55:004521 2014) [sssd]
[child_handler_setup] (0x2000): nsupdate auth type: GSS-TSIGSetting up signal handler up
for pid [21397](Tue Jul 8 15:53:55:004693 2014) [sssd] [__wrap_execv] (0x0200): nsupdate
success test case(Tue Jul 8 15:53:55:004825 2014) [sssd] [__wrap_execv] (0x1000): Child
exiting with status 0(Tue Jul 8 15:53:55:005275 2014) [sssd] [child_handler_setup]
(0x2000): Signal handler set up for pid [21397](Tue Jul 8 15:54:55:837623 2014) [sssd]
[write_pipe_handler] (0x0020): write failed [32][Broken pipe].(Tue Jul 8 15:54:55:837801
2014) [sssd] [nsupdate_child_stdin_done] (0x1000): Sending nsupdate data complete(Tue Jul
8 15:54:55:837869 2014) [sssd] [nsupdate_child_stdin_done] (0x0040): Sending nsupdate data
failed [32]: Broken pipe(Tue Jul 8 15:54:55:837947 2014) [sssd] [be_nsupdate_done]
(0x0040): nsupdate child execution failed [1432158228]: Dynamic DNS update failed(Tue Jul
8 15:54:55:837985 2014) [sssd] [dyndns_test_ok] (0x1000): Child request returned
[1432158228]: Unknown error 14321582280x555d0014 !=
0../src/tests/cmocka/test_dyndns.c:222: error: Failure![ FAILED ] dyndns_test_okChild
part has finished before the child handler was created.
> >
> >I have created and attached a patch which is workaround for this issue.
> >Could someone please take a look and comment this?
> >
> >Thank you!
> >
> >Sincerely,
> >Jurica
> >
>
> >From d6162e90d89b744153bff068488a555047a9004e Mon Sep 17 00:00:00 2001
> >From: Jurica Stanojkovic <jurica.stanojkovic(a)rt-rk.com>
> >Date: Wed, 9 Jul 2014 17:57:55 +0200
> >Subject: [PATCH] Workaround for dyndns_test_ok failiure on mips(el).
> > Child part has finished before the child handler was created.
> >
> >---
> bump.
>
> Could someone review this patch.
> I was helping with this problem on IRC. I don't want to give ACK.
Well the commit message does not say why a sleep of 2 seconds is needed,
can you shed a light on it ?
Updated version is attached.
LS