Wind River Support Network

HomeDefectsLINCD-836
Fixed

LINCD-836 : OV: wrlinux-image-ovp-kvm-1.0/hddimg/rootfs.img rootfs size is greather than or equal to 4GB

Created: Jan 11, 2020    Updated: Feb 7, 2020
Resolved Date: Jan 14, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.6.0, 10.20.9.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

NOTE: recipe wrlinux-image-ovp-kvm-1.0-r0: task do_image_tar: Succeeded
NOTE: recipe wrlinux-image-ovp-kvm-1.0-r0: task do_image_ext4: Succeeded
NOTE: Running task 7736 of 7740 (/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/wrlinux/wrlinux-ovp/recipes-base/images/wrlinux-image-ovp-kvm.bb:do_bootimg)
NOTE: recipe wrlinux-image-ovp-kvm-1.0-r0: task do_bootimg: Started
ERROR: wrlinux-image-ovp-kvm-1.0-r0 do_bootimg: /data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-ovp-kvm/1.0-r0/wrlinux-image-ovp-kvm-1.0/hddimg/rootfs.img rootfs size is greather than or equal to 4GB

ERROR: wrlinux-image-ovp-kvm-1.0-r0 do_bootimg: and this doesn't work on a FAT filesystem. You can either:
ERROR: wrlinux-image-ovp-kvm-1.0-r0 do_bootimg: 1) Reduce the size of rootfs.img, or,
ERROR: wrlinux-image-ovp-kvm-1.0-r0 do_bootimg: 2) Use wic, vmdk or vdi instead of hddimg

ERROR: wrlinux-image-ovp-kvm-1.0-r0 do_bootimg: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_bootimg(d)
     0003:
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/meta/classes/image-live.bbclass', lineno: 257, function: do_bootimg
     0253:    if d.getVar("PCBIOS") == "1":
     0254:        bb.build.exec_func('build_syslinux_cfg', d)
     0255:    if d.getVar("EFI") == "1":
     0256:        bb.build.exec_func('build_efi_cfg', d)
 *** 0257:    bb.build.exec_func('build_hddimg', d)
     0258:    bb.build.exec_func('build_iso', d)
     0259:    bb.build.exec_func('create_symlinks', d)
     0260:}
     0261:do_bootimg[subimages] = "hddimg iso"
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/bitbake/lib/bb/build.py', lineno: 250, function: exec_func
     0246:    with bb.utils.fileslocked(lockfiles):
     0247:        if ispython:
     0248:            exec_func_python(func, d, runfile, cwd=adir)
     0249:        else:
 *** 0250:            exec_func_shell(func, d, runfile, cwd=adir)
     0251:
     0252:    try:
     0253:        curcwd = os.getcwd()
     0254:    except:
File: '/usr/lib/python3.5/contextlib.py', lineno: 77, function: __exit__
     0073:                # Need to force instantiation so we can reliably
     0074:                # tell if we get the same exception back
     0075:                value = type()
     0076:            try:
 *** 0077:                self.gen.throw(type, value, traceback)
     0078:                raise RuntimeError("generator didn't stop after throw()")
     0079:            except StopIteration as exc:
     0080:                # Suppress StopIteration *unless* it's the same exception that
     0081:                # was passed to throw().  This prevents a StopIteration
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/bitbake/lib/bb/utils.py', lineno: 432, function: fileslocked
     0428:        for lockfile in files:
     0429:            locks.append(bb.utils.lockfile(lockfile))
     0430:
     0431:    try:


 *** 0432:        yield
     0433:    finally:
     0434:        for lock in locks:
     0435:            bb.utils.unlockfile(lock)
     0436:
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/bitbake/lib/bb/build.py', lineno: 250, function: exec_func
     0246:    with bb.utils.fileslocked(lockfiles):
     0247:        if ispython:
     0248:            exec_func_python(func, d, runfile, cwd=adir)
     0249:        else:
 *** 0250:            exec_func_shell(func, d, runfile, cwd=adir)
     0251:
     0252:    try:
     0253:        curcwd = os.getcwd()
     0254:    except:
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/bitbake/lib/bb/build.py', lineno: 451, function: exec_func_shell
     0447:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0448:        try:
     0449:            bb.debug(2, "Executing shell function %s" % func)
     0450:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0451:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0452:        finally:
     0453:            os.unlink(fifopath)
     0454:
     0455:    bb.debug(2, "Shell function %s finished" % func)
File: '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/oe-core/bitbake/lib/bb/process.py', lineno: 182, function: run
     0178:        if not stderr is None:
     0179:            stderr = stderr.decode("utf-8")
     0180:
     0181:    if pipe.returncode != 0:
 *** 0182:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0183:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-ovp-kvm/1.0-r0/temp/run.build_hddimg.135756' failed with exit code 1:
WARNING: exit code 1 from a shell command.


ERROR: Logfile of failure stored in: /data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-ovp-kvm/1.0-r0/temp/log.do_bootimg.135756
NOTE: recipe wrlinux-image-ovp-kvm-1.0-r0: task do_bootimg: Failed
ERROR: Task (/data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/wrlinux/wrlinux-ovp/recipes-base/images/wrlinux-image-ovp-kvm.bb:do_bootimg) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7736 tasks of which 402 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /data/fast_build/CICDOOBE/OVP/build_dir_ovp/01110503-windshare_ci_tag_spin_full_install/intel-x86-64-preempt-rt-ovp-kvm-OE/layers/wrlinux/wrlinux-ovp/recipes-base/images/wrlinux-image-ovp-kvm.bb:do_bootimg
Summary: There was 1 WARNING message shown.
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.

Steps to Reproduce

./wrlinux-10/setup.sh --machine intel-x86-64 --distros wrlinux-ovp --all-layers --dl-layers --layers meta-dpdk --templates feature/test feature/kexec feature/kdump feature/dpdk --accept-eula=yes 


bitbake -k wrlinux-image-ovp-kvm
Live chat
Online