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

Re: [Xen-devel] [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing



> -----Original Message-----
> From: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> Sent: Monday, October 12, 2015 6:03 PM
> To: Hu, Robert <robert.hu@xxxxxxxxx>; 'Ian Jackson'
> <ian.jackson@xxxxxxxxxxxxx>; 'xen-devel@xxxxxxxxxxxxxxxxxxxx'
> <xen-devel@xxxxxxxxxxxxxxxxxxxx>
> Subject: Re: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing
> 
> On Mon, 2015-10-12 at 09:34 +0000, Hu, Robert wrote:
> > > -----Original Message-----
> > > From: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> > > Sent: Monday, October 12, 2015 4:57 PM
> > > To: Hu, Robert <robert.hu@xxxxxxxxx>; 'Ian Jackson'
> > > <ian.jackson@xxxxxxxxxxxxx>; 'xen-devel@xxxxxxxxxxxxxxxxxxxx'
> > > <xen-devel@xxxxxxxxxxxxxxxxxxxx>
> > > Subject: Re: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing
> > >
> > > On Mon, 2015-10-12 at 08:04 +0000, Hu, Robert wrote:
> > > > > -----Original Message-----
> > > > > From: Hu, Robert
> > > > > Sent: Monday, October 12, 2015 11:36 AM
> > > > > To: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>;
> > > > > xen-devel@xxxxxxxxxxxxxxxxxxxx
> > > > > Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > > > > Subject: RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM
> testing
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Ian Jackson [mailto:ian.jackson@xxxxxxxxxxxxx]
> > > > > > Sent: Saturday, September 26, 2015 3:15 AM
> > > > > > To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> > > > > > Cc: Hu, Robert <robert.hu@xxxxxxxxx>; Ian Campbell
> > > > > > <ian.campbell@xxxxxxxxxx>; Ian Jackson
> <ian.jackson@xxxxxxxxxxxxx
> > > > > > >
> > > > > > Subject: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing
> > > > > >
> > > > > > This is the second part of v14 Robert Ho's osstest patch series
> > > > > > to
> > > > > > support nested HVM tests.
> > > > > >
> > > > > > It is also available here:
> > > > > >   git://xenbits.xen.org/people/iwj/xen.git
> > > > > >   http://xenbits.xen.org/git-http/people/iwj/xen.git
> > > > > > in wip.nested-hvm.v14.part1..wip.nested-hvm.v14
> > > > > >
> > > > > > Compared to Robert's v13, which was passed to me by private
> > > > > > email,
> > > > > >  * I have rebased onto current osstest pretest;
> > > > > >  * I have changed how selecthost() is told it's dealing with
> > > > > >    a nested host (in practice, L1 guest);
> > > > > >  * There are a large number of minor cleanups;
> > > > > >  * There are some new preparatory cleanup and admin patches;
> > > > > >  * I have rewritten almost all of the commit messages.
> > > > > >
> > > > > > However, I have done only VERY LIMITED testing.  Much of the
> code
> > > > > > here
> > > > > > is UNTESTED since my changes.  My testing was confined to:
> > > > > >  * Verifying that my changes to cs-adjust-flight worked
> > > > > >  * Checking that ad-hoc runs of ts-host-reboot and
> > > ts-host-powercycle
> > > > > >    seemed to work when a guest was specified on the command
> line.
> > > > > >
> > > > > > Robert, you kindly volunteered to test a revised version of this
> > > > > > series.  I would appreciate if you would check that all of this
> > > > > > still
> > > > > > works as you expect.  I expect there will be some bugs, perhaps
> > > > > > even
> > > > > > very silly bugs, introduced by me.
> > > > > Sure.
> > > > > Am I supposed to test Part 1 together with this Part 2? or each
> > > > > individually?
> > > > > How's Part 1's status now? pass pretest and in production branch?
> > > > > or
> > > > > still
> > > > > need test?
> > > > Seems Part 1 already in production tree. So I directly merged Part 2
> > > > on
> > > > latest production master branch.
> > > >
> > > > However, when I run 'standalone-reset', I get these errors
> > > > [root@robert-ivt osstest]# ./standalone-reset
> > > > ** need to generate d-i with firmware for armhf
> > > > fetching initrd.gz
> > > >
> > > http://linux-ftp.sh.intel.com/pub/mirrors/debian//dists/wheezy/main/ins
> > > ta
> > > > ller-armhf/current/images/vexpress/netboot/initrd.gz => initrd.gz.new
> > > > collecting firmware-bnx2
> > > > collecting backports initramfs-tools
> > > > collecting backports kernel
> > > > dpkg-deb: error: `backports.deb' is not a debian format archive
> > >
> > > Can you look at the file backports.deb and see what it is? e.g.
> > >     $ file backports.deb
> > > might give a clue. For me it says "Debian binary package (format 2.0)".
> > >
> > > My guess is that it will tern out to be some HTML explaining that this
> > > file
> > > is not available via your proxy for some reason.
> > Fixed. By moving out 'armhf' in my arch list.
> 
> Yes, I suppose Intel wouldn't be mirroring that ;-)
Some other issue arises:
1. pax '-M norm', this option isn't support by my RHEL-distributed pax. Shall I
simply omit it? or use '-t' substitute it? I tried the latter, seems working.
2. I initially run build-amd64 job, it will firstly re-install host, that's 
right. But after
it is installed, it restarts host and again jump into a manual off-on loop.
Do you know which part of code is controlling this?

2015-10-12 09:44:54 Z Forcing interface auto
tmp/t.osstest-host2.initrd.cpio:         93.4% -- replaced with 
tmp/t.osstest-host2.initrd.cpio.gz
2015-10-12 09:44:54 Z using initrds: 
/var/lib/tftpboot//root/osstest/debian-installer/amd64/current-wheezy/initrd.gz 
tmp/t.osstest-host2.initrd.cpio.gz
2015-10-12 09:44:55 Z wrote /var/lib/tftpboot/pxelinux.cfg/C0A8C746 (stashed as 
osstest-host2-pxelinux.cfg+6)
2015-10-12 09:44:55 Z power-cycle: waiting 5s
2015-10-12 09:45:00 Z power: setting 1 for osstest-host2
### Manual power switch request: turn host osstest-host2 on ###
2015-10-12 09:45:09 Z fetch osstest-host2_preseed: waiting 350s...
2015-10-12 09:45:09 Z fetch osstest-host2_preseed: (none) (waiting) ...
2015-10-12 09:46:38 Z fetch osstest-host2_preseed: ok. (89s)
2015-10-12 09:46:38 Z wrote /var/lib/tftpboot/pxelinux.cfg/C0A8C746 (stashed as 
osstest-host2-pxelinux.cfg+7)
2015-10-12 09:46:38 Z await tcp osstest-host2 192.168.199.70 22: waiting 
2400s...
2015-10-12 09:46:38 Z await tcp osstest-host2 192.168.199.70 22: nc: 256 Ncat: 
Version 6.40 ( http://nmap.org/ncat ) | Ncat: Connection refused. |  (waiting) 
...
2015-10-12 09:57:36 Z await tcp osstest-host2 192.168.199.70 22: nc: 256 Ncat: 
Version 6.40 ( http://nmap.org/ncat ) | Ncat: Connection timed out. |  
(waiting) ...
2015-10-12 09:57:56 Z await tcp osstest-host2 192.168.199.70 22: nc: 256 Ncat: 
Version 6.40 ( http://nmap.org/ncat ) | Ncat: No route to host. |  (waiting) ...
2015-10-12 09:59:14 Z await tcp osstest-host2 192.168.199.70 22: ok. (756s)
2015-10-12 09:59:14 Z executing ssh ... root@xxxxxxxxxxxxxx lvdisplay --colon
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
87:a2:7b:8a:73:b4:b4:57:30:15:ee:00:31:df:17:63.
Please contact your system administrator.
Add correct host key in tmp/t.known_hosts_standalone.build-amd64 to get rid of 
this message.
Offending ECDSA key in tmp/t.known_hosts_standalone.build-amd64:1
Keyboard-interactive authentication is disabled to avoid man-in-the-middle 
attacks.
Permission denied (publickey,password).
2015-10-12 09:59:14 Z command nonzero waitstatus 65280: timeout 60 ssh -o 
StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o 
ServerAliveInterval=100 -o PasswordAuthentication=no -o 
ChallengeResponseAuthentication=no -o 
UserKnownHostsFile=tmp/t.known_hosts_standalone.build-amd64 root@xxxxxxxxxxxxxx 
lvdisplay --colon
status 65280 at Osstest/TestSupport.pm line 410.
+ ./ts-host-install
2015-10-12 09:59:15 Z starting standalone.build-amd64
2015-10-12 09:59:15 Z setting arch=amd64
2015-10-12 09:59:15 Z setting build_lvextend_max=50
2015-10-12 09:59:15 Z setting enable_ovmf=true
2015-10-12 09:59:15 Z setting enable_xend=false
2015-10-12 09:59:15 Z setting enable_xsm=false
2015-10-12 09:59:15 Z setting host=osstest-host2
2015-10-12 09:59:15 Z setting 
host_hostflags=share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build
2015-10-12 09:59:15 Z setting revision_ovmf=
2015-10-12 09:59:15 Z setting revision_qemu=
2015-10-12 09:59:15 Z setting revision_qemuu=
2015-10-12 09:59:15 Z setting revision_seabios=
2015-10-12 09:59:15 Z setting revision_xen=
2015-10-12 09:59:15 Z setting tree_ovmf=git://vt-sync/ovmf.git/.git
2015-10-12 09:59:15 Z setting tree_qemu=git://vt-sync/qemu-xen-unstable.git
2015-10-12 09:59:15 Z setting 
tree_qemuu=git://vt-sync/qemu-upstream-unstable.git/.git
2015-10-12 09:59:15 Z setting tree_seabios=git://vt-sync/seabios.git/.git
2015-10-12 09:59:15 Z setting tree_xen=git://vt-sync/xen.git/.git
2015-10-12 09:59:15 Z TftpScope is default
2015-10-12 09:59:15 Z host host: selected osstest-host2 <unknown-ether> 
192.168.199.70
2015-10-12 09:59:15 Z power: setting 0 for osstest-host2
### Manual power switch request: turn host osstest-host2 off ###
> 
> Ian.
_______________________________________________
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®.