Comment 9 for bug 988260

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

OK, repeating the tests from comment #7 on a virtual machine but testing checkbox 0.13.9 this time:

- Removing zenity
$ dpkg --list checkbox* zenity
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 Description
+++-==============-==============-============================================
ii checkbox 0.13.7 System testing application
un checkbox-cli <none> (no description available)
un checkbox-gtk <none> (no description available)
ii checkbox-qt 0.13.7 QT4 interface for checkbox
un zenity <none> (no description available)

Test command:
$ /usr/share/checkbox/scripts/network_check
Traceback (most recent call last):
  File "/usr/share/checkbox/scripts/network_check", line 64, in <module>
    sys.exit(main())
  File "/usr/share/checkbox/scripts/network_check", line 56, in main
    call(command)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Next installation of checkbox 0.13.9 and retest:

$ apt-get install -y checkbox checkbox-qt && dpkg --list checkbox* && /usr/share/checkbox/scripts/network_check
Reading package lists... 0%
Reading package lists... Done
Reading state information... Done

Suggested packages:
  checkbox-cli checkbox-gtk bonnie++ bootchart bzr cvs ethtool flex fwts
  git-core nmap smartmontools sox stress
The following packages will be upgraded:
  checkbox checkbox-qt
2 upgraded, 0 newly installed, 0 to remove and 326 not upgraded.
Need to get 0 B/1,510 kB of archives.
After this operation, 27.6 kB disk space will be freed.

Preconfiguring packages ...
(Reading database ... 141899 files and directories currently installed.)
Preparing to replace checkbox 0.13.7 (using .../checkbox_0.13.9_i386.deb) ...
Unpacking replacement checkbox ...
Preparing to replace checkbox-qt 0.13.7 (using .../checkbox-qt_0.13.9_i386.deb) ...
Unpacking replacement checkbox-qt ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up checkbox (0.13.9) ...
Setting up checkbox-qt (0.13.9) ...
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 Description
+++-==============-==============-============================================
ii checkbox 0.13.9 System testing application
un checkbox-cli <none> (no description available)
un checkbox-gtk <none> (no description available)
ii checkbox-qt 0.13.9 QT4 interface for checkbox
Zenity missing; unable to report test result:
 HTTP connection: Failed

This time it doesn't crash if zenity is not present.

marking verification-done.