Skip to contentSkip to conversation

host examination: Actually permanently save the logs

PATCH In review Ian Jackson 4 participants 15 messages May 22, 2017 – Jun 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 host examination: Actually permanently save the logs

Due to an oversight, this was not plumbed into sg-run-job.

---
 sg-run-job | 1 +
 1 file changed, 1 insertion(+)
sg-run-job +1 -0
index ceb7980..43f3daa 100755
@@ -520,6 +520,7 @@ proc examine-host-examine {install} {
     run-ts !broken capture-logs ts-logs-capture       + host
     if {$ok} {
 	run-ts -.  =           ts-examine-serial-post + host
+	run-ts .   =           ts-examine-logs-save   + host
     }
 }
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

PATCH 2/3 ap-common: Switch to Linux 4.9 by default

I ran a special report[1] to see what to expect and:

Tests which did not succeed and are blocking,
including tests which could not be run:

    test-amd64-i386-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail REGR.
    test-amd64-i386-xl-qemut-win7-amd64 15 guest-localmigrate/x10 fail REGR.

These Windows 7 migration tests have been failing on many branches and don't look like they are something to do with the version of Linux used in dom0.

Accordingly I intend to push this change to switch osstest to using Linux 4.9 by default. ARM tests are not affected at this time.

[1] ./sg-report-flight --that-linux=b65f2f457c49b2cfd7967c34b7a0b04c25587f13 --this-linux=f5eea276d8de10a32e68721707ae8f2fdfaa0960 --branches-also=linux-3.14,linux-arm-xen 109662 |less

CC Boris Ostrovsky <[email protected]>
CC Juergen Gross <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Wei Liu <[email protected]>
CC Konrad Rzeszutek Wilk <[email protected]>
CC Roger Pau Monné <[email protected]>
---
 ap-common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ap-common +1 -1
index cbb815c..bc7c03c 100644
@@ -60,7 +60,7 @@
 
 : ${PUSH_TREE_LINUX:=$XENBITS:/home/xen/git/linux-pvops.git}
 : ${BASE_TREE_LINUX:=git://xenbits.xen.org/linux-pvops.git}
-: ${BASE_TAG_LINUX:=tested/linux-3.14}
+: ${BASE_TAG_LINUX:=tested/linux-4.9}
 : ${BASE_TAG_LINUX_ARM:=tested/linux-arm-xen}
 
 if [ "x${TREE_LINUX}" = x ]; then
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 2/3
#2 lore raw

Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default

Quoted 16 lines · Ian Jackson

I ran a special report[1] to see what to expect and:

Tests which did not succeed and are blocking,
including tests which could not be run:

    test-amd64-i386-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail REGR.
    test-amd64-i386-xl-qemut-win7-amd64 15 guest-localmigrate/x10 fail REGR.

These Windows 7 migration tests have been failing on many branches and don't look like they are something to do with the version of Linux used in dom0.

Accordingly I intend to push this change to switch osstest to using Linux 4.9 by default. ARM tests are not affected at this time.

[1] ./sg-report-flight --that-linux=b65f2f457c49b2cfd7967c34b7a0b04c25587f13 --this-linux=f5eea276d8de10a32e68721707ae8f2fdfaa0960 --branches-also=linux-3.14,linux-arm-xen 109662 |less

Quoted 7 lines
CC Boris Ostrovsky <[email protected]>
CC Juergen Gross <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Wei Liu <[email protected]>
CC Konrad Rzeszutek Wilk <[email protected]>
CC Roger Pau Monné <[email protected]>

Yes please:

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

In reply to Ian Jackson

Ian Jackson writes ("[OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default"):

Quoted 1 line

I ran a special report[1] to see what to expect and:

...

It seems I ran or read this wrong. In fact, my change is stuck in the osstest self push gate because:

osstest service owner writes ("[osstest test] 109837: regressions - FAIL"):

Quoted 9 lines

flight 109837 osstest real [real]
http://logs.test-lab.xenproject.org/osstest/logs/109837/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-amd 13 xen-boot/l1 fail REGR. vs. 109601
test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1 fail REGR. vs. 109601

The L1 console log is here:

http://logs.test-lab.xenproject.org/osstest/logs/109837/test-amd64-amd64-qemuu-nested-intel/chardonnay1---var-log-xen-osstest-serial-l1.guest.osstest.log

this seems to show it hanging during the boot. osstest times it out because it doesn't come onto the network. However,

http://logs.test-lab.xenproject.org/osstest/logs/109837/test-amd64-amd64-qemuu-nested-intel/chardonnay1---var-log-xen-console-guest-l1.guest.osstest.log

shows a login prompt on the L1's PV console.

Could someone investigate please ?

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Quoted 21 lines · Ian Jackson

Ian Jackson writes ("[OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default"):

Quoted 1 line

I ran a special report[1] to see what to expect and:

...

It seems I ran or read this wrong. In fact, my change is stuck in the osstest self push gate because:

osstest service owner writes ("[osstest test] 109837: regressions - FAIL"):

Quoted 9 lines

flight 109837 osstest real [real]
http://logs.test-lab.xenproject.org/osstest/logs/109837/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-amd 13 xen-boot/l1 fail REGR. vs. 109601
test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1 fail REGR. vs. 109601

The L1 console log is here:

http://logs.test-lab.xenproject.org/osstest/logs/109837/test-amd64-amd64-qemuu-nested-intel/chardonnay1---var-log-xen-osstest-serial-l1.guest.osstest.log

Quoted 8 lines

this seems to show it hanging during the boot. osstest times it out because it doesn't come onto the network. However,

http://logs.test-lab.xenproject.org/osstest/logs/109837/test-amd64-amd64-qemuu-nested-intel/chardonnay1---var-log-xen-console-guest-l1.guest.osstest.log

shows a login prompt on the L1's PV console.

Could someone investigate please ?

The test is using 4.9.21 kernel and it looks like the patch that fixed earlier regression shows up in 4.9 tree at 4.9.28 (commit 5d7ab8339a9a9e745c672279437657654268be81).

-boris

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Boris Ostrovsky writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 7 lines · Ian Jackson
Quoted 6 lines

osstest service owner writes ("[osstest test] 109837: regressions - FAIL"):

Quoted 4 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-amd 13 xen-boot/l1 fail REGR. vs. 109601
test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1 fail REGR. vs. 109601

The L1 console log is here:

...

Quoted 3 lines

The test is using 4.9.21 kernel and it looks like the patch that fixed earlier regression shows up in 4.9 tree at 4.9.28 (commit 5d7ab8339a9a9e745c672279437657654268be81).

Thanks for investigating. osstest tries to to track 4.9.y.

However, it is blocked because of persistent failures like this one:

osstest service owner writes ("[linux-4.9 test] 109836: regressions - trouble: broken/fail/pass"):

Quoted 8 lines

flight 109836 linux-4.9 real [real]
http://logs.test-lab.xenproject.org/osstest/logs/109836/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-xl-credit2 6 xen-boot fail REGR. vs. 107358

Does anyone have any idea why this test should fail consistently ? The corresponding test with the default credit1 scheduler fails too. But it works on the other branches (which are using linux 3.18):
http://logs.test-lab.xenproject.org/osstest/results/history/test-armhf-armhf-xl/ALL
http://logs.test-lab.xenproject.org/osstest/results/history/test-armhf-armhf-xl-credit2/ALL

These are, admittedly, on the unreliable arndales, but:
http://logs.test-lab.xenproject.org/osstest/results/host/arndale-bluewater.html

So I think this is a problem with 4.9.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Hi Ian,

Quoted 33 lines · Ian Jackson

Boris Ostrovsky writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 7 lines · Ian Jackson
Quoted 6 lines

osstest service owner writes ("[osstest test] 109837: regressions - FAIL"):

Quoted 4 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-amd 13 xen-boot/l1 fail REGR. vs. 109601
test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1 fail REGR. vs. 109601

The L1 console log is here:

...

Quoted 3 lines

The test is using 4.9.21 kernel and it looks like the patch that fixed earlier regression shows up in 4.9 tree at 4.9.28 (commit 5d7ab8339a9a9e745c672279437657654268be81).

Thanks for investigating. osstest tries to to track 4.9.y.

However, it is blocked because of persistent failures like this one:

osstest service owner writes ("[linux-4.9 test] 109836: regressions - trouble: broken/fail/pass"):

Quoted 8 lines

flight 109836 linux-4.9 real [real]
http://logs.test-lab.xenproject.org/osstest/logs/109836/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-xl-credit2 6 xen-boot fail REGR. vs. 107358

Does anyone have any idea why this test should fail consistently ? The corresponding test with the default credit1 scheduler fails too. But it works on the other branches (which are using linux 3.18):
http://logs.test-lab.xenproject.org/osstest/results/history/test-armhf-armhf-xl/ALL
http://logs.test-lab.xenproject.org/osstest/results/history/test-armhf-armhf-xl-credit2/ALL

Quoted 4 lines

These are, admittedly, on the unreliable arndales, but:
http://logs.test-lab.xenproject.org/osstest/results/host/arndale-bluewater.html

So I think this is a problem with 4.9.

There are two missing patches in Linux 4.9 to be able to boot on the Arndale:
- c827283586a4 "ARM: 8636/1: Cleanup sanity_check_meminfo"
- 92ed32019d0d "ARM: 8637/1: Adjust memory boundaries after reservation"

They are part of the linux-arm-xen branch (also based on Xen 4.9) but I haven't yet requested to backport them in staging.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#7 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Julien Grall writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 7 lines

There are two missing patches in Linux 4.9 to be able to boot on the Arndale:
- c827283586a4 "ARM: 8636/1: Cleanup sanity_check_meminfo"
- 92ed32019d0d "ARM: 8637/1: Adjust memory boundaries after reservation"

They are part of the linux-arm-xen branch (also based on Xen 4.9) but I haven't yet requested to backport them in staging.

I see. Can you do that please ? It's blocking moving our testing to a non-ancient kernel.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#8 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Hi Ian,

Quoted 11 lines · Ian Jackson

Julien Grall writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 7 lines

There are two missing patches in Linux 4.9 to be able to boot on the Arndale:
- c827283586a4 "ARM: 8636/1: Cleanup sanity_check_meminfo"
- 92ed32019d0d "ARM: 8637/1: Adjust memory boundaries after reservation"

They are part of the linux-arm-xen branch (also based on Xen 4.9) but I haven't yet requested to backport them in staging.

I see. Can you do that please ? It's blocking moving our testing to a non-ancient kernel.

I will do that. However, we don't use Linux 4.9 branch for arm64/arm32 testing. So why are we blocking on those boards?

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#9 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Julien Grall writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 1 line · Ian Jackson

...

Quoted 5 lines
Quoted 2 lines

I see. Can you do that please ? It's blocking moving our testing to a non-ancient kernel.

I will do that. However, we don't use Linux 4.9 branch for arm64/arm32 testing. So why are we blocking on those boards?

It works like this:

The CI in general has a notion of the default Linux. That is currently Linux 3.18. But, there is a special case, and for ARM it is the special linux-arm-xen branch.

I am trying to update the non-ARM default Linux from 3.18 to 4.9. For that to be true, there must be no regressions between 3.18 and 4.9.

Specifically, because changing to 4.9 as the the non-ARM default Linux version would mean using _the version of Linux 4.9 that has itself passed osstest's tests_, there must be no x86 regressions between Linux 3.18 as currently used for the x86 tests, and the osstest-approved 4.9.

Currently the osstest-approved linux-4.9 contains some x86 nested virt regressions compared to the osstest-approved linux-3.18. These are not regressions _within osstest's view of linux-4.9_ because they never worked there.

They would be fixed if osstest were to update its version of linux-4.9 to a more recent one, which has bugfixes for the x86 nested virt bugs.

But osstest does not want to update its linux-4.9 branch to include those x86 nested fixes, because doing so would introduce an ARM regression _within the 4.9 branch_.

This is relevant because, obviously, when osstest is testing linux-4.9, it uses it for all architectures.

I hope we can get this fixed soon. We cannot update to Linux 4.9 until we have a version of 4.9 which doesn't have any regressions. It seems people keep breaking it. If the time to fix any particular regression too much exceeds the time between new regressions being introduced, we will never succeed.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#10 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Ian Jackson writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 3 lines

But osstest does not want to update its linux-4.9 branch to include those x86 nested fixes, because doing so would introduce an ARM regression _within the 4.9 branch_.

...

Quoted 5 lines

I hope we can get this fixed soon. We cannot update to Linux 4.9 until we have a version of 4.9 which doesn't have any regressions. It seems people keep breaking it. If the time to fix any particular regression too much exceeds the time between new regressions being introduced, we will never succeed.

Julien, what is the state of the arndale fixes for 4.9 ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#11 lore raw

Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])

Hi Ian,

Quoted 4 lines · Ian Jackson

Ian Jackson writes ("Re: Nested virt broken in Linux 4.9 (was Re: [OSSTEST PATCH 2/3] ap-common: Switch to Linux 4.9 by default [and 1 more messages])"):

Quoted 3 lines

But osstest does not want to update its linux-4.9 branch to include those x86 nested fixes, because doing so would introduce an ARM regression _within the 4.9 branch_.

Quoted 8 lines

...

Quoted 5 lines

I hope we can get this fixed soon. We cannot update to Linux 4.9 until we have a version of 4.9 which doesn't have any regressions. It seems people keep breaking it. If the time to fix any particular regression too much exceeds the time between new regressions being introduced, we will never succeed.

Julien, what is the state of the arndale fixes for 4.9 ?

Just sent it (you are CCed). Sorry for the late.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#12 lore raw

PATCH 3/3 make-flight: Shed some ARM64 load

In reply to Ian Jackson

Currently we have only two ARM64 boxes and now that the builds are passing, the tests have become a bottleneck. Cut them down for now.

This patch should be reverted when we have more ARM64 capacity, which is being looked into.

We drop these tests:

        test-arm64-arm64-xl-multivcpu
        test-arm64-arm64-xl-rtds
        test-arm64-arm64-libvirt
        test-arm64-arm64-libvirt-qcow2

We drop all these on all branches, except:

linux-arm-xen
libvirt

(Verified with
OSSTEST_CONFIG=standalone-config-example eatmydata ./standalone-generate-dump-flight-runvars
Of course the libvirt branches lack the xl tests already.)

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>
---
 make-flight | 13 +++++++++++++
 1 file changed, 13 insertions(+)
make-flight +13 -0
index 39ef6de..7833605 100755
@@ -104,6 +104,19 @@ job_create_test_filter_callback () {
   local xenarch=$1; shift
   local dom0arch=$1; shift
 
+  # cut down the arm64 tests temporarily, due to lack of capacity
+  case "$branch" in
+    *arm*|*libvirt*) ;;
+    *)
+      case "$job" in
+        test-arm64-arm64-xl-multivcpu)		return 1 ;;
+        test-arm64-arm64-xl-rtds)		return 1 ;;
+        test-arm64-arm64-libvirt)		return 1 ;;
+        test-arm64-arm64-libvirt-qcow2)		return 1 ;;
+      esac
+      ;;
+  esac
+
   case "$branch" in
     xen-unstable-smoke)
       case "$job" in
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 3/3
#13 lore raw

Re: [OSSTEST PATCH 3/3] make-flight: Shed some ARM64 load

Hi Ian,

Quoted 13 lines · Ian Jackson

Currently we have only two ARM64 boxes and now that the builds are passing, the tests have become a bottleneck. Cut them down for now.

This patch should be reverted when we have more ARM64 capacity, which is being looked into.

We drop these tests:

        test-arm64-arm64-xl-multivcpu
        test-arm64-arm64-xl-rtds
        test-arm64-arm64-libvirt
        test-arm64-arm64-libvirt-qcow2
Quoted 4 lines

We drop all these on all branches, except:

linux-arm-xen
libvirt

NIT: The indentation look different here :).

Quoted 8 lines

(Verified with
OSSTEST_CONFIG=standalone-config-example eatmydata ./standalone-generate-dump-flight-runvars
Of course the libvirt branches lack the xl tests already.)

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>

FWIW:

Cheers,

Quoted 29 lines
---
 make-flight | 13 +++++++++++++
 1 file changed, 13 insertions(+)
make-flight +13 -0
index 39ef6de..7833605 100755
@@ -104,6 +104,19 @@ job_create_test_filter_callback () {
   local xenarch=$1; shift
   local dom0arch=$1; shift
 
+  # cut down the arm64 tests temporarily, due to lack of capacity
+  case "$branch" in
+    *arm*|*libvirt*) ;;
+    *)
+      case "$job" in
+        test-arm64-arm64-xl-multivcpu)		return 1 ;;
+        test-arm64-arm64-xl-rtds)		return 1 ;;
+        test-arm64-arm64-libvirt)		return 1 ;;
+        test-arm64-arm64-libvirt-qcow2)		return 1 ;;
+      esac
+      ;;
+  esac
+
   case "$branch" in
     xen-unstable-smoke)
       case "$job" in
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel