Bug 8568

Summary: [p1022ds] Two strange core dump files in rootfs
Product: [Build System, Metadata & Runtime] BSPs Reporter: Yi Zhao <yi.zhao>
Component: bsps-meta-fsl-ppcAssignee: Zhenhua Luo <zhenhua.luo>
Status: RESOLVED WORKSFORME QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, b19537, b40290, ke.zou, ross.burton, sgw, yi.zhao, zhangle.yang
Version: 2.0   
Target Milestone: 2.1   
Hardware: Other   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2015-10-26 07:26:53 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc2/machines/p1022ds/

Git rev:
poky: jethro/505a82673ac2487df5ea343a6422c2fc47018831
meta-fsl-ppc: jethro/84263d57fcada761a350015ce4d77fb91af54bf8

Download core-image-sato-sdk.tar.gz from above link and extract it. There are 2 strange core dump files in rootfs:
#####################
$ tar xzf core-image-sato-sdk-p1022ds-20151022011116.rootfs.tar.gz
$
$ ls *.core
qemu_gtk-query-immodules-2.0_20151022-030810_25726.core  qemu_pango-querymodules_20151022-030809_25561.core
$
####################
Comment 1 Ross Burton 2015-10-28 12:17:03 UTC
Oh dear.  qemu was segfaulting during the rootfs-time postinsts.
Comment 2 Chunrong Guo 2015-10-29 06:34:22 UTC
the issue do not be reproduced.

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc-poky-linux-gnuspe"
MACHINE           = "p1022ds"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0"
TUNE_FEATURES     = "m32 spe ppce500v2"
TARGET_FPU        = "ppc-efd"
meta              
meta-yocto        
meta-yocto-bsp    = "jethro:8a0d8eee432924433c3e70198aaeab3161476c5f"
meta-fsl-ppc      = "jethro:84263d57fcada761a350015ce4d77fb91af54bf8


tar zxvf core-image-sato-sdk-p1022ds.tar.gz 
ls 

bin  boot  core-image-sato-sdk-p1022ds.tar.gz  dev  etc  home  lib  media  mnt  opt  proc  run  sbin  sys  tmp  usr  var


theare are no  core dump file in rootfs.
Comment 3 Saul Wold 2015-10-29 14:41:20 UTC
Is this reproducible at all?  If so can you
Comment 4 Zhenhua Luo 2015-11-03 10:29:09 UTC
I did a build with the following configuration, the issue can't be reproduced. 
Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc-poky-linux-gnuspe"
MACHINE           = "p1022ds"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0"
TUNE_FEATURES     = "m32 spe ppce500v2"
TARGET_FPU        = "ppc-efd"
meta              
meta-yocto        
meta-yocto-bsp    = "jethro:e1aa897beb33171bc902207b98c8f666b9e97ad3"
meta-fsl-ppc      = "jethro:84263d57fcada761a350015ce4d77fb91af54bf8"

I checked the build logs in Yocto autobuilder, cache build is done, what I did is non-cache build, this is the only difference that I can observe. 

So the issue might be caused by old caches.
Comment 5 Yi Zhao 2015-11-06 04:52:45 UTC
This two files still exists in 2.0 rc3 rootfs:
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc3/machines/p1022ds/
Comment 6 Stephen K Jolley 2015-11-09 19:17:30 UTC
It appears the info has been supplied.  Please place back into NEEDINFO if you have another question.

Thanks,
Comment 7 Zhenhua Luo 2015-11-24 02:39:44 UTC
Can you have a try to build the rootfs image to check if the issue can be reproduced? We can't reproduce the problem, to do further investigation, please share the steps which can be used by us to reproduce the issue. Thanks.
Comment 8 Yi Zhao 2015-11-24 09:29:13 UTC
(In reply to comment #7)
> Can you have a try to build the rootfs image to check if the issue can be
> reproduced? We can't reproduce the problem, to do further investigation,
> please share the steps which can be used by us to reproduce the issue.
> Thanks.

I can't reproduce it in my local. The issue only happens on the yocto autobuilder: https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-ppc
Comment 9 Zhenhua Luo 2015-12-08 02:29:24 UTC
The issue is not reproducible.