qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/9] gitlab-ci: Split gprof-gcov job


From: Thomas Huth
Subject: Re: [PATCH 6/9] gitlab-ci: Split gprof-gcov job
Date: Thu, 27 May 2021 08:03:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

On 25/05/2021 12.21, Philippe Mathieu-Daudé wrote:
On 5/25/21 10:25 AM, Philippe Mathieu-Daudé wrote:
This job is hitting the 70min limit, so split it in 2 tasks.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
  .gitlab-ci.d/buildtest.yml | 17 ++++++++++++++---
  1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index f903fdea3f4..894732e203d 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -564,16 +564,27 @@ check-deprecated:
    allow_failure: true
# gprof/gcov are GCC features
-gprof-gcov:
+build-gprof-gcov:
    extends: .native_build_job_template
    needs:
      job: amd64-ubuntu2004-container
    variables:
      IMAGE: ubuntu2004
      CONFIGURE_ARGS: --enable-gprof --enable-gcov
-    MAKE_CHECK_ARGS: check
      TARGETS: aarch64-softmmu ppc64-softmmu s390x-softmmu x86_64-softmmu
-  timeout: 70m
+  artifacts:
+    expire_in: 1 days
+    paths:
+      - build

FYI this job takes 28min:
https://gitlab.com/philmd/qemu/-/jobs/1290778672

+
+check-gprof-gcov:
+  extends: .native_test_job_template
+  needs:
+    - job: build-gprof-gcov
+      artifacts: true
+  variables:
+    IMAGE: ubuntu2004
+    MAKE_CHECK_ARGS: check
    after_script:
      - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh

and this one 23min:
https://gitlab.com/philmd/qemu/-/jobs/1290778751

So why are they taking less than 70 minutes when split in two parts, but are exceeding the 70 minutes when done in one job?
That does not make sense...

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]