Bug 4531 - Build fails on a NFS2/3 server when rm_work is enabled
Summary: Build fails on a NFS2/3 server when rm_work is enabled
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ming Liu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-05-23 07:09 UTC by Ming Liu
Modified: 2013-05-25 06:48 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Liu 2013-05-23 07:09:43 UTC
Test bases on commit aeb704fee8b4ffeaeddcdb36ae4e1d62c264ce42 of master:

Project locates at a NFS2/3 filesystem.

set in local.conf:
INHERIT += "rm_work"

$ bitbake core-image-sato

See following errrors:

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
$<50>NOTE: Executing RunQueue Tasks
$<50>ERROR: Function failed: do_rm_work (see /mnt/nfs/workspace/poky/build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572 for further information)
$<50>ERROR: Logfile of failure stored in: /mnt/nfs/workspace/poky/build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572
Log data follows:
| DEBUG: Executing shell function do_rm_work
| rm: cannot remove `pseudo/.nfs0000000003dbb6220007a487': Device or resource busy
| WARNING: /mnt/nfs/workspace/poky/build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/run.do_rm_work.1572:151 exit 1 from
|   rm -rf $dir
| ERROR: Function failed: do_rm_work (see /mnt/nfs/workspace/poky/build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572 for further information)