Easen debugging, by adding some cpu information to testinfo.json
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| autopkgtest (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt | ||
Bug Description
While more test specific debugging would have to be part of the test itself today we agreed that a bit of information about the CPU the test is running on would be helpful in general.
To keep it short, but useful eventually we agreed on #processors, cpu-model and flags from /proc/cpuinfo
So something like (and just that, no reason to report multiple times for multiple cpus):
processors: 4
model name : Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt

As reference some part of our chat on 2nd of March 2016
[09:05] <pitti> cpaelzer: I'd rather expand it into the debci log
[09:06] <pitti> we have three links there already, adding more isn't helping confusion
[09:06] <cpaelzer> pitti: agreed
[09:06] <pitti> cpaelzer: indeed it's just replacing log.gz with result.tar in the URL
[09:08] <cpaelzer> pitti: IMHO the dbci log could take a plain /proc/cpuinfo, on s390x maybe also /proc/sysinfo - that would be great
[09:08] <cpaelzer> pitti: I also thought about lshw, but that is too heavyweight
[09:09] <pitti> cpaelzer: perhaps #processors and the model name
[09:09] <pitti> the full thing is quite big
[09:09] <cpaelzer> pitti: processor, model and flags of one of them?
[09:09] <pitti> ok
[09:09] <pitti> cpaelzer: mind reporting a bug against autopkgtest about that, as a reminder?
[09:09] <cpaelzer> I'll do