Skip to contentSkip to conversation

128052: regressions - FAIL

xen-unstable-smoke test osstest service owner 1 participant 1 message Sep 25, 2018

lore
Share & tools
lore

osstest service owner

author Acked-by Wei Liu Acked-by Julien Grall Acked-by Jan Beulich Reviewed-by Paul Durrant Reviewed-by Wei Liu Reviewed-by Wei Liu Reviewed-by George Dunlap Reviewed-by Wei Liu Reviewed-by George Dunlap Reviewed-by Andrew Cooper Acked-by Dario Faggioli Reviewed-by Andrew Cooper Acked-by Jan Beulich Acked-by Tamas K Lengyel Reviewed-by George Dunlap Acked-by Jan Beulich Reviewed-by George Dunlap Reviewed-by Jan Beulich Acked-by Tamas K Lengyel Reviewed-by George Dunlap Reviewed-by Sergey Dyasli Acked-by Jan Beulich Reviewed-by Paul Durrant Reviewed-by Sergey Dyasli Acked-by Jan Beulich Reviewed-by Boris Ostrovsky Reviewed-by Kevin Tian Reviewed-by Paul Durrant Reviewed-by Sergey Dyasli Reviewed-by Jan Beulich Reviewed-by Julien Grall Reviewed-by Andre Pryzwara Acked-by Julien Grall
#0 lore raw

flight 128052 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/128052/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-arm64-arm64-xl-xsm 7 xen-boot fail REGR. vs. 127928

Tests which did not succeed, but are not blocking:

 test-amd64-amd64-libvirt     13 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          13 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          14 saverestore-support-check    fail   never pass

version targeted for testing:
xen 0ace362c8a8854b2256631d4edebb61d4238ddc3
baseline version:
xen 940185b2f6f343251c2b83bd96e599398cea51ec

Last test of basis   127928  2018-09-22 10:00:53 Z    3 days
Failing since        128013  2018-09-24 14:00:44 Z    1 days    8 attempts
Testing same since   128052  2018-09-25 12:00:52 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Alexandru Isaila <[email protected]>
Amit Singh Tomar <[email protected]>
Andrew Cooper <[email protected]>
Dario Faggioli <[email protected]>
George Dunlap <[email protected]>
Jan Beulich <[email protected]>
Julien Grall <[email protected]>
Tamas K Lengyel <[email protected]>
Wei Liu <[email protected]>

jobs:

 build-arm64-xsm                                              pass    
 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-amd64-libvirt                                          pass    
 test-armhf-armhf-xl                                          pass    
 test-arm64-arm64-xl-xsm                                      fail    
 test-amd64-amd64-xl-qemuu-debianhvm-i386                     pass    
 test-amd64-amd64-libvirt                                     pass    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

------------------------------------------------------------
commit 0ace362c8a8854b2256631d4edebb61d4238ddc3

Author: Andrew Cooper <[email protected]>
Date:   Mon Sep 17 15:49:14 2018 +0100

xen: Disallow variable length arrays

Variable length arrays result in excess stack utilisation, with a risk of stack overflow if the length is too large. It also results in fairly poor asm generation, because of requiring a divide as part of the space calcuation.

Xen no longer has any variable length arrays, so take the opportunity to formally disallow them.

commit e70934f44ad63e5433756f785ab4bcb316f860f2

Author: Andrew Cooper <[email protected]>
Date:   Mon Sep 17 16:32:32 2018 +0100

x86/hvm: Adjust hvmemul_rep_stos() to compile with -Wvla

When using -Wvla, the typecast of buf triggers a Variable Length Array warning. This is less than ideal, as this typecast doesn't occupy any stack space, but we don't have a finer grain option to use.

Alter the asm expression to avoid the typecast, which necessitates the introduction of a memory clobber as the compiler can no longer identify the total quantity of written memory.

Despite the memory clobber, there is no change to the generated asm.

commit 21a488cbd483e5b5b75b088a8662d55c4c8332fa

Author: Andrew Cooper <[email protected]>
Date:   Mon Sep 17 16:30:53 2018 +0100

x86/PoD: Avoid using variable length arrays in p2m_pod_zero_check()

Callers of p2m_pod_zero_check() pass a count of up to POD_SWEEP_STRIDE. Move the definition of POD_SWEEP_STRIDE and give the arrays a fixed bound.

commit d102fe7cb832c584adab002512fe804ab01a39ce

Author: Andrew Cooper <[email protected]>
Date:   Mon Sep 17 16:21:53 2018 +0100

x86/PoD: Simplify handling of the quick check

There is no need to duplicate the contents of the skip block.

While cleaning up this function, change 4 ints to be unsigned.

commit a2eb46491e28079debc39488a7e23ed76cb5b003

Author: Alexandru Isaila <[email protected]>
Date:   Tue Sep 25 12:10:38 2018 +0300

x86/hvm: Add check for cpu_has_vmx_virt_exceptions

This is useful so HVMOP_altp2m_vcpu_enable_notify will fail and not silently succeed. It save a call to HVMOP_altp2m_set_suppress_ve.

commit ec6662445b1ec9231ca69583863de644206ef313

Author: George Dunlap <[email protected]>
Date:   Tue Sep 25 10:47:10 2018 +0100

Make credit2 the default scheduler

Credit2 was declared "supported" in 4.8, and as of 4.10 had two other critical features implemented (soft affinity / NUMA and caps).

Why change the default?

The code is better: more predictable, less jitter, easier to determine how modifications will affect overall behavior, easier in the future to make load-balancing behavior more subtle (e.g., taking into account the cost of powering up extra cores, &c).

Overall performance compared to Credit1 is somewhat of a mixed bag. Unfortunately most of what I have are tests using XenServer's internal perf testing system, so I can't share the raw data (via links anyway).

Here is a summary of data from an internal e-mail Dario sent in the past:

* DVDbench: On underloaded systems, credit2 outperformed credit1 by about 4%. On overloaded systems, credit2 underperformed by about 3%.

* On a range of tests (unixbench, lmbench, &c), credit and credit2 perform within 5% of each other (up and down).

* Credit2 fairly consistently beats credit for TCP-style workloads.

* Credit2 is sometimes equal to, sometimes 5-15% worse than, credit for synthetic CPU workloads (e.g., Dhrystone).

* On LoginVSI, credit2 fairly consistently outperforms credit by about 10%.

Credit2, like credit, has a number of workloads / setups for which performance could be improved. Personally I think networking and partially-loaded systems is going to be more representative of what Xen is actually used for; so I think credit2 is on the whole the better scheduler to use by default. And in any case, making those improvements on credit2 will be easier than on credit.

commit 1bd9cc34e152addeacbbf44898125c7be00e7677

Author: Wei Liu <[email protected]>
Date:   Fri Sep 21 16:54:52 2018 +0100

x86: expose CONFIG_HVM

commit 026eac063bf756e9f5aa9afa1e4cb6b50dcf2a5b

Author: Wei Liu <[email protected]>
Date:   Fri Sep 21 16:54:51 2018 +0100

x86/mm: put HVM only code under CONFIG_HVM

Going through the code, HAP, EPT, PoD and ALTP2M depend on HVM code. Put these components under CONFIG_HVM. This further requires putting one of the vm event under CONFIG_HVM.

Altp2m requires a bit more attention because its code is embedded in generic x86 p2m code.

Also make hap_enabled evaluate to false when !CONFIG_HVM. Make sure it evaluate its parameter to avoid unused variable warnings in its users.

Also sort items in Makefile while at it.

commit 9629b62005fa88424a4f48102848c4524d0341e3

Author: Wei Liu <[email protected]>
Date:   Fri Sep 21 16:54:50 2018 +0100

x86/mm: put nested p2m code under CONFIG_HVM

These functions are only useful for nested hvm, which isn't enabled when CONFIG_HVM is false.

Enclose relevant code and fields in CONFIG_HVM.

commit 72a901d7a04305f24f7b1e723e6cf18c744cff95

Author: Wei Liu <[email protected]>
Date:   Fri Sep 21 16:54:49 2018 +0100

x86/p2m/pod: make it build with !CONFIG_HVM

Populate-on-demand is HVM only.

Provide a bunch of stubs for common p2m code and guard one invocation of guest_physmap_mark_populate_on_demand with is_hvm_domain.

Put relevant fields in p2m_domain and code which touches those fields under CONFIG_HVM.

commit 39d42a2daee3d0b4c12ce7391faf4763eff09e6b

Author: Andrew Cooper <[email protected]>
Date:   Wed Feb 21 17:54:13 2018 +0000

x86: Clean up the Xen MSR infrastructure

Rename them to guest_{rd,wr}msr_xen() for consistency, and because the _regs suffix isn't very appropriate.

Update them to take a vcpu pointer rather than presuming that they act on current, and switch to using X86EMUL_* return values.

commit 229b94878717e22c0f228625bbcddd53f7d8654d

Author: Andrew Cooper <[email protected]>
Date:   Wed Sep 20 17:33:59 2017 +0000

x86/viridan: Clean up Viridian MSR infrastructure

Rename the functions to guest_{rd,wr}msr_viridian() for consistency, and because the _regs() suffix isn't very appropriate.

Update them to take a vcpu pointer rather than presuming that they act on current, which is safe for all implemented operations, and switch their return ABI to use X86EMUL_*.

The default cases no longer need to deal with MSRs out of the Viridian range, but drop the printks to debug builds only and identify the value attempting to be written.

commit bd7099a674819c0709bd058793adea2e76b42a6b

Author: Andrew Cooper <[email protected]>
Date:   Wed Sep 20 18:33:59 2017 +0100

x86/msr: Dispatch Xen and Viridian MSRs from guest_{wr,rd}msr()

Despite the complicated diff in {svm,vmx}_msr_write_intercept(), it is just the 0 case losing one level of indentation, as part of removing the call to wrmsr_hypervisor_regs().

The case blocks in guest_{wr,rd}msr() use raw numbers, partly for consistency with the CPUID side of things, but mainly because this is clearer code to follow. In particular, the Xen block may overlap with the Viridian block if Viridian is not enabled for the domain, and trying to express this with named literals caused more confusion that it solved.

Future changes with clean up the individual APIs, including allowing these MSRs to be usable for vcpus other than current (no callers exist with v != current).

commit cd8015b634b005a3911bd6025351cd854d63a82a

Author: Andrew Cooper <[email protected]>
Date:   Mon Sep 24 14:00:02 2018 +0100

ARM/dom0: Avoid using a variable length array in make_memory_node()

The reg[] array can have a maximum size of 8 in practice, so use the worst case calculation rather than making it variable length.

commit 17bd254a508f4174fe0d56a9f1b9892b7649b4b9

Author: Amit Singh Tomar <[email protected]>
Date:   Tue Sep 11 22:18:06 2018 +0530

xen:arm: Populate arm64 image header

This patch adds image size and flags to XEN image header. It uses those fields according to the updated Linux kernel image definition.

With this patch bootloader can now place XEN image anywhere in system RAM at 2MB aligned address without to worry about relocation.
For instance, it fixes the XEN boot on Amlogic SoC where bootloader(U-BOOT) always relocates the XEN image to an address range reserved for firmware data.

(qemu changes not included)

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