qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout
@ 2022-08-17  3:46 Bin Meng
  2022-08-17 14:43 ` Thomas Huth
  2022-08-18  7:07 ` Alex Bennée
  0 siblings, 2 replies; 5+ messages in thread
From: Bin Meng @ 2022-08-17  3:46 UTC (permalink / raw)
  To: Alex Bennée, Beraldo Leal, Philippe Mathieu-Daudé,
	Thomas Huth, Wainer dos Santos Moschetta, qemu-devel

Current project timeout is 1 hour, but the check-gprof-gcov job never
completes within 1 hour. Increase the job timeout to 90 minutes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 .gitlab-ci.d/buildtest.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 1931b77b49..52d45508fb 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -495,6 +495,7 @@ check-gprof-gcov:
   variables:
     IMAGE: ubuntu2004
     MAKE_CHECK_ARGS: check
+  timeout: 90m
   after_script:
     - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh
 
-- 
2.34.1



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

* Re: [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout
  2022-08-17  3:46 [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout Bin Meng
@ 2022-08-17 14:43 ` Thomas Huth
  2022-08-18  7:07 ` Alex Bennée
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2022-08-17 14:43 UTC (permalink / raw)
  To: Bin Meng, Alex Bennée, Beraldo Leal,
	Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
	qemu-devel, Richard Henderson, Peter Maydell

On 17/08/2022 05.46, Bin Meng wrote:
> Current project timeout is 1 hour, but the check-gprof-gcov job never
> completes within 1 hour. Increase the job timeout to 90 minutes.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
> 
>   .gitlab-ci.d/buildtest.yml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
> index 1931b77b49..52d45508fb 100644
> --- a/.gitlab-ci.d/buildtest.yml
> +++ b/.gitlab-ci.d/buildtest.yml
> @@ -495,6 +495,7 @@ check-gprof-gcov:
>     variables:
>       IMAGE: ubuntu2004
>       MAKE_CHECK_ARGS: check
> +  timeout: 90m
>     after_script:
>       - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh

Thanks, I think we could use this as a workaround ... for tackling the real 
problem, we have to figure out a way to speed up the migration tests in the 
CI, see:

  https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg01219.html

  Thomas



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

* Re: [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout
  2022-08-17  3:46 [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout Bin Meng
  2022-08-17 14:43 ` Thomas Huth
@ 2022-08-18  7:07 ` Alex Bennée
  2022-08-18  7:25   ` Thomas Huth
  1 sibling, 1 reply; 5+ messages in thread
From: Alex Bennée @ 2022-08-18  7:07 UTC (permalink / raw)
  To: Bin Meng
  Cc: Beraldo Leal, Philippe Mathieu-Daudé, Thomas Huth,
	Wainer dos Santos Moschetta, qemu-devel


Bin Meng <bmeng.cn@gmail.com> writes:

> Current project timeout is 1 hour, but the check-gprof-gcov job never
> completes within 1 hour. Increase the job timeout to 90 minutes.

I've tried to do some data mining on this test which seems to indicate
that the average successful completion time for gprof-gcov is 27 mins.
So it seems the sometimes *something* causes it to run a lot more
slowly. I wonder if increasing the timeout just masks the problem?

>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  .gitlab-ci.d/buildtest.yml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
> index 1931b77b49..52d45508fb 100644
> --- a/.gitlab-ci.d/buildtest.yml
> +++ b/.gitlab-ci.d/buildtest.yml
> @@ -495,6 +495,7 @@ check-gprof-gcov:
>    variables:
>      IMAGE: ubuntu2004
>      MAKE_CHECK_ARGS: check
> +  timeout: 90m
>    after_script:
>      - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh


-- 
Alex Bennée


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

* Re: [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout
  2022-08-18  7:07 ` Alex Bennée
@ 2022-08-18  7:25   ` Thomas Huth
  2022-08-19 10:23     ` Alex Bennée
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Huth @ 2022-08-18  7:25 UTC (permalink / raw)
  To: Alex Bennée, Bin Meng
  Cc: Beraldo Leal, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, qemu-devel

On 18/08/2022 09.07, Alex Bennée wrote:
> 
> Bin Meng <bmeng.cn@gmail.com> writes:
> 
>> Current project timeout is 1 hour, but the check-gprof-gcov job never
>> completes within 1 hour. Increase the job timeout to 90 minutes.
> 
> I've tried to do some data mining on this test which seems to indicate
> that the average successful completion time for gprof-gcov is 27 mins.
> So it seems the sometimes *something* causes it to run a lot more
> slowly. I wonder if increasing the timeout just masks the problem?

I think it's very certainly the migration test that is causing the timeout 
now. In former times, the test was skipped, see e.g.:

  https://gitlab.com/qemu-project/qemu/-/jobs/2795092179#L48

Since commit 2649a72555e the tests are run and take ca. 2 * 20 minutes:

  https://gitlab.com/qemu-project/qemu/-/jobs/2798625330#L48

That's why I started a discussion here for how to reduce the amount of time 
of the migration tests in the CI:

  https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg01219.html

  Thomas



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

* Re: [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout
  2022-08-18  7:25   ` Thomas Huth
@ 2022-08-19 10:23     ` Alex Bennée
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Bennée @ 2022-08-19 10:23 UTC (permalink / raw)
  To: Thomas Huth
  Cc: Bin Meng, Beraldo Leal, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, qemu-devel


Thomas Huth <thuth@redhat.com> writes:

> On 18/08/2022 09.07, Alex Bennée wrote:
>> Bin Meng <bmeng.cn@gmail.com> writes:
>> 
>>> Current project timeout is 1 hour, but the check-gprof-gcov job never
>>> completes within 1 hour. Increase the job timeout to 90 minutes.
>> I've tried to do some data mining on this test which seems to
>> indicate
>> that the average successful completion time for gprof-gcov is 27 mins.
>> So it seems the sometimes *something* causes it to run a lot more
>> slowly. I wonder if increasing the timeout just masks the problem?
>
> I think it's very certainly the migration test that is causing the
> timeout now. In former times, the test was skipped, see e.g.:
>
>  https://gitlab.com/qemu-project/qemu/-/jobs/2795092179#L48
>
> Since commit 2649a72555e the tests are run and take ca. 2 * 20 minutes:
>
>  https://gitlab.com/qemu-project/qemu/-/jobs/2798625330#L48
>
> That's why I started a discussion here for how to reduce the amount of
> time of the migration tests in the CI:
>
>  https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg01219.html

OK I have queued to this patch to testing/next while the discussion is
had. I'll update the commit message.

-- 
Alex Bennée


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

end of thread, other threads:[~2022-08-19 10:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17  3:46 [PATCH] .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout Bin Meng
2022-08-17 14:43 ` Thomas Huth
2022-08-18  7:07 ` Alex Bennée
2022-08-18  7:25   ` Thomas Huth
2022-08-19 10:23     ` Alex Bennée

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).