Bug 4196

Summary: [Autobuilder] 'shutdown' failure in sanity tests on nightly-x86-lsb
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Bogdan Marinescu <bogdan.a.marinescu>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, meta.mr.watcher, meta.watcher, richard.purdie, ross.burton
Version: 1.3.1   
Target Milestone: 1.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Bogdan Marinescu 2013-04-04 11:41:32 UTC
http://autobuilder.yoctoproject.org:8011/builders/nightly-x86-lsb/builds/91/steps/Running%20Sanity%20Tests_1/logs/stdio

| Are you sure you want to continue connecting (yes/no)? yes
| Warning: Permanently added '192.168.7.2' (RSA) to the list of known hosts.
| root@192.168.7.2's password:
| Test_Info: Shutdown Test FAIL
| killing 9410
| killing 6741
| NOTE: Test Result for qemux86 core-image-sato
| NOTE: Testcase PASS FAIL NORESULT
| NOTE: SSH 1 0 0
| NOTE: SCP 1 0 0
| NOTE: dmesg 1 0 0
| NOTE: zypper_help 1 0 0
| NOTE: zypper_search 1 0 0
| NOTE: rpm_query 1 0 0
| NOTE: connman 1 0 0
| NOTE: shutdown 0 1 0
| DEBUG: Python function do_qemuimagetest_standalone finished
| ERROR: Function failed: Some testcases fail, pls. check test result and test log!!!
ERROR: Task 1 (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-x86-lsb/build/meta/recipes-sato/images/core-image-sato.bb, do_qemuimagetest_standalone) failed with exit code '1'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Comment 1 Ross Burton 2013-04-04 17:05:29 UTC
Richard had a hunch that this was fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e6149ec6c4c14d3a939022cdc29ac94dced836dd, so I've merged that to danny-next.
Comment 2 Ross Burton 2013-04-30 12:04:22 UTC
Re-opening - that patch was x86_64-specific and we saw it again last night:

http://autobuilder.yoctoproject.org:8011/builders/nightly-x86/builds/124/steps/Running%20Sanity%20Tests/logs/stdio


CCing Darren for any insight as he solved this on x86-64.  Is the same patch good for x86, or is it x86-64 specific?
Comment 3 Darren Hart 2013-05-01 18:39:21 UTC
We applied that patch to x86_64 only because that was the only place we saw the failure. It should apply fine to x86 as well. However, ab06 is running a 3.8 kernel, as opposed to the 2.6.37 kernel running on the previous ABs exhibiting the failure on x86_64.  It's possible this bug is still around and just really hard to hit on x86 and new kernels (fun).

How reproducible is this?
Comment 4 Ross Burton 2013-05-03 10:16:41 UTC
It's not very reproducable, this is the first one I've noticed for a while.
Comment 5 Ross Burton 2013-05-07 15:56:54 UTC
Confirmed with Darren that it's the paravirt code that's crashing.  Patch sent to master to disable PV on qemux86 too.
Comment 6 Ross Burton 2013-05-08 11:37:22 UTC
This has been merged to all branches now.