Bug 5696 - glib-2.0: ptest cases failed
Summary: glib-2.0: ptest cases failed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-12-31 08:08 UTC by Chong Lu
Modified: 2014-03-26 12:08 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
glib ptest log (140.34 KB, text/x-log)
2013-12-31 08:08 UTC, Chong Lu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chong Lu 2013-12-31 08:08:27 UTC
Created attachment 1697 [details]
glib ptest log

Many glib ptest cases failed

FAIL: glib/convert.test
FAIL: glib/gdbus-close-pending.test
FAIL: glib/gdbus-threading.test
FAIL: glib/iochannel-test.test

4 test cases fail. Please check the attachment log.
Comment 1 Ross Burton 2014-01-15 15:39:27 UTC
I can have a look at this.
Comment 2 Ross Burton 2014-01-15 17:23:54 UTC
convert and iochannel-test were due to missing encodings, I've a patch for that now.  I can't replicate the other failures, a full run is executing now.
Comment 3 Ross Burton 2014-01-15 17:33:29 UTC
Found another missing dependency in "content".  dbusappinfo is hanging for me and not finishing.

I've sent a patch that adds the missing dependencies I've encountered so far, and will investigate appinfo next.
Comment 4 Ross Burton 2014-01-15 18:17:59 UTC
GLib:ERROR:/data/poky-master/tmp/work/x86_64-poky-linux/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/tests/mappedfile.c:89:test_writable: assertion failed (error == NULL): Failed to create file '/home/root/.cache/glib-test-4096-random-bytes.UN5O9W': No such file or directory (g-file-error-quark, 4)
Test glib/mappedfile.test failed: Child process killed by signal 6

dbus-appinfo hangs.  I suspect it's trying to do DBus IPC with something that isn't installed?
Comment 5 Chong Lu 2014-01-16 00:55:57 UTC
You can start target with graphic, and test dbus-appinfo, it will pass.
Comment 6 Ross Burton 2014-01-16 11:57:16 UTC
That was the hint I needed to find the fix, thanks.  Patch from upstream pulled in.
Comment 7 Ross Burton 2014-01-16 13:32:44 UTC
appinfo and mappedfile fixed.  The threading test fails if libgcc isn't installed.  Consider that a separate bug to be fixed in eglibc.

100% pass rate for me now.
Comment 8 Ross Burton 2014-03-24 16:42:23 UTC
Currently just glib/gdbus-close-pending occasionally fails.
Comment 9 Ross Burton 2014-03-26 12:08:37 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=723788 says that the gdbus-close-pending test has a race so this is a known failure.  There's a patch in bugzilla upstream so this will be fixed at some point.

Closing this bug resolved.