Message ID | 20240607065147.63226-1-thuth@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [kvm-unit-tests] Bump Fedora version to 40 | expand |
On Fri Jun 7, 2024 at 4:51 PM AEST, Thomas Huth wrote: > Version 37 is out of date, let's use a supported one instead. > > The "xsave" test now tries to execute more tests with TCG, but one > of them is failing with the QEMU from Fedora 40, so we have to > disable the xsave test for now. > The problem will be fixed in QEMU 9.1 with this patch here: > https://lore.kernel.org/qemu-devel/20240603100405.619418-1-pbonzini@redhat.com/ Could make them kfail and keep it running. But anyway this works for me. Acked-by: Nicholas Piggin <npiggin@gmail.com> > And there is also an additional problem with the "realmode" test. As > diagnosed by Paolo: "It turns out that with some versions of clang, > realmode.flat has become big enough that it overlaps the stack used > by the multiboot option ROM loader. The result is that a couple > instructions are overwritten." Thus disable the realmode test in the > Clang build until the problem is fixed. > > Signed-off-by: Thomas Huth <thuth@redhat.com> > --- > .gitlab-ci.yml | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index 2af47328..b689a0c9 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -1,4 +1,4 @@ > -image: fedora:37 > +image: fedora:40 > > before_script: > - dnf update -y > @@ -216,7 +216,6 @@ build-x86_64: > vmexit_ple_round_robin > vmexit_tscdeadline > vmexit_tscdeadline_immed > - xsave > | tee results.txt > - if grep -q FAIL results.txt ; then exit 1 ; fi > > @@ -268,7 +267,6 @@ build-clang: > pks > pku > rdpru > - realmode > rmap_chain > setjmp > sieve > @@ -289,7 +287,6 @@ build-clang: > vmexit_ple_round_robin > vmexit_tscdeadline > vmexit_tscdeadline_immed > - xsave > | tee results.txt > - grep -q PASS results.txt && ! grep -q FAIL results.txt >
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2af47328..b689a0c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: fedora:37 +image: fedora:40 before_script: - dnf update -y @@ -216,7 +216,6 @@ build-x86_64: vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed - xsave | tee results.txt - if grep -q FAIL results.txt ; then exit 1 ; fi @@ -268,7 +267,6 @@ build-clang: pks pku rdpru - realmode rmap_chain setjmp sieve @@ -289,7 +287,6 @@ build-clang: vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed - xsave | tee results.txt - grep -q PASS results.txt && ! grep -q FAIL results.txt
Version 37 is out of date, let's use a supported one instead. The "xsave" test now tries to execute more tests with TCG, but one of them is failing with the QEMU from Fedora 40, so we have to disable the xsave test for now. The problem will be fixed in QEMU 9.1 with this patch here: https://lore.kernel.org/qemu-devel/20240603100405.619418-1-pbonzini@redhat.com/ And there is also an additional problem with the "realmode" test. As diagnosed by Paolo: "It turns out that with some versions of clang, realmode.flat has become big enough that it overlaps the stack used by the multiboot option ROM loader. The result is that a couple instructions are overwritten." Thus disable the realmode test in the Clang build until the problem is fixed. Signed-off-by: Thomas Huth <thuth@redhat.com> --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)