Skip to contentSkip to conversation

gitlab: move linux-user plugins test across to gitlab

PATCH In review Alex Bennée 3 participants 4 messages Oct 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gitlab: move linux-user plugins test across to gitlab

Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well move there and bump the timeout.

---
v2
- use timeout instead of split build

---
 .gitlab-ci.yml | 11 +++++++++++
 .travis.yml    | 11 -----------
 2 files changed, 11 insertions(+), 11 deletions(-)
.gitlab-ci.yml +11 -0
index c265e7f8ab..346f23acf7 100644
@@ -244,6 +244,17 @@ build-user:
     CONFIGURE_ARGS: --disable-tools --disable-system
     MAKE_CHECK_ARGS: check-tcg
 
+# Run check-tcg against linux-user (with plugins)
+# we skip sparc64-linux-user until it has been fixed somewhat
+# we skip cris-linux-user as it doesn't use the common run loop
+build-user-plugins:
+  <<: *native_build_job_definition
+  variables:
+    IMAGE: debian-all-test-cross
+    CONFIGURE_ARGS: --disable-tools --disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user
+    MAKE_CHECK_ARGS: check-tcg
+  timeout: 1h 30m
+
 build-clang:
   <<: *native_build_job_definition
   variables:
.travis.yml +0 -11
index c255c331a7..519e62432d 100644
@@ -311,17 +311,6 @@ jobs:
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg"
 
 
-    # Run check-tcg against linux-user (with plugins)
-    # we skip sparc64-linux-user until it has been fixed somewhat
-    # we skip cris-linux-user as it doesn't use the common run loop
-    - name: "GCC plugins check-tcg (user)"
-      env:
-        - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user"
-        - TEST_BUILD_CMD="make build-tcg"
-        - TEST_CMD="make check-tcg"
-        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg"
-
-
     # Run check-tcg against softmmu targets
     - name: "GCC check-tcg (some-softmmu)"
       env:
Signature · 1 line
2.20.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Alex Bennée

Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well move there and bump the timeout.

Quoted 7 lines

---
v2
- use timeout instead of split build

---
 .gitlab-ci.yml | 11 +++++++++++
 .travis.yml    | 11 -----------
 2 files changed, 11 insertions(+), 11 deletions(-)
#2 lore raw
In reply to Alex Bennée
Quoted 7 lines · Alex Bennée

Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well move there and bump the timeout.

Hi Alex,

Unrelated to the patch: do we have custom runners on gitlab? I'm exploring ideas to run vm based tests there.

Fam

#3 lore raw
Quoted 7 lines · Fam Zheng
Quoted 6 lines · Alex Bennée

Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well move there and bump the timeout.

Quoted 6 lines
Quoted 1 line

Hi Alex,

Unrelated to the patch: do we have custom runners on gitlab? I'm exploring ideas to run vm based tests there.

Not yet, but Cleber is working on that topic...

Thomas