Bug 12602

Summary: [meta-intel 2.4.2 rc2] [test_parselogs] Error Present in dmesg logs for core-image-lsb-sdk image on NUC6
Product: [Build System, Metadata & Runtime] BSPs Reporter: Ashwin Soman <ashwinx.soman>
Component: bsps-meta-intelAssignee: nagarajagopal <nagarajagopalx.velu>
Status: RESOLVED FIXED QA Contact: nagarajagopal <nagarajagopalx.velu>
Severity: normal    
Priority: Medium+ CC: anuj.mittal, ee.peng.yeoh, manish.das, nagarajagopalx.velu, pravin.shankarx.patil, randy.macleod
Version: 2.4.2   
Target Milestone: 2.4.4   
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
log.do_testimage_corei7-64_WIC_NUC6 none

Description Ashwin Soman 2018-03-13 21:08:15 UTC
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/data/ashwinsx/meta-intel/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/data/ashwinsx/meta-intel/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/data/ashwinsx/meta-intel/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/ashwinsx/meta-intel/nucwic/tmp/work/intel_corei7_64-poky-linux/core-image-lsb-sdk/1.0-r0/kern.log
-----------------------
Central error: Mar  6 14:30:17 intel-corei7-64 kernel: [    7.693144] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
***********************
Mar  6 14:30:16 intel-corei7-64 kernel: [    7.270449] Bluetooth: RFCOMM TTY layer initialized
Mar  6 14:30:16 intel-corei7-64 kernel: [    7.273526] nfc: nfc_init: NFC Core ver 0.1
Mar  6 14:30:16 intel-corei7-64 kernel: [    7.273559] NET: Registered protocol family 39
Mar  6 14:30:16 intel-corei7-64 kernel: [    7.284040] Bluetooth: RFCOMM socket layer initialized
Mar  6 14:30:16 intel-corei7-64 kernel: [    7.284047] Bluetooth: RFCOMM ver 1.11
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.440826] [drm] RC6 on
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.650126] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.650128] e1000e 0000:00:1f.6 eth0: 10/100 speed: disabling TSO
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.650172] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.653302] 8021q: 802.1Q VLAN Support v1.8
Mar  6 14:30:17 intel-corei7-64 kernel: [    7.693144] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Mar  6 14:35:08 intel-corei7-64 kernel: [  300.646509] hellomod: loading out-of-tree module taints kernel.
Mar  6 14:35:08 intel-corei7-64 kernel: [  300.654623] Hello world!
Mar  6 14:35:09 intel-corei7-64 kernel: [  301.125755] Cleaning up hellomod.
Mar  6 14:35:11 intel-corei7-64 kernel: Kernel logging (proc) stopped.
Mar  6 14:35:11 intel-corei7-64 kernel: Kernel log daemon terminating.

***********************
Log: /data/ashwinsx/meta-intel/nucwic/tmp/work/intel_corei7_64-poky-linux/core-image-lsb-sdk/1.0-r0/dmesg_output.log
-----------------------
Central error: [    7.693144] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

***********************
[    7.270449] Bluetooth: RFCOMM TTY layer initialized
[    7.273526] nfc: nfc_init: NFC Core ver 0.1
[    7.273559] NET: Registered protocol family 39
[    7.284040] Bluetooth: RFCOMM socket layer initialized
[    7.284047] Bluetooth: RFCOMM ver 1.11
[    7.440826] [drm] RC6 on
[    7.650126] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[    7.650128] e1000e 0000:00:1f.6 eth0: 10/100 speed: disabling TSO
[    7.650172] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.653302] 8021q: 802.1Q VLAN Support v1.8
[    7.693144] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[  300.646509] hellomod: loading out-of-tree module taints kernel.
[  300.654623] Hello world!
[  301.125755] Cleaning up hellomod.

***********************
2 errors found in logs.
Comment 1 California Sullivan 2018-04-05 16:52:29 UTC
I wasn't able to reproduce this with either my NUC6CAYS or NUC6i5SYH.

Please reopen if you find a reproducer.
Comment 2 yeoh ee peng 2018-05-10 01:37:08 UTC
QA was facing same error again on 2.5 M4 RC1 testing.
Comment 3 Anuj Mittal 2018-05-23 01:41:26 UTC
Can you please try this on actual hardware please and see if you notice it there?
Comment 4 pravin 2018-06-05 08:58:43 UTC
Created attachment 4321 [details]
log.do_testimage
Comment 5 pravin 2018-06-05 09:00:21 UTC
Tried on actual hardware NUC6.

same error log is comming.

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.


I have attached test_image log.
Comment 6 pravin 2018-06-05 09:20:44 UTC
*** Bug 12770 has been marked as a duplicate of this bug. ***
Comment 7 yeoh ee peng 2018-06-20 06:57:40 UTC
@pravin
Could you provide the NUC6 model that was used in this testing?
Comment 8 yeoh ee peng 2018-06-20 06:58:09 UTC
(In reply to comment #5)
> Tried on actual hardware NUC6.
> 
> same error log is comming.
> 
> 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.
> 
> 
> I have attached test_image log.

Could you provide the NUC6 model that was used in this testing?
Comment 9 pravin 2018-06-20 07:06:10 UTC
Model:NUC6i7KYK
Comment 10 Anuj Mittal 2018-07-10 02:17:08 UTC
I don't see this at all with meta-intel. Please try with next milestone release and if you can still reproduce, please provide instructions so I can check.
Comment 11 Manish Das 2018-07-20 08:44:21 UTC
Created attachment 4348 [details]
log.do_testimage_corei7-64_WIC_NUC6
Comment 12 Manish Das 2018-07-20 08:47:10 UTC
The issue is not reproducible in the meta-intel 2.6 M1 rc1 release.
Hardware: corei7-64_NUC6. 

RESULTS - parselogs.ParseLogsTest.test_parselogs - Testcase 1059: PASSED
Logs: Logs are attached for reference.
Comment 13 Anuj Mittal 2018-07-20 08:48:07 UTC
Thank you. I am closing this then.