ACK: [PATCH 0/1][autotest-client-tests] ubuntu_boot: add tests to check error in log and kernel_tainted flags

Sean Feole sean.feole at canonical.com
Thu Jul 9 15:47:15 UTC 2020


 Acked-by: Sean Feole <sean.feole at canonical.com>

On Wed, Jul 8, 2020 at 8:12 AM Po-Hsu Lin <po-hsu.lin at canonical.com> wrote:

> Add two sub-tests into the boot test to help us catching issues like
> lp:1840046 ("BUG: non-zero pgtables_bytes on freeing mm: -16384") in the
> early stage:
>   1. log_check test - use regex to search for error patterns in syslog
>   2. kernel_tainted test - check for kernel tainted flags
>
> Call the original test as a boot_smoke_test, so now there will be 3
> tests under this ubuntu_boot test.
>
> This ubuntu_boot test will be executed when the kernel was copied to
> our ppa.
>
> I don't want to put this into our infrastructure code (CKCT or
> kernel-testing) as it will be confusing with other failures that we can
> see during the testing node deployment stage. And it's only kernel QA
> that will check for this kind of failures on the jenkins server.
>
> Put this into the ubuntu_boot test instead so that the result can be
> reviewed by any kernel team member when the kernel goes to -ppa.
>
> You can test the log parser with this example syslog:
> https://paste.ubuntu.com/p/xkfxG2hvnB/
>
> Po-Hsu Lin (1):
>   UBUNTU: SAUCE: ubuntu_boot: add tests to check error in log and
>     kernel_tainted flags
>
>  ubuntu_boot/control.ubuntu |  8 +++---
>  ubuntu_boot/ubuntu_boot.py | 53 ++++++++++++++++++++++++++++++++++++--
>  2 files changed, 56 insertions(+), 5 deletions(-)
>
> --
> 2.17.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200709/2b483085/attachment.html>


More information about the kernel-team mailing list