Bug 12213 - [TC 1059] test_parselogs failed on MMAX64 (Turbot) with direct firmware load for rtl_nic/rtl8168g-2.fw error
Summary: [TC 1059] test_parselogs failed on MMAX64 (Turbot) with direct firmware load ...
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-runtime (show other bugs)
Version: 2.4
Hardware: MinnowBoard Max x86_64
: Medium normal
Target Milestone: 2.5
Assignee: California Sullivan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-10 15:41 UTC by Jair Gonzalez
Modified: 2017-11-09 21:10 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
2.4_rc2_genericx86-64_MinnowBoardTurbot.log (3.22 MB, text/x-log)
2017-10-10 15:44 UTC, Jair Gonzalez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jair Gonzalez 2017-10-10 15:41:16 UTC
STATUS: FAILED
BUILD: 2.4 M4: rc2-da05a01423a60a23cd1073eb0ad3776e5bf4f2a8
ENVIRONMENT: genericx86-64 on MMAX64 (Turbot)
STEPS TO REPRODUCE: 
  
Parse dmesg log and all log files in /var/log for 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 OUTCOME:

======================================================================
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/jairdeje/src/ypt/poky_rc2/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/jairdeje/src/ypt/poky_rc2/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/jairdeje/src/ypt/poky_rc2/meta/lib/oeqa/runtime/cases/parselogs.py", line 363, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /home/jairdeje/src/ypt/poky_rc2/build/tmp/work/genericx86_64-poky-linux/core-image-sato-sdk/1.0-r0/dmesg_output.log
-----------------------
Central error: [   10.748418] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
***********************
[    8.328722] udevd[330]: starting version 3.2.2
[    8.408056] udevd[331]: starting eudev-3.2.2
[    8.638987] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops 0xffffffffb0aa25c0)
[    8.671987] EFI Variables Facility v0.08 2004-May-17
[    8.698858] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    8.702893] r8169 0000:03:00.0 eth0: RTL8168g/8111g at 0xffffa8ed800c1000, 00:08:a2:09:bd:b9, XID 0c000880 IRQ 94
[    8.702904] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    8.757997] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    8.758163] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    9.156865] EXT4-fs (loop0): re-mounted. Opts: (null)
[   10.748418] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
[   10.748435] r8169 0000:03:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168g-2.fw (-2)
[   10.754574] r8169 0000:03:00.0 eth0: link down
[   10.754665] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.754723] r8169 0000:03:00.0 eth0: link down
[   14.010685] r8169 0000:03:00.0 eth0: link up
[   14.010703] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.032556] 8021q: 802.1Q VLAN Support v1.8
[   14.175757] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.175764] Bluetooth: BNEP filters: protocol multicast
[   14.175774] Bluetooth: BNEP socket layer initialized

***********************
1 errors found in logs.

NOTE: core-image-sato-sdk-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Ran 48 tests in 433.119s
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: FAILED
NOTE: core-image-sato-sdk-1.0-r0 do_testimage:  (failures=1)
Comment 1 Jair Gonzalez 2017-10-10 15:44:23 UTC
Created attachment 4067 [details]
2.4_rc2_genericx86-64_MinnowBoardTurbot.log
Comment 2 California Sullivan 2017-10-13 00:33:50 UTC
It looks like there is nothing in /lib/firmware.

This patch seems to be the culprit: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=rocko&id=8f4f3a0dd55adf8fdc6fc6a2701e6d623e8338c9

Mikko has sent a patch addressing the issue: http://lists.openembedded.org/pipermail/openembedded-core/2017-October/143163.html
Comment 4 Jair Gonzalez 2017-11-09 21:10:23 UTC
Verified as not reproducible on 2.4 M4 rc3.