Bug 8302 - sstate_create_package fails to chmod file
Summary: sstate_create_package fails to chmod file
Status: RESOLVED DUPLICATE of bug 10382
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-15 16:34 UTC by Saul Wold
Modified: 2017-03-02 11:15 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2015-09-15 16:34:02 UTC
Either the tarball is not getting created or gets moved before the chmod takes place, I checked the NAS and there was no font-util*_package.tgz* visible. This could be a NFS issue or ???

http://errors.yoctoproject.org/Errors/Details/17086/

DEBUG: Executing shell function sstate_create_package
chmod: cannot access '/srv/www/vhosts/autobuilder.yoctoproject.org/pub/sstate//c5/sstate:font-util:core2-64-poky-linux:1.3.1:r0:core2-64:3:c55bc8d9655108ba64daf6f04a5d722b_package.tgz.zP0IYBTL': No such file or directory
WARNING: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/core2-64-poky-linux/font-util/1.3.1-r0/temp/run.sstate_create_package.14413:1 exit 1 from
  chmod 0664 $TFILE
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_create_package (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/work/core2-64-poky-linux/font-util/1.3.1-r0/temp/log.do_package.14413)
Comment 1 Ross Burton 2015-09-29 16:14:02 UTC
The filename is from mktemp so shouldn't have been moved out of the way.  The only way that file can't exist if it tar failed, but we look at the error code and exit earlier on error.

So, stumped.  Hasn't happened since, if it happens again we can dive into the builder and try and figure out what happened.
Comment 2 Ross Burton 2016-04-21 15:01:47 UTC
Ostro replicated this:

| DEBUG: Executing shell function sstate_create_package
| chmod: cannot access '/srv/bb-cache/sstate/universal/68/sstate:coverity-native:x86_64-linux:7.6.1:r0:x86_64:3:68c4dc500180572ba958cdb013af2fa2_populate_sysroot.tgz.kejv9MCA': No such file or directory
| WARNING: /srv/jenkins/workspace/code_static_analysis/label/static-analysis/machine/intel-quark/ostro-os/build/tmp-glibc/work/x86_64-linux/coverity-native/7.6.1-r0/temp/run.sstate_create_package.85339:1 exit 1 from 'chmod 0664 $TFILE'
| DEBUG: Python function sstate_task_postfunc finished

Locate sstate with no network access to it.
Comment 3 Joshua Lock 2017-03-02 11:15:52 UTC
This appears to be an NFS issue on the yocto-autobuilder, as tracked in #10382

*** This bug has been marked as a duplicate of bug 10382 ***