Comment 4 for bug 552999

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 552999] Re: checkbox-cli submission to LP fails

On Thu, Apr 01, 2010 at 06:38:29PM -0000, Marc Tardif wrote:
> I tried running checkbox-cli in a kvm guest installed with ubuntu-server
> for lucid and submission to Launchpad worked fine.

Tried again with 0.9.1 and it still fails:

Please choose (a/b/c/d/e/f/g/h/i/j/+/ ): j
  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: Video tests
  +: Plus to expand options
   : Space when finished

Please choose (a/b/c/d/e/f/g/h/i/j/+/ ):
Running internet_test...
..
Testing your connection to the Internet:

Internet connection fully established

Is this correct?

  y: yes
  n: no
  s: skip
  t: test

Please choose (y/n/s/t): y
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/mathiaz/.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

<email address hidden>
Exchanging information with the server...

Error: Failed to process form: Value of 'field.system' key of dict {'field.architecture': 'amd64', 'field.distribution': 'Ubuntu', 'field.date_created': '2010-04-01T20:09:07', 'field.emailaddress': '<email address hidden>', 'field.contactable': 'False', 'field.distroseries': '10.04', 'field.actions.upload': 'Upload', 'field.private': 'False', 'field.format': 'VERSION_1', 'field.live_cd': 'False'} could not be converted: None isn't acceptable as a value

Press any key to continue...

> If the problem
> persists, please attach the output from running the following command:
> /usr/share/checkbox/scripts/udev_resource. Thanks!
>

mathiaz@t-checkbox:~$ sudo /usr/share/checkbox/scripts/udev_resource
path: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
bus: input
category: OTHER
product: Power Button

path: /devices/pci0000:00/0000:00:00.0
bus: pci
product_id: 4663
vendor_id: 32902
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:01.0
bus: pci
product_id: 28672
vendor_id: 32902
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:01.1
bus: pci
category: IDE
driver: ata_piix
product_id: 28688
vendor_id: 32902
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:01.1/host1/target1:0:0/1:0:0:0
bus: scsi
category: CDROM
driver: sr
product: QEMU DVD-ROM
vendor: QEMU

path: /devices/pci0000:00/0000:00:01.2
bus: pci
category: USB
driver: uhci_hcd
product_id: 28704
vendor_id: 32902
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:01.2/usb1
bus: usb
driver: usb
product_id: 1
vendor_id: 7531

path: /devices/pci0000:00/0000:00:01.2/usb1/1-0:1.0
bus: usb
driver: hub
product_id: 1
vendor_id: 7531

path: /devices/pci0000:00/0000:00:01.3
bus: pci
product_id: 28947
vendor_id: 32902
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:02.0
bus: pci
category: VIDEO
product_id: 184
vendor_id: 4115
subproduct_id: 4352
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:03.0
bus: pci
category: NETWORK
driver: virtio-pci
product_id: 4096
vendor_id: 6900
subproduct_id: 1
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:04.0
bus: pci
driver: virtio-pci
product_id: 4097
vendor_id: 6900
subproduct_id: 2
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:05.0
bus: pci
driver: virtio-pci
product_id: 4097
vendor_id: 6900
subproduct_id: 2
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:06.0
bus: pci
driver: virtio-pci
product_id: 4098
vendor_id: 6900
subproduct_id: 5
subvendor_id: 6900

path: /devices/pci0000:00/0000:00:07.0
bus: pci
Traceback (most recent call last):
  File "/usr/share/checkbox/scripts/udev_resource", line 539, in <module>
    sys.exit(main())
  File "/usr/share/checkbox/scripts/udev_resource", line 528, in main
    value = getattr(device, attribute)
  File "/usr/share/checkbox/scripts/udev_resource", line 70, in category
    class_id = int(pci_class[:-4], 16)
ValueError: invalid literal for int() with base 16: ''

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com