Wind River Support Network

HomeDefectsLIN6-103
Fixed

LIN6-103 : Bitbake failures on overloaded systems with older kernels.

Created: Nov 15, 2013    Updated: Apr 11, 2018
Resolved Date: Dec 2, 2013
Found In Version: 6.0
Fix Version: 6.0.0.1
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Docs

Description

 qemumips and qemuarma9 configure failed on SLED-11.3-64. Does this defect is similar with WIND00443008?  WIND00443008 has been fixed on lx26, but this defect still can be observed on lx26.

If the server load is high, this issue occurs. Please see log as below:
http://pek-rth-vm1.wrs.com/publiclog/wrl60/buildsystem/ptest/SLED-11.3-64bit/LX26/qemumips_standard_glibc-small/configure.log
http://pek-rth-vm1.wrs.com/publiclog/wrl60/buildsystem/ptest/SLED-11.3-64bit/LX26/qemuarma9_standard_glibc-std/configure.log

/buildarea1/product/WRL60_LX26/wrlinux-6/wrlinux/configure --enable-board=qemumips --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=8 --with-template=feature/ptest --enable-jobs=8 --with-sstate-dir=/buildarea1/build/SSTATE_CACHE
##

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/bitbake from /buildarea1/product/WRL60_LX26/wrlinux-6/git/bitbake (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/bitbake/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/oe-core from /buildarea1/product/WRL60_LX26/wrlinux-6/git/oe-core (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/oe-core/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/meta-networking from /buildarea1/product/WRL60_LX26/wrlinux-6/git/meta-networking (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/meta-networking/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/meta-webserver from /buildarea1/product/WRL60_LX26/wrlinux-6/git/meta-webserver (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/meta-webserver/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wrlinux from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wrlinux (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wrlinux/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wrlcompat from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wrlcompat (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wrlcompat/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-kernel from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-kernel (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-kernel/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-bsps/qemumips from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-bsps/qemumips (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-bsps/qemumips/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-base from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-base (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-base/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-fixes from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-fixes (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-fixes/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-tools-profile from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-tools-profile (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-tools-profile/.git/

Cloning /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-tools-debug from /buildarea1/product/WRL60_LX26/wrlinux-6/layers/wr-tools-debug (LB26_6.0)
Initialized empty Git repository in /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/layers/wr-tools-debug/.git/

Generating bitbake config

WARNING: Your build is configured to use a PR Server and you appear to be using
a shared sstate (or LDAT) cache.  If this cache is fed by any other builder
that is not using the same PR Server, you will experience inconsistent build
results.  It is strongly recommended that you only use a shared sstate cache if
you are also sharing the same PR server for all builds.

Please consult README.pr_service for more information on setting up and
maintaining a shared PR Server and sstate mirror with Wind River Linux.

Substituting scripts and Makefiles
config.status.in is NEWER, copy and re-exec
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/Makefile
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/fakestart.sh
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/user-nfs.sh
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/wrl-env-internal
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/wrl-env-setup.mk
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/autoconf.mk
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/quiltPatterns.txt
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/scripts/export-layer.sh
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/build/Makefile
Updating: /buildarea1/build/11151628-ptest-ptest_qemubsps_LX26/combo3-qemumips-standard-glibc-small/build-tools/Makefile
Installing prebuilt build tools.
Generating wrlinux compatibility config
Initial bitbake parse/config failed, moving bitbake_build/conf/local.conf to
  bitbake_build/conf/local.conf.failed, in case you want to manually debug.
Please correct your configure settings and try again.

It seems that failed on the following point, please have a look at it..

        (. scripts/wrl-env-internal $bitbake_build; bitbake -p)
        if [ $? != 0 ]; then
                echo "Initial bitbake parse/config failed, moving bitbake_build/conf/local.conf to"
                echo "  bitbake_build/conf/local.conf.failed, in case you want to manually debug."
                echo "Please correct your configure settings and try again."
                mv $local_conf $local_conf.failed
                abort
        fi

Workaround

When you build the file system under load, the cache fills up, but can take up to two minutes to flush to disk. This is related to older kernels, and causes random BitBake failures on Red Hat Enterprise 5.x, CentOS 5.x, and SUSE 11.3.

You can try to reduce the amount of parallelism by adjusting the configure option values for --enable-jobs= and --enable-parallel-pkgbuilds=, but upgrading the development host is the recommended solution to resolve the issue

Steps to Reproduce

 1. /buildarea1/product/WRL60_LX26/wrlinux-6/wrlinux/configure --enable-board=qemumips --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=8 --with-template=feature/ptest --enable-jobs=8 --with-sstate-dir=/buildarea1/build/SSTATE_CACHE

Other Downloads


Live chat
Online