Bug 5827 - ADT installation failed on all ARCHs with build 1.6_M3 rc1
Summary: ADT installation failed on all ARCHs with build 1.6_M3 rc1
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: High major
Target Milestone: 1.6 M3
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-02-17 03:01 UTC by Ke Zou
Modified: 2014-07-30 08:46 UTC (History)
7 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-02-17 03:01:23 UTC
ADT installer location:

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

Take PPC log for instance(ALL ARCHs failed):

Start installing selected native ADT for archs: ppc...
Successfully create directory /buildarea/sdk-automation-test/sdk//var/lib/opkg.
Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-b70a10ca3ee4a0add90d387e2c8288e531aaa47c-master/adt-ipk/x86_64-nativesdk/Packages.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-b70a10ca3ee4a0add90d387e2c8288e531aaa47c-master/adt-ipk/all/Packages.
Collected errors:
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-b70a10ca3ee4a0add90d387e2c8288e531aaa47c-master/adt-ipk/x86_64-nativesdk/Packages, wget returned 8.
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-b70a10ca3ee4a0add90d387e2c8288e531aaa47c-master/adt-ipk/all/Packages, wget returned 8.

This should be due to the autobuilder do_package_index ERROR.
Please refer to the log at:
http://autobuilder.yoctoproject.org/main/builders/nightly/builds/29/steps/BuildImages_1/logs/stdio
Comment 1 Yi Zhao 2014-02-18 07:31:34 UTC
This is an issue for command bitbake package-index. Already fixed in recent commit: 4dcd9d6ceed7262657a628546160d0dced13f45d
Comment 2 Richard Purdie 2014-02-20 20:53:35 UTC
I'm marking this as resolved as the packaged-index failures did not occur with the rc2 build.
Comment 3 Ke Zou 2014-02-21 09:08:12 UTC
This issue stays unresolved in 1.6M3 rc2 release

ADT installer location:
http://autobuilder.yoctoproject.org/pub/nightly/20140218-3/

error log during adt installation:

2014-02-21 00:05:26 (8.86 KB/s) - '../download_image/core-image-sato-sdk-qemux86.tar.bz2' saved [430362140/430362140]


Start installing selected native ADT for archs: x86...
Successfully create directory /buildarea/sdk-automation-test/sdk//var/lib/opkg.
Updating opkg...
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-54562006c1327c5b99daa4cc05a3ba7e38412da1-master/adt-ipk/i686-nativesdk/Packages.
Downloading http://adtrepo-dev.yoctoproject.org//1.5+snapshot-54562006c1327c5b99daa4cc05a3ba7e38412da1-master/adt-ipk/all/Packages.
Collected errors:
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-54562006c1327c5b99daa4cc05a3ba7e38412da1-master/adt-ipk/i686-nativesdk/Packages, wget returned 8.
 * opkg_download: Failed to download http://adtrepo-dev.yoctoproject.org//1.5+snapshot-54562006c1327c5b99daa4cc05a3ba7e38412da1-master/adt-ipk/all/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.

#############################################################################
# Meet error(s) when installing Yocto ADT! Please check log file for details.
#############################################################################



Still, "Packages" didn't show up in adt repo
Comment 4 Yi Zhao 2014-02-24 07:31:53 UTC
Someone can look at this ?
This issue still existed on 1.6 m3 rc2. Although the autobuilder log showed the package-index built successfully, there is still no package index file in adt repo : http://adtrepo-dev.yoctoproject.org/1.5+snapshot-54562006c1327c5b99daa4cc05a3ba7e38412da1-master/adt-ipk/ .

This issue blocked all adt-installer testing for 1.6 m3 rc2.
Comment 5 Beth Flanagan 2014-02-24 20:45:29 UTC
This is fixed for the rc2. Looking at why it's happening in the AB right now.
Comment 6 Beth Flanagan 2014-02-24 21:18:59 UTC
if PACKAGE_CLASSES = "package_rpm package_deb package_ipk" package-index won't work for ipk. This is different from what previously occurred. Looking at this now, the fix should go into poky.

-b
Comment 7 Beth Flanagan 2014-02-24 21:44:01 UTC
if PACKAGE_CLASSES = "package_rpm package_deb package_ipk" package-index won't work for ipk. This is different from what previously occurred. I can work around this from the AB but the question is, shouldn't the package-index work for all listed packages in PACKAGE_CLASSES? 

If so, the fix something like an ADT_PKGTYPE (I can see needing to split IMAGE_PKGTYPE and ADT_PKGTYPE) and appending each of the types listed in PACKAGE_CLASSES to it and changing oe/package_manager.py to do each of the indexers in ADT_PKGTYPE.

Thoughts?
Comment 9 Alexandru Georgescu 2014-07-30 08:46:33 UTC
verified.