Skip to contentSkip to conversation

149173: regressions - FAIL

Xen-devel osstest service owner 1 participant 1 message Mar 30, 2020

lore
Share & tools
lore

osstest service owner

author Reviewed-by Philippe Mathieu-Daudé
#0 lore raw

flight 149173 seabios real [real]
http://logs.test-lab.xenproject.org/osstest/logs/149173/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-intel 17 debian-hvm-install/l1/l2 fail REGR. vs. 148666

Tests which did not succeed, but are not blocking:

 test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stop             fail like 148666
 test-amd64-amd64-xl-qemuu-ws16-amd64 17 guest-stop            fail like 148666
 test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stop             fail like 148666

test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass test-amd64-amd64-qemuu-nested-amd 17 debian-hvm-install/l1/l2 fail never pass
test-amd64-amd64-xl-qemuu-win7-amd64 17 guest-stop fail starved in 148666

version targeted for testing:
seabios 6a3b59ab9c7dc00331c21346052dfa6a0df45aa3
baseline version:
seabios 066a9956097b54530888b88ab9aa1ea02e42af5a

Last test of basis   148666  2020-03-17 13:39:45 Z   12 days
Failing since        148690  2020-03-18 06:43:59 Z   12 days   15 attempts
Testing same since   149120  2020-03-28 03:28:10 Z    2 days    3 attempts

------------------------------------------------------------
People who touched revisions under test:
Gerd Hoffmann <[email protected]>
Matt DeVillier <[email protected]>
Paul Menzel <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             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-i386-xsm                 pass    
 test-amd64-i386-xl-qemuu-debianhvm-i386-xsm                  pass    
 test-amd64-amd64-qemuu-nested-amd                            fail    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-ws16-amd64                         fail    
 test-amd64-i386-xl-qemuu-ws16-amd64                          fail    
 test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict        pass    
 test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict         pass    
 test-amd64-amd64-qemuu-nested-intel                          fail    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow             pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64-shadow              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 6a3b59ab9c7dc00331c21346052dfa6a0df45aa3

Author: Gerd Hoffmann <[email protected]>
Date:   Mon Mar 23 15:59:11 2020 +0100

pci: add mmconfig support

Add support for pci config space access via mmconfig bar. Enable for qemu q35 chipset. Main advantage is that we need only one instead of two io operations per config space access, which translates to one instead of two vmexits for virtualization.

Message-id: [email protected]

commit 63a44aff7a6a2303ff1c03b6bfcfa6477943e60d

Author: Gerd Hoffmann <[email protected]>
Date:   Mon Mar 23 15:59:10 2020 +0100

pci: factor out ioconfig_cmd()

Add helper function to calculate PORT_PCI_CMD value from bdf + addr.

Message-id: [email protected]

commit de88a9628426e82f1cee4b61b06e67e6787301b1

Author: Paul Menzel <[email protected]>
Date:   Wed Mar 4 14:51:27 2020 +0100

std/tcg: Replace zero-length array with flexible-array member

GCC 10 gives the warnings below:

In file included from out/ccode32flat.o.tmp.c:54:
./src/tcgbios.c: In function 'tpm20_write_EfiSpecIdEventStruct':
./src/tcgbios.c:290:30: warning: array subscript '(<unknown>) + 4294967295' is outside the bounds of an interior zero-length array 'struct TCG_EfiSpecIdEventAlgorithmSize[0]' [-Wzero-length-bounds]
290 | event.hdr.digestSizes[count].algorithmId = be16_to_cpu(sel->hashAlg);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ./src/tcgbios.c:22,
from out/ccode32flat.o.tmp.c:54:
./src/std/tcg.h:527:7: note: while referencing 'digestSizes'
527 | } digestSizes[0];
| ^~~~~~~~~~~
In file included from out/ccode32flat.o.tmp.c:54:
./src/tcgbios.c:291:30: warning: array subscript '(<unknown>) + 4294967295' is outside the bounds of an interior zero-length array 'struct TCG_EfiSpecIdEventAlgorithmSize[0]' [-Wzero-length-bounds]
291 | event.hdr.digestSizes[count].digestSize = hsize;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ./src/tcgbios.c:22,
from out/ccode32flat.o.tmp.c:54:
./src/std/tcg.h:527:7: note: while referencing 'digestSizes'
527 | } digestSizes[0];
| ^~~~~~~~~~~

[Description copied from Gustavo A. R. Silva <[email protected]> from his Linux kernel commits.]

The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member [1][2], introduced in C99:

struct foo {
int stuff;
struct boo array[];
};

By making use of the mechanism above, we will get a compiler warning in case the flexible array does not occur last in the structure, which will help us prevent some kind of undefined behavior bugs from being inadvertently introduced[3] to the codebase from now on.

Also, notice that, dynamic memory allocations won't be affected by this change:

"Flexible array members have incomplete type, and so the sizeof operator may not be applied. As a quirk of the original implementation of zero-length arrays, sizeof evaluates to zero."[1]

This issue was found with the help of Coccinelle.

[1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
[2] https://github.com/KSPP/linux/issues/21
[3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76497732932f15e7323dc805e8ea8dc11bb587cf

commit bfdb3f86e9116fc79ce63c231373b084aad11218

Author: Matt DeVillier <[email protected]>
Date:   Fri Aug 12 14:21:58 2016 -0500

ps2port: adjust init routine to fix PS/2 keyboard issues

PS/2 keyboards on Chromebooks with upstream coreboot + SeaBIOS often fail to init properly / register keystrokes. Modify ps2port init to match that of TianoCore, which doesn't have said issues.

Message-Id: <[email protected]>

commit 29ee1fb85cf07eaa38eba5df49b86419cacc205d

Author: Matt DeVillier <[email protected]>
Date:   Fri Jun 13 17:20:23 2014 -0500

Skip boot menu and timeout with only one boot device

Message-Id: <[email protected]>