Skip to contentSkip to conversation

179929: regressions - trouble: blocked/fail/pass/starved

xen-unstable-smoke test osstest service owner 3 participants 5 messages Mar 24, 2023 – Apr 4, 2023

lore
Share & tools
lore

osstest service owner

author Acked-by Andrew Cooper Acked-by Andrew Cooper Acked-by Andrew Cooper Acked-by Andrew Cooper Acked-by Andrew Cooper Reviewed-by Jan Beulich Reviewed-by Jan Beulich Reviewed-by Dario Faggioli Reviewed-by Jan Beulich Reviewed-by Dario Faggioli Reviewed-by Jan Beulich
#0 lore raw

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 6 xen-build fail REGR. vs. 179926

Tests which did not succeed, but are not blocking:

 build-amd64-libvirt           1 build-check(1)               blocked  n/a
 test-amd64-amd64-libvirt      1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl-qemuu-debianhvm-amd64  1 build-check(1)        blocked n/a
 test-arm64-arm64-xl-xsm      15 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-xsm      16 saverestore-support-check    fail   never pass
 test-armhf-armhf-xl           1 build-check(1)               starved  n/a
 build-armhf                   2 hosts-allocate               starved  n/a

version targeted for testing:
xen 054acfc4443cda51bc000c2e3ba08d9fd1bd77f1
baseline version:
xen 715b92ba30f792e326bdd37b5a4969da9c5d4a6c

Last test of basis   179926  2023-03-24 14:01:58 Z    0 days
Testing same since   179929  2023-03-24 17:00:25 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]> Demi Marie Obenour <[email protected]>

jobs:

 build-arm64-xsm                                              pass    
 build-amd64                                                  fail    
 build-armhf                                                  starved 
 build-amd64-libvirt                                          blocked 
 test-armhf-armhf-xl                                          starved 
 test-arm64-arm64-xl-xsm                                      pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    blocked 
 test-amd64-amd64-libvirt                                     blocked 

------------------------------------------------------------
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 054acfc4443cda51bc000c2e3ba08d9fd1bd77f1

Author: Demi Marie Obenour <[email protected]>
Date:   Tue Mar 21 13:33:42 2023 -0400

misc: Replace git:// and http:// with https://

Obtaining code over an insecure transport is a terrible idea for blatently obvious reasons. Even for non-executable data, insecure transports are considered deprecated.

This patch enforces the use of secure transports in misc places. All URLs are known to work.

commit 04988f1c595330fd39cdac2c6034ebb30616557e

Author: Demi Marie Obenour <[email protected]>
Date:   Tue Mar 21 13:33:40 2023 -0400

configure: Replace git:// and http:// with https://

Obtaining code over an insecure transport is a terrible idea for blatently obvious reasons. Even for non-executable data, insecure transports are considered deprecated.

This patch enforces the use of secure transports in the build system. Some URLs returned 301 or 302 redirects, so I replaced them with the URLs that were redirected to.

commit 47ee23f05ac945e5fedf118b8e85af95c5da3276

Author: Demi Marie Obenour <[email protected]>
Date:   Tue Mar 21 13:33:38 2023 -0400

configure: Do not try to use broken links

The upstream URLs for zlib, PolarSSL, and the TPM emulator do not work anymore, so do not attempt to use them.

commit e1d75084443f676be681fdaf47585cc9a5f5b820

Author: Demi Marie Obenour <[email protected]>
Date:   Tue Mar 21 13:33:36 2023 -0400

build: Change remaining xenbits.xen.org link to HTTPS

Obtaining code over an insecure transport is a terrible idea for blatently obvious reasons. Even for non-executable data, insecure transports are considered deprecated.

This patch enforces the use of secure transports for all xenbits.xen.org URLs. All altered links have been tested and are known to work.

commit eb23eef476bf44f933fcff42e55119473a1d6e19

Author: Demi Marie Obenour <[email protected]>
Date:   Tue Mar 21 13:33:34 2023 -0400

build: Use HTTPS for all xenbits.xen.org Git repos

Obtaining code over an insecure transport is a terrible idea for blatently obvious reasons. Even for non-executable data, insecure transports are considered deprecated.

This patch enforces the use of secure transports for all xenbits git repositories. It was generated with the following shell script:

git ls-files -z |
xargs -0 -- sed -Ei -- 's@(git://xenbits\.xen\.org|http://xenbits\.xen\.org/git-http)/@https://xenbits.xen.org/git-http/@g'

All altered links have been tested and are known to work.

commit 79493f2b33eeeccc78db25435181a03f5c46b3e6

Author: Andrew Cooper <[email protected]>
Date:   Wed Sep 15 18:24:19 2021 +0100

xen/trace: Minor code cleanup

* Delete trailing whitespace
* Replace an opencoded DIV_ROUND_UP()
* Drop bogus smp_rmb() - spin_lock_irqsave() has full smp_mb() semantics.

commit 2992f4dcd5e981360cef3fe0e7aef670d5e02eb9

Author: Andrew Cooper <[email protected]>
Date:   Wed Sep 15 17:01:43 2021 +0100

xen/credit2: Remove tail padding from TRC_CSCHED2_* records

All three of these records have tail padding, leaking stack rubble into the trace buffer. Introduce an explicit _pad field and have the compiler zero the padding automatically.

commit 83af664db3366d9c3047abd67655dce1796d005c

Author: Andrew Cooper <[email protected]>
Date:   Wed Sep 15 16:49:01 2021 +0100

xen/memory: Remove tail padding from TRC_MEM_* records

Four TRC_MEM_* records supply custom structures with tail padding, leaking stack rubble into the trace buffer. Three of the records were fine in 32-bit builds of Xen, due to the relaxed alignment of 64-bit integers, but POD_SUPERPAGE_SPLITER was broken right from the outset.

We could pack the datastructures to remove the padding, but xentrace_format has no way of rendering the upper half of a 16-bit field. Instead, expand all 16-bit fields to 32-bit.

For POD_SUPERPAGE_SPLINTER, introduce an order field as it is relevant information, and to match DECREASE_RESERVATION, and so it doesn't require a __packed attribute to drop tail padding.

Update xenalyze's structures to match, and introduce xentrace_format rendering which was absent previously.

commit 6835f93573ad282a7cb01a6af9ee5c3add5cb4a8

Author: Andrew Cooper <[email protected]>
Date:   Thu Sep 16 10:24:26 2021 +0100

xen/trace: Don't over-read trace objects

In the case that 'extra' isn't a multiple of uint32_t, the calculation rounds the number of bytes up, causing later logic to read unrelated bytes beyond the end of the object.

Also, asserting that the object is within TRACE_EXTRA_MAX, but truncating it in release builds is rude. Instead, reject any out-of-spec records, leaving enough of a message to identify the faulty caller.

There is one buggy trace record, TRC_RTDS_BUDGET_BURN. As it must remain __packed (as cur_budget is misaligned), change bool has_extratime to uint32_t to compensate.

It turns out that the new printk() can also be hit by HVMOP_xentrace, because the hypercall is broken. It cannot be used outside of custom debugging, as none of the tooling was ever updated to understand TRC_GUEST, nor is there any evidence of hypercall ever being used in public.

While the hypercall was clearly intended to be used with units if uint32_t's, that's not how the API/ABI works - Xen will in fact read the entire structure rather than the initialised subset out of guest memory (most likely, stack rubble), then copy up to 3 bytes of it (rounding up to the next uint32_t) into the real tracebuffer.

There are several possible ways to fix this, but as the hypercall, and does not plausibly have any users, go with the one that is least logic in Xen, by rejecting tracing attempts that are not of uint32_t size.

(qemu changes not included)

#1 lore raw
Quoted 8 lines · osstest service owner

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 6 xen-build fail REGR. vs. 179926

Bah.

make[6]: Entering directory '/home/osstest/build.179929.build-amd64/xen/tools/firmware/etherboot'

set -e; if ! /usr/bin/wget -c -O _ipxe.tar.gz https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz; then \
	git clone file:////osstest/IPXE-GIT-FORBIDDEN ipxe.git; \
	(cd ipxe.git && git archive --format=tar --prefix=ipxe/ \
	3c040ad387099483102708bb1839110bc788cefb | gzip -n >../_ipxe.tar.gz); \
	rm -rf ipxe.git; \

fi
--2023-03-24 17:06:51-- https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz
Resolving cache (cache)... 172.16.148.6
Connecting to cache (cache)|172.16.148.6|:3128... connected.
ERROR: The certificate of 'xenbits.xen.org' is not trusted.
ERROR: The certificate of 'xenbits.xen.org' has expired.
Cloning into 'ipxe.git'...
fatal: '//osstest/IPXE-GIT-FORBIDDEN' does not appear to be a git repository
fatal: Could not read from remote repository.

That's OSSTest choking, apparently with the same LE root cert problem?

~Andrew

#2 lore raw
Quoted 28 lines · Andrew Cooper
Quoted 8 lines · osstest service owner

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 6 xen-build fail REGR. vs. 179926

Bah.

make[6]: Entering directory '/home/osstest/build.179929.build-amd64/xen/tools/firmware/etherboot'

set -e; if ! /usr/bin/wget -c -O _ipxe.tar.gz https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz; then \
	git clone file:////osstest/IPXE-GIT-FORBIDDEN ipxe.git; \
	(cd ipxe.git && git archive --format=tar --prefix=ipxe/ \
	3c040ad387099483102708bb1839110bc788cefb | gzip -n >../_ipxe.tar.gz); \
	rm -rf ipxe.git; \

fi
--2023-03-24 17:06:51-- https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz
Resolving cache (cache)... 172.16.148.6
Connecting to cache (cache)|172.16.148.6|:3128... connected.
ERROR: The certificate of 'xenbits.xen.org' is not trusted.
ERROR: The certificate of 'xenbits.xen.org' has expired.
Cloning into 'ipxe.git'...
fatal: '//osstest/IPXE-GIT-FORBIDDEN' does not appear to be a git repository
fatal: Could not read from remote repository.

Quoted 1 line

That's OSSTest choking, apparently with the same LE root cert problem?

Given that there's plenty of content wanting testing right now, and no chance of this being looked at until next week, I've reverted e1d750844 (which was just a single hunk anyway) in the hopes that we can still get a useful weekend of testing

~Andrew

#3 lore raw
Quoted 29 lines · Andrew Cooper
Quoted 28 lines · Andrew Cooper
Quoted 8 lines · osstest service owner

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 6 xen-build fail REGR. vs. 179926

Bah.

make[6]: Entering directory '/home/osstest/build.179929.build-amd64/xen/tools/firmware/etherboot'

set -e; if ! /usr/bin/wget -c -O _ipxe.tar.gz https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz; then \
	git clone file:////osstest/IPXE-GIT-FORBIDDEN ipxe.git; \
	(cd ipxe.git && git archive --format=tar --prefix=ipxe/ \
	3c040ad387099483102708bb1839110bc788cefb | gzip -n >../_ipxe.tar.gz); \
	rm -rf ipxe.git; \

fi
--2023-03-24 17:06:51-- https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz
Resolving cache (cache)... 172.16.148.6
Connecting to cache (cache)|172.16.148.6|:3128... connected.
ERROR: The certificate of 'xenbits.xen.org' is not trusted.
ERROR: The certificate of 'xenbits.xen.org' has expired.
Cloning into 'ipxe.git'...
fatal: '//osstest/IPXE-GIT-FORBIDDEN' does not appear to be a git repository
fatal: Could not read from remote repository.

Quoted 6 lines
Quoted 1 line

That's OSSTest choking, apparently with the same LE root cert problem?

Given that there's plenty of content wanting testing right now, and no chance of this being looked at until next week, I've reverted e1d750844 (which was just a single hunk anyway) in the hopes that we can still get a useful weekend of testing

The certificate of the HTTPS proxy has been renewed, and osstest has been updated to use the new certificates. So that commit should work. In other word, osstest is ready for a revert of b5cc3c25a242 ("Revert "build: Change remaining xenbits.xen.org link to HTTPS"")

Cheers,

Signature · 1 line
Anthony PERARD
#4 lore raw
Quoted 34 lines · Anthony PERARD
Quoted 28 lines · Andrew Cooper
Quoted 27 lines · Andrew Cooper
Quoted 8 lines · osstest service owner

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 6 xen-build fail REGR. vs. 179926

Bah.

make[6]: Entering directory '/home/osstest/build.179929.build-amd64/xen/tools/firmware/etherboot'

set -e; if ! /usr/bin/wget -c -O _ipxe.tar.gz https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz; then \
	git clone file:////osstest/IPXE-GIT-FORBIDDEN ipxe.git; \
	(cd ipxe.git && git archive --format=tar --prefix=ipxe/ \
	3c040ad387099483102708bb1839110bc788cefb | gzip -n >../_ipxe.tar.gz); \
	rm -rf ipxe.git; \

fi
--2023-03-24 17:06:51-- https://xenbits.xen.org/xen-extfiles/ipxe-git-3c040ad387099483102708bb1839110bc788cefb.tar.gz
Resolving cache (cache)... 172.16.148.6
Connecting to cache (cache)|172.16.148.6|:3128... connected.
ERROR: The certificate of 'xenbits.xen.org' is not trusted.
ERROR: The certificate of 'xenbits.xen.org' has expired.
Cloning into 'ipxe.git'...
fatal: '//osstest/IPXE-GIT-FORBIDDEN' does not appear to be a git repository
fatal: Could not read from remote repository.

Quoted 5 lines
Quoted 1 line

That's OSSTest choking, apparently with the same LE root cert problem?

Given that there's plenty of content wanting testing right now, and no chance of this being looked at until next week, I've reverted e1d750844 (which was just a single hunk anyway) in the hopes that we can still get a useful weekend of testing

Quoted 6 lines

The certificate of the HTTPS proxy has been renewed, and osstest has been updated to use the new certificates. So that commit should work. In other word, osstest is ready for a revert of b5cc3c25a242 ("Revert "build: Change remaining xenbits.xen.org link to HTTPS"")

Cheers,

Thanks.  I'll revert the revert.

Fingers crossed...

~Andrew