Bug 6276

Summary: Building build appliance failed on autobuilder
Product: [Build System, Metadata & Runtime] Runtime Reporter: Paul Eggleton <bluelightning>
Component: build-applianceAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: High CC: alexandru.c.georgescu, cristian.iorga, elizabeth.flanagan, jessica.zhang, mhalstead, richard.purdie
Version: unspecified   
Target Milestone: 1.9 M2   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2014-05-07 15:47:43 UTC
This appears intermittently, but is happening in about 50% of builds at the moment:

| NOTE: Executing do_populate_poky_src ...
| DEBUG: Executing shell function do_populate_poky_src
| cp: cannot stat `/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build/downloads/aspell-0.60.6.1.tar.gz': No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_rootfs finished
| ERROR: Function failed: do_populate_poky_src (log file is located at /home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/8.0-r0/temp/log.do_rootfs.10772)
NOTE: recipe build-appliance-image-8.0-r0: task do_rootfs: Failed

Full log:

https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/82/steps/BuildImages_1/logs/stdio
Comment 1 Cristian Iorga 2014-05-08 07:13:36 UTC
Investigation started.
Comment 2 Richard Purdie 2014-05-08 07:43:53 UTC
More info:

rpurdie@ubuntu1204:/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build$ ls downloads/as* -la
-rw-r--r-- 1 pokybuild users  0 May  7 09:40 downloads/asound.conf.done
-rw-r--r-- 1 pokybuild users  0 May  7 09:40 downloads/asound.state.done
lrwxrwxrwx 1 pokybuild users 83 May  7 09:39 downloads/aspell-0.60.6.1.tar.gz -> /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz
-rw-r--r-- 1 pokybuild users  0 May  7 09:39 downloads/aspell-0.60.6.1.tar.gz.done
lrwxrwxrwx 1 pokybuild users 79 May  7 09:38 downloads/async-0.6.1.tar.gz -> /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/async-0.6.1.tar.gz
-rw-r--r-- 1 pokybuild users  0 May  7 09:38 downloads/async-0.6.1.tar.gz.done
rpurdie@ubuntu1204:/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build$ ls /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz
/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz
rpurdie@ubuntu1204:/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build$ ls /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz -la
-rw-r--r-- 1 pokybuild users 1878163 May  7 21:09 /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz

and when I manually tried a cp of downloads/a* to another location using cp -RpL downloads/* x/ it succeeded.  Could the linked to file have been on NFS and had a timeout issue?
Comment 3 Richard Purdie 2014-05-08 07:49:25 UTC
Michael/Beth: How could the file /srv/www/vhosts/autobuilder.yoctoproject.org/current_sources/aspell-0.60.6.1.tar.gz temporarily disappear during the build? NAS/NFS issue?
Comment 4 Beth Flanagan 2014-05-22 19:32:32 UTC
This sounds like an NFS issue. I haven't seen this pop up recently however. Michael, thoughts?
Comment 5 Cristian Iorga 2014-05-28 06:50:30 UTC
Hello,

Any updates on this one?
/Cristian
Comment 6 Paul Eggleton 2014-07-24 15:23:42 UTC
If this is not happening anymore we'll mark this as resolved; we can reopen if it happens again.
Comment 7 Alexandru Georgescu 2014-07-30 14:56:48 UTC
Verified.
Comment 8 Richard Purdie 2015-07-06 08:53:47 UTC
This keeps happening. I do however now understand the cause (or have a good theory):

oeqa/selftest/bbtests.py:        bitbake('-ccleanall aspell')

We need to stop using cleanall in the selftests!
Comment 10 Alexandru Georgescu 2015-08-18 12:06:08 UTC
Now builds correctly on AB