Advanced search
Log In
New Account
Home My Page Project Cloud Code Snippets Project Openings ESbox
Summary Forums Tracker Lists Tasks News SCM Files Wiki

Bugs: Browse | Download .csv

[#4827] The host address selection for a VM may choose a USB connection

Please login

2009-11-24 23:49
Submitted By:
Ed Swartz (eswartz)
Assigned To:
Ed Swartz (eswartz)
The host address selection for a VM may choose a USB connection

Detailed description
We're using insufficient Java API to get the host IP address (from a hostname).  The "Autoselect network settings"
and the conversion of a host name into an IP address both suffer from this.

To test this, you need to have a Maemo device connected to the machine over USB.

The issue is, the selection of a "local address" or the resolution of a hostname to a local address will pick
the address of the first network interface that is "local", and that might be the USB connection.

From Henry's original email:

Is this a issue we should do something? 
If device is connected to windows while configuring build machine with autoselect network, only device's local area
connection is visible in drop-down menu (see 2_*.png). If autoselect is not pressed (see 1_*.png), "correct"
10.10.* IP is visible there. Also autoselect is working if device is not connected..


Date: 2009-11-27 10:19
Sender: Henry Ovaskainen

Verified with  build618
Date: 2009-11-25 03:24
Sender: Ed Swartz

Fixed in Mica rev 3468, ESbox rev 2450.  When there are multiple
mappings for a host (i.e. "my-host" maps to multiple
network interfaces, as with LAN and USB) then we select,
in preferential order, an IPv4 address which is not a known Maemo
PC-connectivity address, an address not on a VM network interface,
or a non-private subnet address.

In addition to testing the mentioned bug, where the Autoselect
Network Settings will pick the USB address or the host address
dropdown does not contain the "real" host address,
--> Check that Validate Build Machine pings the correct host
--> Check that shared folders mounted into the VM use the
correct host address (look at the 'mount' output)

Attached Files:

Name Download
No Files Currently Attached


Field Old Value Date By
ResolutionFixed2009-11-27 10:19henryov
ResolutionAccepted as a Bug2009-11-25 03:24eswartz
File Added661: build606_autoselect.zip2009-11-24 23:49eswartz

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment