Activity log for bug #1059544

Date Who What changed Old value New value Message
2012-10-01 12:04:09 Swen Kühnlein bug added bug
2012-10-01 12:10:06 Apport retracing service tags apport-crash i386 need-duplicate-check quantal running-unity apport-crash i386 quantal running-unity
2012-10-01 12:10:06 Apport retracing service checkbox (Ubuntu): importance Undecided Medium
2012-10-01 12:10:07 Apport retracing service bug added subscriber Crash bug triagers for Ubuntu packages
2012-10-01 12:18:02 Swen Kühnlein visibility private public
2012-10-01 14:25:37 Daniel Manrique checkbox (Ubuntu): status New Incomplete
2012-10-19 19:50:02 Daniel Manrique checkbox (Ubuntu): status Incomplete Confirmed
2013-04-25 09:35:46 Sebastien Bacher checkbox (Ubuntu): importance Medium High
2013-04-25 09:36:03 Sebastien Bacher bug task added checkbox
2013-04-25 09:43:32 Sebastien Bacher summary gst_pipeline_test crashed with gi._glib.GError in function(): Kein Element »alsasrc« checkbox should depends on gstreamer1.0-alsa
2013-04-25 09:43:44 Sebastien Bacher bug added subscriber Sebastien Bacher
2013-04-25 14:55:13 Daniel Manrique checkbox (Ubuntu): assignee Daniel Manrique (roadmr)
2013-04-25 15:10:18 Daniel Manrique checkbox (Ubuntu): status Confirmed In Progress
2013-04-25 15:10:23 Daniel Manrique checkbox: status New In Progress
2013-04-25 15:10:26 Daniel Manrique checkbox: importance Undecided High
2013-04-25 15:20:42 Daniel Manrique branch linked lp:~roadmr/checkbox/1059544-alsasrc-error
2013-04-25 19:50:00 Daniel Manrique checkbox: status In Progress Fix Committed
2013-04-25 19:50:02 Daniel Manrique checkbox (Ubuntu): status In Progress Fix Committed
2013-05-09 20:05:58 Launchpad Janitor branch linked lp:~roadmr/ubuntu/saucy/checkbox/0.16
2013-05-09 20:17:56 Launchpad Janitor branch linked lp:ubuntu/checkbox
2013-05-09 20:48:16 Launchpad Janitor branch linked lp:ubuntu/saucy-proposed/checkbox
2013-05-09 22:15:24 Launchpad Janitor checkbox (Ubuntu): status Fix Committed Fix Released
2013-05-10 20:35:27 Daniel Manrique checkbox: status Fix Committed Fix Released
2013-05-10 20:54:20 Daniel Manrique description . ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: checkbox 0.14.7 ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4 Uname: Linux 3.5.0-16-generic i686 ApportVersion: 2.5.3-0ubuntu1 Architecture: i386 Date: Mon Oct 1 14:01:28 2012 ExecutablePath: /usr/lib/checkbox/bin/gst_pipeline_test InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) InterpreterPath: /usr/bin/python3.2mu ProcCmdline: /usr/bin/python3 /usr/share/checkbox/scripts/gst_pipeline_test -t 5 alsasrc\ !\ audioconvert\ !\ level\ name=recordlevel\ interval=10000000\ !\ audioconvert\ !\ wavenc\ !\ filesink\ location=/tmp/tmp.1IiyjmqnYo/test.wav PythonArgs: ['/usr/share/checkbox/scripts/gst_pipeline_test', '-t', '5', 'alsasrc ! audioconvert ! level name=recordlevel interval=10000000 ! audioconvert ! wavenc ! filesink location=/tmp/tmp.1IiyjmqnYo/test.wav'] SourcePackage: checkbox Title: gst_pipeline_test crashed with gi._glib.GError in function(): Kein Element »alsasrc« UpgradeStatus: Upgraded to quantal on 2012-09-08 (23 days ago) UserGroups: adm admin audio cdrom debian-tor dialout fuse lpadmin plugdev sambashare vboxusers video [Impact] When running any job using the alsa_record_playback script from checkbox, the test fails and an exception with trace is produced. This happens on installations that don't have the alsasrc gstreamer element, such as kubuntu or xubuntu. Thus, the test fails even if audio on the system is indeed working properly. Due to the high incidence of this bug as mentioned in comment #17, and the fact that the fix is relatively simple, it's worth backporting this so it's available on the latest stable release (13.04). The fix was introduced in checkbox trunk revision 2083, it simply modifies the script itself so it uses the autoaudiosrc element which should be available in any sane gstreamer installation (with the good set of plugins), and it also modifies the job definition so that the job won't even run in the unlikely event that not even the gstreamer*-plugins-good are available, rather than producing a confusing crash and trace. [Test Case] - Ensure that gstreamer1.0-alsa is NOT installed. It's not installed by default on Ubuntu flavours such as kubuntu or xubuntu. If you're running vanilla Ubuntu, you can sudo apt-get remove gstreamer1.0-alsa. - Run this command: PATH=$PATH:/usr/share/checkbox/scripts alsa_record_playback - Expected result: Sound is recorded from the microphone for a few seconds, then played back through the speakers/headphones. - Actual result: Error Trace as seen in the original report. [Regression Potential] * Not much of a chance for regressions, since the autoaudiosrc source has been in the gstreamer-plugins-good package since at least Ubuntu 12.10. As mentioned in the comments, checkbox has been using autoaudiosrc without any reports of problems in *most* of our audio-related jobs, so this should benefit from that experience. Checking for the gstreamer{0.10,1.0}-plugins-good packages is a safety net that may nevertheless cause problems if a user has a version of the plugins package that contains autoaudiosrc and doesn't match the package names we're expecting, however this is unlikely for the targeted versions of Ubuntu. ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: checkbox 0.14.7 ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4 Uname: Linux 3.5.0-16-generic i686 ApportVersion: 2.5.3-0ubuntu1 Architecture: i386 Date: Mon Oct 1 14:01:28 2012 ExecutablePath: /usr/lib/checkbox/bin/gst_pipeline_test InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) InterpreterPath: /usr/bin/python3.2mu ProcCmdline: /usr/bin/python3 /usr/share/checkbox/scripts/gst_pipeline_test -t 5 alsasrc\ !\ audioconvert\ !\ level\ name=recordlevel\ interval=10000000\ !\ audioconvert\ !\ wavenc\ !\ filesink\ location=/tmp/tmp.1IiyjmqnYo/test.wav PythonArgs: ['/usr/share/checkbox/scripts/gst_pipeline_test', '-t', '5', 'alsasrc ! audioconvert ! level name=recordlevel interval=10000000 ! audioconvert ! wavenc ! filesink location=/tmp/tmp.1IiyjmqnYo/test.wav'] SourcePackage: checkbox Title: gst_pipeline_test crashed with gi._glib.GError in function(): Kein Element »alsasrc« UpgradeStatus: Upgraded to quantal on 2012-09-08 (23 days ago) UserGroups: adm admin audio cdrom debian-tor dialout fuse lpadmin plugdev sambashare vboxusers video
2013-05-10 20:57:11 Daniel Manrique nominated for series Ubuntu Raring
2013-05-10 20:57:11 Daniel Manrique bug task added checkbox (Ubuntu Raring)
2013-05-10 20:57:46 Daniel Manrique summary checkbox should depends on gstreamer1.0-alsa checkbox alsa_record_playback should use autoaudiosrc instead of alsasrc
2013-05-13 19:50:51 Launchpad Janitor branch linked lp:~roadmr/ubuntu/raring/checkbox/0.15.6
2013-05-15 19:09:44 Launchpad Janitor branch linked lp:ubuntu/raring-proposed/checkbox
2013-05-16 20:39:32 Brian Murray checkbox (Ubuntu Raring): status New Fix Committed
2013-05-16 20:39:35 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2013-05-16 20:39:40 Brian Murray bug added subscriber SRU Verification
2013-05-16 20:39:47 Brian Murray tags apport-crash i386 quantal running-unity apport-crash i386 quantal running-unity verification-needed
2013-05-31 19:52:27 Daniel Manrique tags apport-crash i386 quantal running-unity verification-needed apport-crash i386 quantal running-unity verification-done
2013-06-06 04:59:07 Launchpad Janitor checkbox (Ubuntu Raring): status Fix Committed Fix Released
2013-06-06 04:59:13 Adam Conrad removed subscriber Ubuntu Stable Release Updates Team
2013-08-28 12:36:56 Launchpad Janitor branch linked lp:ubuntu/raring-updates/checkbox