Public bug reported: While testing a newer implementation of the ubuntu proposed-migration test infrastructure, we discovered that the fatrace autopkgtest is depending on CPU registers that may not exist on the testbed. The existing infrastructure emulates an Intel core2duo, but the cpu architecture on the new infrastructure is a Xeon E312xx. The Xeon does not have the IDA (Intel Dynamic Acceleration) support which appears to be what supplies MSR 0xe8.
The bug I am reporting is that the test should account for the possibility that the hardware support is not present and do something other then generate an error (possibly a skipped test). 'ida' support can be grepped from 'cat /proc/cpuinfo'. [log snippet with error messages] Preparing to take measurements unknown op '{' read_msr cpu0 0xe8 : Input/output error Measurement will begin in 5 seconds. Please make sure that the computer is idle, i. e. do not press keys, start or operate programs, and that programs are not busy with active tasks other than the one you want to examine. Starting measurement for 60 seconds... Measurement complete. Generating report... Traceback (most recent call last): File "/usr/sbin/power-usage-report", line 199, in <module> main() File "/usr/sbin/power-usage-report", line 196, in main powertop_report(output['powertop']) File "/usr/sbin/power-usage-report", line 173, in powertop_report while not lines[i]: IndexError: list index out of range adt-run: DBG: testbed command exited with code 1 [full log] See fatrace-adt-run.log attached ** Affects: fatrace (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1449632 Title: fatrace autopkgtests assume access to certain CPU registers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fatrace/+bug/1449632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs