Skip to contentSkip to conversation

71144: tolerable trouble: broken/fail/pass

xen-4.6-testing baseline-only test Platform Team regression test user 1 participant 1 message Apr 4, 2017

lore
Share & tools
lore

Platform Team regression test user

author Reviewed-by Juergen Gross Reviewed-by George Dunlap Reviewed-by Andrew Cooper Acked-by Daniel De Graaf Reviewed-by Jan Beulich Reviewed-by Boris Ostrovsky
#0 lore raw

This run is configured for baseline tests only.

flight 71144 xen-4.6-testing real [real]
http://osstest.xs.citrite.net/~osstest/testlogs/logs/71144/

Failures :-/ but no regressions.

Regressions which are regarded as allowable (not blocking):
test-armhf-armhf-libvirt 19 capture-logs(19) broken blocked in 71077
test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail REGR. vs. 71077
test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail REGR. vs. 71077
test-armhf-armhf-libvirt-xsm 13 saverestore-support-check fail blocked in 71077
test-armhf-armhf-libvirt 13 saverestore-support-check fail blocked in 71077
test-armhf-armhf-libvirt-raw 12 saverestore-support-check fail blocked in 71077
test-armhf-armhf-xl-rtds 15 guest-start/debian.repeat fail blocked in 71077
test-xtf-amd64-amd64-2 20 xtf/test-hvm32-invlpg~shadow fail like 71077
test-xtf-amd64-amd64-2 33 xtf/test-hvm32pae-invlpg~shadow fail like 71077
test-xtf-amd64-amd64-2 44 xtf/test-hvm64-invlpg~shadow fail like 71077
test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop fail like 71077
test-amd64-amd64-xl-qemut-winxpsp3 9 windows-install fail like 71077

Tests which did not succeed, but are not blocking:

 test-xtf-amd64-amd64-1       64 xtf/test-pv32pae-xsa-194     fail   never pass
 test-xtf-amd64-amd64-4       64 xtf/test-pv32pae-xsa-194     fail   never pass
 test-armhf-armhf-xl-credit2  12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-credit2  13 saverestore-support-check    fail   never pass
 test-armhf-armhf-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          13 saverestore-support-check    fail   never pass
 test-xtf-amd64-amd64-5       64 xtf/test-pv32pae-xsa-194     fail   never pass
 test-amd64-i386-libvirt-xsm  12 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt     12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-multivcpu 12 migrate-support-check        fail  never pass
 test-armhf-armhf-xl-multivcpu 13 saverestore-support-check    fail  never pass
 test-armhf-armhf-xl-midway   12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-xsm      12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-xsm      13 saverestore-support-check    fail   never pass
 test-xtf-amd64-amd64-3       64 xtf/test-pv32pae-xsa-194     fail   never pass
 test-armhf-armhf-xl-midway   13 saverestore-support-check    fail   never pass
 test-xtf-amd64-amd64-2       64 xtf/test-pv32pae-xsa-194     fail   never pass
 test-amd64-i386-libvirt      12 migrate-support-check        fail   never pass
 test-amd64-amd64-xl-pvh-amd  11 guest-start                  fail   never pass
 test-armhf-armhf-xl-rtds     12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-rtds     13 saverestore-support-check    fail   never pass
 test-amd64-amd64-xl-pvh-intel 11 guest-start                  fail  never pass
 test-amd64-amd64-libvirt     12 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt-raw 11 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-vhd      11 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-vhd      12 saverestore-support-check    fail   never pass

test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check fail never pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check fail never pass test-amd64-amd64-qemuu-nested-amd 16 debian-hvm-install/l1/l2 fail never pass
test-amd64-amd64-libvirt-vhd 11 migrate-support-check fail never pass
test-amd64-amd64-xl-qemut-win7-amd64 16 guest-stop fail never pass

version targeted for testing:
xen f96efeb0c6b4f499194571ef6d767534ba851c6a
baseline version:
xen ac4c5d4ddf89051365da2acba5c6c306a10e0bbe

Last test of basis    71077  2017-03-22 21:53:24 Z   12 days
Testing same since    71144  2017-04-03 20:14:40 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Daniel De Graaf <[email protected]>
Dario Faggioli <[email protected]>
Jan Beulich <[email protected]>
Roger Pau Monné <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-armhf-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64-xtf                                              pass    
 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-armhf-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-prev                                             pass    
 build-i386-prev                                              pass    
 build-amd64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumprun                                          pass    
 build-i386-rumprun                                           pass    
 test-xtf-amd64-amd64-1                                       pass    
 test-xtf-amd64-amd64-2                                       pass    
 test-xtf-amd64-amd64-3                                       pass    
 test-xtf-amd64-amd64-4                                       pass    
 test-xtf-amd64-amd64-5                                       pass    
 test-amd64-amd64-xl                                          pass    
 test-armhf-armhf-xl                                          pass    
 test-amd64-i386-xl                                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm                pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass    
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm                pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm        pass    
 test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm         pass    
 test-amd64-amd64-libvirt-xsm                                 pass    
 test-armhf-armhf-libvirt-xsm                                 pass    
 test-amd64-i386-libvirt-xsm                                  pass    
 test-amd64-amd64-xl-xsm                                      pass    
 test-armhf-armhf-xl-xsm                                      pass    
 test-amd64-i386-xl-xsm                                       pass    
 test-amd64-amd64-qemuu-nested-amd                            fail    
 test-amd64-amd64-xl-pvh-amd                                  fail    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64                     pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-i386-freebsd10-amd64                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 test-amd64-amd64-rumprun-amd64                               pass    
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-amd64-xl-credit2                                  pass    
 test-armhf-armhf-xl-credit2                                  pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumprun-i386                                 pass    
 test-amd64-amd64-qemuu-nested-intel                          pass    
 test-amd64-amd64-xl-pvh-intel                                fail    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     pass    
 test-armhf-armhf-libvirt                                     broken  
 test-amd64-i386-libvirt                                      pass    
 test-armhf-armhf-xl-midway                                   pass    
 test-amd64-amd64-migrupgrade                                 pass    
 test-amd64-i386-migrupgrade                                  pass    
 test-amd64-amd64-xl-multivcpu                                pass    
 test-armhf-armhf-xl-multivcpu                                pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-libvirt-pair                                pass    
 test-amd64-i386-libvirt-pair                                 pass    
 test-amd64-amd64-amd64-pvgrub                                pass    
 test-amd64-amd64-i386-pvgrub                                 pass    
 test-amd64-amd64-pygrub                                      pass    
 test-amd64-amd64-xl-qcow2                                    pass    
 test-armhf-armhf-libvirt-raw                                 pass    
 test-amd64-i386-xl-raw                                       pass    
 test-amd64-amd64-xl-rtds                                     pass    
 test-armhf-armhf-xl-rtds                                     fail    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     pass    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     pass    
 test-amd64-amd64-libvirt-vhd                                 pass    
 test-armhf-armhf-xl-vhd                                      pass    
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-i386-xl-qemut-winxpsp3                            pass    
 test-amd64-amd64-xl-qemuu-winxpsp3                           pass    
 test-amd64-i386-xl-qemuu-winxpsp3                            pass    

------------------------------------------------------------
sg-report-flight on osstest.xs.citrite.net
logs: /home/osstest/logs
images: /home/osstest/images

Logs, config files, etc. are available at
http://osstest.xs.citrite.net/~osstest/testlogs/logs

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

broken-step test-armhf-armhf-libvirt capture-logs(19)

Push not applicable.

------------------------------------------------------------
commit f96efeb0c6b4f499194571ef6d767534ba851c6a

Author: Jan Beulich <[email protected]>
Date:   Mon Apr 3 09:58:53 2017 +0200

Revert "xen: sched: don't call hooks of the wrong scheduler via VCPU2OP"

This reverts commit 7ff6d9fc19ef88d2ca3304a312c0e8a46b61f546, which osstest has found to be severely broken.

commit 7ff6d9fc19ef88d2ca3304a312c0e8a46b61f546

Author: Dario Faggioli <[email protected]>
Date:   Fri Mar 31 09:03:32 2017 +0200

xen: sched: don't call hooks of the wrong scheduler via VCPU2OP

Within context_saved(), we call the context_saved hook, and we use VCPU2OP() to determine from what scheduler. VCPU2OP uses DOM2OP, which uses d->cpupool, which is NULL when d is the idle domain. And in that case, DOM2OP just returns ops, the scheduler of cpupool0.

Therefore, if:
- cpupool0's scheduler defines context_saved (like Credit2 and RTDS do),
- we are not in cpupool0 (i.e., our scheduler is not ops),
- we are context switching from idle,

we call VCPU2OP(idle_vcpu), which means
DOM2OP(idle->cpupool), which is ops.

Therefore, we both:
- check if context_saved is defined in the wrong scheduler;
- if yes, call the wrong one.

When using Credit2 at boot, and also Credit2 in the other cpupool, this is wrong but innocuous, because it only involves the idle vcpus.

When using Credit2 at boot, and Credit1 in the other cpupool, this is *totally* wrong, and it's by chance it does not explode!

When using Credit2 and other schedulers I'm developping, I hit the following assert (in sched_credit2.c, on a CPU inside a cpupool that does not use Credit2):

csched2_context_saved()
{
...
ASSERT(!vcpu_on_runq(svc));
...
}

Fix this by dealing explicitly, in VCPU2OP, with idle vcpus, returning the scheduler of the pCPU they (always) run on.

master commit: a3653e6a279213ba4e883b2252415dc98633106a master date: 2017-03-27 14:28:05 +0100

commit 7017321d9b7b23adb50cad66d55ae526ab5d9fe1

Author: Jan Beulich <[email protected]>
Date:   Fri Mar 31 09:03:01 2017 +0200

x86/EFI: avoid Xen image when looking for module/kexec position

When booting straight from EFI, we don't further try to relocate Xen. As a result, so far we also didn't avoid the area Xen uses when looking for a location to put modules or the kexec area. Introduce a fake module slot to deal with that without having to fiddle with a lot of code.

master commit: e22e1c47958a4778cd7baa3980f74e52f525ba28 master date: 2017-03-20 09:27:12 +0100

commit 541ad61a921965c692ea31a06d9d14a1bb1e7346

Author: Jan Beulich <[email protected]>
Date:   Fri Mar 31 09:01:29 2017 +0200
    x86/EFI: avoid overrunning mb_modules[]
    
    Commit 436fb462ab ("x86/microcode: enable boot time (pre-Dom0)
    loading") added a 4th module without providing an array slot for it.
    
    Signed-off-by: Jan Beulich <[email protected]>
    Reviewed-by: Andrew Cooper <[email protected]>
    master commit: 02b37b7eff39e40828041b2fe480725ab8443258
    master date: 2017-03-17 15:45:22 +0100

commit 4f9617120b09ad1554d8e4a0ca817e27bfbbe1a1

Author: Roger Pau Monné <[email protected]>
Date:   Fri Mar 31 09:00:50 2017 +0200

build/clang: fix XSM dummy policy when using clang 4.0

There seems to be some weird bug in clang 4.0 that prevents xsm_pmu_op from working as expected, and vpmu.o ends up with a reference to __xsm_action_mismatch_detected which makes the build fail:

[...]
ld -melf_x86_64_fbsd -T xen.lds -N prelink.o \
xen/common/symbols-dummy.o -o xen/.xen-syms.0
prelink.o: In function `xsm_default_action':
xen/include/xsm/dummy.h:80: undefined reference to __xsm_action_mismatch_detected' xen/xen/include/xsm/dummy.h:80: relocation truncated to fit: R_X86_64_PC32 against undefined symbol __xsm_action_mismatch_detected'
ld: xen/xen/.xen-syms.0: hidden symbol `__xsm_action_mismatch_detected' isn't defined

Then doing a search in the objects files:

# find xen/ -type f -name '*.o' -print0 | xargs -0 bash -c \
'for filename; do nm "$filename" | \
grep -q __xsm_action_mismatch_detected && echo "$filename"; done' bash
xen/arch/x86/prelink.o
xen/arch/x86/cpu/vpmu.o
xen/arch/x86/cpu/built_in.o
xen/arch/x86/built_in.o

The current patch is the only way I've found to fix this so far, by simply moving the XSM_PRIV check into the default case in xsm_pmu_op. This also fixes the behavior of do_xenpmu_op, which will now return -EINVAL for unknown XENPMU_* operations, instead of -EPERM when called by a privileged domain.

master commit: 9e4d116faff4545a7f21c2b01008e94d68e6db58 master date: 2017-03-14 18:19:29 +0100

commit 9eb0aa2f47a78ffbab9e7ab9974440a132ce073f

Author: Roger Pau Monné <[email protected]>
Date:   Fri Mar 31 09:00:13 2017 +0200

x86: drop unneeded __packed attributes

There where a couple of unneeded packed attributes in several x86-specific structures, that are obviously aligned. The only non-trivial one is vmcb_struct, which has been checked to have the same layout with and without the packed attribute using pahole. In that case add a build-time size check to be on the safe side.

No functional change is expected as a result of this commit.

master commit: 4036e7c592905c2292cdeba8269e969959427237 master date: 2017-03-07 17:11:06 +0100
(qemu changes not included)

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