Bug 12770

Summary: [2.4.3 RC2][Test case-1059]AUTO_BSP:Check logs for errors and failures
Product: [Build System, Metadata & Runtime] BSPs Reporter: pravin <pravin.shankarx.patil>
Component: bsps-configurationAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: yp.bsp.watcher, yp.watcher
Version: 2.4.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log.do_testimage none

Description pravin 2018-06-04 02:56:30 UTC
Created attachment 4318 [details]
log.do_testimage

STATUS: FAILED
BUILD: 2.4.3 RC2: 7e7ee662f5dea4d090293045f7498093322802cc
IMAGE: core-image-lsb-sdk_generic-x86_64
ENVIRONMENT: generic-x86_64 on nuc6 
STEPS TO REPRODUCE: 
                      Parse dmesg log and all log files in /var/log for  k
                      keywords like: "error" , "failed" , "cannot", "can't" etc.
                      Filter out the known and invalid errors or errors that  
                      appear in certain situations and need to be ignored.

EXPECTED OUTCOME: 
  
 No errors or fails should be present in logs

ACTUAL RESULTS:

NOTE:  ... ok
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/data/pravinsx/bsp/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/data/pravinsx/bsp/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/data/pravinsx/bsp/poky/meta/lib/oeqa/runtime/cases/parselogs.py", line 363, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 2 != 0 : Log: /data/pravinsx/bsp/poky/lsb-32/tmp/work/genericx86_64-poky-linux/core-image-lsb-sdk/1.0-r0/dmesg_output.log
-----------------------
Central error: [    7.153983] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
***********************
[    6.434178] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.438213] Bluetooth: BNEP filters: protocol multicast
[    6.442156] Bluetooth: BNEP socket layer initialized
[    6.455652] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.479111] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[    6.486235] NFSD: starting 90-second grace period (net ffffffff81eed980)
[    6.858649] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[    6.864770] e1000e 0000:00:1f.6 eth0: 10/100 speed: disabling TSO
[    6.869639] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.873648] 8021q: 802.1Q VLAN Support v1.8
[    7.153983] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[  301.910164] hellomod: loading out-of-tree module taints kernel.
[  301.916986] Hello world!
[  302.410851] Cleaning up hellomod.

***********************
Log: /data/pravinsx/bsp/poky/lsb-32/tmp/work/genericx86_64-poky-linux/core-image-lsb-sdk/1.0-r0/kern.log
-----------------------
Central error: Jun  1 17:40:19 genericx86-64 kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
***********************
Jun  1 17:40:19 genericx86-64 kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jun  1 17:40:19 genericx86-64 kernel: Bluetooth: BNEP filters: protocol multicast
Jun  1 17:40:19 genericx86-64 kernel: Bluetooth: BNEP socket layer initialized
Jun  1 17:40:19 genericx86-64 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun  1 17:40:19 genericx86-64 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun  1 17:40:19 genericx86-64 kernel: NFSD: starting 90-second grace period (net ffffffff81eed980)
Jun  1 17:40:19 genericx86-64 kernel: e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
Jun  1 17:40:19 genericx86-64 kernel: e1000e 0000:00:1f.6 eth0: 10/100 speed: disabling TSO
Jun  1 17:40:19 genericx86-64 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun  1 17:40:19 genericx86-64 kernel: 8021q: 802.1Q VLAN Support v1.8
Jun  1 17:40:19 genericx86-64 kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Jun  1 17:45:13 genericx86-64 kernel: hellomod: loading out-of-tree module taints kernel.
Jun  1 17:45:13 genericx86-64 kernel: Hello world!
Jun  1 17:45:13 genericx86-64 kernel: Cleaning up hellomod.
Jun  1 17:45:15 genericx86-64 kernel: Kernel logging (proc) stopped.

***********************
2 errors found in logs.
Comment 1 pravin 2018-06-05 09:20:44 UTC
duplicate bug.. already filed

https://bugzilla.yoctoproject.org/show_bug.cgi?id=12602

*** This bug has been marked as a duplicate of bug 12602 ***