<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12854</bug_id>
          
          <creation_ts>2018-07-12 10:15:05 +0000</creation_ts>
          <short_desc>[2.2.4.rc1][BSP Auto] [genericx86-64 on MMAX64bit] [test_parselogs] blk_update_request: I/O error, dev loop0</short_desc>
          <delta_ts>2018-07-19 02:46:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-runtime</component>
          <version>2.2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pankaj yadav">pankaj-y</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>ee.peng.yeoh</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81083</commentid>
    <comment_count>0</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-07-12 10:15:05 +0000</bug_when>
    <thetext>Please follow below mentioned steps to reproduce : 

Step1 : Write the image to a bootable media (USB key, SD Card, etc.) using the dd command:
sudo dd if=core-image-sato-sdk-genericx86-64.hddimg of=/dev/sdb
Attach the bootable device to the DUT
Turn the DUT on, and use its boot options to select the correct media for booting
Ensure the device has a network connection and a valid IP address
Step 2 : Clone poky repo $git clone git://git.yoctoproject.org/poky ( git checkout )
Step 3 : go to poky directory
Step 4 : Modify local.conf
INHERIT += &quot;testimage&quot;
TEST_TARGET = &quot;simpleremote&quot;
TEST_SERVER_IP = &quot;10.221.183.11&quot;
TEST_TARGET_IP = &quot;10.221.70.157&quot;
PARALLEL_MAKE = &quot;-j 64&quot;
BB_NUMBER_THREADS = &quot;64&quot;

Step 5 : run &quot;bitbake rpm busybox curl run-postinsts&quot; and &quot;bitbake package-index&quot; under build directory
Step 6 : 
Download Artifacts
there are 2 links available from Public AutoBuilder to download images 
http://autobuilder.yoctoproject.org/pub/releases/
https://autobuilder.yocto.io/pub/releases/

Artifacts to be downloaded are: 
Real HW
under folder machines/&lt;MACHINE_UNDER_TEST&gt;

&lt;IMAGE_TO_BE_TESTED&gt;.hddimg
&lt;IMAGE_TO_BE_TESTED&gt;.wic
&lt;IMAGE_TO_BE_TESTED&gt;.wic.bmap
&lt;IMAGE_TO_BE_TESTED&gt;.manifest
&lt;IMAGE_TO_BE_TESTED&gt;.testdata.json
example of &lt;IMAGE_TO_BE_TESTED&gt; name core-image-sato-sdk-genericx86-64 
Put downloaded images under poky/genericx86-WIC/tmp/deploy/images/MACHINE_UNDER_TEST/ directory
expample of MACHINE_UNDER_TEST=  genericx86-64, etc
step 7 : run &quot;bitbake core-image-sato-sdk -c testimage -v&quot; under build directory


*Logs for genericx86-64 on MMAX64bit : *
16:43:14 - bitbake-worker - RESULTS - Testcase 1059:
Traceback (most recent call last):
File &quot;/data/pankajsx/BSP_Test/2.2.4rc1/AUTO/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
return func(*args, **kwargs)
File &quot;/data/pankajsx/BSP_Test/2.2.4rc1/AUTO/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 97, in wrapped_f
return f(*args, **kwargs)
File &quot;/data/pankajsx/BSP_Test/2.2.4rc1/AUTO/poky/meta/lib/oeqa/runtime/parselogs.py&quot;, line 313, in test_parselogs
self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 2 != 0 : Log: /data/pankajsx/BSP_Test/2.2.4rc1/AUTO/poky/build/tmp/work/genericx86_64-poky-linux/core-image-sato-sdk/1.0-r0/dmesg_output.log
-----------------------
Central error: [ 50.678951] blk_update_request: I/O error, dev loop0, sector 4722712
***********************
[ 9.734482] r8169 0000:03:00.0 eth0: link down
[ 9.734499] r8169 0000:03:00.0 eth0: link down
[ 9.734570] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.118641] blk_update_request: I/O error, dev loop0, sector 289424
[ 11.365262] r8169 0000:03:00.0 eth0: link up
[ 11.365322] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.388068] 8021q: 802.1Q VLAN Support v1.8
[ 11.456827] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.456835] Bluetooth: BNEP filters: protocol multicast
[ 11.456846] Bluetooth: BNEP socket layer initialized
[ 50.678951] blk_update_request: I/O error, dev loop0, sector 4722712
[ 145.860748] hellomod: loading out-of-tree module taints kernel.
[ 145.860997] Hello world!
[ 146.453297] Cleaning up hellomod.

***********************
Central error: [ 10.118641] blk_update_request: I/O error, dev loop0, sector 289424
***********************
[ 7.961152] udevd[408]: starting version 3.2
[ 7.996751] udevd[409]: starting eudev-3.2
[ 8.156283] EFI Variables Facility v0.08 2004-May-17
[ 8.158339] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops 0xffffffff81aa10d0)
[ 8.275934] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 8.276162] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 8.739845] EXT4-fs (loop0): re-mounted. Opts: (null)
[ 9.734482] r8169 0000:03:00.0 eth0: link down
[ 9.734499] r8169 0000:03:00.0 eth0: link down
[ 9.734570] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.118641] blk_update_request: I/O error, dev loop0, sector 289424
[ 11.365262] r8169 0000:03:00.0 eth0: link up
[ 11.365322] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.388068] 8021q: 802.1Q VLAN Support v1.8
[ 11.456827] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.456835] Bluetooth: BNEP filters: protocol multicast
[ 11.456846] Bluetooth: BNEP socket layer initialized
[ 50.678951] blk_update_request: I/O error, dev loop0, sector 4722712
[ 145.860748] hellomod: loading out-of-tree module taints kernel.
[ 145.860997] Hello world!
[ 146.453297] Cleaning up hellomod.

***********************
2 errors found in logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81084</commentid>
    <comment_count>1</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-07-12 10:17:21 +0000</bug_when>
    <thetext>Regression Result with 2.2.3.rc2 :

While doing regression with 2.2.3.rc2, similar issue has been found, Please find below mentioned logs for the same :

10:14:08 - bitbake-worker - RESULTS - Testcase 1059:
Traceback (most recent call last):
File &quot;/data/pankajsx/BSP_Test/2.2.3rc2_META_YOCTO_REGRESSION/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
return func(*args, **kwargs)
File &quot;/data/pankajsx/BSP_Test/2.2.3rc2_META_YOCTO_REGRESSION/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 97, in wrapped_f
return f(*args, **kwargs)
File &quot;/data/pankajsx/BSP_Test/2.2.3rc2_META_YOCTO_REGRESSION/poky/meta/lib/oeqa/runtime/parselogs.py&quot;, line 313, in test_parselogs
self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 3 != 0 : Log: /data/pankajsx/BSP_Test/2.2.3rc2_META_YOCTO_REGRESSION/poky/genericx86-64/tmp/work/genericx86_64-poky-linux/core-image-sato-sdk/1.0-r0/dmesg_output.log
-----------------------
Central error: [ 54.266460] blk_update_request: I/O error, dev loop0, sector 4628176
***********************
[ 10.186733] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.186743] r8169 0000:03:00.0 eth0: link down
[ 10.644752] blk_update_request: I/O error, dev loop0, sector 4628176
[ 10.721973] blk_update_request: I/O error, dev loop0, sector 4628496
[ 11.308214] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.308222] Bluetooth: BNEP filters: protocol multicast
[ 11.308234] Bluetooth: BNEP socket layer initialized
[ 12.335364] r8169 0000:03:00.0 eth0: link up
[ 12.335384] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.346044] 8021q: 802.1Q VLAN Support v1.8
[ 54.266460] blk_update_request: I/O error, dev loop0, sector 4628176
[ 348.566552] hellomod: loading out-of-tree module taints kernel.
[ 348.566859] Hello world!
[ 349.420034] Cleaning up hellomod.

***********************
Central error: [ 10.644752] blk_update_request: I/O error, dev loop0, sector 4628176
***********************
[ 9.159352] udevd[411]: starting version 3.2
[ 9.221715] udevd[412]: starting eudev-3.2
[ 9.303251] EXT4-fs (loop0): re-mounted. Opts: (null)
[ 9.406959] EFI Variables Facility v0.08 2004-May-17
[ 9.414278] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops 0xffffffff81aa10d0)
[ 9.490230] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 9.490434] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 10.186638] r8169 0000:03:00.0 eth0: link down
[ 10.186733] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.186743] r8169 0000:03:00.0 eth0: link down
[ 10.644752] blk_update_request: I/O error, dev loop0, sector 4628176
[ 10.721973] blk_update_request: I/O error, dev loop0, sector 4628496
[ 11.308214] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.308222] Bluetooth: BNEP filters: protocol multicast
[ 11.308234] Bluetooth: BNEP socket layer initialized
[ 12.335364] r8169 0000:03:00.0 eth0: link up
[ 12.335384] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.346044] 8021q: 802.1Q VLAN Support v1.8
[ 54.266460] blk_update_request: I/O error, dev loop0, sector 4628176
[ 348.566552] hellomod: loading out-of-tree module taints kernel.
[ 348.566859] Hello world!

***********************
Central error: [ 10.721973] blk_update_request: I/O error, dev loop0, sector 4628496
***********************
[ 9.221715] udevd[412]: starting eudev-3.2
[ 9.303251] EXT4-fs (loop0): re-mounted. Opts: (null)
[ 9.406959] EFI Variables Facility v0.08 2004-May-17
[ 9.414278] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops 0xffffffff81aa10d0)
[ 9.490230] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 9.490434] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 10.186638] r8169 0000:03:00.0 eth0: link down
[ 10.186733] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.186743] r8169 0000:03:00.0 eth0: link down
[ 10.644752] blk_update_request: I/O error, dev loop0, sector 4628176
[ 10.721973] blk_update_request: I/O error, dev loop0, sector 4628496
[ 11.308214] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.308222] Bluetooth: BNEP filters: protocol multicast
[ 11.308234] Bluetooth: BNEP socket layer initialized
[ 12.335364] r8169 0000:03:00.0 eth0: link up
[ 12.335384] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.346044] 8021q: 802.1Q VLAN Support v1.8
[ 54.266460] blk_update_request: I/O error, dev loop0, sector 4628176
[ 348.566552] hellomod: loading out-of-tree module taints kernel.
[ 348.566859] Hello world!
[ 349.420034] Cleaning up hellomod.

***********************
3 errors found in logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81093</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-07-12 15:01:27 +0000</bug_when>
    <thetext>https://bugzilla.yoctoproject.org/show_bug.cgi?id=10455 has more info.

This was resolved in sumo with https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=sumo&amp;id=53078a00ceab5d6aaa61c77fcb73f0d4aa788e00 but this is too invasive to backport to morty so resolving as WONTFIX.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>