Bug 5731

Summary: [Build-appliance] Wrong tarball for build-appliance
Product: [Infrastructure] AutoBuilder Reporter: Yi Zhao <yi.zhao>
Component: autobuilderAssignee: Beth Flanagan <elizabeth.flanagan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: elizabeth.flanagan, infras.ab.watcher, Infras.watcher, ke.zou, mhalstead, sgw
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2014-01-17 06:58:46 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/1.6_M2.rc1/build-appliance/
Git rev: master/e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371

The Yocto_Build_Appliance.zip is abnormal and can not boot up in virtual machine.
It is only 13KB. Normally it should be more than 3GB.
Comment 1 Saul Wold 2014-01-21 02:59:29 UTC
I built this locally and did not have any issues, so I am still leaning towards an Autobuilder issue, I will log into an AB and see what I can see.
Comment 2 Saul Wold 2014-01-21 03:05:10 UTC
Seems we are having fetching issues from the autobuilder, I did not see this 
issue locally

WARNING: Failed to fetch URL 
git://review.coreboot.org/p/coreboot;protocol=http, attempting MIRRORS if 
available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository 
'/home/pokybuild/yocto-autobuilder-dev/yocto-slave/build-appliance/build/build/downloads/git2/review.coreboot.org.p.coreboot'...

warning: templates not found 
/srv/home/halstead/poky/build/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
error: RPC failed; result=22, HTTP code = 504
fatal: The remote end hung up unexpectedly

ERROR: Function failed: Fetcher failure for URL: 
'git://review.coreboot.org/p/coreboot;protocol=http'. Unable to fetch URL from 
any source.
ERROR: Logfile of failure stored in: 
/home/pokybuild/yocto-autobuilder-dev/yocto-slave/build-appliance/build/build/tmp/work/x86_64-poky-linux/mkelfimage/4.0+gitAUTOINC+686a48a339-r0/temp/log.do_fetch.12393
NOTE: recipe mkelfimage-4.0+gitAUTOINC+686a48a339-r0: task do_fetch: Failed
ERROR: Task 200 
(/home/pokybuild/yocto-autobuilder-dev/yocto-slave/build-appliance/build/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb, 
do_fetch) failed with exit code '1'
NOTE: recipe mkelfimage-native-4.0+gitAUTOINC+686a48a339-r0: task do_fetch: 
Succeeded
NOTE: recipe linux-yocto-tiny-3.10.25+gitAUTOINC+4d658aa580_79af968f2f-r0: task 
do_fetch: Succeeded
NOTE: recipe linux-yocto-rt-3.10.25+gitAUTOINC+4d658aa580_957ba6ae6c-r0: task 
do_fetch: Succeeded
NOTE: recipe linux-yocto-3.10.25+gitAUTOINC+4d658aa580_79af968f2f-r0: task 
do_fetch: Succeeded
NOTE: Tasks Summary: Attempted 1263 tasks of which 240 didn't need to be rerun 
and 1 failed.

Seems to be failing for 2 fetches at the coreboot.org git repos.  Proxy issues?
Comment 3 Beth Flanagan 2014-01-21 13:30:11 UTC
Not proxy. From ab01:

-bash-4.1$ git clone http://review.coreboot.org/p/coreboot
Initialized empty Git repository in /home/eflanagan/coreboot/.git/
remote: Counting objects: 24055, done
remote: Finding sources: 100% (12732/12732)
remote: Total 155912 (delta 5123), reused 150946 (delta 5123)
Receiving objects: 100% (155912/155912), 41.99 MiB | 2.82 MiB/s, done.
Resolving deltas: 100% (115018/115018), done.

Trying to reproduce on AB.
Comment 4 Beth Flanagan 2014-01-22 14:27:45 UTC
Ok, so, this was a git fetcher issue. Fixed in theory in:

http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder/commit/?id=f6b1a47053408e1ff9f5c6ff769ae456a301d222
Comment 5 Beth Flanagan 2014-03-19 22:52:14 UTC
Pulled into master
Comment 6 Beth Flanagan 2014-03-19 22:52:35 UTC
Pulled into master
Comment 7 Beth Flanagan 2014-03-24 18:27:40 UTC
In master, marking resolved