[OE-core] [PATCH v3] glib-2.0: fix ptest failures

Yu, Mingli mingli.yu at windriver.com
Tue May 14 06:06:26 UTC 2019



On 2019年05月13日 17:40, richard.purdie at linuxfoundation.org wrote:
> On Mon, 2019-05-13 at 17:25 +0800, Yu, Mingli wrote:
>>
>> On 2019年05月08日 20:25, richard.purdie at linuxfoundation.org wrote:
>>> On Wed, 2019-05-08 at 12:54 +0100, Burton, Ross wrote:
>>>> On Wed, 8 May 2019 at 04:06, <mingli.yu at windriver.com> wrote:
>>>>> * Increase the timeout to 15 minutes as the default
>>>>>     timeout which is 5 minutes is not enough to fix below error:
>>>>>     | Executing: glib/actions.test
>>>>>     | Test timed out after 300 seconds
>>>>>     | cleaning up pid 13050
>>>>>     | FAIL: glib/actions.test (Child process killed by signal 9)
>>>>
>>>> My Debian machine runs that test in 20 seconds.
>>>>
>>>> Maybe we're missing dependencies to get a working session dbus
>>>> up?
>>>
>>> That seems likely. I'd note that we see:
>>>
>>> https://autobuilder.yocto.io/pub/non-release/20190502-12/testresults/testresult-report.txt
>>>
>>>
>>> Recipe                       | Passed      | Failed   | Skipped   |
>>> Time(s)
>>> glib-2.0                     | 290         | 1        | 0         |
>>> 427
>>>
>>> and the failing test is:
>>>
>>>       ptestresult.glib-
>>> 2.0.glib/gdatetime.test__Child_process_killed_by_signal_6_
>>>
>>> so it would seem this is working on our autobuilder tests? That
>>> would
>>> seem to back up Ross' comments.
>>
>> Thanks Ross and RP's comments!
>>
>> It's weird! Seems it succeeds in autobuilder, but I can reproduce
>> the
>> glib/actions.test failure steadily in my env as below:
>> # time; /usr/libexec/installed-tests/glib/actions -p;time
>> user	0m0.13s
>> sys	0m0.07s
>> /actions/dbus/threaded: OK
>> user	6m29.03s
>> sys	0m50.46s
>
> I suspect its a dependency such as the dbus session Ross mentioned.
> Which image are you running this test in? Have you tried testing in
> something like a core-image-sato for comparison?

Use core-image-sato to test in my env as below and still 
/actions/dbus/threaded takes most of the time.

# time; /usr/libexec/installed-tests/glib/actions -p;time
user	0m0.20s
sys	0m0.09s
/actions/basic: OK
/actions/name: OK
/actions/simplegroup: OK
/actions/stateful: OK
/actions/default-activate: OK
/actions/entries: OK
/actions/parse-detailed: OK
/actions/property: OK
/actions/dbus/export: OK
/actions/dbus/threaded: OK
/actions/dbus/bug679509: OK
user	6m29.77s
sys	0m48.97s

Thanks,

>
> It would be good to narrow down the missing dependency.
>
> Cheers,
>
> Richard
>
>


More information about the Openembedded-core mailing list