Bug 13840 - gdk-pixbuf intermittent failure in ptest
Summary: gdk-pixbuf intermittent failure in ptest
Status: RESOLVED FIXED
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1 M4
Assignee: Alexander Kanavin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-03-20 09:50 UTC by Richard Purdie
Modified: 2020-03-29 13:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-03-20 09:50:40 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/93/builds/458

AssertionError: Failed ptests:
{'gdk-pixbuf': ['gdk-pixbuf/pixbuf-randomly-modified.test']}
Comment 1 Alexander Kanavin 2020-03-22 11:42:07 UTC
Is it possible to get the testresult.json extract for this one too?
Comment 2 Alexander Kanavin 2020-03-22 18:53:20 UTC
Found it myself:
https://autobuilder.yocto.io/pub/non-release/20200320-2/testresults/qemuarm64-ptest-fast/testresults.json

# Start of randomly-modified tests
ok 1 /pixbuf/randomly-modified/bad-header.ico
ok 2 /pixbuf/randomly-modified/bmp-line-overflow.bmp
ok 3 /pixbuf/randomly-modified/bug775232.pnm
ok 4 /pixbuf/randomly-modified/bug775242.bmp
ok 5 /pixbuf/randomly-modified/bug775648.qtif
ok 6 /pixbuf/randomly-modified/bug775697.jpg
ok 7 /pixbuf/randomly-modified/bug776040.ico
ok 8 /pixbuf/randomly-modified/crash.ico
ok 9 /pixbuf/randomly-modified/decodecolormap.bmp
ok 10 /pixbuf/randomly-modified/invalid.1.xpm
ok 11 /pixbuf/randomly-modified/invalid.2.ico
ok 12 /pixbuf/randomly-modified/invalid.4.ppm
ok 13 /pixbuf/randomly-modified/valid.1.bmp
ok 14 /pixbuf/randomly-modified/valid.1.gif
Bail out! GLib-FATAL-ERROR: ../glib-2.62.4/glib/gmem.c:105: failed to allocate 1987968 bytes

(/usr/libexec/installed-tests/gdk-pixbuf/pixbuf-randomly-modified:22984): GLib-ERROR **: 04:20:42.107: ../glib-2.62.4/glib/gmem.c:105: failed to allocate 1987968 bytes
FAIL: gdk-pixbuf/pixbuf-randomly-modified.test (Child process killed by signal 5)
Comment 3 Richard Purdie 2020-03-24 08:21:54 UTC
Happened again: https://autobuilder.yoctoproject.org/typhoon/#/builders/94/builds/554
Comment 4 Alexander Kanavin 2020-03-24 20:34:18 UTC
ak@linux-f9zs:~/development/poky/build/tmp/work/core2-64-poky-linux/gdk-pixbuf/2.40.0-r0/gdk-pixbuf-2.40.0> ls -l tests/test-images/randomly-modified/valid.1.jp2
-rw-r--r-- 1 ak users 1987968  8.10. 12:44 tests/test-images/randomly-modified/valid.1.jp2

Options: further increase RAM size in qemu so that this fits, or drop this image from the tests set. Thoughts?
Comment 5 Alexander Kanavin 2020-03-24 21:40:14 UTC
I opted for the further RAM increase, patch sent.
Comment 6 Alexander Kanavin 2020-03-24 21:53:52 UTC
Ignore this, I have no idea how I confused the units :)
Comment 7 Alexander Kanavin 2020-03-24 22:30:42 UTC
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/146