Bug 5575 - routerstation image build failed with 20131119-7 build on autobuilder
Summary: routerstation image build failed with 20131119-7 build on autobuilder
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-yocto (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.6 M1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-21 07:42 UTC by Yi Zhao
Modified: 2014-01-10 03:29 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2013-11-21 07:42:43 UTC
git rev: poky/master 215dab864e7cf74394840621ad0754db593708f1

The output log on ab: http://autobuilder.yoctoproject.org:8011/builders/nightly-mips/builds/6/steps/Building%20Images_1/logs/stdio

Error log:
######################
ERROR: Error executing a python function in /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-kernel/linux/linux-yocto_3.10.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'sysroot_stage_all', lineno: 6, function: <module>
     0002:def sysroot_stage_all(d):
     0003:    oe.path.copyhardlinktree(d.expand("/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/image/usr/src/kernel"), d.expand("/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/sysroot-destdir//usr/src/kernel"))
     0004:
     0005:
 *** 0006:sysroot_stage_all(d)
     0007:
File: 'sysroot_stage_all', lineno: 3, function: sysroot_stage_all
     0001:
     0002:def sysroot_stage_all(d):
 *** 0003:    oe.path.copyhardlinktree(d.expand("/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/image/usr/src/kernel"), d.expand("/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/sysroot-destdir//usr/src/kernel"))
     0004:
     0005:
     0006:sysroot_stage_all(d)
     0007:
File: '/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/lib/oe/path.py', lineno: 93, function: copyhardlinktree
     0089:    bb.utils.mkdirhier(dst)
     0090:    if os.path.isdir(src) and not len(os.listdir(src)):
     0091:        return
     0092:
 *** 0093:    if (os.stat(src).st_dev ==  os.stat(dst).st_dev):
     0094:        # Need to copy directories only with tar first since cp will error if two
     0095:        # writers try and create a directory at the same time
     0096:        cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from - --no-recursion | tar -xf - -C %s' % (src, src, dst)
     0097:        check_output(cmd, shell=True, stderr=subprocess.STDOUT)
Exception: OSError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/image/usr/src/kernel'

ERROR: Function failed: sysroot_stage_all
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0/temp/log.do_populate_sysroot.10964
NOTE: recipe linux-yocto-3.10.17+gitAUTOINC+6ad20f049a_2d91e20101-r0: task do_populate_sysroot: Failed
ERROR: Task 342 (/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_populate_sysroot) failed with exit code '1'
NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Succeeded
NOTE: recipe core-image-sato-1.0-r0: task do_rootfs: Succeeded
NOTE: recipe core-image-sato-dev-1.0-r0: task do_rootfs: Succeeded
NOTE: Tasks Summary: Attempted 7188 tasks of which 7106 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_populate_sysroot
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. 
########################
Comment 2 Yi Zhao 2014-01-10 03:29:47 UTC
Verified.