Bug 11408

Summary: Failed to build build-appliance image if set BA_INCLUDE_SOURCES = "1"
Product: [Build System, Metadata & Runtime] Runtime Reporter: Yi Zhao <yi.zhao>
Component: build-applianceAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED INVALID QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: Medium CC: jose.perez.carranza, yi.zhao
Version: 2.3   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log.do_image none

Description Yi Zhao 2017-04-25 02:21:28 UTC
Created attachment 3750 [details]
log.do_image

Git rev: master/7a0e795373653886452a7a2992ced10080711c26

Steps:
1. Download the poky source and set the environment
2. Add BA_INCLUDE_SOURCES = "1" in local.conf
3. bitbake build-appliance-image

An error occurred in function do_populate_poky_src.
The full log is atached.
Comment 1 Juro Bystricky 2017-04-25 16:20:18 UTC
Based on the log, it is some kind of network connection error, judging by the first error in the log:

socket.timeout: The read operation timed out

I don't see any connection between the error and the setting of BA_INCLUDE_SOURCES = "1".
Can you please re-try the build to verify it is a persistent error and not some intermittent network connection problem?
Also, are you working behind a proxy?
Comment 2 Yi Zhao 2017-04-28 00:26:23 UTC
(In reply to comment #1)
> Based on the log, it is some kind of network connection error, judging by
> the first error in the log:
> 
> socket.timeout: The read operation timed out
> 
> I don't see any connection between the error and the setting of
> BA_INCLUDE_SOURCES = "1".
> Can you please re-try the build to verify it is a persistent error and not
> some intermittent network connection problem?
> Also, are you working behind a proxy?

Yes, you are right. It is a temporary network connection error. I re-tested it and the image can be built without problem.

Mark this bug as INVALID.