Bug 11909 - Eclipse plugin build forces ipv4 when it should not
Summary: Eclipse plugin build forces ipv4 when it should not
Status: CLOSED WONTFIX
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.5
Assignee: brian avery
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-08-08 19:45 UTC by Michael Halstead
Modified: 2019-05-23 15:06 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Log of the connection failing. (16.46 KB, text/x-log)
2017-08-08 19:45 UTC, Michael Halstead
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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