Accelerometer test crashes on ARM due to lack of dmidecode

Bug #1078833 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Unassigned

Bug Description

Running though the various scripts in Checkbox on an AC100 running the armhf image to verify whether they work or not. The accelerometer test depend on dmidecode, and thus crashes when it runs as there is no dmidecode for arm.

bladernr@mynock:/usr/share/checkbox/scripts$ ./accelerometer_test
Accelerometer hardware not found
Traceback (most recent call last):
  File "./accelerometer_test", line 347, in <module>
    main();
  File "./accelerometer_test", line 329, in main
    check_module_status()
  File "./accelerometer_test", line 251, in check_module_status
    universal_newlines=True)
  File "/usr/lib/python3.2/subprocess.py", line 745, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.2/subprocess.py", line 1371, in _execute_child
    raise child_exception_type(errno_num, err_msg)
OSError: [Errno 2] No such file or directory: 'dmidecode'

Tags: scripts arm
Jeff Lane  (bladernr)
tags: added: arm scripts
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Adding this to a long list of tests that will need to find an alternative to DMI to find hardware information

Changed in checkbox:
status: New → Confirmed
importance: Undecided → Medium
Zygmunt Krynicki (zyga)
affects: checkbox → plainbox-provider-checkbox
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

dmidecode works fine now on armhf (See https://packages.debian.org/sid/dmidecode)

Changed in plainbox-provider-checkbox:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.