UBUNTU: SAUCE: ubuntu_performance_pts: update john-the-ripper version
For Jammy compat, update to john-the-ripper-1.8.0 to fix a compile error that was
introduced using gcc-11. Continue running john-the-ripper-1.7.2 for Focal.
UBUNTU: SAUCE: ubuntu_performance_pts: create wrapper function for getting distro info
In Python 3.8 platform.dist() was removed, so for Focal and later series we need to use
python2 or import the distro module. Create a simple wrapper function that will try
platform.dist() and import distro if needed. Use options with distro to allow for
same object to be returned on both routes.
On the re-provisioned KV260 with Jammy Xilinx kernel, this test will
complain about:
1. Missing xlnx-config command, this can be fix by installing the
xlnx-config snap. I guess we don't have this issue on F-xilinx
because this snap has already been included in the image.
2. Mismatched name in /proc/device-tree/compatible, we are looking
for 'k26' here, it works for Focal but not Jammy. We will need
'kv26' here for Jammy
$ cat /proc/device-tree/compatible
xlnx,zynqmp-sk-kv260-rev1xlnx,zynqmp-sk-kv260-revBxlnx,zynqmp-sk-kv260xlnx,zynqmp
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Francis Ginther <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>
UBUNTU: SAUCE: ubuntu_kselftests_ftrace: clone ftrace out from ubuntu_kernel_selftests
ftrace test sometimes will hang and make ubuntu_kernel_selftests ended
up in an incomplete state.
Split it out to improve the test granularity and flexibility and thus
make it easier to debug.
The ftrace test in ubuntu_kernel_selftests is not removed in this
commit, it will be removed after everything is in place and we have
test results coming out from this newly added ubuntu_kselftests_ftrace
test.
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Acked-by: Francis Ginther <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>