| Summary: | lttng-modules crashes while doing do_make_scripts task | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Cristian Iorga <cristian.iorga> |
| Component: | kernel | Assignee: | Tom Zanussi <tom.zanussi> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bruce.ashfield, corneliux.stoicescu, tom.zanussi |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M2 | ||
| Hardware: | Other | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | --- | |
|
Description
Cristian Iorga
2012-12-13 14:09:45 UTC
Tom, this looks odd with cedartrail and fri2 appearing in the log, so it may be an sstate bug. Can you have a look and confirm that this builds? Cristian, can you confirm that the log reported below is correct? It includes both cedartrail and fri2-noemgd... Also please refrain from using autobuilder links as they expire and information is lost. The same error appears on cedartrail and also on fri2. I'm not able to reproduce it here with the same commits: trz@elmorro:/usr/local/dev/yocto/cur-test/build$ bitbake lttng-modules Loading cache: 100% |###########################################################################| ETA: 00:00:00 Loaded 1145 entries from dependency cache. Parsing recipes: 100% |#########################################################################| Time: 00:00:06 Parsing of 841 .bb files complete (840 cached, 1 parsed). 1145 targets, 22 skipped, 0 masked, 0 errors. Build Configuration: BB_VERSION = "1.17.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-11.10" TARGET_SYS = "i586-poky-linux" MACHINE = "cedartrail" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20121213" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "45915123a727f86b106da7ccb761b23067b1ff88:45915123a727f86b106da7ccb761b23067b1ff88" meta-intel meta-cedartrail = "master0:bb36db616a05b318b211513682d849cebaff2cfb" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: validating kernel configuration [non-hardware (28)]: meta/cfg/standard/cedartrail/specified_non_hdw.cfg This BSP sets config options that are possibly non-hardware related. [invalid (50)]: meta/cfg/standard/cedartrail/invalid.cfg This BSP sets config options that are not offered anywhere within this kernel NOTE: Tasks Summary: Attempted 575 tasks of which 547 didn't need to be rerun and all succeeded. Also, not seen with fri2-noemgd + DISTRO = poky-lsb and 'bitbake core-image-lsb core-image-lsb-sdk -k' - this built fine. So, looking at the actual build directories on the autobuilder, we see the following error saying it can't find the git directory in the workdir: tomz@yocto-iab09:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/temp> less log.do_make_scripts /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/temp/run.do_make_scripts.27949: line 113: cd: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/git: No such file or directory But listing it shows it's in fact there: tomz@yocto-iab09:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/temp> ls -al /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/git total 352 drwxr-xr-x 9 pokybuild users 4096 Dec 13 06:58 . drwxrwxrwx 6 pokybuild users 4096 Dec 13 06:58 .. -rw-rw-rw- 1 pokybuild users 7042 Dec 13 06:58 ChangeLog drwxrwxrwx 8 pokybuild users 4096 Dec 13 06:58 .git -rw-rw-rw- 1 pokybuild users 936 Dec 13 06:58 .gitignore -rw-rw-rw- 1 pokybuild users 17987 Dec 13 06:58 gpl-2.0.txt drwxrwxrwx 4 pokybuild users 4096 Dec 13 06:58 instrumentation -rw-rw-rw- 1 pokybuild users 26434 Dec 13 06:58 lgpl-2.1.txt drwxrwxrwx 4 pokybuild users 4096 Dec 13 06:58 lib -rw-rw-rw- 1 pokybuild users 689 Dec 13 06:58 LICENSE -rw-rw-rw- 1 pokybuild users 20571 Dec 13 06:58 lttng-abi.c -rw-rw-rw- 1 pokybuild users 4851 Dec 13 06:58 lttng-abi.h -rw-rw-rw- 1 pokybuild users 1178 Dec 13 06:58 lttng-calibrate.c -rw-rw-rw- 1 pokybuild users 2924 Dec 13 06:58 lttng-context.c So it is actually there, but apparently it wasn't when that task (run_do_make_scripts) was run, which means we probably have a race. I sent a patch that might fix this - basically trying to make sure do_make_scripts can't happen before do_unpack as seems to be happening in this case. fixed by poky/master commmit: 936c460ab8ab71d29e768e8e417abd477ece4166 |