Re: [yocto-autobuilder2][PATCH] schedulers.py: run performance builds only 2x a day, not 4x


Richard Purdie
 

On Sun, 2020-11-08 at 10:09 +0100, Alexander Kanavin wrote:
The same builds are included in a-full, so they tend to get queued up
and cause delays in builds completion, as there's only a single worker
allocated to them. Let's run them less frequently to mitigate the delays.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
schedulers.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/schedulers.py b/schedulers.py
index 2e8f3d5..ca63c9f 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -306,11 +306,11 @@ schedulers.append(sched.Nightly(name='nightly-quick', branch='master', propertie
schedulers.append(sched.Nightly(name='nightly-full', branch='master', properties=parent_default_props('a-full'),
builderNames=['a-full'], hour=1, minute=0, dayOfWeek=6))

-# Run the build performance tests at 3am, 9am, 3pm and 9pm
+# Run the build performance tests at 3am and 3pm
schedulers.append(sched.Nightly(name='nightly-buildperf-ubuntu1604', branch='master', properties=parent_default_props('buildperf-ubuntu1604'),
- builderNames=['buildperf-ubuntu1604'], hour=[3,9,15,21], minute=0))
+ builderNames=['buildperf-ubuntu1604'], hour=[3,15], minute=0))
schedulers.append(sched.Nightly(name='nightly-buildperf-centos7', branch='master', properties=parent_default_props('buildperf-centos7'),
- builderNames=['buildperf-centos7'], hour=[3,9,15,21], minute=0))
+ builderNames=['buildperf-centos7'], hour=[3,15], minute=0))
I've been wondering about this but I suspect we should drop them from
a-full instead...

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.