From: Igor Mammedov <imammedo@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, lvivier@redhat.com, pbonzini@redhat.com,
mst@redhat.com, Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [PATCH] tests: increase timeout per instance of bios-tables-test
Date: Mon, 22 Jul 2024 11:50:17 +0200 [thread overview]
Message-ID: <20240722115017.4ca5bbde@imammedo.users.ipa.redhat.com> (raw)
In-Reply-To: <b538c18f-1b95-45b3-9aba-d1d92491c750@redhat.com>
On Mon, 22 Jul 2024 09:35:17 +0200
Thomas Huth <thuth@redhat.com> wrote:
> On 16/07/2024 14.59, Igor Mammedov wrote:
> > CI often fails 'cross-i686-tci' job due to runner slowness
> > Log shows that test almost complete, with a few remaining
> > when bios-tables-test timeout hits:
> >
> > 19/270 qemu:qtest+qtest-aarch64 / qtest-aarch64/bios-tables-test
> > TIMEOUT 610.02s killed by signal 15 SIGTERM
> > ...
> > stderr:
> > TAP parsing error: Too few tests run (expected 8, got 7)
> >
> > At the same time overall job running time is only ~30 out of 1hr allowed.
> >
> > Increase bios-tables-test instance timeout on 5min as a fix
> > for slow CI runners.
> >
> > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> > ---
> > tests/qtest/meson.build | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Since we're entering the freeze period this week, I'm going to pick up this
> patch for my next pull request in the hope that it will help to get this job
> green again during the freeze period. But in the long run, it would be
> really good if someone familiar with the bios-tables-test could analyze why
> the run time increased so much in recent times for this test and provide a
> better fix for the problem.
running UEFI guest under TCG was always slow (more so for aarch64),
but we keep adding more sub-cases to bios-tables-test (each running
firmware), and that takes extra time.
Overall time to run bios-tables-test naturally increases,
so we have to increase timeout eventually regardless of everything else.
(however there has not been new tests added since 9.0)
In cases I've looked at, meson timed out at the end of bios-tables-test,
where almost all cases were executed modulo the last.
Given flakiness of failure and changes to sub-cases, a few things
could lead to it:
* performance regression when executing aarch64 tests, not much but enough
to push the last sub-test behind 10min boundary more often than not
(either qemu or firmware) (maybe running a few 9.0 jobs and comparing
them to the current master would show if guest became slower)
* CI job runners became slower (we can't control that if I'm not wrong).
As was suggested in another thread running less test in parallel
might help. But I won't bet on it, since it the end (by the time close
to timeout) only a few test are still running so it might be not much
contention on CPU resources.
>
> Thanks,
> Thomas
>
>
prev parent reply other threads:[~2024-07-22 9:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 12:59 [PATCH] tests: increase timeout per instance of bios-tables-test Igor Mammedov
2024-07-16 13:06 ` Michael S. Tsirkin
2024-07-16 13:41 ` Peter Maydell
2024-07-16 14:48 ` Igor Mammedov
2024-07-16 17:44 ` Thomas Huth
2024-07-16 19:52 ` Peter Maydell
2024-07-22 7:35 ` Thomas Huth
2024-07-22 7:47 ` Michael S. Tsirkin
2024-07-22 9:50 ` Igor Mammedov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240722115017.4ca5bbde@imammedo.users.ipa.redhat.com \
--to=imammedo@redhat.com \
--cc=lvivier@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).