Do not run baseline tests on osstest branch.
PATCH 1/1 Do not run baseline tests on osstest branch.
If an osstest instance is running flights with OSSTEST_BASELINES_ONLY=y (e.g. on a secondary site, like the Citrix Cambridge instance) then it will also be running a regular osstest flight to merge from the upstream osstest and does not want to also do baseline testing.
I expect this will be the normal configuration in all sites other than the master colo production instance, so arrange for it via branch-settings.osstest rather than some site local configuration file.
In the colo production instance we never set OSSTEST_BASELINES_ONLY=y, so this has no effect. If we did set that option I think suppressing it for the osstest branch would still be correct.
--- branch-settings.osstest | 8 ++++++++ 1 file changed, 8 insertions(+)
branch-settings.osstest +8 -0
@@ -1 +1,9 @@ OSSTEST_EMAIL_HEADER=daily-cron-email-osstest + +# Sites which run baseline only tests will usually be running a +# separate flight to merge osstest from upstream and do not need to do +# baseline tests of it too. +if [ x"$OSSTEST_BASELINES_ONLY" = xy ] ; then + echo "Not baseline testing osstest" + exit 1 +fi
Signature · 1 line
2.5.1
Ian Campbell writes ("[PATCH OSSTEST] Do not run baseline tests on osstest branch."):
Quoted 10 lines
If an osstest instance is running flights with OSSTEST_BASELINES_ONLY=y (e.g. on a secondary site, like the Citrix Cambridge instance) then it will also be running a regular osstest flight to merge from the upstream osstest and does not want to also do baseline testing.
I expect this will be the normal configuration in all sites other than the master colo production instance, so arrange for it via branch-settings.osstest rather than some site local configuration file.
Quoted 5 lines
In the colo production instance we never set OSSTEST_BASELINES_ONLY=y, so this has no effect. If we did set that option I think suppressing it for the osstest branch would still be correct.
Signed-off-by Ian Campbell <[email protected]>
And added to my push queue.
Ian.