After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729453 - t/GtkCellRenderer.t sometimes fails on armhf, mips and mipsel architectures
t/GtkCellRenderer.t sometimes fails on armhf, mips and mipsel architectures
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2014-05-03 11:18 UTC by intrigeri
Modified: 2014-11-16 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make t/GtkCellRenderer.t more robust (7.70 KB, patch)
2014-08-10 11:20 UTC, Torsten Schoenfeld
committed Details | Review

Comment 1 Dominique Dumont 2014-05-17 20:52:20 UTC
Note that the failing test is:

is_deeply ([ sort keys %hits ], [ qw/edit init render size/ ], 'callbacks encountered');

The following similar line succeeds:

is_deeply ([ sort keys %hits_compat ], [ qw/edit init render size/ ], 'callbacks encountered');

The second line performs callback test in compat mode (quoting the comment in the test: "in the style of 1.02x") which succeeds. 

The first line test callback in newer mode and fails. This looks like a regression.

HTH
Comment 2 Torsten Schoenfeld 2014-08-10 11:20:38 UTC
Created attachment 283031 [details] [review]
Make t/GtkCellRenderer.t more robust

The tests that check that all vfuncs of custom cell renderers are called
appropriately were relying on certain behavior of gtk+.  Apparently, that is
not appropriate on all platforms, as we have failure reports from armhf, mips
and mipsel.  Make the tests more robust by triggering all vfuncs on all custom
renderers manually.
Comment 3 Torsten Schoenfeld 2014-08-10 11:21:16 UTC
Please try the above patch.  I think it should fix the failures.
Comment 4 intrigeri 2014-08-10 12:51:02 UTC
(In reply to comment #3)
> Please try the above patch.  I think it should fix the failures.

Thanks!

Uploaded to Debian. We'll know in a few hours if it passes the tests fine once, but given the failure can't be reproduced every time, we'll have to wait for a few more uploads before we're sure the problem is really fixed.
Comment 5 Torsten Schoenfeld 2014-11-16 13:53:28 UTC
The build status on
<https://buildd.debian.org/status/package.php?p=libgtk2-perl> looks all green
now, so:

Attachment 283031 [details] pushed as e8005ee - Make t/GtkCellRenderer.t more robust