<?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>12183</bug_id>
          
          <creation_ts>2017-10-04 19:48:35 +0000</creation_ts>
          <short_desc>core-image-sato nightly-ppc failed to boot during testimage</short_desc>
          <delta_ts>2017-12-19 09:38:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=12034</see_also>
    
    <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=12209</see_also>
    
    <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=12329</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="California Sullivan">california.l.sullivan</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>akuster</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>juro.bystricky</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>mark.asselstine</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>stephano</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>77352</commentid>
    <comment_count>0</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-10-04 19:48:35 +0000</bug_when>
    <thetext>https://autobuilder.yocto.io/builders/nightly-ppc/builds/527/steps/Running%20Sanity%20Tests/logs/stdio

NOTE: core-image-sato-1.0-r0 do_testimage: Target didn&apos;t reached login boot in 1500 seconds
NOTE: core-image-sato-1.0-r0 do_testimage: Last 25 lines of text:
[    6.733933] IP-Config: Complete:
[    6.744307]      device=eth0, hwaddr=52:54:00:12:34:08, ipaddr=192.168.7.8, mask=255.255.255.0, gw=192.168.7.7
[    6.780736]      host=192.168.7.8, domain=, nis-domain=(none)
[    6.790759]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[    6.830303] md: Waiting for all devices to be available before autodetect
[    6.854236] md: If you don&apos;t use raid, use raid=noautodetect
[    6.875967] md: Autodetecting RAID arrays.
[    6.910834] md: autorun ...
[    6.942804] usb 1-1: new full-speed USB device number 2 using ohci-pci
[    6.961167] md: ... autorun DONE.
[    6.994619] EXT4-fs (vda): couldn&apos;t mount as ext3 due to feature incompatibilities
[    7.037992] EXT4-fs (vda): couldn&apos;t mount as ext2 due to feature incompatibilities
[    7.129663] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[    7.143668] VFS: Mounted root (ext4 filesystem) on device 253:0.
[    7.178990] devtmpfs: mounted
[    7.259574] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:0d.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2
[    7.311105] Freeing unused kernel memory: 476K
[    7.311142] This architecture does not have kernel memory protection.
[    7.374244] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:0d.0-1/input0

INIT: version 2.88 booting

Starting udev
[    9.453883] udevd[105]: starting version 3.2.2
[    9.618726] udevd[106]: starting eudev-3.2.2
NOTE: core-image-sato-1.0-r0 do_testimage: Check full boot log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testimage/qemu_boot_log.20171003170427
WARNING: core-image-sato-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201710031729_qemu

Interestingly, the core-image-sato-sdk version booted and ran successfully:
core-image-sato-sdk - OK - All required tests passed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77392</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-10-05 15:27:59 +0000</bug_when>
    <thetext>Added Bruce.
Joshua to see if it&apos;s reproducible on autobuilder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77393</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-10-05 15:28:12 +0000</bug_when>
    <thetext>Test build on opensuse423 started:
https://autobuilder.yocto.io/builders/nightly-ppc/builds/528</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77541</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-10-12 13:21:50 +0000</bug_when>
    <thetext>Test build succeeded, changing status to have priority re-assessed during triage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77586</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-10-14 01:50:20 +0000</bug_when>
    <thetext>think this failed again.

nightly 590 - ross/rocko d9f4b79ec76b4e798b381c9546a93b8219638ab0
https://autobuilder.yocto.io/builders/nightly-ppc/builds/537/steps/Running%20Sanity%20Tests/logs/stdio

IT: version 2.88 booting

[    6.008438] usb 1-1: new full-speed USB device number 2 using ohci-pci
[    6.259718] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:0d.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2
[    6.300951] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:0d.0-1/input0
Starting udev
[    6.483591] udevd[102]: starting version 3.2.2
[    6.557724] udevd[103]: starting eudev-3.2.2
[    7.289049] EXT4-fs (vda): re-mounted. Opts: data=ordered
hwclock: can&apos;t open &apos;/dev/misc/rtc&apos;: No such file or directory


INIT: Entering runlevel: 5


Configuring network interfaces... ip: RTNETLINK answers: File exists

hwclock: can&apos;t open &apos;/dev/misc/rtc&apos;: No such file or directory

Starting syslogd/klogd: done

NOTE: core-image-minimal-1.0-r0 do_testimage: Check full boot log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20171013141438
WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201710131439_qemu
NOTE: core-image-minimal-1.0-r0 do_testimage: Stopping logging thread
NOTE: core-image-minimal-1.0-r0 do_testimage: Stop event received
NOTE: core-image-minimal-1.0-r0 do_testimage: Tearing down logging thread
NOTE: core-image-minimal-1.0-r0 do_testimage: Sending SIGTERM to runqemu
ERROR: core-image-minimal-1.0-r0 do_testimage: testimage received SIGTERM, shutting down...
ERROR: core-image-minimal-1.0-r0 do_testimage: core-image-minimal - FAILED - tests were interrupted during execution
ERROR: core-image-minimal-1.0-r0 do_testimage: Function failed: do_testimage
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.48002
NOTE: recipe core-image-minimal-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code &apos;1&apos;
NOTE: core-image-sato-sdk-1.0-r0 do_testimage:  ... OK (15549.088s)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77589</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-10-14 01:52:51 +0000</bug_when>
    <thetext>ppc-lsb which should be the LTSI kernel (4.9)

nightly 590 - ross/rocko d9f4b79ec76b4e798b381c9546a93b8219638ab0

https://autobuilder.yocto.io/builders/nightly-ppc-lsb/builds/525/steps/Running%20Sanity%20Tests/logs/stdio


NOTE: recipe core-image-lsb-1.0-r0: task do_testimage: Succeeded
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Target didn&apos;t reached login boot in 1500 seconds
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Last 25 lines of text:
starting 8 nfsd kernel threads: [   27.773471] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   27.774542] NFSD: starting 90-second grace period (net c0ac4728)
done

starting mountd: done

Starting system log daemon...0

Starting kernel log daemon...0

Starting internet superserver: xinetd.

 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon

Starting Telephony daemon

Starting random number generator daemon.

No makedumpfile found.

Starting Lighttpd Web Server: lighttpd.

Starting crond: OK

Starting tcf-agent: OK
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Check full boot log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/qemu_boot_log.20171013143811
WARNING: core-image-lsb-sdk-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201710131503_qemu
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Stopping logging thread
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Stop event received
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Tearing down logging thread
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Sending SIGTERM to runqemu
ERROR: core-image-lsb-sdk-1.0-r0 do_testimage: testimage received SIGTERM, shutting down...
ERROR: core-image-lsb-sdk-1.0-r0 do_testimage: core-image-lsb-sdk - FAILED - tests were interrupted during execution
ERROR: core-image-lsb-sdk-1.0-r0 do_testimage: Function failed: do_testimage
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/temp/log.do_testimage.49217
NOTE: recipe core-image-lsb-sdk-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/recipes-extended/images/core-image-lsb-sdk.bb:do_testimage) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 564 tasks of which 562 didn&apos;t need to be rerun and 1 failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77590</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-10-14 01:56:47 +0000</bug_when>
    <thetext>now failed on x86

nightly 588 - master da05a01423a60a23cd1073eb0ad3776e5bf4f2a8
https://autobuilder.yocto.io/builders/nightly-x86-64/builds/538/steps/Running%20Sanity%20Tests/logs/stdio

[    0.000000] Memory: 239224K/261608K available (9365K kernel code, 1201K rwdata, 2872K rodata, 1440K init, 480K bss, 22384K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 37136 entries in 146 pages
[    0.001000] Preemptible hierarchical RCU implementation.
[    0.001000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.001000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.001000] NR_IRQS:4352 nr_irqs:256 16
[    0.001000] Console: colour VGA+ 80x25
[    0.001000] console [tty1] enabled
[    0.001000] console [ttyS0] enabled
[    0.001000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.001009] tsc: Detected 2599.996 MHz processor
[    0.001679] Calibrating delay loop (skipped) preset value.. 5199.99 BogoMIPS (lpj=2599996)
[    0.002004] pid_max: default: 32768 minimum: 301
[    0.003015] ACPI: Core revision 20170303
[    0.004853] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.005039] Security Framework initialized
[    0.006014] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.007005] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.008261] mce: CPU supports 10 MCE banks
[    0.009037] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.009730] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.026860] Freeing SMP alternatives memory: 36K
[    0.028450] smpboot: Max logical packages: 1
[    0.029669] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Check full boot log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato-sdk/1.0-r0/testimage/qemu_boot_log.20171009100532
WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201710091030_qemu
NOTE: core-image-sato-1.0-r0 do_testimage: Target didn&apos;t reached login boot in 1500 seconds
NOTE: core-image-sato-1.0-r0 do_testimage: Last 25 lines of text:
[    0.000000] Memory: 239224K/261608K available (9365K kernel code, 1201K rwdata, 2872K rodata, 1440K init, 480K bss, 22384K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 37136 entries in 146 pages
[    0.001000] Preemptible hierarchical RCU implementation.
[    0.001000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.001000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.001000] NR_IRQS:4352 nr_irqs:256 16
[    0.001000] Console: colour VGA+ 80x25
[    0.001000] console [tty1] enabled
[    0.001000] console [ttyS0] enabled
[    0.001000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.001004] tsc: Detected 2599.996 MHz processor
[    0.001454] Calibrating delay loop (skipped) preset value.. 5199.99 BogoMIPS (lpj=2599996)
[    0.002003] pid_max: default: 32768 minimum: 301
[    0.002443] ACPI: Core revision 20170303
[    0.003601] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.004027] Security Framework initialized
[    0.004460] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.005003] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.006151] mce: CPU supports 10 MCE banks
[    0.006615] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.007003] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.020769] Freeing SMP alternatives memory: 36K
[    0.021657] smpboot: Max logical packages: 1
[    0.022531] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
NOTE: core-image-sato-1.0-r0 do_testimage: Check full boot log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/testimage/qemu_boot_log.20171009100532
WARNING: core-image-sato-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201710091030_qemu
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Stopping logging thread
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Stop event received
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Tearing down logging thread
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: Sending SIGTERM to runqemu
NOTE: core-image-sato-1.0-r0 do_testimage: Stopping logging thread
NOTE: core-image-sato-1.0-r0 do_testimage: Stop event received
NOTE: core-image-sato-1.0-r0 do_testimage: Tearing down logging thread
NOTE: core-image-sato-1.0-r0 do_testimage: Sending SIGTERM to runqemu
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: testimage received SIGTERM, shutting down...
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: core-image-sato-sdk - FAILED - tests were interrupted during execution
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: Function failed: do_testimage
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_testimage.9385
NOTE: recipe core-image-sato-sdk-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage) failed with exit code &apos;1&apos;
ERROR: core-image-sato-1.0-r0 do_testimage: testimage received SIGTERM, shutting down...
ERROR: core-image-sato-1.0-r0 do_testimage: core-image-sato - FAILED - tests were interrupted during execution
ERROR: core-image-sato-1.0-r0 do_testimage: Function failed: do_testimage
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_testimage.9386
NOTE: recipe core-image-sato-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/meta/recipes-sato/images/core-image-sato.bb:do_testimage) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 565 tasks of which 562 didn&apos;t need to be rerun and 2 failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78114</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-11-09 16:05:01 +0000</bug_when>
    <thetext>Comment 6 is the tumbleweed builder issue, the others look ppc related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78119</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-11-09 16:11:36 +0000</bug_when>
    <thetext>*** Bug 12306 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78140</commentid>
    <comment_count>9</comment_count>
    <who name="Mark">mark.asselstine</who>
    <bug_when>2017-11-10 15:06:01 +0000</bug_when>
    <thetext>I was asked to take a look at this and having been burnt frequently enough with test harnesses I think there is some data we need to collect before continuing. The code has two escape routes &quot;while time.time() &lt; endtime and not stopread:&quot;, yet the error msg is only for one of these (ie. the failure will always appear as a timeout issue in the logs). The log is also pretty sparse as far as timestamps so I will add some to validate that we are getting what we expect. Once we get these changes merged I think we will be in a better position to diagnose the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78249</commentid>
    <comment_count>10</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-11-16 16:02:49 +0000</bug_when>
    <thetext>*** Bug 12350 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78250</commentid>
    <comment_count>11</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-11-16 16:04:05 +0000</bug_when>
    <thetext>I&apos;ve been putting info into https://wiki.yoctoproject.org/wiki/Qemuppc_Boot_Hangs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78739</commentid>
    <comment_count>12</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-12-19 09:38:34 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2713f71a2611c13e801c7077e2803096ee23237d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>