STATUS: PASSED BUILD: 2.3 M3: rc1-6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 ENVIRONMENT: qemu-x86 STEPS TO REPRODUCE: Note: This test case is only for qemu image testing. 1. Download the core-image-sato-sdk-qemux86 image from autobuilder (link available in the point release mail). 2. Clone a clean version of poky and make checkout on the poky commit from the mail (in command line): a) Clone a copy of a clean version of poky designing it for running QEMU b) In the poky directory, checkout the desired commit: 3. Source the environment, from poky directory: 4. Edit local.conf. PATH: ~/poky-run/build/conf, at the end of the file adding: Add the required machine, for example MACHINE ?= "qemux86" 5. In ~/poky-run/build directory, in command line, type the following commands: $ bitbake qemu-native $ bitbake qemu-helper-native 6. In ~/poky-run/build directory start the QEMU emulator: runqemu qemux86 EXPECTED OUTCOME: Qemu Image Should boot successfully. ACTUAL OUTCOME: we need to make the image core-image-sato-sdk-qemux86 for what boot successfully because when Download the core-image-sato-sdk-qemux86 image from autobuilder (link available in the point release mail). this imagen not boot successfully. runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/Error: Unable to find tunctl binary in '/home/oscar/test-qemu/build/tmp/work/i586-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native.lock... Note: This Works correctly when building the image instead of downloading
This is probably duplicate of bug 11170.
runqemu Qemux86 boot successfully with Ubuntu BUILD: 2.3 M4: rc2-7a0e795373653886452a7a2992ced10080711c26 ENVIRONMENT: qemux86 and qemux86-64 STEPS TO REPRODUCE: Note: This test case is only for qemu image testing. 1. Download the core-image-sato-sdk-qemux86 image from autobuilder (link available in the point release mail). 2. Clone a clean version of poky and make checkout on the poky commit from the mail (in command line): a) Clone a copy of a clean version of poky designing it for running QEMU b) In the poky directory, checkout the desired commit: 3. Source the environment, from poky directory: 4. Edit local.conf. PATH: ~/poky-run/build/conf, at the end of the file adding: Add the required machine, for example MACHINE ?= "qemux86" 5. In ~/poky-run/build directory, in command line, type the following commands: $ bitbake qemu-native $ bitbake qemu-helper-native NOTE: After finishing the tasks, copy the image bin, ext4 and qemuboot.conf files from autobuilder at the following path: "~/poky-run/build/tmp/deploy/images/qemux86/" (if "tmp/deploy/images/qemux86" does not exist, create new directories with this path) 6. In ~/poky-run/build directory start the QEMU emulator: runqemu qemux86 EXPECTED OUTCOME: Qemu Image Should boot successfully. ACTUAL OUTCOME: runqemu Qemux86 boot successfully with Ubuntu
Reassigned to Oscar for set of questions. I did: Downloaded files: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/machines/qemu/qemux86/ core-image-sato-qemux86.ext4 core-image-sato-qemux86.manifest core-image-sato-qemux86.qemuboot.conf core-image-sato-qemux86.testdata.json bzImage-qemux86.bin --- Operations: --- rmFAST.sh tmp mkdir -p tmp/deploy/images/qemux86 rsync -av ../DL/ab-sato-rc2/ tmp/deploy/images/qemux86/ bitbake qemu-native qemu-helper-native runqemu qemux86 *** This worked fine. -- Host: ubuntu 14.04 --- Questions: 1) which ubuntu did you use where this failed? 2) please put in the log for the failure 3) what files are in tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/? Is tunctl there? 4) What files are in tmp/deploy/images/qemux86? 5) what is the result of "oe-run-native qemu-helper-native tunctl -h" 6) Is the link I used (http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/machines/qemu/qemux86/) the same one you used?
runqemu qemux86 and qemux86-64 boot successfully with Ubuntu 16.04 LTS testimages: core-image-sato-sdk-qemux86 and core-image-sato-sdk-qemux86-64 Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m32 i586" Questions: 1) which ubuntu did you use where this failed? I use ubuntu 16.04 LTS 2) please put in the log for the failure runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/Error: Unable to find tunctl binary in '/home/oscar/test-qemu/build/tmp/work/i586-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', please bitbake qemu-helper-native.lock... 3) what files are in tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/? Is tunctl there? Yes this time 4) What files are in tmp/deploy/images/qemux86? core-image-sato-qemux86.ext4 core-image-sato-qemux86.manifest core-image-sato-qemux86.qemuboot.conf core-image-sato-qemux86.testdata.json bzImage-qemux86.bin 5) what is the result of "oe-run-native qemu-helper-native tunctl -h" this is the result oscar@oscar-ThinkPad-T540p:~/qem/build$ bitbake qemu-native && bitbake qemu-helper-native Parsing recipes: 100% |##########################################| Time: 0:00:17 Parsing of 830 .bb files complete (0 cached, 830 parsed). 1299 targets, 48 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "HEAD:7a0e795373653886452a7a2992ced10080711c26" Initialising tasks: 100% |#######################################| Time: 0:00:00 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 410 tasks of which 410 didn't need to be rerun and all succeeded. Loading cache: 100% |############################################| Time: 0:00:00 Loaded 1299 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "HEAD:7a0e795373653886452a7a2992ced10080711c26" Initialising tasks: 100% |#######################################| Time: 0:00:00 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 419 tasks of which 419 didn't need to be rerun and all succeeded. oscar@oscar-ThinkPad-T540p:~/qem/build$ 6) Is the link I used http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/machines/qemu/qemux86/ The same for qemu86 and was found to work on qemux 86-64 NOTES: Results log attachment
Created attachment 3757 [details] test case results
It appears questions were answered.
works for both of us now :)
the QEMU emulator: (runqemu qemux86) Work well with Ubuntu 16.04 LTS testimages: core-image-sato-sdk-qemux86 and core-image-sato-sdk-qemux86-64 Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m32 i586" COMMIT: 6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 STEPS TO REPRODUCE: Note: This test case is only for qemu image testing. 1. Download the core-image-sato-sdk-qemux86 image from autobuilder (link available in the point release mail). 2. Clone a clean version of poky and make checkout on the poky commit from the mail (in command line): a) Clone a copy of a clean version of poky designing it for running QEMU b) In the poky directory, checkout the desired commit: 3. Source the environment, from poky directory: 4. Edit local.conf. PATH: ~/poky-run/build/conf, at the end of the file adding: Add the required machine, for example MACHINE ?= "qemux86" 5. In ~/poky-run/build directory, in command line, type the following commands: $ bitbake qemu-native $ bitbake qemu-helper-native NOTE: After finishing the tasks, copy the image bin, ext4 and qemuboot.conf files from autobuilder at the following path: "~/poky-run/build/tmp/deploy/images/qemux86/" (if "tmp/deploy/images/qemux86" does not exist, create new directories with this path) 6. In ~/poky-run/build directory start the QEMU emulator: runqemu qemux86 EXPECTED OUTCOME: Qemu Image Should boot successfully. ACTUAL OUTCOME: runqemu Qemux86 boot successfully with Ubuntu NOTES: Results attachment in this link https://bugzilla.yoctoproject.org/attachment.cgi?id=3757