xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: failed to get IP for guest vm during running test-amd64-amd64-xl job
@ 2014-07-25  9:40 Pang, LongtaoX
  2014-07-25 10:00 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Pang, LongtaoX @ 2014-07-25  9:40 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Ian.Jackson@eu.citrix.com, Wei Liu, xen-devel@lists.xen.org

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@192.168.199.69 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@192.168.199.69 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-29  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25  9:40 failed to get IP for guest vm during running test-amd64-amd64-xl job Pang, LongtaoX
2014-07-25 10:00 ` Ian Campbell
2014-07-29  8:24   ` Pang, LongtaoX
2014-07-29  8:37     ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).