Skip to contentSkip to conversation

travis.yml: Run 32-bit tests with KVM, too

PATCH In review Thomas Huth 2 participants 5 messages Dec 5, 2019 – Dec 9, 2019 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis.yml: Run 32-bit tests with KVM, too

KVM works on Travis in 32-bit, too, so we can enable more tests there.

---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
.travis.yml +7 -3
index 4162366..75bcf08 100644
@@ -34,15 +34,19 @@ matrix:
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="."
-      - TESTS="eventinj port80 sieve tsc taskswitch umip vmexit_ple_round_robin"
+      - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
+               s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc gcc-multilib qemu-system-x86
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="i386-builddir"
-      - TESTS="vmexit_mov_from_cr8 vmexit_ipi vmexit_ipi_halt vmexit_mov_to_cr8
-               vmexit_cpuid vmexit_tscdeadline vmexit_tscdeadline_immed"
+      - TESTS="tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt
+               vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
+               vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall"
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc-arm-linux-gnueabihf qemu-system-arm
Signature · 1 line
2.18.1
maintainer
#1 lore raw
Quoted 25 lines · Thomas Huth

KVM works on Travis in 32-bit, too, so we can enable more tests there.

---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
.travis.yml +3 -1
index 4162366..75bcf08 100644
@@ -34,15 +34,19 @@ matrix:
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="."
-      - TESTS="eventinj port80 sieve tsc taskswitch umip vmexit_ple_round_robin"
+      - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
+               s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc gcc-multilib qemu-system-x86
       env:
       - CONFIG="--arch=i386"

.travis.yml matrix: · line 52

Quoted 10 lines
.travis.yml +4 -2
       - BUILD_DIR="i386-builddir"
-      - TESTS="vmexit_mov_from_cr8 vmexit_ipi vmexit_ipi_halt vmexit_mov_to_cr8
-               vmexit_cpuid vmexit_tscdeadline vmexit_tscdeadline_immed"
+      - TESTS="tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt
+               vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
+               vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall"
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc-arm-linux-gnueabihf qemu-system-arm

Applied, thanks. But there are also some 32-bit specific tests (taskswitch, taskswitch2, cmpxchg8b) that we may want to add.

Paolo

#2 lore raw
Quoted 8 lines · Paolo Bonzini
Quoted 7 lines · Thomas Huth

KVM works on Travis in 32-bit, too, so we can enable more tests there.

---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Quoted 11 lines

.travis.yml matrix: · line 38

Quoted 11 lines
.travis.yml +2 -1
index 4162366..75bcf08 100644
@@ -34,15 +34,19 @@ matrix:
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="."
-      - TESTS="eventinj port80 sieve tsc taskswitch umip vmexit_ple_round_robin"
+      - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
+               s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"

taskswitch and taskswitch2 are here ----------------^

Quoted 14 lines
Quoted 14 lines
.travis.yml +5 -2
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc gcc-multilib qemu-system-x86
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="i386-builddir"
-      - TESTS="vmexit_mov_from_cr8 vmexit_ipi vmexit_ipi_halt vmexit_mov_to_cr8
-               vmexit_cpuid vmexit_tscdeadline vmexit_tscdeadline_immed"
+      - TESTS="tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt
+               vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
+               vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall"
+      - ACCEL="kvm"
 
Quoted 6 lines

.travis.yml matrix: · line 52

Quoted 3 lines
.travis.yml +0 -0
     - addons:
         apt_packages: gcc-arm-linux-gnueabihf qemu-system-arm

Applied, thanks. But there are also some 32-bit specific tests (taskswitch, taskswitch2, cmpxchg8b) that we may want to add.

cmpxchg8b seems to be missing in x86/unittests.cfg ... so I think it should be added there first?

Thomas

maintainer
#3 lore raw
Quoted 9 lines · Thomas Huth
Quoted 8 lines · Paolo Bonzini
Quoted 7 lines · Thomas Huth

KVM works on Travis in 32-bit, too, so we can enable more tests there.

---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Quoted 13 lines
Quoted 11 lines

.travis.yml matrix: · line 38

Quoted 11 lines
.travis.yml +2 -1
index 4162366..75bcf08 100644
@@ -34,15 +34,19 @@ matrix:
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="."
-      - TESTS="eventinj port80 sieve tsc taskswitch umip vmexit_ple_round_robin"
+      - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
+               s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"

taskswitch and taskswitch2 are here ----------------^

You're right, but I'm confused: what are the two separate configurations for? Worth a comment?

Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
.travis.yml +5 -2
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc gcc-multilib qemu-system-x86
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="i386-builddir"
-      - TESTS="vmexit_mov_from_cr8 vmexit_ipi vmexit_ipi_halt vmexit_mov_to_cr8
-               vmexit_cpuid vmexit_tscdeadline vmexit_tscdeadline_immed"
+      - TESTS="tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt
+               vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
+               vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall"
+      - ACCEL="kvm"
 
     - addons:
         apt_packages: gcc-arm-linux-gnueabihf qemu-system-arm
Quoted 5 lines
Quoted 2 lines

Applied, thanks. But there are also some 32-bit specific tests (taskswitch, taskswitch2, cmpxchg8b) that we may want to add.

cmpxchg8b seems to be missing in x86/unittests.cfg ... so I think it should be added there first?

Good idea.

#4 lore raw
Quoted 24 lines · Paolo Bonzini
Quoted 9 lines · Thomas Huth
Quoted 8 lines · Paolo Bonzini
Quoted 7 lines · Thomas Huth

KVM works on Travis in 32-bit, too, so we can enable more tests there.

---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Quoted 13 lines
Quoted 11 lines

.travis.yml matrix: · line 38

Quoted 11 lines
.travis.yml +2 -1
index 4162366..75bcf08 100644
@@ -34,15 +34,19 @@ matrix:
       env:
       - CONFIG="--arch=i386"
       - BUILD_DIR="."
-      - TESTS="eventinj port80 sieve tsc taskswitch umip vmexit_ple_round_robin"
+      - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
+               s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"

taskswitch and taskswitch2 are here ----------------^

Quoted 2 lines

You're right, but I'm confused: what are the two separate configurations for? Worth a comment?

For all architectures we've got one entry for in-tree builds and one in-tree entry for out-of-tree builds. Since we've got these two entries anyway, I simply split up the set of tests to speed up the CI process a little bit.

Thomas