Bug#710696: libsoup2.4: FTBFS with test failures

Emilio Pozuelo Monfort pochu at debian.org
Sat Jun 15 21:53:24 UTC 2013


Hi,

Thanks for the info!

On 11/06/13 22:28, Steven Chamberlain wrote:
> Hi,
> 
> On kfreebsd-* arches it is the lt-ntlm-test that doesn't finish and
> causes the build process to hang.
> 
> In the buildd logs its output is not shown, probably being buffered
> somehow, but running it manually it gets stuck here:
> 
>> External -> fallback support
>> Round 1: Non-NTLM Connection, no auth
>>  (S:unauth)  /noauth    ->  -> OK
>>  (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /basic     ->  BASIC_PROMPT -> Unauthorized
>>  (S:unauth)  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>> Round 2: NTLM Connection, user=alice
>>  (S:sent) (S:alice)  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
>>  (S:alice)  /alice     ->  -> OK
>>  (S:alice)  /alice/404 ->  -> Not Found
>>  (S:alice)  /alice     ->  -> OK
>>  (S:alice)  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
>>  (S:sent) (S:alice)  /alice     ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
>>  (S:alice) (S:alice)  /basic     ->  BASIC_PROMPT BASIC_RESPONSE -> OK
>>  (S:alice)  /either    ->  -> OK
>> Round 3: NTLM Connection, user=bob
> 
> It isn't always repeatable, it's some kind of thread race condition.

When that happens, attach to the running process with gdb and get a bt with

(gdb) t a a bt

To see where it deadlocked.

> Sometimes it completes the whole testsuite, in which case it (always)
> returns 2 errors instead:
> 
>> External helper support
> 
>> Round 2: NTLM Connection, user=alice
>>  (S:sent) (S:alice)  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
>>   ERROR: Not using built-in NTLM support, but authenticate signal was emitted
> 
>> Round 3: NTLM Connection, user=bob
>>  (S:sent) (S:bob)  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
>>   ERROR: Not using built-in NTLM support, but authenticate signal was emitted

These need further investigation. They may be a bug in libsoup, if something in
libsoup is what is emitting the 'authenticate' signal. I can't take a closer
look right now though.

Cheers,
Emilio



More information about the pkg-gnome-maintainers mailing list