kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] gitlab-ci: Update to Fedora 37
@ 2022-12-06 10:40 Thomas Huth
  2022-12-06 11:45 ` Claudio Imbrenda
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2022-12-06 10:40 UTC (permalink / raw)
  To: kvm
  Cc: Laurent Vivier, Paolo Bonzini, Andrew Jones, Janosch Frank,
	Claudio Imbrenda

Our gitlab-ci jobs were still running with Fedora 32 that is out of
service already. Let's update to Fedora 37 that brings a new QEMU
which also allows to run more tests with TCG. While we're at it,
also list each test in single lines and sort them alphabetically
so that it is easier to follow which tests get added and removed.
Beside adding some new tests, two entries are also removed here:
The "port80" test was removed a while ago from the x86 folder
already, but not from the .gitlab-ci.yml yet (seems like the run
script simply ignores unknown tests instead of complaining), and
the "tsc_adjust" is only skipping in the CI, so it's currently not
really usefull to try to run it in the CI.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .gitlab-ci.yml | 157 +++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 132 insertions(+), 25 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5768f1d..ad7949c9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: fedora:32
+image: fedora:37
 
 before_script:
  - dnf update -y
@@ -10,10 +10,28 @@ build-aarch64:
  - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
  - make -j2
  - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
-     selftest-setup selftest-vectors-kernel selftest-vectors-user selftest-smp
-     pci-test pmu-cycle-counter pmu-event-counter-config pmu-sw-incr gicv2-ipi
-     gicv2-mmio gicv3-ipi gicv2-active gicv3-active psci timer cache
-     | tee results.txt
+      cache
+      debug-bp
+      debug-sstep
+      debug-wp
+      gicv2-active
+      gicv2-ipi
+      gicv2-mmio
+      gicv3-active
+      gicv3-ipi
+      its-introspection
+      its-trigger
+      pci-test
+      pmu-cycle-counter
+      pmu-event-counter-config
+      pmu-sw-incr
+      psci
+      selftest-setup
+      selftest-smp
+      selftest-vectors-kernel
+      selftest-vectors-user
+      timer
+      | tee results.txt
  - if grep -q FAIL results.txt ; then exit 1 ; fi
 
 build-arm:
@@ -62,9 +80,32 @@ build-s390x:
  - ../configure --arch=s390x --cross-prefix=s390x-linux-gnu-
  - make -j2
  - ACCEL=tcg ./run_tests.sh
-     selftest-setup intercept emulator sieve diag10 diag308 vector diag288
-     stsi sclp-1g sclp-3g
-     | tee results.txt
+      adtl-status-no-vec-no-gs-tcg
+      adtl-status-tcg
+      cpumodel
+      css
+      diag10
+      diag288
+      diag308
+      edat
+      emulator
+      epsw
+      exittime
+      firq-linear-cpu-ids-tcg
+      firq-nonlinear-cpu-ids-tcg
+      iep
+      intercept
+      mvpg
+      sck
+      sclp-1g
+      sclp-3g
+      selftest-setup
+      sieve
+      smp
+      stsi
+      tprot
+      vector
+      | tee results.txt
  - if grep -q FAIL results.txt ; then exit 1 ; fi
 
 build-x86_64:
@@ -73,12 +114,36 @@ build-x86_64:
  - ./configure --arch=x86_64
  - make -j2
  - ACCEL=tcg ./run_tests.sh
-     ioapic-split smptest smptest3 vmexit_cpuid vmexit_mov_from_cr8
-     vmexit_mov_to_cr8 vmexit_inl_pmtimer  vmexit_ipi vmexit_ipi_halt
-     vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
-     eventinj port80 setjmp sieve syscall tsc rmap_chain umip intel_iommu
-     rdpru pku pks smap tsc_adjust xsave
-     | tee results.txt
+      eventinj
+      intel_iommu
+      ioapic-split
+      memory
+      pks
+      pku
+      rdpru
+      realmode
+      rmap_chain
+      setjmp
+      sieve
+      smap
+      smptest
+      smptest3
+      syscall
+      tsc
+      umip
+      vmexit_cpuid
+      vmexit_cr0_wp
+      vmexit_cr4_pge
+      vmexit_inl_pmtimer
+      vmexit_ipi
+      vmexit_ipi_halt
+      vmexit_mov_from_cr8
+      vmexit_mov_to_cr8
+      vmexit_ple_round_robin
+      vmexit_tscdeadline
+      vmexit_tscdeadline_immed
+      xsave
+      | tee results.txt
  - if grep -q FAIL results.txt ; then exit 1 ; fi
 
 build-i386:
@@ -89,11 +154,29 @@ build-i386:
  - ../configure --arch=i386
  - make -j2
  - ACCEL=tcg ./run_tests.sh
-     cmpxchg8b vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8
-     vmexit_inl_pmtimer vmexit_ipi vmexit_ipi_halt vmexit_ple_round_robin
-     vmexit_tscdeadline vmexit_tscdeadline_immed eventinj port80 setjmp sieve
-     tsc taskswitch umip rdpru smap tsc_adjust xsave
-     | tee results.txt
+      cmpxchg8b
+      eventinj
+      realmode
+      setjmp
+      sieve
+      smap
+      smptest
+      smptest3
+      taskswitch
+      tsc
+      umip
+      vmexit_cpuid
+      vmexit_cr0_wp
+      vmexit_cr4_pge
+      vmexit_inl_pmtimer
+      vmexit_ipi
+      vmexit_ipi_halt
+      vmexit_mov_from_cr8
+      vmexit_mov_to_cr8
+      vmexit_ple_round_robin
+      vmexit_tscdeadline
+      vmexit_tscdeadline_immed
+      | tee results.txt
  - if grep -q FAIL results.txt ; then exit 1 ; fi
 
 build-clang:
@@ -102,12 +185,36 @@ build-clang:
  - ./configure --arch=x86_64 --cc=clang
  - make -j2
  - ACCEL=tcg ./run_tests.sh
-     ioapic-split smptest smptest3 vmexit_cpuid vmexit_mov_from_cr8
-     vmexit_mov_to_cr8 vmexit_inl_pmtimer  vmexit_ipi vmexit_ipi_halt
-     vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
-     eventinj port80 setjmp syscall tsc rmap_chain umip intel_iommu
-     rdpru pku pks smap tsc_adjust xsave
-     | tee results.txt
+      eventinj
+      intel_iommu
+      ioapic-split
+      memory
+      pks
+      pku
+      rdpru
+      realmode
+      rmap_chain
+      setjmp
+      sieve
+      smap
+      smptest
+      smptest3
+      syscall
+      tsc
+      umip
+      vmexit_cpuid
+      vmexit_cr0_wp
+      vmexit_cr4_pge
+      vmexit_inl_pmtimer
+      vmexit_ipi
+      vmexit_ipi_halt
+      vmexit_mov_from_cr8
+      vmexit_mov_to_cr8
+      vmexit_ple_round_robin
+      vmexit_tscdeadline
+      vmexit_tscdeadline_immed
+      xsave
+      | tee results.txt
  - grep -q PASS results.txt && ! grep -q FAIL results.txt
 
 build-centos7:
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [kvm-unit-tests PATCH] gitlab-ci: Update to Fedora 37
  2022-12-06 10:40 [kvm-unit-tests PATCH] gitlab-ci: Update to Fedora 37 Thomas Huth
@ 2022-12-06 11:45 ` Claudio Imbrenda
  0 siblings, 0 replies; 2+ messages in thread
From: Claudio Imbrenda @ 2022-12-06 11:45 UTC (permalink / raw)
  To: Thomas Huth
  Cc: kvm, Laurent Vivier, Paolo Bonzini, Andrew Jones, Janosch Frank

On Tue,  6 Dec 2022 11:40:03 +0100
Thomas Huth <thuth@redhat.com> wrote:

> Our gitlab-ci jobs were still running with Fedora 32 that is out of
> service already. Let's update to Fedora 37 that brings a new QEMU
> which also allows to run more tests with TCG. While we're at it,
> also list each test in single lines and sort them alphabetically
> so that it is easier to follow which tests get added and removed.
> Beside adding some new tests, two entries are also removed here:
> The "port80" test was removed a while ago from the x86 folder
> already, but not from the .gitlab-ci.yml yet (seems like the run
> script simply ignores unknown tests instead of complaining), and
> the "tsc_adjust" is only skipping in the CI, so it's currently not
> really usefull to try to run it in the CI.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

> ---
>  .gitlab-ci.yml | 157 +++++++++++++++++++++++++++++++++++++++++--------
>  1 file changed, 132 insertions(+), 25 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index e5768f1d..ad7949c9 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -1,4 +1,4 @@
> -image: fedora:32
> +image: fedora:37
>  
>  before_script:
>   - dnf update -y
> @@ -10,10 +10,28 @@ build-aarch64:
>   - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
>   - make -j2
>   - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
> -     selftest-setup selftest-vectors-kernel selftest-vectors-user selftest-smp
> -     pci-test pmu-cycle-counter pmu-event-counter-config pmu-sw-incr gicv2-ipi
> -     gicv2-mmio gicv3-ipi gicv2-active gicv3-active psci timer cache
> -     | tee results.txt
> +      cache
> +      debug-bp
> +      debug-sstep
> +      debug-wp
> +      gicv2-active
> +      gicv2-ipi
> +      gicv2-mmio
> +      gicv3-active
> +      gicv3-ipi
> +      its-introspection
> +      its-trigger
> +      pci-test
> +      pmu-cycle-counter
> +      pmu-event-counter-config
> +      pmu-sw-incr
> +      psci
> +      selftest-setup
> +      selftest-smp
> +      selftest-vectors-kernel
> +      selftest-vectors-user
> +      timer
> +      | tee results.txt
>   - if grep -q FAIL results.txt ; then exit 1 ; fi
>  
>  build-arm:
> @@ -62,9 +80,32 @@ build-s390x:
>   - ../configure --arch=s390x --cross-prefix=s390x-linux-gnu-
>   - make -j2
>   - ACCEL=tcg ./run_tests.sh
> -     selftest-setup intercept emulator sieve diag10 diag308 vector diag288
> -     stsi sclp-1g sclp-3g
> -     | tee results.txt
> +      adtl-status-no-vec-no-gs-tcg
> +      adtl-status-tcg
> +      cpumodel
> +      css
> +      diag10
> +      diag288
> +      diag308
> +      edat
> +      emulator
> +      epsw
> +      exittime
> +      firq-linear-cpu-ids-tcg
> +      firq-nonlinear-cpu-ids-tcg
> +      iep
> +      intercept
> +      mvpg
> +      sck
> +      sclp-1g
> +      sclp-3g
> +      selftest-setup
> +      sieve
> +      smp
> +      stsi
> +      tprot
> +      vector
> +      | tee results.txt
>   - if grep -q FAIL results.txt ; then exit 1 ; fi
>  
>  build-x86_64:
> @@ -73,12 +114,36 @@ build-x86_64:
>   - ./configure --arch=x86_64
>   - make -j2
>   - ACCEL=tcg ./run_tests.sh
> -     ioapic-split smptest smptest3 vmexit_cpuid vmexit_mov_from_cr8
> -     vmexit_mov_to_cr8 vmexit_inl_pmtimer  vmexit_ipi vmexit_ipi_halt
> -     vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
> -     eventinj port80 setjmp sieve syscall tsc rmap_chain umip intel_iommu
> -     rdpru pku pks smap tsc_adjust xsave
> -     | tee results.txt
> +      eventinj
> +      intel_iommu
> +      ioapic-split
> +      memory
> +      pks
> +      pku
> +      rdpru
> +      realmode
> +      rmap_chain
> +      setjmp
> +      sieve
> +      smap
> +      smptest
> +      smptest3
> +      syscall
> +      tsc
> +      umip
> +      vmexit_cpuid
> +      vmexit_cr0_wp
> +      vmexit_cr4_pge
> +      vmexit_inl_pmtimer
> +      vmexit_ipi
> +      vmexit_ipi_halt
> +      vmexit_mov_from_cr8
> +      vmexit_mov_to_cr8
> +      vmexit_ple_round_robin
> +      vmexit_tscdeadline
> +      vmexit_tscdeadline_immed
> +      xsave
> +      | tee results.txt
>   - if grep -q FAIL results.txt ; then exit 1 ; fi
>  
>  build-i386:
> @@ -89,11 +154,29 @@ build-i386:
>   - ../configure --arch=i386
>   - make -j2
>   - ACCEL=tcg ./run_tests.sh
> -     cmpxchg8b vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8
> -     vmexit_inl_pmtimer vmexit_ipi vmexit_ipi_halt vmexit_ple_round_robin
> -     vmexit_tscdeadline vmexit_tscdeadline_immed eventinj port80 setjmp sieve
> -     tsc taskswitch umip rdpru smap tsc_adjust xsave
> -     | tee results.txt
> +      cmpxchg8b
> +      eventinj
> +      realmode
> +      setjmp
> +      sieve
> +      smap
> +      smptest
> +      smptest3
> +      taskswitch
> +      tsc
> +      umip
> +      vmexit_cpuid
> +      vmexit_cr0_wp
> +      vmexit_cr4_pge
> +      vmexit_inl_pmtimer
> +      vmexit_ipi
> +      vmexit_ipi_halt
> +      vmexit_mov_from_cr8
> +      vmexit_mov_to_cr8
> +      vmexit_ple_round_robin
> +      vmexit_tscdeadline
> +      vmexit_tscdeadline_immed
> +      | tee results.txt
>   - if grep -q FAIL results.txt ; then exit 1 ; fi
>  
>  build-clang:
> @@ -102,12 +185,36 @@ build-clang:
>   - ./configure --arch=x86_64 --cc=clang
>   - make -j2
>   - ACCEL=tcg ./run_tests.sh
> -     ioapic-split smptest smptest3 vmexit_cpuid vmexit_mov_from_cr8
> -     vmexit_mov_to_cr8 vmexit_inl_pmtimer  vmexit_ipi vmexit_ipi_halt
> -     vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
> -     eventinj port80 setjmp syscall tsc rmap_chain umip intel_iommu
> -     rdpru pku pks smap tsc_adjust xsave
> -     | tee results.txt
> +      eventinj
> +      intel_iommu
> +      ioapic-split
> +      memory
> +      pks
> +      pku
> +      rdpru
> +      realmode
> +      rmap_chain
> +      setjmp
> +      sieve
> +      smap
> +      smptest
> +      smptest3
> +      syscall
> +      tsc
> +      umip
> +      vmexit_cpuid
> +      vmexit_cr0_wp
> +      vmexit_cr4_pge
> +      vmexit_inl_pmtimer
> +      vmexit_ipi
> +      vmexit_ipi_halt
> +      vmexit_mov_from_cr8
> +      vmexit_mov_to_cr8
> +      vmexit_ple_round_robin
> +      vmexit_tscdeadline
> +      vmexit_tscdeadline_immed
> +      xsave
> +      | tee results.txt
>   - grep -q PASS results.txt && ! grep -q FAIL results.txt
>  
>  build-centos7:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-06 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 10:40 [kvm-unit-tests PATCH] gitlab-ci: Update to Fedora 37 Thomas Huth
2022-12-06 11:45 ` Claudio Imbrenda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).