[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fuzz: avoid building twice, when running on gitlab
From: |
Alexander Bulekov |
Subject: |
Re: [PATCH] fuzz: avoid building twice, when running on gitlab |
Date: |
Mon, 9 Aug 2021 15:06:04 -0400 |
On 210809 1925, Peter Maydell wrote:
> On Mon, 9 Aug 2021 at 12:18, Alexander Bulekov <alxndr@bu.edu> wrote:
> >
> > On oss-fuzz, we build twice, to put together a build that is portable to
> > the runner containers. On gitlab ci, this is wasteful and contributes to
> > timeouts on the build-oss-fuzz job. Avoid building twice on gitlab, at
> > the remote cost of potentially missing some cases that break oss-fuzz
> > builds.
> >
> > Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
> > ---
> >
> > From a couple test runs it looks like this can shave off 15-20 minutes.
> >
> > scripts/oss-fuzz/build.sh | 24 +++++++++++++-----------
> > 1 file changed, 13 insertions(+), 11 deletions(-)
>
> I tried a test run with this, but it still hit the 1 hour timeout:
>
> https://gitlab.com/qemu-project/qemu/-/pipelines/350387482
It also timed out for me with a 120 minute timeout:
https://gitlab.com/a1xndr/qemu/-/jobs/1488160601
The log has almost exactly the same number of lines as yours, so I'm
guessing one of the qtests is timing out with --enable-sanitizers .
-Alex
>
> -- PMM
- [PATCH] fuzz: avoid building twice, when running on gitlab, Alexander Bulekov, 2021/08/09
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Darren Kenny, 2021/08/09
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Peter Maydell, 2021/08/09
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab,
Alexander Bulekov <=
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Alexander Bulekov, 2021/08/09
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Peter Maydell, 2021/08/09
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Philippe Mathieu-Daudé, 2021/08/10
- Re: [PATCH] fuzz: avoid building twice, when running on gitlab, Coiby Xu, 2021/08/10