[kvm-unit-tests PATCH 3/6] gitlab-ci: upgrade to CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CentOS 7 reached EOL at the end of June 2024. Upgrade to CentOS 8.
The mirror URL adjustment script still seems to be required.

This brings across some of the x86-64 tests that had been enabled
on the fedora build as well.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
---
 .gitlab-ci.yml | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 823f03c3e..2d048b11d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -296,26 +296,52 @@ build-clang:
       | tee results.txt
  - grep -q PASS results.txt && ! grep -q FAIL results.txt
 
-build-centos7:
+build-centos8:
  extends: .outoftree_template
- image: centos:7
+ image: centos:8
  before_script:
 # CentOS mirrors have changed, these sed scripts fixes the repos.
  - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
  - sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
  - sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
  - yum update -y
- - yum install -y make python qemu-kvm gcc
+ - yum install -y make python39 qemu-kvm gcc
  script:
  - mkdir build
  - cd build
  - ../configure --arch=x86_64 --disable-pretty-print-stacks
  - make -j2
  - ACCEL=tcg ./run_tests.sh
-     vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_inl_pmtimer
-     vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed port80
-     setjmp sieve tsc rmap_chain umip
-     | tee results.txt
+      eventinj
+      intel_iommu
+      ioapic-split
+      memory
+      pks
+      pku
+      port80
+      rdpru
+      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
+      | tee results.txt
+ - if grep -q FAIL results.txt ; then exit 1 ; fi
  - grep -q PASS results.txt && ! grep -q FAIL results.txt
  - make -s check-kerneldoc 2>&1 | tee docwarnings.txt
  - test -z `cat docwarnings.txt`
-- 
2.45.2





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux