Bug 2821

Summary: libowl do_fetch error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Shane Wang <shane.wang>
Component: coreAssignee: Michael Halstead <mhalstead>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: corneliux.stoicescu, jiajun.xu, laurentiu.serban, meta.mr.watcher, meta.watcher, richard.purdie, scott.a.garman, sgw
Version: 1.3   
Target Milestone: 1.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
do_fetch log for libowl
none
log.do_fetch none

Description Shane Wang 2012-07-24 07:30:23 UTC
When one of the engineers tried "bitbake libowl -c fetch", it will report an fetch error. 

We can find the git2_git.yoctoproject.org.libowl.tar.gz is in the download directory. But if you want to unpack the tar ball, it will fail.

The log is

DEBUG: Trying Upstream
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git log --pretty=oneline -n 1 6ebc8ac8f8575278dd40a535cadefa26374e44b1 -- 2> /dev/null | wc -l
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git remote prune origin
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git remote rm origin
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git remote add --mirror=fetch origin git://git.yoctoproject.org/libowl
DEBUG: Fetcher accessed the network with the command git fetch -f --prune git://git.yoctoproject.org/libowl refs/*:refs/*
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git fetch -f --prune git://git.yoctoproject.org/libowl refs/*:refs/*
WARNING: Failed to fetch URL git://git.yoctoproject.org/libowl;protocol=git
DEBUG: Running export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git fetch -f --prune git://git.yoctoproject.org/libowl refs/*:refs/*
WARNING: Failed to fetch URL git://git.yoctoproject.org/libowl;protocol=git
DEBUG: Fetcher failure: Fetch command export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git fetch -f --prune git://git.yoctoproject.org/libowl refs/*:refs/* could not be run:
None
DEBUG: Trying MIRRORS
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['https', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool/main', '', '', {}] to ['http', 'snapshot.debian.net', '/archive/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.de.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.au.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.cl.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hr.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.fi.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hk.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hu.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.ie.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.it.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.ie.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.it.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.jp.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.no.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.pl.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.ro.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.si.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.es.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.se.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.tr.debian.org', '/debian/pool', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'mirrors.kernel.org', '/gnu', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['http', 'www.kernel.org', '/pub', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['ftp', 'ftp.franken.de', '/pub/crypt/mirror/ftp.gnupg.org/gcrypt/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['ftp', 'ftp.surfnet.nl', '/pub/security/gnupg/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['http', 'gulus.USherbrooke.ca', '/pub/appl/GnuPG/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['ftp', 'ftp.fu-berlin.de', '/tex/CTAN', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['http', 'sunsite.sut.ac.jp', '/pub/archives/ctan/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['http', 'ctan.unsw.edu.au', '/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.gnutls.org', '/pub/gnutls/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.gnupg.org', '/gcrypt/gnutls/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['http', 'www.mirrors.wiretapped.net', '/security/network-security/gnutls/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.mirrors.wiretapped.net', '/pub/security/network-security/gnutls/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['http', 'josefsson.org', '/gnutls/releases/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', 'ftp.info-zip.org', '/pub/infozip/src/', '', '', {}] to ['http', 'mirror.switch.ch', '/ftp/mirror/infozip/src/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['http', 'josefsson.org', '/gnutls/releases/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', 'ftp.info-zip.org', '/pub/infozip/src/', '', '', {}] to ['http', 'mirror.switch.ch', '/ftp/mirror/infozip/src/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', 'ftp.info-zip.org', '/pub/infozip/src/', '', '', {}] to ['ftp', 'sunsite.icm.edu.pl', '/pub/unix/archiving/info-zip/src/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.cerias.purdue.edu', '/pub/tools/unix/sysutils/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tau.ac.il', '/pub/unix/admin/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.cert.dfn.de', '/pub/tools/admin/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.fu-berlin.de', '/pub/unix/tools/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.kaizo.org', '/pub/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tu-darmstadt.de', '/pub/sysadmin/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tux.org', '/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'gd.tuwien.ac.at', '/utils/admin-tools/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'sunsite.ualberta.ca', '/pub/Mirror/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'the.wiretapped.net', '/pub/security/host-security/lsof/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['http', 'www.apache.org', '/dist', '', '', {}] to ['http', 'archive.apache.org', '/dist', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['svn', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url ['git', 'git.yoctoproject.org', '/libowl', '', '', {'protocol': 'git'}] comparing ['git', '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
DEBUG: For url git://git.yoctoproject.org/libowl;protocol=git returning http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.libowl.tar.gz;protocol=git
ERROR: Fetcher failure: Fetch command export HOME="/home/pyu"; export SSH_AGENT_PID="5461"; export SSH_AUTH_SOCK="/tmp/keyring-mCG2eI/ssh"; export https_proxy="http://proxy01.pd.intel.com:911"; export ftp_proxy="http://proxy01.pd.intel.com:911"; export http_proxy="http://proxy01.pd.intel.com:911"; export GIT_CONFIG="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/etc/gitconfig"; export PATH="/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/qemux86/usr/bin/crossscripts:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/usr/bin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux/sbin:/yocto2/yocto/poky-denzil-7.0-64build/tmp/sysroots/x86_64-linux//bin:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/home/pyu/yocto/poky-denzil-7.0/scripts:/home/pyu/yocto/poky-denzil-7.0/bitbake/bin/:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pyu/.local/bin:/home/pyu/bin:/home/pyu/yocto/poky-denzil-7.0/scripts"; git fetch -f --prune git://git.yoctoproject.org/libowl refs/*:refs/* could not be run:
None
ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/libowl;protocol=git'. Unable to fetch URL from any source.

The contact person is ping.y.yu@intel.com
Comment 1 Saul Wold 2012-07-24 16:49:19 UTC
This looks like it might be a proxy related issue, could this be reproduced on a different machine? I just re-fetched that tarball of the git repo and everything is Ok on this end, please re-check.
Comment 2 Shane Wang 2012-07-25 05:22:57 UTC
I reproduced it on Jiajun's machine.
Try this way if you can't, then close it.

1. remove the tar ball of libowl and all git stuffs related to libowl in your download dir.
2. run "bitbake libowl -c fetch"
3. you will find a new tar ball of libowl in the download dir with the size 50000+ bytes (possibly). run tar command to unpack the tar ball. On my side, I can't unpack the .tar.gz file with errors.
Comment 3 Saul Wold 2012-07-26 07:01:46 UTC
I followed your steps twice, I even set PREMIRRORS="" each time I would get the following and the tar file was OK, please confirm the size and date of your tarball.


-rw-rw-r-- 1 sgw sgw 55935 May  8 12:40 ../../downloads/git2_git.yoctoproject.org.libowl.tar.gz
-rw-rw-r-- 1 sgw sgw     0 Jul 26 00:00 ../../downloads/git2_git.yoctoproject.org.libowl.tar.gz.done

Please verify there is not some kind of proxie cache or some other proxy related issue.

Reopen if needed.
Comment 4 Stoicescu Cornel 2012-10-22 13:12:23 UTC
Maybe this helps:

I have 2 poky directories from the same branch (denzil) and same commit (denzil 1.2.2) with the following configuration:

1) clean poky directory with clean build directory. "bitbake -c fetch libowl" works

2) old poky directory with populated build/downloads directory. "bitbake -c fetch libowl" produces the same error as this bug.

Note: I moved the downloads directory from a poky directory with master + latest commit (19 Oct.).

I tried bitbake -c clean libown and manually removing all libowl references from build/sstate-cache/ and build/downloads but nothing worked. 


NOTE: Adding the log file from do_fetch. Hope this helps.

NOTE: Reopening
Comment 5 Stoicescu Cornel 2012-10-22 13:13:07 UTC
Created attachment 896 [details]
do_fetch log for libowl
Comment 6 Saul Wold 2012-10-25 20:19:01 UTC
I could reproduce this!

I am seeing that the initial wget works and then the tar fails as seen in the original bug, with a corrupted tarball.  The PREMIRROR tarball located on the autobuilder mirror is correct and sane.  I am not sure if there is a timing issue.  If I add a couple of syncs before the tar things work every time.

Is there some parallelism involved in the fetcher that could cause some issues?

A different question is why did it not fall back to the actual upstream when the premirror failed.
Comment 7 Stoicescu Cornel 2012-10-26 09:34:26 UTC
Here is something interesting:

There are 2 links that are used to fetch this tarball. One from yoctoproject.org, one from openembedded.org. 

http://downloads.yoctoproject.org/mirror/sourcee/git2_git.yoctoproject.org.libowl.tar.gz  (THIS WORKS)
http://sources.openembedded.org/git2_git.yoctoproject.org.libowl.tar.gz (THIS DOES NOT WORK)

1) download using the yoctoproject.org link and extract the tarball. notice it works with no errors.

2) download using the openembedded.org link; you will receive an error because tehe file does not exist there any longer. After that download using the yoctoproject.org link and extract the tarball. Notice the tarball is corrupted. 

After talking this over with my team we came over the idea that this might be a proxy-related issue; the proxy might be caching something from the dead link and thus corrupting the tarball.

/Cornel
Comment 8 Saul Wold 2012-12-04 00:23:14 UTC
I think this is fixed in 1.4, can someone try to confirm this, I just tested with 1.4 and a cleanall then 2 fetches and it seemed to work, but when I tried with Danny it failed once, but I can get it to reproduce again, I really need a clean reproducer for this

Any help advice welcome
Comment 9 Stoicescu Cornel 2012-12-04 09:31:00 UTC
Created attachment 968 [details]
log.do_fetch

I think there are still some issues with this. I got a fetch failure out of around 10 yesterday. Here is my output:
"
ERROR: Fetcher failure: Fetch command failed with exit code 2, output:
tar: Skipping to next header

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error is not recoverable: exiting now

ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/libowl;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/cornel/SDD/Yocto/3poky/build/tmp/work/x86_64-poky-linux/libowl/0.1+git1+6ebc8ac8f8575278dd40a535cadefa26374e44b1-r0/temp/log.do_fetch.19136
ERROR: Task 2415 (/home/cornel/SDD/Yocto/3poky/meta/recipes-sato/libowl/libowl_git.bb, do_fetch) failed with exit code '1'
"

Tested on:

Build Configuration:
BB_VERSION        = "1.17.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20121204"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-skeleton     = "(nobranch):247b6a3754c2c50318e2a73d79981ba0e9cb560b"

Note1: Please look at my attached log.do_fetch. 
Note2: I have no download mirrors set in local.conf.
Comment 10 Saul Wold 2012-12-08 03:11:05 UTC
The issue seems to be only within Intel network, possibly a proxy issue, we have not been able to verify it outside, I have verified with wget standalone in a loop and about 1 in 10 or so fail in the same way.
Comment 11 Laurentiu Serban 2012-12-13 21:41:18 UTC
This issue occurs also on denzil-next

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "sgarman/denzil-next-pull4:d166ea7bb13eaf25b54e14f0bf9c5747ea950617"
Comment 12 Michael Halstead 2012-12-20 20:56:40 UTC
I've downloaded approximately 6300 copies over the last 8 days with zero errors through proxy.jf.intel.com. It seems that increasing the open connection count has fixed the problem from here.

Laurentiu can you provide the proxy settings used when you saw the issue on December 13th?
Comment 13 Stoicescu Cornel 2013-01-10 11:23:51 UTC
If I remember correctly, Laurentiu is using:

export http_proxy='http://proxy.jf.intel.com:911/'
export https_proxy='http://proxy.jf.intel.com:911/'
export ftp_proxy='http://proxy.jf.intel.com:911/'
export socks_proxy='http://proxy.jf.intel.com:1080/'

And /usr/local/bin/git-proxy

#!/bin/bash
# $1 = git.yoctoproject.org, $2 = 1080
PROXY=proxy.jf.intel.com
exec socat STDIO SOCKS4:$PROXY:$1:$2

Please note that I used the exact same setup but with proxy-ir.glb.intel.com
Comment 14 Stoicescu Cornel 2013-01-23 15:06:07 UTC
We have decided not to fail test cases for this issue as for master and danny branch it occurs apparently at random. It can be bypassed 100% by using local download mirrors.

A new Test Case will be added for this issue until it is resolved.
Comment 15 Stoicescu Cornel 2013-02-13 16:32:22 UTC
Because this is an almost non-existing issue, and it seems to be particular to our proxy setup, I believe it is not related to Yocto. Until we can find a reproducible scenario I am setting this to worksforme.

Please feel free to reopen if need be.