diff mbox series

.gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout

Message ID 20220817034630.1600434-1-bmeng.cn@gmail.com
State New
Headers show
Series .gitlab-ci.d/buildtest.yml: Increase the check-gprof-gcov job timeout | expand

Commit Message

Bin Meng Aug. 17, 2022, 3:46 a.m. UTC
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(+)

Comments

Thomas Huth Aug. 17, 2022, 2:43 p.m. UTC | #1
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
Alex Bennée Aug. 18, 2022, 7:07 a.m. UTC | #2
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
Thomas Huth Aug. 18, 2022, 7:25 a.m. UTC | #3
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
Alex Bennée Aug. 19, 2022, 10:23 a.m. UTC | #4
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.
diff mbox series

Patch

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