Skip to contentSkip to conversation

13868: regressions - FAIL

xen-4.2-testing test xen.org 1 participant 1 message Sep 26, 2012

lore
Share & tools
lore

xen.org

author Acked-by Dan Magenheimer Acked-by Dan Magenheimer Acked-by Zhenzhong Duan Acked-by Dan Magenheimer Acked-by Dan Magenheimer Acked-by Dan Magenheimer Acked-by Dan Magenheimer Acked-by Jan Beulich Acked-by Dan Magenheimer Acked-by Dan Magenheimer Acked-by Jan Beulich Acked-by Dan Magenheimer Acked-by Jan Beulich Acked-by Dan Magenheimer Acked-by Andres Lagar-Cavilla Acked-by Tim Deegan
#0 lore raw

flight 13868 xen-4.2-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/13868/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-i386-i386-win 12 guest-localmigrate/x10 fail REGR. vs. 13817

Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-sedf-pin 10 guest-saverestore fail never pass

 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 test-i386-i386-xl-qemuu-winxpsp3  9 guest-localmigrate         fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64  9 guest-localmigrate     fail never pass
 test-amd64-i386-xl-win7-amd64 13 guest-stop                   fail  never pass
 test-amd64-amd64-xl-win7-amd64 13 guest-stop                   fail never pass
 test-amd64-i386-xend-winxpsp3 16 leak-check/check             fail  never pass
 test-amd64-i386-win-vcpus1   16 leak-check/check             fail   never pass
 test-i386-i386-xl-winxpsp3   13 guest-stop                   fail   never pass
 test-amd64-i386-win          16 leak-check/check             fail   never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 13 guest-stop               fail never pass
 test-amd64-i386-xl-win-vcpus1 13 guest-stop                   fail  never pass
 test-i386-i386-xl-win        13 guest-stop                   fail   never pass
 test-amd64-amd64-xl-qemuu-winxpsp3  9 guest-localmigrate       fail never pass
 test-amd64-amd64-xl-winxpsp3 13 guest-stop                   fail   never pass
 test-amd64-amd64-win         16 leak-check/check             fail   never pass
 test-amd64-amd64-xl-win      13 guest-stop                   fail   never pass

version targeted for testing:
xen 2b59edeb0fdd
baseline version:
xen 3462914d95d3

------------------------------------------------------------
People who touched revisions under test:
Andres Lagar-Cavilla <[email protected]>
Dan Magenheimer <[email protected]>
Ian Campbell <[email protected]>
Jan Beulich <[email protected]>
Steven Maresca <[email protected]>
Tim Deegan <[email protected]>
Zhenzhong Duan <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64                                                  pass    
 build-i386                                                   pass    
 build-amd64-oldkern                                          pass    
 build-i386-oldkern                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-xl                                          pass    
 test-amd64-i386-xl                                           pass    
 test-i386-i386-xl                                            pass    
 test-amd64-i386-rhel6hvm-amd                                 pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-amd64-xl-win7-amd64                               fail    
 test-amd64-i386-xl-win7-amd64                                fail    
 test-amd64-i386-xl-credit2                                   pass    
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-i386-xl-multivcpu                                 pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-i386-i386-pair                                          pass    
 test-amd64-amd64-xl-sedf-pin                                 fail    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-i386-i386-pv                                            pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-win-vcpus1                                   fail    
 test-amd64-i386-xl-win-vcpus1                                fail    
 test-amd64-i386-xl-winxpsp3-vcpus1                           fail    
 test-amd64-amd64-win                                         fail    
 test-amd64-i386-win                                          fail    
 test-i386-i386-win                                           fail    
 test-amd64-amd64-xl-win                                      fail    
 test-i386-i386-xl-win                                        fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-i386-i386-xl-qemuu-winxpsp3                             fail    
 test-amd64-i386-xend-winxpsp3                                fail    
 test-amd64-amd64-xl-winxpsp3                                 fail    
 test-i386-i386-xl-winxpsp3                                   fail    

------------------------------------------------------------
sg-report-flight on woking.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

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

Not pushing.

------------------------------------------------------------

changeset:   25862:2b59edeb0fdd
tag:         tip
user:        Zhenzhong Duan <[email protected]>
date:        Tue Sep 25 12:19:33 2012 +0200

tmem: bump pool version to 1 to fix restore issue when tmem enabled

Restore fails when tmem is enabled both in hypervisor and guest. This is due to spec version mismatch when restoring a pool.

xen-unstable changeset: 25929:fee83ac77d8c xen-unstable date: Wed Sep 19 15:38:47 UTC 2012

changeset:   25861:1853e31bb956
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:18:28 2012 +0200

tmem: cleanup

- one more case of checking for a specific rather than any error
- drop no longer needed first parameter from cli_put_page()
- drop a redundant cast

xen-unstable changeset: 25860:e4cb84111610 xen-unstable date: Tue Sep 11 12:19:29 UTC 2012

changeset:   25860:7904c87be3f3
user:        Dan Magenheimer <[email protected]>
date:        Tue Sep 25 12:17:52 2012 +0200

tmem: fixup 2010 cleanup patch that breaks tmem save/restore

20918:a3fa6d444b25 "Fix domain reference leaks" (in Feb 2010, by Jan) does some cleanup in addition to the leak fixes. Unfortunately, that cleanup inadvertently resulted in an incorrect fallthrough in a switch statement which breaks tmem save/restore.

That broken patch was apparently applied to 4.0-testing and 4.1-testing so those are broken as well.

What is the process now for requesting back-patches to 4.0 and 4.1?

(Side note: This does not by itself entirely fix save/restore in 4.2.)

xen-unstable changeset: 25859:16e0392c6594 xen-unstable date: Tue Sep 11 12:19:03 UTC 2012

changeset:   25859:52a0b7ca721b
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:17:05 2012 +0200

tmem: reduce severity of log messages

Otherwise they can be used by a guest to spam the hypervisor log with all settings at their defaults.

xen-unstable changeset: 25858:0520982a602a xen-unstable date: Tue Sep 11 12:18:36 UTC 2012

changeset:   25858:22dfc72fdbf3
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:16:34 2012 +0200

tmem: properly drop lock on error path in do_tmem_op()

xen-unstable changeset: 25857:109ea6a0c23a xen-unstable date: Tue Sep 11 12:18:26 UTC 2012

changeset:   25857:b4218d4791cd
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:16:14 2012 +0200

tmem: properly drop lock on error path in do_tmem_get()

Also remove a bogus assertion.

xen-unstable changeset: 25856:83b97a59888b xen-unstable date: Tue Sep 11 12:18:08 UTC 2012

changeset:   25856:61c35eaf1a88
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:15:01 2012 +0200

tmem: detect arithmetic overflow in tmh_copy_{from,to}_client()

This implies adjusting callers to deal with errors other than -EFAULT and removing some comments which would otherwise become stale.

xen-unstable changeset: 25855:33b8c42a87ec xen-unstable date: Tue Sep 11 12:17:59 UTC 2012

changeset:   25855:5bc3e774301c
user:        Jan Beulich <[email protected]>
date:        Tue Sep 25 12:14:31 2012 +0200

tmem: don't access guest memory without using the accessors intended for this

This is not permitted, not even for buffers coming from Dom0 (and it would also break the moment Dom0 runs in HVM mode). An implication from the changes here is that tmh_copy_page() can't be used anymore for control operations calling tmh_copy_{from,to}_client() (as those pass the buffer by virtual address rather than MFN).

Note that tmemc_save_get_next_page() previously didn't set the returned handle's pool_id field, while the new code does. It need to be confirmed that this is not a problem (otherwise the copy-out operation will require further tmh_...() abstractions to be added).

Further note that the patch removes (rather than adjusts) an invalid call to unmap_domain_page() (no matching map_domain_page()) from tmh_compress_from_client() and adds a missing one to an error return path in tmh_copy_from_client().

Finally note that the patch adds a previously missing return statement to cli_get_page() (without which that function could de-reference a NULL pointer, triggerable from guest mode).

This is part of XSA-15 / CVE-2012-3497.

xen-unstable changeset: 25854:ccd60ed6c555 xen-unstable date: Tue Sep 11 12:17:49 UTC 2012

changeset:   25854:b383875a33f0
user:        Ian Campbell <[email protected]>
date:        Tue Sep 25 12:13:40 2012 +0200

tmem: check for a valid client ("domain") in the save subops

This is part of XSA-15 / CVE-2012-3497.

xen-unstable changeset: 25853:f53c5aadbba9 xen-unstable date: Tue Sep 11 12:17:27 UTC 2012

changeset:   25853:da0fd47f59b4
user:        Ian Campbell <[email protected]>
date:        Tue Sep 25 12:12:48 2012 +0200

tmem: check the pool_id is valid when destroying a tmem pool

This is part of XSA-15 / CVE-2012-3497.

xen-unstable changeset: 25852:d189d99ef00c xen-unstable date: Tue Sep 11 12:06:54 UTC 2012

changeset:   25852:d188a7ad6c75
user:        Ian Campbell <[email protected]>
date:        Tue Sep 25 12:12:04 2012 +0200

tmem: consistently make pool_id a uint32_t

Treating it as an int could allow a malicious guest to provide a negative pool_Id, by passing the MAX_POOLS_PER_DOMAIN limit check and allowing access to the negative offsets of the pool array.

This is part of XSA-15 / CVE-2012-3497.

xen-unstable changeset: 25851:fcf567acc92a xen-unstable date: Tue Sep 11 12:06:43 UTC 2012

changeset:   25851:e0dc63c822b2
user:        Ian Campbell <[email protected]>
date:        Tue Sep 25 12:09:19 2012 +0200

tmem: only allow tmem control operations from privileged domains

This is part of XSA-15 / CVE-2012-3497.

xen-unstable changeset: 25850:0dba5a888655 xen-unstable date: Tue Sep 11 12:06:30 UTC 2012

changeset:   25850:3462914d95d3
user:        Steven Maresca <[email protected]>
date:        Wed Sep 19 17:33:05 2012 +0200

mem_event: fix regression affecting CR3, CR4 memory events

This is a patch repairing a regression in code previously functional in 4.1.x. It appears that, during some refactoring work, calls to hvm_memory_event_cr3 and hvm_memory_event_cr4 were lost.

These functions were originally called in mov_to_cr() of vmx.c, but the commit http://xenbits.xen.org/hg/xen-unstable.hg/rev/1276926e3795
abstracted the original code into generic functions up a level in hvm.c, dropping these calls in the process.

xen-unstable changeset: 25918:7ab899e46347 xen-unstable date: Mon Sep 17 16:55:12 UTC 2012

(qemu changes not included)