Bug 6025

Summary: adt-installer tries to download x86-64 image/rootfs from wrong URL with 1.4.3_rc4(build 20130318-5)
Product: [Yocto Project Subprojects] ADT Reporter: Ke Zou <ke.zou>
Component: adtAssignee: Beth Flanagan <elizabeth.flanagan>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: alexandru.c.georgescu, bluelightning, elizabeth.flanagan, poky.adt.watcher, poky.watcher, yi.zhao
Version: 1.4.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ke Zou 2014-03-24 03:15:59 UTC
adt-installer location:

http://autobuilder.yoctoproject.org/pub/nightly/20140318-5/adt-installer-QA/

when downloading x86_64 images, there's an error:

Downloading file: bzImage-qemux86-64.bin...
--2014-03-21 09:39:08--  http://adtrepo-dev.yoctoproject.org//1.4.3-c397b69e681d5f1ffe0a0bfd9d43ee880fc27553-dylan/rootfs/qemux86_64/bzImage-qemux86-64.bin
Resolving adtrepo-dev.yoctoproject.org (adtrepo-dev.yoctoproject.org)... 140.211.169.59
Connecting to adtrepo-dev.yoctoproject.org (adtrepo-dev.yoctoproject.org)|140.211.169.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-03-21 09:39:08 ERROR 404: Not Found.

Downloading file: core-image-sato-sdk-qemux86-64.tar.bz2...
--2014-03-21 09:39:08--  http://adtrepo-dev.yoctoproject.org//1.4.3-c397b69e681d5f1ffe0a0bfd9d43ee880fc27553-dylan/rootfs/qemux86_64/core-image-sato-sdk-qemux86-64.tar.bz2
Resolving adtrepo-dev.yoctoproject.org (adtrepo-dev.yoctoproject.org)... 140.211.169.59
Connecting to adtrepo-dev.yoctoproject.org (adtrepo-dev.yoctoproject.org)|140.211.169.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found




Please note that in adt_installer script,
in function 
get_qemu_image()
{
local target=`echo "$1" | sed -e 's/x86_64/x86-64/'`
...
...
download_file qemu$1/$qemu_kernel
...
...
download_file qemu$1/$filename
}

when the ARCH is x86_64, it tries to download from a invalid directory.
http://adtrepo-dev.yoctoproject.org//1.4.3-c397b69e681d5f1ffe0a0bfd9d43ee880fc27553-dylan/rootfs/qemux86_64/

The right place should be 
http://adtrepo-dev.yoctoproject.org//1.4.3-c397b69e681d5f1ffe0a0bfd9d43ee880fc27553-dylan/rootfs/qemux86-64/
Comment 1 Yi Zhao 2014-03-24 05:29:16 UTC
This is an autobuiler issue. When create the adt repo for rootfs, the qemux86-64 should rename to qemux86_64.

Here is a correct example for 1.4.2 adt repo: http://adtrepo.yoctoproject.org/1.4.2/rootfs/qemux86_64/
Comment 2 Alexandru Georgescu 2014-03-24 17:58:38 UTC
Hi Yi,
Can you check if this issue was fixed?

Thanks,
Alex.
Comment 3 Beth Flanagan 2014-03-24 18:28:50 UTC
Fixed in release
Comment 4 Ke Zou 2014-03-25 06:12:17 UTC
verified with 1.4.3_rc4 build