On Wed, 2014-07-23 at 09:01 +0200, Lukas Slebodnik wrote:
On (09/07/14 18:21), Jurica Stanojkovic wrote:
>Package sssd_18.104.22.168-1 on Debian FTBFS for mips and mipsel.
>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 (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 (Tue Jul 8 15:54:55:837623 2014) [sssd]
[write_pipe_handler] (0x0020): write failed [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 : Broken pipe(Tue Jul 8 15:54:55:837947 2014) [sssd] [be_nsupdate_done]
(0x0040): nsupdate child execution failed : Dynamic DNS update failed(Tue Jul
8 15:54:55:837985 2014) [sssd] [dyndns_test_ok] (0x1000): Child request returned
: 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?
>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.
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 ?
Simo Sorce * Red Hat, Inc * New York