Comment 23 for bug 1059544

Revision history for this message
Daniel Manrique (roadmr) wrote :

I ended up testing this myself, by the following procedure:

- Installed 13.04 on a virtual machine
- Verified installed version of checkbox:

$ dpkg --list checkbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii checkbox 0.15.5 i386 System testing application
un checkbox-cli <none> (no description available)
un checkbox-gtk <none> (no description available)
ii checkbox-qt 0.15.5 i386 QT4 interface for checkbox

- Removed gstreamer1.0-alsa:
$ sudo apt-get remove gstreamer1.0-alsa
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gstreamer1.0-alsa ubuntu-desktop
0 upgraded, 0 newly installed, 2 to remove and 45 not upgraded.
After this operation, 239 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 156244 files and directories currently installed.)
Removing ubuntu-desktop ...
Removing gstreamer1.0-alsa:i386 ...

- Run the test case:
$ PATH=$PATH:/usr/share/checkbox/scripts alsa_record_playback
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
libGL error: failed to load driver: vboxvideo
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Traceback (most recent call last):
  File "/usr/share/checkbox/scripts/gst_pipeline_test", line 59, in <module>
    sys.exit(main())
  File "/usr/share/checkbox/scripts/gst_pipeline_test", line 42, in main
    element = Gst.parse_launch(args.PIPELINE)
  File "/usr/lib/python3/dist-packages/gi/types.py", line 113, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: no element "alsasrc"
/tmp/tmp.JmIQqZjD3q/test.wav: No such file or directory
rm: cannot remove ‘/tmp/tmp.JmIQqZjD3q/test.wav’: No such file or directory

OK, now to update checkbox, first I enable proposed and apt-get update, then:
$ sudo apt-get install checkbox checkbox-qt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  bonnie++ bootchart checkbox-cli checkbox-gtk ethtool fwts git-core glmark2
  glmark2-es2 mesa-utils nmap obexftp render-bench smartmontools sox stress
  sysstat wmctrl
The following packages will be upgraded:
  checkbox checkbox-qt
2 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
Need to get 1,486 kB of archives.
After this operation, 28.7 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring-proposed/main checkbox i386 0.15.6 [1,409 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring-proposed/main checkbox-qt i386 0.15.6 [76.7 kB]
Fetched 1,486 kB in 1s (1,025 kB/s)
Preconfiguring packages ...
(Reading database ... 156234 files and directories currently installed.)
Preparing to replace checkbox 0.15.5 (using .../checkbox_0.15.6_i386.deb) ...
Unpacking replacement checkbox ...
Preparing to replace checkbox-qt 0.15.5 (using .../checkbox-qt_0.15.6_i386.deb) ...
Unpacking replacement checkbox-qt ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up checkbox (0.15.6) ...
Setting up checkbox-qt (0.15.6) ...

Immediately afterwards the test case is run like this:
$ PATH=$PATH:/usr/share/checkbox/scripts alsa_record_playback
Playing WAVE '/tmp/tmp.WQI1YEclIh/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

Before "playing wave" I made some noise on the microphone, afterwards I was able to hear this noise being played back.

I'll set this to verification-done. Thanks!