Bug 10984 - [Test Case 1058] bitbake can use alternate download methods than git
Summary: [Test Case 1058] bitbake can use alternate download methods than git
Status: CLOSED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M3
Assignee: Richard Purdie
QA Contact: oscar lopez arandas
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-27 17:39 UTC by Jair Gonzalez
Modified: 2017-04-12 18:35 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
bitbake_alternate_download.log (8.99 KB, text/x-log)
2017-01-27 17:39 UTC, Jair Gonzalez
no flags Details
log.do_fetch.42607 (93.26 KB, application/octet-stream)
2017-01-30 23:24 UTC, Jair Gonzalez
no flags Details
log.do_fetch.7144 (94.19 KB, application/octet-stream)
2017-04-12 18:35 UTC, oscar lopez arandas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jair Gonzalez 2017-01-27 17:39:11 UTC
Created attachment 3610 [details]
bitbake_alternate_download.log

STATUS: FAILED
BUILD: 2,3_M2 : 62d7d4130202d8ede16abf9e7d779361ca70847e
ENVIRONMENT: Fedora 24 x86_64
STEPS TO REPRODUCE: 1. Start by creating a fresh build directory:	source oe-init-build-env newbuild2a. break the proxy settings for git by issuing the following command:	sudo chmod -x /usr/local/bin/git-proxy2b. or, if the proxy configuration differs, another way to do it is by executing in the same shell session:	GIT_PROXY_COMMAND=3. fetch all required packages for a core-image-sato image by issuing	bitbake -c fetchall core-image-sato4a. once bitbake finishes, repair the git proxy settings with:	sudo chmod +x /usr/local/bin/git-proxy4b. or, if 2b was followed, close and open a new shell session to refresh the environment

EXPECTED OUTCOME:

bitbake command issued on step 3 should complete successfully 

ACTUAL OUTCOME:

bitbake command didn't complete successfully. The following three errors were present:

Summary: 3 tasks failed:
  /home/jairdeje/poky1058/meta/recipes-core/glibc/glibc-initial_2.25.bb:do_fetch
  /home/jairdeje/poky1058/meta/recipes-core/glibc/cross-localedef-native_2.25.bb:do_fetch
  /home/jairdeje/poky1058/meta/recipes-core/glibc/glibc_2.25.bb:do_fetch

As an additional note, I tried to execute the command both in my local machine and on yctb06 with the same results.

I have attached a log file with more details about the failure.
Comment 1 Richard Purdie 2017-01-28 12:47:01 UTC
Could you add the full task log for the failure please (/home/jairdeje/poky1058/build/tmp/work/i586-poky-linux/glibc/2.25-r0/temp/log.do_fetch.4260) ?
Comment 2 Jair Gonzalez 2017-01-30 23:24:24 UTC
Created attachment 3612 [details]
log.do_fetch.42607
Comment 3 Jair Gonzalez 2017-01-30 23:25:20 UTC
I have attached the full task log - log.do_fetch.42607
Comment 4 Jair Gonzalez 2017-02-07 23:42:24 UTC
I tested again with 2.3_M2 rc3 (226a508da955439b881b2f0a544a3aee76e59919) in my local machine and in yctb06 and this issue is NOT present on it.
Comment 5 Jair Gonzalez 2017-02-08 16:45:48 UTC
I'll mark this issue as resolved as it's not present on 2.3 M2 rc3.

Juan, could you please verify the issue is not reproducible on your side either and close the bug after confirming it? The test case steps are documented on:  https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1058
Comment 6 oscar lopez arandas 2017-04-12 18:31:01 UTC
bitbake can use alternate download methods than git :bitbake command didn't complete successfully
testimage: core-image-sato

Build Configuration:
BB_VERSION        = "1.33.3"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2+snapshot-20170412"
TUNE_FEATURES     = "m32 i586"
commit: eff56e4f0d59b1d965a68e4f009b7f07717b7edd

    STEPS:
1. Start by creating a fresh build directory:
    source oe-init-build-env newbuild

2a. break the proxy settings for git by issuing the following command:
    sudo chmod -x /usr/local/bin/git-proxy

2b. or, if the proxy configuration differs, another way to do it is by executing in the same shell session:
    GIT_PROXY_COMMAND=

3. fetch all required packages for a core-image-sato image by issuing
    bitbake -c fetchall core-image-sato

4a. once bitbake finishes, repair the git proxy settings with:
    sudo chmod +x /usr/local/bin/git-proxy

4b. or, if 2b was followed, close the shell session and open a new one to refresh the environment.

    EXPECTED OUTCOME:
bitbake command issued on step 3 should complete successfully 

   ACTUAL OUTCOME:
bitbake command issued on step 3 should complete successfully 

attachment log.do_fetch.7144
Comment 7 oscar lopez arandas 2017-04-12 18:35:03 UTC
Created attachment 3717 [details]
log.do_fetch.7144