Wind River Support Network

HomeDefectsSCP7-83
Not to be fixed

SCP7-83 : [wraxl] wrlinux-image-secure-platform failed (do_bootimg) of qemux86_64_bootimg_sec

Created: Mar 30, 2015    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

wrlinux-image-secure-platform failed (do_bootimg) of qemux86_64.

Build in fedora20_64 x86_64
Branch being built is WRLINUX_7_0_HEAD
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
     --enable-board=qemux86_64 --enable-rootfs=secure-platform --enable-kernel=secure --with-init=sysvinit --enable-bootimage=cpio,ext2,ext3,ext4,hdd,iso,jffs2,tar.gz,tar.bz2,ubifs,cpio.gz.u-boot,cpio.bz2.u-boot,cpio.lzma.u-boot,cpio.u-boot,ext2.gz.u-boot,ext2.bz2.u-boot,ext2.lzma.u-boot,ext2.u-boot,ext3.gz.u-boot,ext3.bz2.u-boot,ext3.lzma.u-boot,ext3.u-boot,ext4.gz.u-boot,ext4.bz2.u-boot,ext4.lzma.u-boot,ext4.u-boot --enable-unsupported-host=i686 --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-patchresolve=noop --enable-buildstats=yes

[2015-03-30 00:28:13.822337168-04:00] Build Configuration:
[2015-03-30 00:28:13.823608786-04:00] BB_VERSION        = "1.24.0"
[2015-03-30 00:28:13.825363256-04:00] BUILD_SYS         = "x86_64-linux"
[2015-03-30 00:28:13.826522829-04:00] NATIVELSBSTRING   = "Fedora-20"
[2015-03-30 00:28:13.830292999-04:00] DISTRO            = "wrlinux-secure"
[2015-03-30 00:28:13.831105145-04:00] DISTRO_VERSION    = "7.0.0.0"
[2015-03-30 00:28:13.832286246-04:00] MACHINE           = "qemux86-64"
[2015-03-30 00:28:13.834689801-04:00] DEFAULTTUNE       = "core2-64"
[2015-03-30 00:28:13.837510283-04:00] TARGET_SYS        = "x86_64-wrs-linux"
[2015-03-30 00:28:13.838554839-04:00] TUNE_FEATURES     = "m64 core2"
[2015-03-30 00:28:13.839957454-04:00] TARGET_FPU        = ""
[2015-03-30 00:28:13.843583047-04:00] lib32:  DEFAULTTUNE       = "x86"
[2015-03-30 00:28:13.844766139-04:00] lib32:  TARGET_SYS        = "i586-wrsmllib32-linux"
[2015-03-30 00:28:13.845905982-04:00] lib32:  TUNE_FEATURES     = "m32"
[2015-03-30 00:28:13.847794997-04:00] wrlinux           = "WRLINUX_7_0_HEAD:d6e87e926d613d84ee78eb6e5756a1d5ce756be3"
[2015-03-30 00:28:13.850311294-04:00] wrlcompat         = "WRLINUX_7_0_HEAD:f7cb164151d59ba53d898193d3870da8ecbae76e"
[2015-03-30 00:28:13.851826753-04:00] wr-sdk-toolchain  = "WRLINUX_7_0_HEAD:c379ecfae48993e0fd5c1324014008edf4913918"
[2015-03-30 00:28:13.854446718-04:00] wr-tcwrappers     = "WRLINUX_7_0_HEAD:2ae786c4af807f3ce58358b878525a0b02cae3e4"
[2015-03-30 00:28:13.855482659-04:00] meta              = "wr-7.0-20141118:8c6e5a09659ae0896acfb36801a883ae871e2a6c"
[2015-03-30 00:28:13.857202116-04:00] oe-core-dl-1.7    = "WRLINUX_7_0_HEAD:c90db55d1947e308e3538616ea0588d3f93fcf6d"
[2015-03-30 00:28:13.863624013-04:00] meta-downloads    = "WRLINUX_7_0_HEAD:0927ed5c5684ffd425a7124ff4aacad42073b842"
[2015-03-30 00:28:13.866021350-04:00] wr-kernel         = "WRLINUX_7_0_HEAD:5df170e9f14c4f69f98f731a452e073a3f5db3ba"
[2015-03-30 00:28:13.871349392-04:00] qemux86-64        = "WRLINUX_7_0_HEAD:15f6fa4ddfa5c5d81c4a52272f31c31d92ddf28e"
[2015-03-30 00:28:13.872560760-04:00] wr-base           = "WRLINUX_7_0_HEAD:7b5d2146f07fa4f9ea04a91d965707a1354c8527"
[2015-03-30 00:28:13.886798684-04:00] wr-fixes          = "WRLINUX_7_0_HEAD:687272acd4cb63bd47f4505793b4697f33bd9d02"
[2015-03-30 00:28:13.891015471-04:00] wr-tools-profile  = "WRLINUX_7_0_HEAD:c2e531f36ad41ef482034f679e635a83ae5a877e"
[2015-03-30 00:28:13.892809676-04:00] wr-tools-debug    = "WRLINUX_7_0_HEAD:0a805b4aa68564c33462a1bba2598ef2b13df604"
[2015-03-30 00:28:13.895701051-04:00] meta-networking   = "wr-7.0-20141118:2ee416d7e91f03c461b444857bbfa031fd2b639a"
[2015-03-30 00:28:13.898279239-04:00] meta-gnome-subset = "wr-7.0-20141118:ea11babea7de95c98efd7e45e10ea782657b494c"
[2015-03-30 00:28:13.902645137-04:00] meta-oe-subset    = "wr-7.0-20141118:eed485006824c808cd69861a33be75075642602f"
[2015-03-30 00:28:13.910421657-04:00] meta-python-subset = "wr-7.0-20141118:4f1eab38f8e603de1777b7cd3db0534fd1400997"
[2015-03-30 00:28:13.918391906-04:00] meta-perl-subset  = "wr-7.0-20141118:80e6f878aae0054e7cf00d166654f3a19ea14db8"
[2015-03-30 00:28:13.922370496-04:00] meta-webserver    = "wr-7.0-20141118:a9683e207867cc648588c45ca3e7a70a86d948bb"
[2015-03-30 00:28:13.927170209-04:00] wr-prebuilts      = "WRLINUX_7_0_HEAD:152e4960d828a1daefdccb0b31b0917178161b3e"
[2015-03-30 00:28:13.930480049-04:00] meta-selinux      = "wr-7.0-20141118:845a210849d9ec863494c6ac28743f38870555ab"
[2015-03-30 00:28:13.937761400-04:00] wr-security       = "WRLINUX_7_0_HEAD:0787abb6332a96139b550b5bf21178b28c68744e"
[2015-03-30 00:28:13.938828278-04:00] secure            = "WRLINUX_7_0_HEAD:7f81e081bac6b135626194cb438a93733a061f5a"
[2015-03-30 00:28:13.950728325-04:00] wr-security-packages = "WRLINUX_7_0_HEAD:e2ffb9873af63f0b1c3ebf50d8b35feb3e602ce4"
[2015-03-30 00:28:13.951751688-04:00] extra-downloads   
[2015-03-30 00:28:13.953184591-04:00] local             = "<unknown>:<unknown>"
[2015-03-30 00:28:13.955240493-04:00] 
[2015-03-30 00:28:13.956365825-04:00] NOTE: Preparing runqueue
Failed step: do_bootimg in file: /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/log.do_bootimg.84512

Here is some context from around the error:
 --------------------------------------------------
[2015-03-30 01:44:13.058356330-04:00] NOTE: recipe syslinux-6.01-r0: task do_package_write_rpm: Succeeded
[2015-03-30 01:44:13.061732119-04:00] NOTE: Running noexec task 5326 of 5328 (ID: 398, /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/layers/oe-core/meta/recipes-devtools/syslinux/syslinux_6.01.bb, do_build)
[2015-03-30 01:44:13.463172557-04:00] NOTE: recipe wrlinux-image-secure-platform-1.0-r0: task do_bootimg: Started
[2015-03-30 01:44:17.543499439-04:00] ERROR: Function failed: build_hddimg (log file is located at /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/log.do_bootimg.84512)
[2015-03-30 01:44:19.440688002-04:00] ERROR: Logfile of failure stored in: /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/log.do_bootimg.84512
[2015-03-30 01:44:19.480789988-04:00] Log data follows:
[2015-03-30 01:44:19.618733895-04:00] | DEBUG: Executing python function do_bootimg
[2015-03-30 01:44:19.700429483-04:00] | DEBUG: Executing python function build_syslinux_cfg
--
[2015-03-30 01:44:19.746671973-04:00] | DEBUG: Python function do_bootimg finished
[2015-03-30 01:44:19.750271296-04:00] | ERROR: Function failed: build_hddimg (log file is located at /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/log.do_bootimg.84512)
[2015-03-30 01:44:19.758394531-04:00] NOTE: recipe wrlinux-image-secure-platform-1.0-r0: task do_bootimg: Failed
[2015-03-30 01:44:19.923296532-04:00] ERROR: Task 10 (/home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/layers/wr-secure/secure/recipes-base/images/wrlinux-image-secure-platform.bb, do_bootimg) failed with exit code '1'
[2015-03-30 01:44:35.234379177-04:00] NOTE: Tasks Summary: Attempted 5326 tasks of which 107 didn't need to be rerun and 1 failed.
[2015-03-30 01:44:35.914341765-04:00] NOTE: Build completion summary:
[2015-03-30 01:44:35.915933680-04:00] NOTE:   From shared state: 0
 --------------------------------------------------

Here is the tail of log.do_bootimg.84512:
 --------------------------------------------------
DEBUG: Executing python function do_bootimg
DEBUG: Executing python function build_syslinux_cfg
DEBUG: Python function build_syslinux_cfg finished
DEBUG: Executing shell function build_hddimg
mkdosfs 2.11 (12 Mar 2005)
Can't open /proc/84574/fd/3: Permission denied
Cannot initialize 'S:'
Bad target s:/ldlinux.sys
syslinux: failed to create ldlinux.sys
WARNING: /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/run.do_bootimg.build_hddimg.84512:1 exit 1 from
  syslinux /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/deploy/images/qemux86-64/wrlinux-image-secure-platform-qemux86-64-20150330042757.hddimg
DEBUG: Python function do_bootimg finished
ERROR: Function failed: build_hddimg (log file is located at /home/wrlbuild/builds/builds-2015-03-30-002503-aqoc/qemux86_64_bootimg_sec/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-secure-platform/1.0-r0/temp/do_bootimg/log.do_bootimg.84512)
 --------------------------------------------------
 --------------------------------------
 
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=qemux86_64_bootimg_sec-wrlinux-image-secure-platform-2015-03-30-014517
To reproduce this failure with a local docker instance, see wraxl docs:
  http://ala-git.wrs.com/cgi-bin/cgit.cgi/lpd-ops/wr-buildscripts.git/tree/README.md
---------
Host: ala-blade49
Docker Version: Docker version 1.5.0, build a8a31ef


Steps to Reproduce

1 configure --enable-board=qemux86_64 --enable-rootfs=secure-platform --enable-kernel=secure --with-init=sysvinit --enable-bootimage=cpio,ext2,ext3,ext4,hdd,iso,jffs2,tar.gz,tar.bz2,ubifs,cpio.gz.u-boot,cpio.bz2.u-boot,cpio.lzma.u-boot,cpio.u-boot,ext2.gz.u-boot,ext2.bz2.u-boot,ext2.lzma.u-boot,ext2.u-boot,ext3.gz.u-boot,ext3.bz2.u-boot,ext3.lzma.u-boot,ext3.u-boot,ext4.gz.u-boot,ext4.bz2.u-boot,ext4.lzma.u-boot,ext4.u-boot --enable-unsupported-host=i686 --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-patchresolve=noop --enable-buildstats=yes

2 make fs
Live chat
Online