Skip to contentSkip to conversation

22477: regressions - trouble: broken/fail/pass

xen-unstable test xen.org 2 participants 2 messages Dec 20, 2013

lore
Share & tools
lore

xen.org

author Acked-by Stefano Stabellini Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Reviewed-by Jan Beulich
#0 lore raw

flight 22477 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/22477/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-xl 7 debian-install fail REGR. vs. 22464
test-amd64-i386-freebsd10-i386 13 guest-localmigrate/x10 fail REGR. vs. 22464 test-amd64-i386-xl-qemut-win7-amd64 3 host-install(3) broken REGR. vs. 22464

Regressions which are regarded as allowable (not blocking):
test-amd64-i386-xl-win7-amd64 12 guest-localmigrate/x10 fail blocked in 22464

Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-pcipt-intel 9 guest-start fail never pass
test-amd64-i386-xend-winxpsp3 16 leak-check/check fail never pass
test-amd64-amd64-xl-qemuu-win7-amd64 13 guest-stop fail never pass
test-amd64-amd64-xl-qemut-winxpsp3 13 guest-stop fail never pass
test-amd64-amd64-xl-winxpsp3 13 guest-stop fail never pass

 test-amd64-amd64-xl-win7-amd64 13 guest-stop                   fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 16 leak-check/check        fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 13 guest-stop         fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 13 guest-stop               fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 13 guest-stop             fail never pass

version targeted for testing:
xen aeba23d8f176c4395d8da63e208ade90523f58c7
baseline version:
xen 29cc51db84a9c15875836121c5c60cc5eb6b613e

------------------------------------------------------------
People who touched revisions under test:
Ian Campbell <[email protected]> Julien Grall <[email protected]> Stefano Stabellini <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-oldkern                                          pass    
 build-i386-oldkern                                           pass    
 build-amd64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-xl                                          pass    
 test-armhf-armhf-xl                                          fail    
 test-amd64-i386-xl                                           pass    
 test-amd64-i386-rhel6hvm-amd                                 pass    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-i386-freebsd10-amd64                              pass    
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          broken  
 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-i386-freebsd10-i386                               fail    
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemut-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-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-winxpsp3-vcpus1                           fail    
 test-amd64-i386-xend-qemut-winxpsp3                          fail    
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-amd64-i386-xend-winxpsp3                                fail    
 test-amd64-amd64-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.

------------------------------------------------------------
commit aeba23d8f176c4395d8da63e208ade90523f58c7

Author: Ian Jackson <[email protected]>
Date:   Thu Dec 19 15:33:17 2013 +0000

QEMU_TAG update

commit 41fbf77bc87c79ae0b7dab2c47b8864c5dd34fb3

Author: Ian Campbell <[email protected]>
Date:   Thu Dec 19 10:08:39 2013 +0000

xen: arm: further clarify the requirement for cached mappings

We need to include all shared memory, including grant table mappings etc in this statement.

commit 3d929ba0cd0e84548f6d35fa77da08663ba4b0d0

Author: Julien Grall <[email protected]>
Date:   Wed Dec 18 16:54:08 2013 +0000

xen/arm: p2m: Fix hypercall preemption when domain is relinquish memory mapping

The commit 84f29a9 "xen/arm: Add relinquish_p2m_mapping to remove reference on every mapped page" doesn't save correctly the next gfn when the hypercall is preempted.

Instead of storing the next gfn, it store the next mfn. Fix it by using 'addr' instead of 'maddr'.

commit ea5647f2abad4f6b2149933cdebe6d4f7db0094d
Merge: 9383b2c... 29cc51d...
Author: Ian Campbell <[email protected]>
Date: Wed Dec 18 14:37:01 2013 +0000

Merge branch 'staging' of ssh://xenbits.xen.org/home/xen/git/xen into staging

commit 9383b2cc52629d77879952fda712463871ea2fe7

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:58 2013 +0000

xen/arm: grant-table: Support read-only mapping

commit 8e3079c48187aa6d04686ddb51afa10234cdbcf0

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:57 2013 +0000

xen/arm: Set foreign page type to p2m_map_foreign

Xen needs to know that the current page belongs to another domain. Also take a reference to this page.

The current process to add a foreign page is:
1) get the page from the foreign p2m
2) take a reference on the page with the foreign domain in parameters
3) add the page to the current domain p2m

If the foreign domain drops the page:
- before 2), get_page will return NULL because the page doesn't belong anymore to the domain
- after 2), the current domain already have a reference. Write will occur to an old page which is not yet released. It can corrupt the foreign domain.

commit 84f29a98dc31fcf4a6bbf380601f4b3651c761f8

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:56 2013 +0000

xen/arm: Add relinquish_p2m_mapping to remove reference on every mapped page

This function will be called when the domain relinquishes its memory. It removes refcount on every mapped page to a valid MFN.

Currently, Xen doesn't take reference on every new mapping but only for foreign mapping. Restrict the function only on foreign mapping.

commit 9486a8d07ba8d8385d7902fbc815f5e257da13df

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:55 2013 +0000

xen/arm: Handle remove foreign mapping

Modify get_page_from_gfn to take reference on foreign mapping. This will avoid specific handling in the common code.

commit bc10bb6134e858722177ca60ea06574fa9911ab8

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:54 2013 +0000

xen/arm: Retrieve p2m type in get_page_from_gfn

commit 10f875d7d50e113423e087e6b682f9fc14862661

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:53 2013 +0000

xen/arm: p2m: Extend p2m_lookup parameters to retrieve the p2m type

commit 18651cc81bf46884cc0100574e9f41ebe91f93f8

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:52 2013 +0000

xen/arm: Store p2m type in each page of the guest

Use the field 'avail' to store the type of the page. Rename it to 'type' for convenience.
The information stored in this field will be retrieved in a future patch to change the behaviour when the page is removed.

Also introduce guest_physmap_add_entry to map and set a specific p2m type for a page.

commit 587db6905046fd55f70f0d9fbbf7ff6a8d2ef58a

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:51 2013 +0000

xen/arm: Implement p2m_type_t as an enum

Until now, Xen doesn't know the type of the page (ram, foreign page, mmio,...). Introduce p2m_type_t with basic types:
- p2m_invalid: Nothing is mapped here
- p2m_ram_rw: Normal read/write guest RAM
- p2m_ram_ro: Read-only guest RAM
- p2m_mmio_direct: Read/write mapping of device memory
- p2m_map_foreign: RAM page from foreign guest
- p2m_grant_map_rw: Read/write grant mapping
- p2m_grant_map_ro: Read-only grant mapping

commit ef8f305c6b4dd9e81e4c87ce3a251d779ff2301d

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:50 2013 +0000

xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c

The function mfn_to_p2m_entry will be extended in a following patch to handle p2m_type_t. It will break compilation because p2m_type_t is not defined (interdependence between includes).
It's easier to move the function in arch/arm/p2m.c and it's not harmful as the function is only used in this file.

commit 2bfa5c7fdd8e24279f3f1d28f434cfe923565bea

Author: Julien Grall <[email protected]>
Date:   Tue Dec 17 16:27:49 2013 +0000

xen/arm: Introduce steps in domain_relinquish_resource

In a later patch, a new step will be added. It will avoid to check every step when the function was preempted.

commit cd50b8cae268fc66969e2f3858e79c244a0eea0b

Author: Ian Campbell <[email protected]>
Date:   Wed Dec 18 13:39:14 2013 +0000

xen: arm: process XENMEM_add_to_physmap_range forwards not backwards.

Jan points out that processing the list backwards is rather counter intuitive and that the effect of the hypercall can differ between forwards and backwards processing (e.g. in the presence of duplicate idx or gpfn, which would be unusual but as Jan says, users are a creative bunch)

(qemu changes not included)

#1 lore raw
Quoted 8 lines · xen.org

flight 22477 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/22477/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-xl 7 debian-install fail REGR. vs. 22464

This failed at the end of xen-create-image with:
System installation failed. Aborting /tmp/3q55RvpRrs/etc/ssh/ssh_host_rsa_key.pub: No such file or directory Running command 'umount /tmp/3q55RvpRrs/proc 2>&1' failed with exit code 256. Aborting
See /var/log/xen-tools/debian.guest.osstest.log for details

That log is
http://www.chiark.greenend.org.uk/~xensrcts/logs/22477/test-armhf-armhf-xl/marilith-n5---var-log-xen-tools-debian.guest.osstest.log and contains:

I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 0E4EDE2C7F3E1FC0D033800E64481591B98321F9)
E: Invalid Release file, no entry for main/binary-armhf/Packages
WARNING (/usr/bin/xt-install-image): The installed system at /tmp/3q55RvpRrs doesn't seem to be a full system. WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/ls. WARNING (/usr/bin/xt-install-image): The installed system at /tmp/3q55RvpRrs doesn't seem to be a full system. WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/cp.

Copying files from new installation to host.
Copying files from /tmp/3q55RvpRrs/var/cache/apt/archives -> /var/cache/apt/archives/ Done
Done
Done
System installation failed. Aborting
umount: /tmp/3q55RvpRrs/proc: not found
Running command 'umount /tmp/3q55RvpRrs/proc 2>&1' failed with exit code 256. Aborting

I'm not 100% sure but the first "E: " makes me suspect an issue with the mirror, and the rest is then just subsequent fallout and perhaps a lack of some error handling.

Ian.