[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] failed to get IP for guest vm during running test-amd64-amd64-xl job



Deay Ian,

Have a nice day!
After a period of time studying, I have completed to setup OSSTest environment 
and could run "build-*" jobs successfully. 
But, when I trying to run test job of "test-amd64-amd64-xl", the below failure 
occurred which confused me for a long time.
The guest vm could be created, but it seems that the Guest 
VM(debian.guest.osstest) failed to get IP address. 

2014-07-23 08:38:09 Z toolstack xl
2014-07-23 08:38:09 Z executing ssh ... root@xxxxxxxxxxxxxx xl create 
/etc/xen/debian.guest.osstest.cfg
Parsing config from /etc/xen/debian.guest.osstest.cfg
2014-07-23 08:38:10 Z executing ssh ... root@xxxxxxxxxxxxxx xl list
2014-07-23 08:38:10 Z guest debian.guest.osstest state is b
2014-07-23 08:38:10 Z guest debian.guest.osstest 5e:36:0e:f5:00:01 22 
link/ip/tcp: waiting 40s...
Use of uninitialized value $leases in <HANDLE> at Osstest/DhcpWatch/leases.pm 
line 104.
readline() on unopened filehandle at Osstest/DhcpWatch/leases.pm line 104.
Use of uninitialized value $leases in <HANDLE> at Osstest/DhcpWatch/leases.pm 
line 75.
readline() on unopened filehandle at Osstest/DhcpWatch/leases.pm line 75.
...
Can't call method "eof" on an undefined value at Osstest/DhcpWatch/leases.pm 
line 76.
+ rc=255
+ date -u +%Y-%m-%d %H:%M:%S Z exit status 255
2014-07-23 08:38:10 Z exit status 255
+ exit 255
2014-07-23 08:38:10 Z standalone.test-amd64-amd64-xl 9 status status fail

Could you please tell me how did the guest vm to get the IP address in OSSTest 
system?

According README in OSSTest, I set the item of " HostProp_DhcpWatchMethod" as 
"HostProp_DhcpWatchMethod leases dhcp3 192.168.199.3:67".
192.168.199.3 is the IP address of my DHCP Server. (In my test environment, the 
DHCP Server is separate from OSSTest Controller mechine)
67 is the port number.

my global config file in ~/.xen-osstest/config is as below:
DnsDomain tsp.org
NetNameservers 192.168.199.5 172.16.1.11 172.16.16.12
TestHost testhost
HostProp_DhcpWatchMethod leases dhcp3 192.168.199.3:67
HostProp_testhost_Build_Make_Flags -j8
TftpPath /tftpboot/
WebspaceFile /var/www
WebspaceCommon /osstest/
WebspaceUrl http://controller.tsp.org
WebspaceLog /var/log/apache2/access.log
DebianSuite wheezy
TftpDiVersion current
DebianArches amd64
DebianMirrorHost linux-ftp.sh.intel.com
DebianMirrorSubpath /pub/mirrors/debian

So, could you give some suggestion about this question? 
Any help will be appreciated.

Best Regards,
Longtao


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.