[PATCH][FWTS_TEST] oops-0001: Update because the oops tests also finds WARN_ONs

Keng-Yu Lin kengyu at canonical.com
Fri Nov 30 07:22:55 UTC 2012


On Thu, Nov 29, 2012 at 6:46 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Update the test results because the oops test also now searches
> and finds WARN_ON messages
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  oops-0001/oops-0001.log | 27 ++++++++++++++++++++++++++-
>  oops-0001/oops-0002.log |  9 +++++----
>  2 files changed, 31 insertions(+), 5 deletions(-)
>
> diff --git a/oops-0001/oops-0001.log b/oops-0001/oops-0001.log
> index 5493827..c315eb6 100644
> --- a/oops-0001/oops-0001.log
> +++ b/oops-0001/oops-0001.log
> @@ -760,6 +760,29 @@ oops              RIP  [<ffffffff8107f19e>] kfifo_alloc+0x2e/0xb0
>  oops               RSP <ffff880138739d08>
>  oops              CR2: 0000000000000000
>  oops
> +oops            Found WARNING (1):
> +oops              WARNING: at /build/buildd/linux-2.6.35/lib/kobject.c:595 kobject_put+0x50/0x60()
> +oops              Hardware name: To Be Filled By O.E.M.
> +oops              kobject: '(null)' (ffff8802374c5998): is not initialized, yet kobject_put() is being called.
> +oops              Modules linked in: ip6table_filter ip6_tables nf_nat_irc nf_conntrack_irc snd_hda_intel(+) nf_nat_ftp nf_nat snd_hda_codec snd_ctxfi nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp nf_conntrack snd_hwdep snd_pcm snd_seq_midi snd_rawmidi iptable_filter snd_seq_midi_event ip_tables snd_seq snd_timer nouveau snd_seq_device ttm drm_kms_helper snd drm x_tables soundcore i2c_algo_bit snd_page_alloc joydev shpchp lp xhci_hcd psmouse i7core_edac serio_raw edac_core parport dm_raid45 xor usbhid hid sky2 pata_jmicron ahci libahci
> +oops              Pid: 1302, comm: dmraid Tainted: G   M  D     2.6.35-19-generic #28-Ubuntu
> +oops              Call Trace:
> +oops               [<ffffffff8105f72f>] warn_slowpath_common+0x7f/0xc0
> +oops               [<ffffffff8105f826>] warn_slowpath_fmt+0x46/0x50
> +oops               [<ffffffff812b81b0>] kobject_put+0x50/0x60
> +oops               [<ffffffff8145d7a6>] dm_sysfs_exit+0x16/0x20
> +oops               [<ffffffff81455a2f>] dm_put+0x9f/0x120
> +oops               [<ffffffff8145a864>] table_status+0x54/0xa0
> +oops               [<ffffffff8145a810>] ? table_status+0x0/0xa0
> +oops               [<ffffffff8145bf05>] ctl_ioctl+0x1a5/0x250
> +oops               [<ffffffff8111b26b>] ? do_anonymous_page+0x11b/0x330
> +oops               [<ffffffff8145bfc3>] dm_ctl_ioctl+0x13/0x20
> +oops               [<ffffffff8116172d>] vfs_ioctl+0x3d/0xd0
> +oops               [<ffffffff81162001>] do_vfs_ioctl+0x81/0x340
> +oops               [<ffffffff8158b4ae>] ? do_page_fault+0x15e/0x350
> +oops               [<ffffffff81162341>] sys_ioctl+0x81/0xa0
> +oops               [<ffffffff8100a0f2>] system_call_fastpath+0x16/0x1b
> +oops
>  oops            Found OOPS (19):
>  oops              BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
>  oops              IP: [<ffffffff81182189>] bdput+0x9/0x20
> @@ -1514,8 +1537,10 @@ oops              CR2: 0000000000000008
>  oops
>  oops            FAILED [CRITICAL] KernelOops: Test 1, Found 36 oopses in
>  oops            kernel log.
> +oops            FAILED [HIGH] KernelWarnOns: Test 1, Found 1 WARN_ON
> +oops            warnings in kernel log.
>  oops
>  oops            ==========================================================
> -oops            0 passed, 1 failed, 0 warnings, 0 aborted, 0 skipped, 0
> +oops            0 passed, 2 failed, 0 warnings, 0 aborted, 0 skipped, 0
>  oops            info only.
>  oops            ==========================================================
> diff --git a/oops-0001/oops-0002.log b/oops-0001/oops-0002.log
> index 12ea00d..05ce4f4 100644
> --- a/oops-0001/oops-0002.log
> +++ b/oops-0001/oops-0002.log
> @@ -1,5 +1,5 @@
>  summary
> -summary         0 passed, 1 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> +summary         0 passed, 2 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
>  summary
>  summary         Test Failure Summary
>  summary         ==========================================================================================================================================================================================================================================================================================================================================================================================
> @@ -7,7 +7,8 @@ summary
>  summary         Critical failures: 1
>  summary          oops: Found 36 oopses in kernel log.
>  summary
> -summary         High failures: NONE
> +summary         High failures: 1
> +summary          oops: Found 1 WARN_ON warnings in kernel log.
>  summary
>  summary         Medium failures: NONE
>  summary
> @@ -17,7 +18,7 @@ summary         Other failures: NONE
>  summary
>  summary         Test           |Pass |Fail |Abort|Warn |Skip |Info |
>  summary         ---------------+-----+-----+-----+-----+-----+-----+
> -summary         oops           |     |    1|     |     |     |     |
> +summary         oops           |     |    2|     |     |     |     |
>  summary         ---------------+-----+-----+-----+-----+-----+-----+
> -summary         Total:         |    0|    1|    0|    0|    0|    0|
> +summary         Total:         |    0|    2|    0|    0|    0|    0|
>  summary         ---------------+-----+-----+-----+-----+-----+-----+
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list