Bug 11909

Summary: Eclipse plugin build forces ipv4 when it should not
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Michael Halstead <mhalstead>
Component: eclipse-pluginAssignee: brian avery <brian.avery>
Status: CLOSED WONTFIX QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, joshuagloe, tracy.graydon, yp.ep.watcher, yp.watcher
Version: unspecified   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Log of the connection failing. none

Description Michael Halstead 2017-08-08 19:45:25 UTC
Created attachment 3923 [details]
Log of the connection failing.

When attempting to build eclipse plugin recently it failed with this message because ipv4 was broken between the worker and downloads.

[FAILED 1]Can NOT find candidates of org.eclipse.cdt.sdk.feature.group version(8.8.1, ) at http://downloads.yoctoproject.org/eclipse/mars/!

From the exact same build this worked because it connected via ipv6 which was working.


--2017-08-03 11:30:27--  http://downloads.yoctoproject.org/eclipse/downloads/drops4/R-4.5.2-201602121500/eclipse-SDK-4.5.2-linux-gtk-x86_64.tar.gz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 2001:19d0:305:110::205, 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|2001:19d0:305:110::205|:80... connected.

The standard is to try ipv6 first and fallback to ipv4. We should try to make that happen if possible. I've attached a log file that might reveal what is attempting the download.
Comment 1 brian avery 2017-10-16 18:09:46 UTC
The updater uses the application org.eclipse.equinox.p2.director to pull in the necessary components. There do not seem to be any ipvX flags I can set.

For now, we will have to live with this from what I see.  

I'll close this now, as wont fix. Michael, feel free to reopen if you have a better idea.
Comment 2 Michael Halstead 2017-10-16 20:33:34 UTC
I'll look at opening a bug with the Eclipse project and I'll reference application org.eclipse.equinox.p2.director.

Thank you Brian.
Comment 3 Armin Kuster 2019-05-23 15:06:53 UTC
closing