[PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command

Wei-min Pan weimin.pan@oracle.com
Thu Mar 16 16:00:00 GMT 2017


Yao Qi wrote:
> Weimin Pan <weimin.pan@oracle.com> writes:
>
>   
>> The following failed lines from running test case siginfo-thread:
>>
>> FAIL: gdb.base/siginfo-thread.exp: save a core file (timeout)
>> FAIL: gdb.base/siginfo-thread.exp: extract si_addr
>> FAIL: gdb.base/siginfo-thread.exp: p ssi_addr
>>
>> indicate the testsuite timed out when gdb was instructed to write the
>> core file. The patch below fixes the problem by simply increasing the
>> timeout by a factor of 2 to give gdb more time to generate core files.
>>
>> Tested in sparc64-linux-gnu. No regressions.
>>     
>
> Did you see timeout fails in all gcore related tests?  gdb_gcore_cmd is
> used in many places in gdb testsuite.  Did you investigate why it is so
> slow to generate coredump in gdb?
>
>   
No, only this test failed with timeout and did so consistently. The 
generated core file was fine.
We suspect the slow disk performance was the culprit.

Thanks.



More information about the Gdb-patches mailing list