* Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) [not found] <9E79D1C9A97CFD4097BCE431828FDD3102346249@SHSMSX103.ccr.corp.intel.com> @ 2015-11-10 19:46 ` Ian Jackson 2015-11-11 5:23 ` Hu, Robert 0 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-10 19:46 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > I here hand over to you the v15 patch bundle as attached. Hope it can pass your pretest soon. Thanks. (CCing the list.) All of your fixes were good. Thank you. I have incorporated them. > * The last patch of 'guest' Serial method, was made by myself, you > may want to rewrite it or modify it. I don't have the > confidence. But it doesn't blocks others, with or without it, the > patch set can work fine. I rewrote this. I found I wanted to do some refactoring first to make this easier. I am going to send out a v16 of the whole series in just a moment. Can you please test this final patch in your environment ? Send me fixes in whatever form you like. I think we do need this debug keys feature to work before we push this to osstest pretest, because otherwise we risk having un-debuggable blocking failures in our CI. Regards, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-10 19:46 ` Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) Ian Jackson @ 2015-11-11 5:23 ` Hu, Robert 2015-11-11 9:35 ` Ian Jackson 0 siblings, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-11 5:23 UTC (permalink / raw) To: Ian Jackson; +Cc: xen-devel, Ian Campbell, Jin, Gordon > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Wednesday, November 11, 2015 3:46 AM > To: Hu, Robert <robert.hu@intel.com> > Cc: Ian Campbell <ian.campbell@citrix.com>; Jin, Gordon > <gordon.jin@intel.com>; xen-devel@lists.xenproject.org > Subject: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > Hu, Robert writes ("Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 > PART 2 10-26/26] Nested HVM testing)"): > > I here hand over to you the v15 patch bundle as attached. Hope it can pass > your pretest soon. > > Thanks. (CCing the list.) > > All of your fixes were good. Thank you. I have incorporated them. > > > * The last patch of 'guest' Serial method, was made by myself, you > > may want to rewrite it or modify it. I don't have the > > confidence. But it doesn't blocks others, with or without it, the > > patch set can work fine. > > I rewrote this. I found I wanted to do some refactoring first to make > this easier. > > I am going to send out a v16 of the whole series in just a moment. > > Can you please test this final patch in your environment ? Send me > fixes in whatever form you like. [Hu, Robert] Hi Ian, I've tested your v16 patches (from wip.nested-hvm.v16). Pass. > > I think we do need this debug keys feature to work before we push this > to osstest pretest, because otherwise we risk having un-debuggable > blocking failures in our CI. > > Regards, > Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 5:23 ` Hu, Robert @ 2015-11-11 9:35 ` Ian Jackson 2015-11-11 10:15 ` Hu, Robert 0 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-11 9:35 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > [Ian Jackson:] > > Can you please test this final patch in your environment ? Send me > > fixes in whatever form you like. > > Hi Ian, I've tested your v16 patches (from wip.nested-hvm.v16). Pass. Thanks. I think this is too good to be true. Can you check to see whether the ts-logs-capture on the L1 actually managed to send any debug keys ? Look in the L1's serial console log which should be in /var/log/xen/osstest-serial*, and in the ts-logs-capture output. Thanks, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 9:35 ` Ian Jackson @ 2015-11-11 10:15 ` Hu, Robert 2015-11-11 11:08 ` Ian Jackson 0 siblings, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-11 10:15 UTC (permalink / raw) To: Ian Jackson; +Cc: xen-devel, Ian Campbell, Jin, Gordon [-- Attachment #1: Type: text/plain, Size: 3308 bytes --] > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Wednesday, November 11, 2015 5:35 PM > To: Hu, Robert <robert.hu@intel.com> > Cc: Ian Campbell <ian.campbell@citrix.com>; Jin, Gordon > <gordon.jin@intel.com>; xen-devel@lists.xenproject.org > Subject: RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH > v14 PART 2 10-26/26] Nested HVM testing)"): > > [Ian Jackson:] > > > Can you please test this final patch in your environment ? Send me > > > fixes in whatever form you like. > > > > Hi Ian, I've tested your v16 patches (from wip.nested-hvm.v16). Pass. > > Thanks. I think this is too good to be true. [Hu, Robert] I thought this as well. But I looked into logs, see attached. Each step passes. Also attach osstest-serial-l1.guest.osstest.log. > > Can you check to see whether the ts-logs-capture on the L1 actually > managed to send any debug keys ? > > Look in the L1's serial console log which should be in > /var/log/xen/osstest-serial*, and in the ts-logs-capture output. [Hu, Robert] em... From 19 testid capture-logs/l1(19) log, I see failures. Going to look into. 2015-11-11 03:47:06 Z executing ssh ... root@192.168.199.53 xl list l1.guest.osstest l1.guest.osstest is an invalid domain identifier (rc=-6) 2015-11-11 03:47:06 Z command nonzero waitstatus 512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.53 xl list l1.guest.osstest 2015-11-11 03:47:06 Z cannot find domid: status 512 at Osstest/TestSupport.pm line 410. 2015-11-11 03:47:06 Z guest: using l2 on l1.guest.osstest 2015-11-11 03:47:06 Z executing ssh ... root@192.168.199.53 xl list l2.guest.osstest l2.guest.osstest is an invalid domain identifier (rc=-6) 2015-11-11 03:47:07 Z command nonzero waitstatus 512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.53 xl list l2.guest.osstest 2015-11-11 03:47:07 Z cannot find domid: status 512 at Osstest/TestSupport.pm line 410. 2015-11-11 03:47:07 Z serial: requesting debug information from l1.guest.osstest failed to send debug key(s): Undefined subroutine &Osstest::Serial::guest::sshuho called at Osstest/Serial/guest.pm line 53. 2015-11-11 03:47:07 Z serial: collecting logs for l1.guest.osstest Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 88. Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 88. 2015-11-11 03:47:07 Z (nested host) serial console logs will be found in guest logs from (parent) 2015-11-11 03:47:07 Z executing ssh ... root@192.168.199.53 chmod a+r /var/log/kern.log* >/dev/null 2>&1 ||: echo /var/log/kern.log* > > Thanks, > Ian. [-- Attachment #2: latest_log --] [-- Type: application/octet-stream, Size: 11160 bytes --] 2015-11-11 03:05:11 Z starting standalone.test-amd64-amd64-qemuu-nested ts-build-check build-check(1) 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested ========== 1 testid build-check(1) ========== 2015-11-11 03:05:11 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-build-check 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested 1 status status pass 2015-11-11 03:05:11 Z finished standalone.test-amd64-amd64-qemuu-nested ts-build-check pass 2015-11-11 03:05:11 Z starting standalone.test-amd64-amd64-qemuu-nested ts-hosts-allocate host hosts-allocate 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested ========== 2 testid hosts-allocate ========== 2015-11-11 03:05:11 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-hosts-allocate host 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested 2 status status pass 2015-11-11 03:05:11 Z finished standalone.test-amd64-amd64-qemuu-nested ts-hosts-allocate host pass 2015-11-11 03:05:11 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-install-twice host host-install(3) 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested ========== 3 testid host-install(3) ========== 2015-11-11 03:05:11 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-install-twice host 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested 3 status status pass 2015-11-11 03:05:11 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-install-twice host pass 2015-11-11 03:05:11 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host host-ping-check-native 2015-11-11 03:05:11 Z standalone.test-amd64-amd64-qemuu-nested ========== 4 testid host-ping-check-native ========== 2015-11-11 03:05:11 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host 2015-11-11 03:05:12 Z standalone.test-amd64-amd64-qemuu-nested 4 status status pass 2015-11-11 03:05:12 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host pass 2015-11-11 03:05:12 Z starting standalone.test-amd64-amd64-qemuu-nested ts-xen-install host xen-install 2015-11-11 03:05:12 Z standalone.test-amd64-amd64-qemuu-nested ========== 5 testid xen-install ========== 2015-11-11 03:05:12 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-xen-install host 2015-11-11 03:05:40 Z standalone.test-amd64-amd64-qemuu-nested 5 status status pass 2015-11-11 03:05:40 Z finished standalone.test-amd64-amd64-qemuu-nested ts-xen-install host pass 2015-11-11 03:05:40 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-reboot host xen-boot 2015-11-11 03:05:40 Z standalone.test-amd64-amd64-qemuu-nested ========== 6 testid xen-boot ========== 2015-11-11 03:05:40 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-reboot host 2015-11-11 03:07:20 Z standalone.test-amd64-amd64-qemuu-nested 6 status status pass 2015-11-11 03:07:20 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-reboot host pass 2015-11-11 03:07:20 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host host-ping-check-xen 2015-11-11 03:07:20 Z standalone.test-amd64-amd64-qemuu-nested ========== 7 testid host-ping-check-xen ========== 2015-11-11 03:07:20 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host 2015-11-11 03:07:20 Z standalone.test-amd64-amd64-qemuu-nested 7 status status pass 2015-11-11 03:07:20 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check host pass 2015-11-11 03:07:20 Z starting standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis host leak-check/basis(8) 2015-11-11 03:07:20 Z standalone.test-amd64-amd64-qemuu-nested ========== 8 testid leak-check/basis(8) ========== 2015-11-11 03:07:20 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis host 2015-11-11 03:07:21 Z standalone.test-amd64-amd64-qemuu-nested 8 status status pass 2015-11-11 03:07:21 Z finished standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis host pass 2015-11-11 03:07:21 Z starting standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install host l1 debian-hvm-install 2015-11-11 03:07:21 Z standalone.test-amd64-amd64-qemuu-nested ========== 9 testid debian-hvm-install ========== 2015-11-11 03:07:21 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install host l1 2015-11-11 03:21:30 Z standalone.test-amd64-amd64-qemuu-nested 9 status status pass 2015-11-11 03:21:30 Z finished standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install host l1 pass 2015-11-11 03:21:30 Z starting standalone.test-amd64-amd64-qemuu-nested ts-nested-setup --define l1=host:l1 nested-setup 2015-11-11 03:21:30 Z standalone.test-amd64-amd64-qemuu-nested ========== 10 testid nested-setup ========== 2015-11-11 03:21:30 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-nested-setup --define l1=host:l1 2015-11-11 03:21:57 Z standalone.test-amd64-amd64-qemuu-nested 10 status status pass 2015-11-11 03:21:57 Z finished standalone.test-amd64-amd64-qemuu-nested ts-nested-setup --define l1=host:l1 pass 2015-11-11 03:21:57 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 host-ping-check-native/l1 2015-11-11 03:21:57 Z standalone.test-amd64-amd64-qemuu-nested ========== 11 testid host-ping-check-native/l1 ========== 2015-11-11 03:21:57 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 2015-11-11 03:22:17 Z standalone.test-amd64-amd64-qemuu-nested 11 status status pass 2015-11-11 03:22:17 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 pass 2015-11-11 03:22:17 Z starting standalone.test-amd64-amd64-qemuu-nested ts-xen-install l1 xen-install/l1 2015-11-11 03:22:17 Z standalone.test-amd64-amd64-qemuu-nested ========== 12 testid xen-install/l1 ========== 2015-11-11 03:22:17 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-xen-install l1 2015-11-11 03:23:44 Z standalone.test-amd64-amd64-qemuu-nested 12 status status pass 2015-11-11 03:23:44 Z finished standalone.test-amd64-amd64-qemuu-nested ts-xen-install l1 pass 2015-11-11 03:23:44 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-reboot l1 xen-boot/l1 2015-11-11 03:23:44 Z standalone.test-amd64-amd64-qemuu-nested ========== 13 testid xen-boot/l1 ========== 2015-11-11 03:23:44 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-reboot l1 2015-11-11 03:26:23 Z standalone.test-amd64-amd64-qemuu-nested 13 status status pass 2015-11-11 03:26:23 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-reboot l1 pass 2015-11-11 03:26:23 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 host-ping-check-xen/l1 2015-11-11 03:26:23 Z standalone.test-amd64-amd64-qemuu-nested ========== 14 testid host-ping-check-xen/l1 ========== 2015-11-11 03:26:23 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 2015-11-11 03:26:43 Z standalone.test-amd64-amd64-qemuu-nested 14 status status pass 2015-11-11 03:26:43 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-ping-check l1 pass 2015-11-11 03:26:43 Z starting standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis l1 leak-check/basis/l1(15) 2015-11-11 03:26:43 Z standalone.test-amd64-amd64-qemuu-nested ========== 15 testid leak-check/basis/l1(15) ========== 2015-11-11 03:26:43 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis l1 2015-11-11 03:26:44 Z standalone.test-amd64-amd64-qemuu-nested 15 status status pass 2015-11-11 03:26:44 Z finished standalone.test-amd64-amd64-qemuu-nested ts-leak-check basis l1 pass 2015-11-11 03:26:44 Z starting standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install l1 l2 debian-hvm-install/l1/l2 2015-11-11 03:26:44 Z standalone.test-amd64-amd64-qemuu-nested ========== 16 testid debian-hvm-install/l1/l2 ========== 2015-11-11 03:26:44 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install l1 l2 2015-11-11 03:46:39 Z standalone.test-amd64-amd64-qemuu-nested 16 status status pass 2015-11-11 03:46:39 Z finished standalone.test-amd64-amd64-qemuu-nested ts-debian-hvm-install l1 l2 pass 2015-11-11 03:46:39 Z starting standalone.test-amd64-amd64-qemuu-nested ts-guest-stop l1 l2 guest-stop/l1/l2 2015-11-11 03:46:39 Z standalone.test-amd64-amd64-qemuu-nested ========== 17 testid guest-stop/l1/l2 ========== 2015-11-11 03:46:39 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-guest-stop l1 l2 2015-11-11 03:47:05 Z standalone.test-amd64-amd64-qemuu-nested 17 status status pass 2015-11-11 03:47:05 Z finished standalone.test-amd64-amd64-qemuu-nested ts-guest-stop l1 l2 pass 2015-11-11 03:47:05 Z starting standalone.test-amd64-amd64-qemuu-nested ts-leak-check check l1 leak-check/check/l1 2015-11-11 03:47:05 Z standalone.test-amd64-amd64-qemuu-nested ========== 18 testid leak-check/check/l1 ========== 2015-11-11 03:47:05 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-leak-check check l1 2015-11-11 03:47:06 Z standalone.test-amd64-amd64-qemuu-nested 18 status status pass 2015-11-11 03:47:06 Z finished standalone.test-amd64-amd64-qemuu-nested ts-leak-check check l1 pass 2015-11-11 03:47:06 Z starting standalone.test-amd64-amd64-qemuu-nested ts-logs-capture l1 capture-logs/l1(19) 2015-11-11 03:47:06 Z standalone.test-amd64-amd64-qemuu-nested ========== 19 testid capture-logs/l1(19) ========== 2015-11-11 03:47:06 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-logs-capture l1 2015-11-11 03:47:16 Z standalone.test-amd64-amd64-qemuu-nested 19 status status pass 2015-11-11 03:47:16 Z finished standalone.test-amd64-amd64-qemuu-nested ts-logs-capture l1 pass 2015-11-11 03:47:16 Z starting standalone.test-amd64-amd64-qemuu-nested ts-host-powercycle --power=0 l1 final-poweroff 2015-11-11 03:47:16 Z standalone.test-amd64-amd64-qemuu-nested ========== 20 testid final-poweroff ========== 2015-11-11 03:47:16 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-host-powercycle --power=0 l1 2015-11-11 03:47:20 Z standalone.test-amd64-amd64-qemuu-nested 20 status status pass 2015-11-11 03:47:20 Z finished standalone.test-amd64-amd64-qemuu-nested ts-host-powercycle --power=0 l1 pass 2015-11-11 03:47:20 Z starting standalone.test-amd64-amd64-qemuu-nested ts-leak-check check host leak-check/check 2015-11-11 03:47:20 Z standalone.test-amd64-amd64-qemuu-nested ========== 21 testid leak-check/check ========== 2015-11-11 03:47:20 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-leak-check check host 2015-11-11 03:47:21 Z standalone.test-amd64-amd64-qemuu-nested 21 status status pass 2015-11-11 03:47:21 Z finished standalone.test-amd64-amd64-qemuu-nested ts-leak-check check host pass 2015-11-11 03:47:21 Z starting standalone.test-amd64-amd64-qemuu-nested ts-logs-capture host capture-logs(22) 2015-11-11 03:47:21 Z standalone.test-amd64-amd64-qemuu-nested ========== 22 testid capture-logs(22) ========== 2015-11-11 03:47:21 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-logs-capture host 2015-11-11 03:47:44 Z standalone.test-amd64-amd64-qemuu-nested 22 status status pass 2015-11-11 03:47:44 Z finished standalone.test-amd64-amd64-qemuu-nested ts-logs-capture host pass [-- Attachment #3: osstest-serial-l1.guest.osstest.log --] [-- Type: application/octet-stream, Size: 60310 bytes --] [-- Attachment #4: Type: text/plain, Size: 126 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 10:15 ` Hu, Robert @ 2015-11-11 11:08 ` Ian Jackson 2015-11-11 14:05 ` Ian Jackson 0 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-11 11:08 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > I thought this as well. But I looked into logs, see attached. Each > step passes. The pass/fail status of the log capture is not very interesting, because the log capture wants to keep try other captures even if some of them fail. So it traps errors. And indeed: > 2015-11-11 03:47:07 Z serial: requesting debug information from l1.guest.osstest > failed to send debug key(s): Undefined subroutine &Osstest::Serial::guest::sshuho called at Osstest/Serial/guest.pm line 53. This shows that my guest.pm is completely broken. sshuho needs exporting from TestSupport. After that is fixed there are probably other bugs. > 2015-11-11 03:47:07 Z serial: collecting logs for l1.guest.osstest > Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 88. > Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 88. > 2015-11-11 03:47:07 Z (nested host) serial console logs will be found in guest logs from (parent) And this log message is supposed to have some actual information. I don't know what is wrong here. I would start by adding some prints (using Data::Dumper) to guest.pm::new and guest.pm::fetch_logs. Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 11:08 ` Ian Jackson @ 2015-11-11 14:05 ` Ian Jackson 2015-11-11 17:00 ` Ian Jackson 2015-11-12 5:43 ` Hu, Robert 0 siblings, 2 replies; 23+ messages in thread From: Ian Jackson @ 2015-11-11 14:05 UTC (permalink / raw) To: Hu, Robert, Ian Campbell, Jin, Gordon, xen-devel Ian Jackson writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): ... > This shows that my guest.pm is completely broken. sshuho needs > exporting from TestSupport. After that is fixed there are probably > other bugs. I think I have fixed this. I've updated my git branch with some fast-forwarding (mostly `squash!') patches. The result is now available at: git://xenbits.xen.org/people/iwj/osstest.git http://xenbits.xen.org/git-http/people/iwj/osstest.git in wip.nested-hvm.v16. I managed to bodge something to let me try to test the ts-logs-capture and it seems to DTRT for me. But, Robert, I would appreciate it if you could see if it works for you in your more comprehensive setup. In particular, could you check that - the ts-logs-capture output shows it sending the debug keys - the ts-logs-capture output doesn't show undefined variable warnings or other kind of Perl errors - the L1 serial log is captured, and contains the debug keys output In the meantime I will go back and read Ian Campbell's comments and fold in his acks. Thanks, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 14:05 ` Ian Jackson @ 2015-11-11 17:00 ` Ian Jackson 2015-11-12 5:43 ` Hu, Robert 1 sibling, 0 replies; 23+ messages in thread From: Ian Jackson @ 2015-11-11 17:00 UTC (permalink / raw) To: Hu, Robert, Ian Campbell, Jin, Gordon, xen-devel Ian Jackson writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > The result is now available at: I have gone through Ian Campbell's review comments and folded in all the acks and changes. There result is here: git://xenbits.xen.org/people/iwj/osstest.git http://xenbits.xen.org/git-http/people/iwj/osstest.git in wip.nested-hvm.v17-pre. If you read this mail before you picked up the v16 with fixups, you probably want to test v17-pre. If not, then your test report from v16 is IMO going to be sufficient (assuming that the results are good). Thanks, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-11 14:05 ` Ian Jackson 2015-11-11 17:00 ` Ian Jackson @ 2015-11-12 5:43 ` Hu, Robert 2015-11-12 16:10 ` Ian Jackson 1 sibling, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-12 5:43 UTC (permalink / raw) To: Ian Jackson, Ian Campbell, Jin, Gordon, xen-devel > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Wednesday, November 11, 2015 10:06 PM > To: Hu, Robert <robert.hu@intel.com>; Ian Campbell > <ian.campbell@citrix.com>; Jin, Gordon <gordon.jin@intel.com>; > xen-devel@lists.xenproject.org > Subject: RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > Ian Jackson writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH > v14 PART 2 10-26/26] Nested HVM testing)"): > ... > > This shows that my guest.pm is completely broken. sshuho needs > > exporting from TestSupport. After that is fixed there are probably > > other bugs. > > I think I have fixed this. I've updated my git branch with some > fast-forwarding (mostly `squash!') patches. > > The result is now available at: > git://xenbits.xen.org/people/iwj/osstest.git > http://xenbits.xen.org/git-http/people/iwj/osstest.git > in wip.nested-hvm.v16. [Hu, Robert] Tested wip.nested-hvm.v17-pre. Here is detail logs 2015-11-12 03:20:39 Z standalone.test-amd64-amd64-qemuu-nested ========== 19 testid capture-logs/l1(19) ========== 2015-11-12 03:20:39 Z awaiting standalone.test-amd64-amd64-qemuu-nested ts-logs-capture l1 + OSSTEST_JOB=test-amd64-amd64-qemuu-nested + export OSSTEST_JOB + ./ts-logs-capture l1 ... 2015-11-12 03:20:39 Z guest: using l1 on osstest-host2 2015-11-12 03:20:39 Z serial method guest l1.guest.osstest: 2015-11-12 03:20:39 Z guest l1.guest.osstest: 5e:36:0e:f5:00:01 192.168.199.50 2015-11-12 03:20:39 Z L1 host l1: guest l1 (in osstest-host2) 5e:36:0e:f5:00:01 192.168.199.50 2015-11-12 03:20:39 Z guest: using l1 on l1.guest.osstest 2015-11-12 03:20:39 Z executing ssh ... root@192.168.199.50 xl list l1.guest.osstest l1.guest.osstest is an invalid domain identifier (rc=-6) 2015-11-12 03:20:39 Z command nonzero waitstatus 512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.50 xl list l1.guest.osstest 2015-11-12 03:20:39 Z cannot find domid: status 512 at Osstest/TestSupport.pm line 410. 2015-11-12 03:20:39 Z guest: using l2 on l1.guest.osstest 2015-11-12 03:20:39 Z executing ssh ... root@192.168.199.50 xl list l2.guest.osstest l2.guest.osstest is an invalid domain identifier (rc=-6) 2015-11-12 03:20:39 Z command nonzero waitstatus 512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.50 xl list l2.guest.osstest 2015-11-12 03:20:39 Z cannot find domid: status 512 at Osstest/TestSupport.pm line 410. 2015-11-12 03:20:39 Z serial: requesting debug information from l1.guest.osstest 2015-11-12 03:20:39 Z spawning 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.test-amd64-amd64-qemuu-nested root@192.168.199.70 'cat >/root/standalone.test-amd64-amd64-qemuu-nested.l1.guest.osstest.serial.in' 2015-11-12 03:20:39 Z xenuse sending request for input to Xen 2015-11-12 03:20:40 Z xenuse sending Xen debug info request, debug key 0 2015-11-12 03:20:42 Z xenuse sending Xen debug info request, debug key H 2015-11-12 03:20:44 Z xenuse sending Xen debug info request, debug key M 2015-11-12 03:20:46 Z xenuse sending Xen debug info request, debug key Q 2015-11-12 03:20:48 Z xenuse sending Xen debug info request, debug key a 2015-11-12 03:20:50 Z xenuse sending Xen debug info request, debug key c 2015-11-12 03:20:52 Z xenuse sending Xen debug info request, debug key d 2015-11-12 03:20:54 Z xenuse sending Xen debug info request, debug key e 2015-11-12 03:20:56 Z xenuse sending Xen debug info request, debug key g 2015-11-12 03:20:58 Z xenuse sending Xen debug info request, debug key i 2015-11-12 03:21:00 Z xenuse sending Xen debug info request, debug key m 2015-11-12 03:21:02 Z xenuse sending Xen debug info request, debug key n 2015-11-12 03:21:04 Z xenuse sending Xen debug info request, debug key r 2015-11-12 03:21:06 Z xenuse sending Xen debug info request, debug key s 2015-11-12 03:21:08 Z xenuse sending Xen debug info request, debug key t 2015-11-12 03:21:10 Z xenuse sending Xen debug info request, debug key u 2015-11-12 03:21:12 Z xenuse sending Xen debug info request, debug key v 2015-11-12 03:21:14 Z xenuse sending Xen debug info request, debug key z 2015-11-12 03:21:26 Z xenuse sending guest debug info request, debug key q 2015-11-12 03:21:38 Z xenuse sending RET to dom0 2015-11-12 03:21:43 Z serial: collecting logs for l1.guest.osstest Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. 2015-11-12 03:21:43 Z (nested host) serial console logs will be found in guest logs from (parent) 2015-11-12 03:21:43 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/kern.log* >/dev/null 2>&1 ||: echo /var/log/kern.log* 2015-11-12 03:21:43 Z at least one pattern expansion succeeded 2015-11-12 03:21:43 Z fetching /var/log/kern.log to l1.guest.osstest---var-log-kern.log 2015-11-12 03:21:43 Z executing scp ... root@192.168.199.50:/var/log/kern.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-kern.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-kern.log: 81.6% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-kern.log.gz 2015-11-12 03:21:43 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/syslog* >/dev/null 2>&1 ||: echo /var/log/syslog* 2015-11-12 03:21:44 Z fetching /var/log/syslog to l1.guest.osstest---var-log-syslog 2015-11-12 03:21:44 Z executing scp ... root@192.168.199.50:/var/log/syslog logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-syslog logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-syslog: 81.5% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-syslog.gz 2015-11-12 03:21:44 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/daemon.log* >/dev/null 2>&1 ||: echo /var/log/daemon.log* 2015-11-12 03:21:44 Z fetching /var/log/daemon.log to l1.guest.osstest---var-log-daemon.log 2015-11-12 03:21:44 Z executing scp ... root@192.168.199.50:/var/log/daemon.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-daemon.log 2015-11-12 03:21:44 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/messages* >/dev/null 2>&1 ||: echo /var/log/messages* 2015-11-12 03:21:44 Z fetching /var/log/messages to l1.guest.osstest---var-log-messages 2015-11-12 03:21:44 Z executing scp ... root@192.168.199.50:/var/log/messages logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-messages 2015-11-12 03:21:44 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/debug* >/dev/null 2>&1 ||: echo /var/log/debug* 2015-11-12 03:21:44 Z fetching /var/log/debug to l1.guest.osstest---var-log-debug 2015-11-12 03:21:44 Z executing scp ... root@192.168.199.50:/var/log/debug logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-debug 2015-11-12 03:21:44 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/dmesg* >/dev/null 2>&1 ||: echo /var/log/dmesg* 2015-11-12 03:21:45 Z fetching /var/log/dmesg to l1.guest.osstest---var-log-dmesg 2015-11-12 03:21:45 Z executing scp ... root@192.168.199.50:/var/log/dmesg logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-dmesg 2015-11-12 03:21:45 Z fetching /var/log/dmesg.0 to l1.guest.osstest---var-log-dmesg.0 2015-11-12 03:21:45 Z executing scp ... root@192.168.199.50:/var/log/dmesg.0 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-dmesg.0 2015-11-12 03:21:45 Z fetching /var/log/dmesg.1.gz to l1.guest.osstest---var-log-dmesg.1.gz 2015-11-12 03:21:45 Z executing scp ... root@192.168.199.50:/var/log/dmesg.1.gz logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-dmesg.1.gz 2015-11-12 03:21:45 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/user.log* >/dev/null 2>&1 ||: echo /var/log/user.log* 2015-11-12 03:21:45 Z fetching /var/log/user.log to l1.guest.osstest---var-log-user.log 2015-11-12 03:21:45 Z executing scp ... root@192.168.199.50:/var/log/user.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-user.log 2015-11-12 03:21:45 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/installer/syslog* >/dev/null 2>&1 ||: echo /var/log/installer/syslog* 2015-11-12 03:21:45 Z fetching /var/log/installer/syslog to l1.guest.osstest---var-log-installer-syslog 2015-11-12 03:21:45 Z executing scp ... root@192.168.199.50:/var/log/installer/syslog logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-syslog logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-syslog: 94.4% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-syslog.gz 2015-11-12 03:21:46 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/installer/partman* >/dev/null 2>&1 ||: echo /var/log/installer/partman* 2015-11-12 03:21:46 Z fetching /var/log/installer/partman to l1.guest.osstest---var-log-installer-partman 2015-11-12 03:21:46 Z executing scp ... root@192.168.199.50:/var/log/installer/partman logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-partman logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-partman: 96.1% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-installer-partman.gz 2015-11-12 03:21:46 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/xend.log* >/dev/null 2>&1 ||: echo /var/log/xen/xend.log* 2015-11-12 03:21:46 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/xend-debug.log* >/dev/null 2>&1 ||: echo /var/log/xen/xend-debug.log* 2015-11-12 03:21:46 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/xen-hotplug.log* >/dev/null 2>&1 ||: echo /var/log/xen/xen-hotplug.log* 2015-11-12 03:21:47 Z fetching /var/log/xen/xen-hotplug.log to l1.guest.osstest---var-log-xen-xen-hotplug.log 2015-11-12 03:21:47 Z executing scp ... root@192.168.199.50:/var/log/xen/xen-hotplug.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-xen-hotplug.log 2015-11-12 03:21:47 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/domain-builder-ng.log* >/dev/null 2>&1 ||: echo /var/log/xen/domain-builder-ng.log* 2015-11-12 03:21:47 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/bootloader.*.log >/dev/null 2>&1 ||: echo /var/log/xen/bootloader.*.log 2015-11-12 03:21:47 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/qemu-dm* >/dev/null 2>&1 ||: echo /var/log/xen/qemu-dm* 2015-11-12 03:21:47 Z fetching /var/log/xen/qemu-dm-l2.guest.osstest.log to l1.guest.osstest---var-log-xen-qemu-dm-l2.guest.osstest.log 2015-11-12 03:21:47 Z executing scp ... root@192.168.199.50:/var/log/xen/qemu-dm-l2.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-qemu-dm-l2.guest.osstest.log 2015-11-12 03:21:47 Z fetching /var/log/xen/qemu-dm-l2.guest.osstest.log.1 to l1.guest.osstest---var-log-xen-qemu-dm-l2.guest.osstest.log.1 2015-11-12 03:21:47 Z executing scp ... root@192.168.199.50:/var/log/xen/qemu-dm-l2.guest.osstest.log.1 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-qemu-dm-l2.guest.osstest.log.1 2015-11-12 03:21:47 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/xl*.log >/dev/null 2>&1 ||: echo /var/log/xen/xl*.log 2015-11-12 03:21:47 Z fetching /var/log/xen/xl-l2.guest.osstest.log to l1.guest.osstest---var-log-xen-xl-l2.guest.osstest.log 2015-11-12 03:21:47 Z executing scp ... root@192.168.199.50:/var/log/xen/xl-l2.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-xl-l2.guest.osstest.log 2015-11-12 03:21:48 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/osstest* >/dev/null 2>&1 ||: echo /var/log/xen/osstest* 2015-11-12 03:21:48 Z fetching /var/log/xen/osstest-serial-l2.guest.osstest.log to l1.guest.osstest---var-log-xen-osstest-serial-l2.guest.osstest.log 2015-11-12 03:21:48 Z executing scp ... root@192.168.199.50:/var/log/xen/osstest-serial-l2.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-osstest-serial-l2.guest.osstest.log 2015-11-12 03:21:48 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/xenstored* >/dev/null 2>&1 ||: echo /var/log/xen/xenstored* 2015-11-12 03:21:48 Z fetching /var/log/libvirt/libvirtd.log to l1.guest.osstest---var-log-libvirt-libvirtd.log 2015-11-12 03:21:48 Z executing scp ... root@192.168.199.50:/var/log/libvirt/libvirtd.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-libvirt-libvirtd.log scp: /var/log/libvirt/libvirtd.log: No such file or directory 2015-11-12 03:21:48 Z command nonzero waitstatus 256: timeout 90 scp -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.test-amd64-amd64-qemuu-nested root@192.168.199.50:/var/log/libvirt/libvirtd.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-libvirt-libvirtd.log 2015-11-12 03:21:48 Z logfile /var/log/libvirt/libvirtd.log fetch failed: status 256 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:48 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/libvirt/libxl/* >/dev/null 2>&1 ||: echo /var/log/libvirt/libxl/* 2015-11-12 03:21:48 Z executing ssh ... root@192.168.199.50 chmod a+r /var/run/xenstored* >/dev/null 2>&1 ||: echo /var/run/xenstored* 2015-11-12 03:21:48 Z fetching /var/run/xenstored to l1.guest.osstest---var-run-xenstored 2015-11-12 03:21:48 Z executing scp ... root@192.168.199.50:/var/run/xenstored logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-run-xenstored scp: /var/run/xenstored: not a regular file 2015-11-12 03:21:48 Z command nonzero waitstatus 256: timeout 90 scp -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.test-amd64-amd64-qemuu-nested root@192.168.199.50:/var/run/xenstored logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-run-xenstored 2015-11-12 03:21:48 Z logfile /var/run/xenstored fetch failed: status 256 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:48 Z fetching /var/run/xenstored.pid to l1.guest.osstest---var-run-xenstored.pid 2015-11-12 03:21:48 Z executing scp ... root@192.168.199.50:/var/run/xenstored.pid logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-run-xenstored.pid 2015-11-12 03:21:48 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xenstored* >/dev/null 2>&1 ||: echo /var/log/xenstored* 2015-11-12 03:21:49 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen/console/* >/dev/null 2>&1 ||: echo /var/log/xen/console/* 2015-11-12 03:21:49 Z fetching /var/log/xen/console/guest-l2.guest.osstest.log to l1.guest.osstest---var-log-xen-console-guest-l2.guest.osstest.log 2015-11-12 03:21:49 Z executing scp ... root@192.168.199.50:/var/log/xen/console/guest-l2.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---var-log-xen-console-guest-l2.guest.osstest.log 2015-11-12 03:21:49 Z executing ssh ... root@192.168.199.50 chmod a+r /var/log/xen-tools/* >/dev/null 2>&1 ||: echo /var/log/xen-tools/* 2015-11-12 03:21:49 Z executing ssh ... root@192.168.199.50 chmod a+r /boot/config* >/dev/null 2>&1 ||: echo /boot/config* 2015-11-12 03:21:49 Z fetching /boot/config-3.2.0-4-amd64 to l1.guest.osstest---boot-config-3.2.0-4-amd64 2015-11-12 03:21:49 Z executing scp ... root@192.168.199.50:/boot/config-3.2.0-4-amd64 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-3.2.0-4-amd64 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-3.2.0-4-amd64: 74.9% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-3.2.0-4-amd64.gz 2015-11-12 03:21:49 Z fetching /boot/config-4.1.2 to l1.guest.osstest---boot-config-4.1.2 2015-11-12 03:21:49 Z executing scp ... root@192.168.199.50:/boot/config-4.1.2 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-4.1.2 logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-4.1.2: 77.1% -- replaced with logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---boot-config-4.1.2.gz 2015-11-12 03:21:49 Z executing ssh ... root@192.168.199.50 chmod a+r /etc/xen/* >/dev/null 2>&1 ||: echo /etc/xen/* 2015-11-12 03:21:49 Z fetching /etc/xen/auto to l1.guest.osstest---etc-xen-auto 2015-11-12 03:21:49 Z executing scp ... root@192.168.199.50:/etc/xen/auto logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-auto scp: /etc/xen/auto: not a regular file 2015-11-12 03:21:50 Z command nonzero waitstatus 256: timeout 90 scp -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.test-amd64-amd64-qemuu-nested root@192.168.199.50:/etc/xen/auto logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-auto 2015-11-12 03:21:50 Z logfile /etc/xen/auto fetch failed: status 256 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:50 Z fetching /etc/xen/cpupool to l1.guest.osstest---etc-xen-cpupool 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/cpupool logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-cpupool 2015-11-12 03:21:50 Z fetching /etc/xen/l2.guest.osstest.cfg to l1.guest.osstest---etc-xen-l2.guest.osstest.cfg 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/l2.guest.osstest.cfg logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-l2.guest.osstest.cfg 2015-11-12 03:21:50 Z fetching /etc/xen/README to l1.guest.osstest---etc-xen-README 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/README logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-README 2015-11-12 03:21:50 Z fetching /etc/xen/README.incompatibilities to l1.guest.osstest---etc-xen-README.incompatibilities 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/README.incompatibilities logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-README.incompatibilities 2015-11-12 03:21:50 Z fetching /etc/xen/scripts to l1.guest.osstest---etc-xen-scripts 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/scripts logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-scripts scp: /etc/xen/scripts: not a regular file 2015-11-12 03:21:50 Z command nonzero waitstatus 256: timeout 90 scp -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.test-amd64-amd64-qemuu-nested root@192.168.199.50:/etc/xen/scripts logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-scripts 2015-11-12 03:21:50 Z logfile /etc/xen/scripts fetch failed: status 256 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:50 Z fetching /etc/xen/xl.conf to l1.guest.osstest---etc-xen-xl.conf 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/xl.conf logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-xl.conf 2015-11-12 03:21:50 Z fetching /etc/xen/xlexample.hvm to l1.guest.osstest---etc-xen-xlexample.hvm 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/xlexample.hvm logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-xlexample.hvm 2015-11-12 03:21:50 Z fetching /etc/xen/xlexample.pvlinux to l1.guest.osstest---etc-xen-xlexample.pvlinux 2015-11-12 03:21:50 Z executing scp ... root@192.168.199.50:/etc/xen/xlexample.pvlinux logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---etc-xen-xlexample.pvlinux 2015-11-12 03:21:51 Z fetching /home/osstest/osstest-confirm-booted.log to l1.guest.osstest---home-osstest-osstest-confirm-booted.log 2015-11-12 03:21:51 Z executing scp ... root@192.168.199.50:/home/osstest/osstest-confirm-booted.log logs/standalone/test-amd64-amd64-qemuu-nested/l1.guest.osstest---home-osstest-osstest-confirm-booted.log 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 chmod a+r /var/core/*.core >/dev/null 2>&1 ||: echo /var/core/*.core 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 xl info -n 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 cat /proc/cpuinfo 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 xl list 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 xl vcpu-list 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 xm list bash: xm: command not found 2015-11-12 03:21:51 Z command nonzero waitstatus 32512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.50 xm list 2015-11-12 03:21:51 Z failed to run xm list: status 32512 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:51 Z executing ssh ... root@192.168.199.50 xm list --long bash: xm: command not found 2015-11-12 03:21:52 Z command nonzero waitstatus 32512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.50 xm list --long 2015-11-12 03:21:52 Z failed to run xm list --long: status 32512 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 xenstore-ls -fp 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 ifconfig 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 route -vn 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 brctl show 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 lvm lvs 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 ps wwwaxf -eo pid,tty,stat,time,nice,psr,pcpu,pmem,nwchan,wchan:25,args 2015-11-12 03:21:52 Z executing ssh ... root@192.168.199.50 lspci -vvv 2015-11-12 03:21:53 Z executing ssh ... root@192.168.199.50 lspci -tv 2015-11-12 03:21:53 Z executing ssh ... root@192.168.199.50 cat /proc/partitions 2015-11-12 03:21:53 Z executing ssh ... root@192.168.199.50 virsh capabilities bash: virsh: command not found 2015-11-12 03:21:53 Z command nonzero waitstatus 32512: timeout 90 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.test-amd64-amd64-qemuu-nested root@192.168.199.50 virsh capabilities 2015-11-12 03:21:53 Z failed to run virsh capabilities: status 32512 at Osstest/TestSupport.pm line 410. 2015-11-12 03:21:53 Z executing ssh ... root@192.168.199.50 cat /proc/self/limits 2015-11-12 03:21:53 Z executing ssh ... root@192.168.199.50 cat /proc/modules 2015-11-12 03:21:53 Z logs captured to logs/standalone/test-amd64-amd64-qemuu-nested + rc=0 + date -u '+%Y-%m-%d %H:%M:%S Z exit status 0' 2015-11-12 03:21:53 Z exit status 0 + exit 0 2015-11-12 03:21:53 Z standalone.test-amd64-amd64-qemuu-nested 19 status status pass 2015-11-12 03:21:53 Z finished standalone.test-amd64-amd64-qemuu-nested ts-logs-capture l1 pass > > I managed to bodge something to let me try to test the ts-logs-capture > and it seems to DTRT for me. But, Robert, I would appreciate it if > you could see if it works for you in your more comprehensive setup. > > In particular, could you check that > - the ts-logs-capture output shows it sending the debug keys [Hu, Robert] It sends now. > - the ts-logs-capture output doesn't show undefined variable > warnings or other kind of Perl errors [Hu, Robert] There are still some Perl errors: Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. (I ignore these bash errors like: xm not found, libvirt not found, since they're true.) > - the L1 serial log is captured, and contains the debug > keys output [Hu, Robert] File /var/log/xen/console/ guest-l1.guest.osstest.log in L1 exists, but blank. > > In the meantime I will go back and read Ian Campbell's comments and > fold in his acks. > > Thanks, > Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-12 5:43 ` Hu, Robert @ 2015-11-12 16:10 ` Ian Jackson 2015-11-13 1:53 ` Hu, Robert 0 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-12 16:10 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > Here is detail logs Thanks. Most of this is fine. > 2015-11-12 03:21:43 Z serial: collecting logs for l1.guest.osstest > Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. > Use of uninitialized value in concatenation (.) or string at Osstest/Serial/guest.pm line 91. This is me being idiotic. I have a patch below which I'm pretty sure will fix it. Anyway, I don't think I need it retested for this reason because this is just a wrong log message, which we can fix in-tree if necessary. What I want to know is whether the l1 serial console logfile was collected, and contains the debug output. I think you should find this in the output of the ts-logs-capture for the host (L0). Something like 2015-11-12 03:21:48 Z fetching /var/log/xen/osstest-serial-l1.guest.osstest.log to MYHOSTNAME---var-log-xen-osstest-serial-l1.guest.osstest.log If you look in the logs directory, do you have a file matching *-serial-l1.* ? If so, can you send it to me ? I think (hope)! it will have the debug keys. Thanks, Ian. diff --git a/Osstest/Serial/guest.pm b/Osstest/Serial/guest.pm index 286773d..2511556 100644 --- a/Osstest/Serial/guest.pm +++ b/Osstest/Serial/guest.pm @@ -86,7 +86,7 @@ sub keys_shutdown { } sub fetch_logs { - my ($mo); + my ($mo) = @_; logm("$mo->{Target}{Name} (nested host) serial console logs". " will be found in guest logs from $mo->{Parent}{Name} (parent)"); ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-12 16:10 ` Ian Jackson @ 2015-11-13 1:53 ` Hu, Robert 2015-11-13 10:29 ` Ian Jackson 0 siblings, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-13 1:53 UTC (permalink / raw) To: Ian Jackson; +Cc: xen-devel, Ian Campbell, Jin, Gordon [-- Attachment #1: Type: text/plain, Size: 2620 bytes --] > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Friday, November 13, 2015 12:10 AM > To: Hu, Robert <robert.hu@intel.com> > Cc: Ian Campbell <ian.campbell@citrix.com>; Jin, Gordon > <gordon.jin@intel.com>; xen-devel@lists.xenproject.org > Subject: RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH > v14 PART 2 10-26/26] Nested HVM testing)"): > > Here is detail logs > > Thanks. Most of this is fine. > > > 2015-11-12 03:21:43 Z serial: collecting logs for l1.guest.osstest > > Use of uninitialized value in concatenation (.) or string at > Osstest/Serial/guest.pm line 91. > > Use of uninitialized value in concatenation (.) or string at > Osstest/Serial/guest.pm line 91. > > This is me being idiotic. I have a patch below which I'm pretty sure > will fix it. Anyway, I don't think I need it retested for this reason > because this is just a wrong log message, which we can fix in-tree if > necessary. > > What I want to know is whether the l1 serial console logfile was > collected, and contains the debug output. > > I think you should find this in the output of the ts-logs-capture for > the host (L0). Something like > > 2015-11-12 03:21:48 Z fetching > /var/log/xen/osstest-serial-l1.guest.osstest.log to > MYHOSTNAME---var-log-xen-osstest-serial-l1.guest.osstest.log [Hu, Robert] Yes. In last test step, ts-logs-capture host, I can see 2015-11-12 03:22:06 Z fetching /var/log/xen/osstest-serial-l1.guest.osstest.log to osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log 2015-11-12 03:22:06 Z executing scp ... root@192.168.199.70:/var/log/xen/osstest-serial-l1.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log > > If you look in the logs directory, do you have a file matching > *-serial-l1.* ? If so, can you send it to me ? I think (hope)! it > will have the debug keys. [Hu, Robert] See attached. Seems no debug keys in it. > > Thanks, > Ian. > > diff --git a/Osstest/Serial/guest.pm b/Osstest/Serial/guest.pm > index 286773d..2511556 100644 > --- a/Osstest/Serial/guest.pm > +++ b/Osstest/Serial/guest.pm > @@ -86,7 +86,7 @@ sub keys_shutdown { > } > > sub fetch_logs { > - my ($mo); > + my ($mo) = @_; > > logm("$mo->{Target}{Name} (nested host) serial console logs". > " will be found in guest logs from $mo->{Parent}{Name} (parent)"); [-- Attachment #2: osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log --] [-- Type: application/octet-stream, Size: 98158 bytes --] [-- Attachment #3: Type: text/plain, Size: 126 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-13 1:53 ` Hu, Robert @ 2015-11-13 10:29 ` Ian Jackson 2015-11-16 1:49 ` Hu, Robert 0 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-13 10:29 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > Yes. In last test step, ts-logs-capture host, I can see > > 2015-11-12 03:22:06 Z fetching /var/log/xen/osstest-serial-l1.guest.osstest.log to osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log > 2015-11-12 03:22:06 Z executing scp ... root@192.168.199.70:/var/log/xen/osstest-serial-l1.guest.osstest.log logs/standalone/test-amd64-amd64-qemuu-nested/osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log Good. > See attached. Seems no debug keys in it. Actually: (XEN) '0' pressed -> dumping Dom0's registers ... (XEN) 'H' pressed -> dumping heap info (now-0x119:584209D7) ... So it is working. Thanks. I will send out a final version for the record (and for Ian C to hopefully ack). Regards, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-13 10:29 ` Ian Jackson @ 2015-11-16 1:49 ` Hu, Robert 2015-11-16 10:30 ` Ian Campbell 0 siblings, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-16 1:49 UTC (permalink / raw) To: Ian Jackson; +Cc: xen-devel, Ian Campbell, Jin, Gordon > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Friday, November 13, 2015 6:29 PM > To: Hu, Robert <robert.hu@intel.com> > Cc: Ian Campbell <ian.campbell@citrix.com>; Jin, Gordon > <gordon.jin@intel.com>; xen-devel@lists.xenproject.org > Subject: RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH > v14 PART 2 10-26/26] Nested HVM testing)"): > > Yes. In last test step, ts-logs-capture host, I can see > > > > 2015-11-12 03:22:06 Z fetching > /var/log/xen/osstest-serial-l1.guest.osstest.log to > osstest-host2---var-log-xen-osstest-serial-l1.guest.osstest.log > > 2015-11-12 03:22:06 Z executing scp ... > root@192.168.199.70:/var/log/xen/osstest-serial-l1.guest.osstest.log > logs/standalone/test-amd64-amd64-qemuu-nested/osstest-host2---var-log- > xen-osstest-serial-l1.guest.osstest.log > > Good. > > > See attached. Seems no debug keys in it. > > Actually: > > (XEN) '0' pressed -> dumping Dom0's registers > > ... > (XEN) 'H' pressed -> dumping heap info (now-0x119:584209D7) > > ... > > So it is working. > > Thanks. I will send out a final version for the record (and for Ian C > to hopefully ack). > [Hu, Robert] Great, thank you both. So it will go into your pretest soon, after Ian C. acks, right? > Regards, > Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-16 1:49 ` Hu, Robert @ 2015-11-16 10:30 ` Ian Campbell 2015-11-16 10:39 ` Hu, Robert 2015-11-16 15:20 ` Ian Jackson 0 siblings, 2 replies; 23+ messages in thread From: Ian Campbell @ 2015-11-16 10:30 UTC (permalink / raw) To: Hu, Robert, Ian Jackson; +Cc: xen-devel, Jin, Gordon On Mon, 2015-11-16 at 01:49 +0000, Hu, Robert wrote: > > > Great, thank you both. > So it will go into your pretest soon, after Ian C. acks, right? Ian seems to have pushed it over the weekend, the result ("tolerable FAIL - PUSHED") is at http://lists.xenproject.org/archives/html/osstest-output/2015-11/msg01982.html I suppose you will be most interested in: http://logs.test-lab.xenproject.org/osstest/logs/64314/test-amd64-amd64-qemuu-nested/info.html So it should be live in any relevant flights started from now on. Congrats! Ian, I notice in the logs that some of the webspace files (specifically those relating to the l2, I think[0]) do not have the l0 hostname in the filename, mightn't they therefore clash? Ian. [0] e.g. "webspace-l1.guest.osstest_l2.guest.osstest_known_hosts" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-16 10:30 ` Ian Campbell @ 2015-11-16 10:39 ` Hu, Robert 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:20 ` Ian Jackson 1 sibling, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-16 10:39 UTC (permalink / raw) To: Ian Campbell, Ian Jackson; +Cc: xen-devel, Jin, Gordon > -----Original Message----- > From: Ian Campbell [mailto:ian.campbell@citrix.com] > Sent: Monday, November 16, 2015 6:30 PM > To: Hu, Robert <robert.hu@intel.com>; Ian Jackson > <Ian.Jackson@eu.citrix.com> > Cc: Jin, Gordon <gordon.jin@intel.com>; xen-devel@lists.xenproject.org > Subject: Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 > 10-26/26] Nested HVM testing) > > On Mon, 2015-11-16 at 01:49 +0000, Hu, Robert wrote: > > > > > Great, thank you both. > > So it will go into your pretest soon, after Ian C. acks, right? > > Ian seems to have pushed it over the weekend, the result ("tolerable FAIL - > PUSHED") is at > http://lists.xenproject.org/archives/html/osstest-output/2015-11/msg01982 > .html > > I suppose you will be most interested in: > http://logs.test-lab.xenproject.org/osstest/logs/64314/test-amd64-amd64- > qemuu-nested/info.html > > So it should be live in any relevant flights started from now on. > > Congrats! [Hu, Robert] Thanks and appreciate your review and guidance! > > Ian, I notice in the logs that some of the webspace files (specifically > those relating to the l2, I think[0]) do not have the l0 hostname in the > filename, mightn't they therefore clash? > > Ian. > > [0] e.g. "webspace-l1.guest.osstest_l2.guest.osstest_known_hosts" ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-16 10:39 ` Hu, Robert @ 2015-11-16 15:20 ` Ian Jackson 0 siblings, 0 replies; 23+ messages in thread From: Ian Jackson @ 2015-11-16 15:20 UTC (permalink / raw) To: Hu, Robert; +Cc: xen-devel, Ian Campbell, Jin, Gordon Hu, Robert writes ("RE: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > Thanks and appreciate your review and guidance! Thanks for your contribution. It's been a pleasure working with you. Regards, Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) 2015-11-16 10:30 ` Ian Campbell 2015-11-16 10:39 ` Hu, Robert @ 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Jackson 1 sibling, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-16 15:20 UTC (permalink / raw) To: Ian Campbell; +Cc: Hu, Robert, xen-devel, Jin, Gordon Ian Campbell writes ("Re: Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing)"): > Ian, I notice in the logs that some of the webspace files (specifically > those relating to the l2, I think[0]) do not have the l0 hostname in the > filename, mightn't they therefore clash? Yes. At the moment all of these files are identical(!) or it would be a bad problem. I am about to send two patches to fix this. There are some followups as well to tidy up some of the other logs etc. But I find I keep picking at loose ends so they're not ready yet. Ian, we should discuss on irc whether to force push these two. Ian. ^ permalink raw reply [flat|nested] 23+ messages in thread
* [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list 2015-11-16 15:20 ` Ian Jackson @ 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile Ian Jackson ` (2 more replies) 0 siblings, 3 replies; 23+ messages in thread From: Ian Jackson @ 2015-11-16 15:20 UTC (permalink / raw) To: xen-devel; +Cc: Robert Ho, Ian Jackson, Ian Campbell This can (and often should) be used to replace $ho->{Name}. For an L0 host it returns "$ho->{Name}", ie HOST. For a plain guest or L1 guest it returns "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. For an L2 guest it recurses further, giving HOST_L1_L2. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> CC: Robert Ho <robert.hu@intel.com> --- Osstest/TestSupport.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 6be50e3..47b3e6f 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -70,6 +70,7 @@ BEGIN { selecthost get_hostflags get_host_property get_target_property get_host_native_linux_console + hostnamepath hostnamepath_list power_state power_cycle power_cycle_sleep serial_fetch_logs propname_massage propname_check @@ -1063,6 +1064,20 @@ sub get_host_method_object ($$$) { return $mo; } +sub hostnamepath_list ($); +sub hostnamepath_list ($) { + # returns list of guest/host names, innermost first + my ($ho) = @_; + return () unless $ho && $ho->{Name}; + return ($ho->{Name}, hostnamepath_list($ho->{Host})); +} + +sub hostnamepath ($) { + my ($ho) = @_; + my @l = hostnamepath_list($ho); + join '_', reverse @l; +} + #---------- stashed files ---------- sub open_unique_stashfile ($) { -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile 2015-11-16 15:20 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Jackson @ 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:37 ` Ian Campbell 2015-11-16 15:37 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Campbell 2015-11-17 2:14 ` Hu, Robert 2 siblings, 1 reply; 23+ messages in thread From: Ian Jackson @ 2015-11-16 15:20 UTC (permalink / raw) To: xen-devel; +Cc: Robert Ho, Ian Jackson, Ian Campbell create_webfile needs a pathname in the shared public-html directory. These paths need to be (a) stable (b) unique across all running jobs. We achieve this by basing the filenames on the hostname and (for a guest) the guest name. But for an L2 guest we need to include the physical host name too, because the L1 `host' is not unique. Fix this by using hostnamepath(), replacing the open-coded single iteration. Reported-by: Ian Campbell <ian.campbell@citrix.com> CC: Robert Ho <robert.hu@intel.com> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> --- Osstest/TestSupport.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 47b3e6f..a66f8a9 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -2262,9 +2262,7 @@ sub await_webspace_fetch_byleaf ($$$$$) { sub create_webfile ($$$) { my ($ho, $tail, $contents) = @_; # $contents as for file_link_contents - my $wf_rhs= $ho->{Name}."_".$tail; - # $ho->{Host} is set if $ho is a guest. - $wf_rhs= $ho->{Host}{Name}."_${wf_rhs}" if $ho->{Host}; + my $wf_rhs= hostnamepath($ho)."_".$tail; my $wf_common= $c{WebspaceCommon}.$wf_rhs; my $wf_url= $c{WebspaceUrl}.$wf_common; my $wf_file= $c{WebspaceFile}.$wf_common; -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile 2015-11-16 15:20 ` [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile Ian Jackson @ 2015-11-16 15:37 ` Ian Campbell 0 siblings, 0 replies; 23+ messages in thread From: Ian Campbell @ 2015-11-16 15:37 UTC (permalink / raw) To: Ian Jackson, xen-devel; +Cc: Robert Ho On Mon, 2015-11-16 at 15:20 +0000, Ian Jackson wrote: > create_webfile needs a pathname in the shared public-html directory. > These paths need to be (a) stable (b) unique across all running jobs. > We achieve this by basing the filenames on the hostname and (for a > guest) the guest name. > > But for an L2 guest we need to include the physical host name too, > because the L1 `host' is not unique. > > Fix this by using hostnamepath(), replacing the open-coded single > iteration. > > Reported-by: Ian Campbell <ian.campbell@citrix.com> > CC: Robert Ho <robert.hu@intel.com> > Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list 2015-11-16 15:20 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile Ian Jackson @ 2015-11-16 15:37 ` Ian Campbell 2015-11-17 2:14 ` Hu, Robert 2 siblings, 0 replies; 23+ messages in thread From: Ian Campbell @ 2015-11-16 15:37 UTC (permalink / raw) To: Ian Jackson, xen-devel; +Cc: Robert Ho On Mon, 2015-11-16 at 15:20 +0000, Ian Jackson wrote: > This can (and often should) be used to replace $ho->{Name}. > > For an L0 host it returns "$ho->{Name}", ie HOST. > > For a plain guest or L1 guest it returns > "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. > > For an L2 guest it recurses further, giving HOST_L1_L2. > > Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> I'm not 100% convinced it makes sense to have "path" in the name of the _list variant, but: Acked-by: Ian Campbell <ian.campbell@citrix.com> ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list 2015-11-16 15:20 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile Ian Jackson 2015-11-16 15:37 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Campbell @ 2015-11-17 2:14 ` Hu, Robert 2015-11-17 9:51 ` Ian Campbell 2 siblings, 1 reply; 23+ messages in thread From: Hu, Robert @ 2015-11-17 2:14 UTC (permalink / raw) To: Ian Jackson, xen-devel; +Cc: Ian Campbell > -----Original Message----- > From: Ian Jackson [mailto:ian.jackson@eu.citrix.com] > Sent: Monday, November 16, 2015 11:21 PM > To: xen-devel@lists.xenproject.org > Cc: Ian Campbell <ian.campbell@citrix.com>; Ian Jackson > <ian.jackson@eu.citrix.com>; Ian Jackson <Ian.Jackson@eu.citrix.com>; Hu, > Robert <robert.hu@intel.com> > Subject: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and > hostnamepath_list > > This can (and often should) be used to replace $ho->{Name}. > > For an L0 host it returns "$ho->{Name}", ie HOST. > > For a plain guest or L1 guest it returns > "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. > > For an L2 guest it recurses further, giving HOST_L1_L2. > > Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> > CC: Robert Ho <robert.hu@intel.com> > --- > Osstest/TestSupport.pm | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > index 6be50e3..47b3e6f 100644 > --- a/Osstest/TestSupport.pm > +++ b/Osstest/TestSupport.pm > @@ -70,6 +70,7 @@ BEGIN { > > selecthost get_hostflags get_host_property > get_target_property > get_host_native_linux_console > + hostnamepath hostnamepath_list > power_state power_cycle power_cycle_sleep > serial_fetch_logs > propname_massage propname_check > @@ -1063,6 +1064,20 @@ sub get_host_method_object ($$$) { > return $mo; > } > > +sub hostnamepath_list ($); > +sub hostnamepath_list ($) { > + # returns list of guest/host names, innermost first > + my ($ho) = @_; > + return () unless $ho && $ho->{Name}; [Hu, Robert] Is the situation $ho or $ho->{Name} undefined normal? Shall we add warning here? > + return ($ho->{Name}, hostnamepath_list($ho->{Host})); > +} > + > +sub hostnamepath ($) { > + my ($ho) = @_; > + my @l = hostnamepath_list($ho); > + join '_', reverse @l; > +} > + > #---------- stashed files ---------- > > sub open_unique_stashfile ($) { > -- > 1.7.10.4 ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list 2015-11-17 2:14 ` Hu, Robert @ 2015-11-17 9:51 ` Ian Campbell 2015-11-17 10:32 ` Hu, Robert 0 siblings, 1 reply; 23+ messages in thread From: Ian Campbell @ 2015-11-17 9:51 UTC (permalink / raw) To: Hu, Robert, Ian Jackson, xen-devel On Tue, 2015-11-17 at 02:14 +0000, Hu, Robert wrote: > > -----Original Message----- > > From: Ian Jackson [mailto:ian.jackson@eu.citrix.com] > > Sent: Monday, November 16, 2015 11:21 PM > > To: xen-devel@lists.xenproject.org > > Cc: Ian Campbell <ian.campbell@citrix.com>; Ian Jackson > > <ian.jackson@eu.citrix.com>; Ian Jackson <Ian.Jackson@eu.citrix.com>; > > Hu, > > Robert <robert.hu@intel.com> > > Subject: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and > > hostnamepath_list > > > > This can (and often should) be used to replace $ho->{Name}. > > > > For an L0 host it returns "$ho->{Name}", ie HOST. > > > > For a plain guest or L1 guest it returns > > "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. > > > > For an L2 guest it recurses further, giving HOST_L1_L2. > > > > Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> > > CC: Robert Ho <robert.hu@intel.com> > > --- > > Osstest/TestSupport.pm | 15 +++++++++++++++ > > 1 file changed, 15 insertions(+) > > > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > > index 6be50e3..47b3e6f 100644 > > --- a/Osstest/TestSupport.pm > > +++ b/Osstest/TestSupport.pm > > @@ -70,6 +70,7 @@ BEGIN { > > > > selecthost get_hostflags get_host_property > > get_target_property > > get_host_native_linux_console > > + hostnamepath hostnamepath_list > > power_state power_cycle power_cycle_sleep > > serial_fetch_logs > > propname_massage propname_check > > @@ -1063,6 +1064,20 @@ sub get_host_method_object ($$$) { > > return $mo; > > } > > > > +sub hostnamepath_list ($); > > +sub hostnamepath_list ($) { > > + # returns list of guest/host names, innermost first > > + my ($ho) = @_; > > + return () unless $ho && $ho->{Name}; > [Hu, Robert] > > Is the situation $ho or $ho->{Name} undefined normal? Shall we > add warning here? It can happen through the recursion in the line below. i.e. this is a bit like the NULL terminator at the end of a linked list. > > > + return ($ho->{Name}, hostnamepath_list($ho->{Host})); > > +} > > + > > +sub hostnamepath ($) { > > + my ($ho) = @_; > > + my @l = hostnamepath_list($ho); > > + join '_', reverse @l; > > +} > > + > > #---------- stashed files ---------- > > > > sub open_unique_stashfile ($) { > > -- > > 1.7.10.4 > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list 2015-11-17 9:51 ` Ian Campbell @ 2015-11-17 10:32 ` Hu, Robert 0 siblings, 0 replies; 23+ messages in thread From: Hu, Robert @ 2015-11-17 10:32 UTC (permalink / raw) To: Ian Campbell, Ian Jackson, xen-devel > -----Original Message----- > From: Ian Campbell [mailto:ian.campbell@citrix.com] > Sent: Tuesday, November 17, 2015 5:51 PM > To: Hu, Robert <robert.hu@intel.com>; Ian Jackson > <ian.jackson@eu.citrix.com>; xen-devel@lists.xenproject.org > Subject: Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and > hostnamepath_list > > On Tue, 2015-11-17 at 02:14 +0000, Hu, Robert wrote: > > > -----Original Message----- > > > From: Ian Jackson [mailto:ian.jackson@eu.citrix.com] > > > Sent: Monday, November 16, 2015 11:21 PM > > > To: xen-devel@lists.xenproject.org > > > Cc: Ian Campbell <ian.campbell@citrix.com>; Ian Jackson > > > <ian.jackson@eu.citrix.com>; Ian Jackson <Ian.Jackson@eu.citrix.com>; > > > Hu, > > > Robert <robert.hu@intel.com> > > > Subject: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and > > > hostnamepath_list > > > > > > This can (and often should) be used to replace $ho->{Name}. > > > > > > For an L0 host it returns "$ho->{Name}", ie HOST. > > > > > > For a plain guest or L1 guest it returns > > > "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. > > > > > > For an L2 guest it recurses further, giving HOST_L1_L2. > > > > > > Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> > > > CC: Robert Ho <robert.hu@intel.com> > > > --- > > > Osstest/TestSupport.pm | 15 +++++++++++++++ > > > 1 file changed, 15 insertions(+) > > > > > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > > > index 6be50e3..47b3e6f 100644 > > > --- a/Osstest/TestSupport.pm > > > +++ b/Osstest/TestSupport.pm > > > @@ -70,6 +70,7 @@ BEGIN { > > > > > > selecthost get_hostflags > get_host_property > > > get_target_property > > > get_host_native_linux_console > > > + hostnamepath hostnamepath_list > > > power_state power_cycle > power_cycle_sleep > > > serial_fetch_logs > > > propname_massage > propname_check > > > @@ -1063,6 +1064,20 @@ sub get_host_method_object ($$$) { > > > return $mo; > > > } > > > > > > +sub hostnamepath_list ($); > > > +sub hostnamepath_list ($) { > > > + # returns list of guest/host names, innermost first > > > + my ($ho) = @_; > > > + return () unless $ho && $ho->{Name}; > > [Hu, Robert] > > > > Is the situation $ho or $ho->{Name} undefined normal? Shall we > > add warning here? > > It can happen through the recursion in the line below. i.e. this is a bit > like the NULL terminator at the end of a linked list. [Hu, Robert] Oh, I see. Yes, that's right. > > > > > > + return ($ho->{Name}, hostnamepath_list($ho->{Host})); > > > +} > > > + > > > +sub hostnamepath ($) { > > > + my ($ho) = @_; > > > + my @l = hostnamepath_list($ho); > > > + join '_', reverse @l; > > > +} > > > + > > > #---------- stashed files ---------- > > > > > > sub open_unique_stashfile ($) { > > > -- > > > 1.7.10.4 > > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2015-11-17 10:32 UTC | newest] Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <9E79D1C9A97CFD4097BCE431828FDD3102346249@SHSMSX103.ccr.corp.intel.com> 2015-11-10 19:46 ` Osstest nested patch v15 (was RE: [OSSTEST PATCH v14 PART 2 10-26/26] Nested HVM testing) Ian Jackson 2015-11-11 5:23 ` Hu, Robert 2015-11-11 9:35 ` Ian Jackson 2015-11-11 10:15 ` Hu, Robert 2015-11-11 11:08 ` Ian Jackson 2015-11-11 14:05 ` Ian Jackson 2015-11-11 17:00 ` Ian Jackson 2015-11-12 5:43 ` Hu, Robert 2015-11-12 16:10 ` Ian Jackson 2015-11-13 1:53 ` Hu, Robert 2015-11-13 10:29 ` Ian Jackson 2015-11-16 1:49 ` Hu, Robert 2015-11-16 10:30 ` Ian Campbell 2015-11-16 10:39 ` Hu, Robert 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:20 ` Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Jackson 2015-11-16 15:20 ` [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile Ian Jackson 2015-11-16 15:37 ` Ian Campbell 2015-11-16 15:37 ` [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Ian Campbell 2015-11-17 2:14 ` Hu, Robert 2015-11-17 9:51 ` Ian Campbell 2015-11-17 10:32 ` Hu, Robert
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.