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 736258 - audiomixer: timeout in test_live_seeking unit test
audiomixer: timeout in test_live_seeking unit test
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-08 11:55 UTC by Vineeth
Modified: 2014-10-07 17:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
attaching logs for the issue (1.04 MB, application/gzip)
2014-10-06 05:38 UTC, Vineeth
Details

Description Vineeth 2014-09-08 11:55:10 UTC
When i check test elements for audiomixer,
seek is failing for live sources.

When i run the loop more than once, it fails
This maybe happening because before the previous seek events are handled properly, another seek event is being passed.

I was not able to find the root cause for the same. Can someone check this issue.
Comment 1 Thiago Sousa Santos 2014-09-11 18:23:47 UTC
I tried running make elements/audiomixer.forever to have the check tests running for a while and they didn't fail.

Can you explain in more detail what failure are you seeing and how are you reproducing it? Did you have to modify the tests? Are you running your own test?
Comment 2 Vineeth 2014-09-12 04:35:17 UTC
Hi Thiago,
  i did not make any changes.
  i just updated to the latest git, and ran "make check" from gst-plugins_bad folder

  i get the below error

Running suite(s): audiomixer
93%: Checks: 16, Failures: 0, Errors: 1
gstconsistencychecker.c:72:E:general:test_live_seeking:0: (after this point) Test timeout expired

Regards,
Vineeth
Comment 3 Tim-Philipp Müller 2014-09-12 12:02:49 UTC
Could you run:

 $ cd tests/check/
 $ GST_CHECKS=test_live_seeking GST_DEBUG=*:6 make elements/audiomixer.check 2>dbg.log

and attach the zipped (xz -9 dbg.log) debug log when it fails? (if it fails!)
Comment 4 Sebastian Dröge (slomo) 2014-09-12 13:34:44 UTC
It would make sense to check if Thibault's aggregator branch of audiomixer fixes this.
Comment 5 Vineeth 2014-09-15 03:55:04 UTC
Hi,
  It doesnt fail when i run audiomixer test case seperately.
  But always fails when i run a make check for the whole plugins bad.
  What might be the reason for the failure?


Regards,
Vineeth
Comment 6 Vineeth 2014-10-06 05:38:15 UTC
Created attachment 287801 [details]
attaching logs for the issue

These are the observations on testing the issue.

in AudioMixer test element,
the test-loop is being run twice,
if i run it only once then the test doesnt fail even while running tests for the whole bad plugins.


Now the same test does not fail when i run the check for audiomixer element individually. Even if i run it with forever option it does not fail.
But if i increase the loop count to anything above 10, it always fails after the 10th loop even for individual element test.

I am attaching the logs for the failure case with loopcount = 11
Since even after compressing the limit was exceeding, removed the logs for first 5 loops.
Comment 7 Sebastian Dröge (slomo) 2014-10-07 12:01:44 UTC
Is this still a problem with latest git master?
Comment 8 Luis de Bethencourt 2014-10-07 14:43:11 UTC
I can't reproduce the failed test. audiomixer passes both individually and in the entire test set for gst-plugins-bad.
Comment 9 Thibault Saunier 2014-10-07 17:31:34 UTC
Right, the unit tests have been FIXED during the port to GstAggregator, closing.