I am unable to reproduce the failure mode you see, but adding your patch
does not change anything, none of the tests are run.

$ sudo sh -c "scripts/qa_regression_suite -d 
/home/ubuntu/bzr/qa-regression-testing test-avahi.py | scripts/filter_packages"
requires:
 package.name == 'avahi-daemon'
 package.name == 'avahi-utils'
 package.name == 'python-gdbm'
 package.name == 'python-dbus'
 package.name == 'python-avahi'
description: test-avahi.py quality assurance test script
command: cd /home/ubuntu/bzr/qa-regression-testing/scripts; python test-avahi.py
name: test-avahi
plugin: shell

$ bzr pull
Using saved parent location: 
bzr+ssh://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/
No revisions to pull.
$ bzr st
$

Applying your patch:

$ quilt push
Applying patch checkbox-lp563607.patch
patching file checkbox/scripts/qa_regression_suite

Now at patch checkbox-lp563607.patch
$ quilt diff
Index: checkbox/scripts/qa_regression_suite
===================================================================
--- checkbox/scripts/qa_regression_suite.orig   2010-04-20 18:34:56.017892252 
-0700
+++ checkbox/scripts/qa_regression_suite        2010-04-20 19:27:58.168958239 
-0700
@@ -11,9 +11,8 @@
 from optparse import OptionParser


-DEFAULT_DIRECTORY = "/var/cache/checkbox/qa-regression-testing"
+DEFAULT_DIRECTORY = "~/.cache/checkbox/qa-regression-testing"
 DEFAULT_LOCATION = 
"http://bazaar.launchpad.net/%7Eubuntu-bugcontrol/qa-regression-testing/master";
-DEFAULT_SUDO_PASSWORD = "insecure"

 COMMAND_TEMPLATE = "cd %(scripts)s; python %(script)s"

@@ -151,6 +150,8 @@
     os.setuid(pw.pw_uid)
     os.chdir(pw.pw_dir)

+    options.directory = os.path.expanduser(options.directory)
+
     if not scripts:
         scripts = list_qa_regression(options.location, options.directory,
             options.dry_run)
$ sudo sh -c "scripts/qa_regression_suite -d 
/home/ubuntu/bzr/qa-regression-testing test-avahi.py | scripts/filter_packages"
requires:
 package.name == 'avahi-daemon'
 package.name == 'avahi-utils'
 package.name == 'python-gdbm'
 package.name == 'python-dbus'
 package.name == 'python-avahi'
description: test-avahi.py quality assurance test script
command: cd /home/ubuntu/bzr/qa-regression-testing/scripts; python test-avahi.py
name: test-avahi
plugin: shell

$

Building via bzr builddeb and installing still doesn't get me any
results:

$ checkbox-cli

Welcome to System Testing!

Checkbox provides tests to confirm that your system is working properly.
Once you are finished running the tests, you can view a summary report
for your system.

Press any key to continue...

Gathering information from your system...
....
Select the suites to test

* a: Audio tests
* b: Disk tests
* c: Fingerprint reader tests
* d: Firewire disk tests
* e: Kernel modesetting tests
* f: Media tests
* g: Monitor tests
* h: Network tests
* i: Peripheral tests
* j: QA regression tests (destructive)
* k: Video tests
  +: Plus to expand options
   : Space when finished

Please choose (a/b/c/d/e/f/g/h/i/j/k/+/ ):

[snipping de-selection of everything except the QA regression tests]

  a: Audio tests
  b: Disk tests
  c: Fingerprint reader tests
  d: Firewire disk tests
  e: Kernel modesetting tests
  f: Media tests
  g: Monitor tests
  h: Network tests
  i: Peripheral tests
* j: QA regression tests (destructive)
  k: Video tests
  +: Plus to expand options
   : Space when finished

Please choose (a/b/c/d/e/f/g/h/i/j/k/+/ ):
Running cpuinfo...

Running dmesg...

Running dmi...

Running dmidecode...

Running lspci...

Running modprobe...

Running modules...

Running sysctl...

Running udev...

Building report...
.
The following report has been generated for submission to the Launchpad 
hardware database:

  [[file:///home/ubuntu/.cache/checkbox/submission.xml|View Report]]

You can submit this information about your system by providing the
e-mail address you use to sign in to Launchpad. If you do not have a
Launchpad account, please register here:

  https://launchpad.net/+login


Error: No e-mail address provided, not submitting to Launchpad.

Press any key to continue...

Successfully finished testing!

Press any key to continue...
$

Attached is the ~/.cache/checkbox/checkbox.log from the above run.


** Attachment added: "checkbox.log"
   http://launchpadlibrarian.net/44936385/checkbox.log

-- 
checkbox does not run tests, does not offer any indication as to why
https://bugs.launchpad.net/bugs/563607
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to