Skip to contentSkip to conversation

127215: regressions - FAIL

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

lore
Share & tools
lore

osstest service owner

author Reviewed-by Wei Liu Acked-by Jan Beulich Acked-by Andrew Cooper Reviewed-by Paul Durrant Acked-by Razvan Cojocaru Reviewed-by Andrew Cooper
#0 lore raw

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-qemuu-debianhvm-i386 10 debian-hvm-install fail REGR. vs. 127212

Tests which did not succeed, but are not blocking:

 test-arm64-arm64-xl-xsm      13 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-xsm      14 saverestore-support-check    fail   never pass
 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 09b3907f93fe023ebca809c9f706f3d022801dce
baseline version:
xen 16bbf8e7b39b50457bb2f6547f166bd54d50e4cd

Last test of basis   127212  2018-09-03 13:00:29 Z    0 days
Testing same since   127215  2018-09-03 16:00:27 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
Razvan Cojocaru <[email protected]>
Roger Pau Monné <[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                                      pass    
 test-amd64-amd64-xl-qemuu-debianhvm-i386                     fail    
 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 09b3907f93fe023ebca809c9f706f3d022801dce

Author: Roger Pau Monné <[email protected]>
Date:   Mon Sep 3 17:54:12 2018 +0200

The hvmloader binary generated when using LLVM LD doesn't work properly and seems to get stuck while trying to generate and load the ACPI tables. This is caused by the layout of the binary when linked with LLVM LD.

LLVM LD has a different default linker script that GNU LD, and the resulting hvmloader binary is slightly different:

LLVM LD:
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x000ff034 0x000ff034 0x00060 0x00060 R 0x4
LOAD 0x000000 0x000ff000 0x000ff000 0x38000 0x38000 RWE 0x1000
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0

GNU LD:
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000080 0x00100000 0x00100000 0x36308 0x3fd74 RWE 0x10
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4

Note that in the LLVM LD case (as with GNU LD) the .text section does indeed have the address set to 0x100000 as requested on the command line:

[ 1] .text PROGBITS 00100000 001000 00dd10 00 AX 0 0 16

There's however the PHDR which is not present when using GNU LD.

Fix this by using a very simple linker script that generates the same binary regardless of whether LLVM or GNU LD is used. By using a linker script the usage of -Ttext can also be avoided by placing the desired .text load address directly in the linker script.

commit 936b77255269b3b9b5685d565550e77d5080ac81

Author: Jan Beulich <[email protected]>
Date:   Mon Sep 3 17:51:40 2018 +0200

x86/boot: silence MADT table entry logging

Logging disabled LAPIC / x2APIC entries with invalid local APIC IDs (ones having "broadcast" meaning when used) isn't very useful, and can be quite noisy on larger systems. Suppress their logging unless opt_cpu_info is true.

commit 3f2002614af51dfd507168a1696658bac91155ce

Author: Jan Beulich <[email protected]>
Date:   Mon Sep 3 17:50:10 2018 +0200

x86: assorted array_index_nospec() insertions

Don't chance having Spectre v1 (including BCBS) gadgets. In some of the cases the insertions are more of precautionary nature rather than there provably being a gadget, but I think we should err on the safe (secure) side here.

(qemu changes not included)

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