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 731675 - Test failure: gst/gstdatetime
Test failure: gst/gstdatetime
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.2.4
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-15 07:15 UTC by ankz.kothari
Modified: 2016-02-21 23:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test output (1014 bytes, text/x-log)
2014-06-15 07:15 UTC, ankz.kothari
Details
gst/gstdatetime.check debug output (12.06 KB, application/octet-stream)
2014-06-16 08:51 UTC, ankz.kothari
Details

Description ankz.kothari 2014-06-15 07:15:58 UTC
Created attachment 278468 [details]
test output

The gst/gstdatetime fails when building. Possibly related to a time zone issue.

Full test output included in attachment, main parts:

/gst/gstdatetime.c:287:F:general:test_GstDateTime_get_utc_offset:0: 'ts' (9) is not equal to 'tm.tm_gmtoff / 3600.0' (10)
/gst/gstdatetime.c:81:F:general:test_GstDateTime_new_from_unix_epoch_local_time:0: 'gst_date_time_get_hour (dt)' (16) is not equal to 'tm.tm_hour' (17)
/gst/gstdatetime.c:56:F:general:test_GstDateTime_now:0: 'gst_date_time_get_hour (dt)' (16) is not equal to 'tm.tm_hour' (17)
Comment 1 Tim-Philipp Müller 2014-06-15 18:12:29 UTC
Could you get a debug log like this:

 $  cd gstreamer-1.2.4/tests/check/
 $ GST_DEBUG=*:6 make gst/gstdatetime.check 2>dbg.log
 $ xz -9 dbg.log

and attach it to this bug report.

And also tell us the output of 'date -R'.
Comment 2 ankz.kothari 2014-06-16 08:51:34 UTC
Created attachment 278519 [details]
gst/gstdatetime.check debug output
Comment 3 ankz.kothari 2014-06-16 08:52:06 UTC
> date -R
Mon, 16 Jun 2014 18:50:31 +1000
Comment 4 Tim-Philipp Müller 2016-02-21 23:21:51 UTC
I know it's been a while, but do you still get this with more recent versions of GStreamer/GLib?

The issue looks familiar to me, I think it may have been fixed, possibly in GLib.

Please re-open if it's still a problem with recent versions, thanks!