Bug 5900 - ADT installation failed on all ARCHs with build 20140226-1
Summary: ADT installation failed on all ARCHs with build 20140226-1
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 1.6 M4
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-03 03:14 UTC by Ke Zou
Modified: 2014-04-04 01:53 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 Ke Zou 2014-03-03 03:14:36 UTC
ADT installer location:

http://autobuilder.yoctoproject.org/pub/nightly/20140226-1/adt-installer-QA/

ADT installation failed on both i686(fedora20 i686) and x86-64(ubuntu 13.10 x86-64) host.

Fedora20(i686 host) log (partial):

Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/i686-nativesdk/Packages.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/all/Packages.
Updated list of available packages in /buildarea/sdk-automation-test/sdk//var/lib/opkg/lists/yp-i686-all.
Collected errors:
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/i686-nativesdk/Packages, wget returned 8.
opkg update process ended...
Installing pseudo nativesdk ...

Unknown package 'nativesdk-pseudo'.
Collected errors:
 * opkg_install_cmd: Cannot install package nativesdk-pseudo.



Ubuntu(x86-64 host) log (partial):

ADT has already been installed. Will update its contents...
Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/x86_64-nativesdk/Packages.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/all/Packages.
Updated list of available packages in /buildarea/sdk-automation-test/sdk//var/lib/opkg/lists/yp-x86_64-all.
Collected errors:
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-5ab9d7e28f987fba8bab03bb7851c263f746c208-master/adt-ipk/x86_64-nativesdk/Packages, wget returned 8.
opkg update process ended...
Installing pseudo nativesdk ...

Unknown package 'nativesdk-pseudo'.
Collected errors:
 * opkg_install_cmd: Cannot install package nativesdk-pseudo.



It seems that this results from naming change, x86_64-nativesdk or i686-nativesdk directory don't exist, instead there's core2-64 and core2-32 directory.
Comment 1 Laurentiu Palcu 2014-03-03 08:51:42 UTC
The fix for this was merged in master on Feb 28:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5c6d9a14adf600f7b28ee6d643a07df9abb97999

Please try an adt-installer newer than Feb 28.
Comment 2 Ke Zou 2014-03-13 07:23:13 UTC
This error still exists with build 20140312-1
ADT installer location:

http://autobuilder.yoctoproject.org/pub/nightly/20140312-1/adt-installer-QA/

The issue mentioned in bug 5806 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5806
is resolved by your checkin, but opkg_download still tries to reach the wrong URL:


Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/i686-nativesdk/Packages.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/all/Packages.
Updated list of available packages in /buildarea/sdk-automation-test/sdk//var/lib/opkg/lists/yp-i686-all.
Collected errors:
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/i686-nativesdk/Packages, wget returned 8.
opkg update process ended...


Please look into adt-installer/opkg/conf/opkg-sdk-i686.conf  and opkg-sdk-x86_64.conf, which are still pointing to the wrong URL.
Comment 3 Ke Zou 2014-03-13 08:07:06 UTC
Plus, even if these conf files mentioned above are pointing to the right place, 
the ipk files under the ....Packages directory are not recognized.

See log below:


Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/core2-32/Packages.
Updated list of available packages in /buildarea/sdk-automation-test/sdk//var/lib/opkg/lists/yp-i686-nativesdk.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/all/Packages.
Updated list of available packages in /buildarea/sdk-automation-test/sdk//var/lib/opkg/lists/yp-i686-all.
opkg update process ended...
Installing pseudo nativesdk ...

Package acl-dbg version 2.2.52-r0 has no valid architecture, ignoring.
Package acl-dev version 2.2.52-r0 has no valid architecture, ignoring.
Package acl-doc version 2.2.52-r0 has no valid architecture, ignoring.
......
Comment 4 Laurentiu Palcu 2014-03-18 12:13:23 UTC
The nativesdk folders are simply missing from:

http://adtrepo-dev.yoctoproject.org//1.5+snapshot-1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a-master/adt-ipk/

We should have also these two folders: i686-nativesdk, x86_64-nativesdk

Looks like a artifact publishing issue on AB... Assigning to Beth.
Comment 5 Beth Flanagan 2014-03-24 18:25:33 UTC
This is not a publishing issue.

Let's look at: http://autobuilder.yoctoproject.org/main/builders/nightly-x86-64/builds/9

Three questions: Did it build, did it deploy, and if so, what is in tmp/deploy/ipk?

1. Everything appears to have built right.

2. Deployed? Looks like it. http://autobuilder.yoctoproject.org/main/builders/nightly-x86-64/builds/9/steps/Publishing%20Artifacts/logs/stdio

mkdir -p /srv/www/vhosts/autobuilder.yoctoproject.org/pub/nightly/20140323-2/ipk;cp -R --no-dereference --preserve=links /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/deploy/ipk/* /srv/www/vhosts/autobuilder.yoctoproject.org/pub/nightly/20140323-2/ipk

3. Ok, so... what's in tmp/deploy/ipk

[pokybuild@ab05 ipk]$ pwd
/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/deploy/ipk
[pokybuild@ab05 ipk]$ ls
all  core2-64  genericx86_64  qemux86_64
[pokybuild@ab05 ipk]$ ls -al
total 620
drwxr-xr-x 6 pokybuild users   4096 Mar 23 10:12 .
drwxr-xr-x 8 pokybuild users   4096 Mar 23 10:41 ..
drwxr-xr-x 2 pokybuild users  12288 Mar 23 10:10 all
drwxr-xr-x 2 pokybuild users 471040 Mar 23 10:12 core2-64
drwxr-xr-x 2 pokybuild users  65536 Mar 23 10:12 genericx86_64
drwxr-xr-x 2 pokybuild users  65536 Mar 23 09:13 qemux86_64

Ahh.... so, somewhere along the line, we're not getting a nativesdk dir?

So, yes. Don't think this one is autobuilder related. We should probably open a new bug on this and close this one.
Comment 6 Laurentiu Palcu 2014-03-31 07:06:08 UTC
Patch merged:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=af528b01b378491c6f2d72d735e387aa7ebabccd

The fix should be tested with an adt-installed build from March 29th or newer.
Comment 7 Alexandru Georgescu 2014-04-02 10:51:09 UTC
Seems to be working with arm architecture. for 1.6_M5.rc2 build http://autobuilder.yoctoproject.org/pub/releases/yocto-1.6_M5.rc2/
Comment 8 Ke Zou 2014-04-04 01:53:26 UTC
verified with build 1.6_M5 rc2