* [PATCH OSSTEST 2/2] cambridge: arrange to test each new baseline
@ 2015-07-13 8:16 Ian Campbell
2015-07-24 17:07 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Ian Campbell @ 2015-07-13 8:16 UTC (permalink / raw)
To: ian.jackson; +Cc: Ian Campbell, xen-devel
Provide a new cr-daily-branch setting OSSTEST_BASELINES_ONLY which
causes it to only attempt to test the current baseline (if it is
untested) and never the tip version. Such tests will not result in any
push.
Add a cronjob to Cambridge which runs in this manner, ensuring that
there will usually be some sort of reasonably up to date baseline for
any given branch which can be used for comparisons in adhoc testing or
bisections.
This will also give us some data on the success of various branches on
the set of machines in Cambridge, which can be useful/interesting.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
cr-daily-branch | 13 ++++++++++++-
crontab-cambridge | 1 +
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/cr-daily-branch b/cr-daily-branch
index 7e3e69e..dac28ea 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -85,7 +85,11 @@ check_tested () {
"$@"
}
-if [ "x$OSSTEST_NO_BASELINE" != xy ] ; then
+if [ "x$OSSTEST_BASELINES_ONLY" = xy ] ; then
+ force_baseline=baselines-only
+ wantpush=false
+ skipidentical=true
+elif [ "x$OSSTEST_NO_BASELINE" != xy ] ; then
testedflight=`check_tested --revision-$tree="$OLD_REVISION"`
if [ "x$testedflight" = x ]; then
@@ -258,6 +262,13 @@ any, is the most recent actually tested revision.
END
;;
+ baselines-only)
+ #subject-prefix="[... ] "
+ cat >> $heading <<END
+This branch is configured for baseline tests only.
+
+END
+ ;;
'') # Not forcing a baseline, nothing to say.
;;
esac
diff --git a/crontab-cambridge b/crontab-cambridge
index 2146311..64e4f27 100644
--- a/crontab-cambridge
+++ b/crontab-cambridge
@@ -2,5 +2,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=ian.jackson@citrix.com,ian.campbell@eu.citrix.com
# m h dom mon dow command
4-59/30 * * * * cd testing.git && BRANCHES=osstest ./cr-for-branches branches -q "./cr-daily-branch --real"
+11-59/30 * * * * cd testing.git && OSSTEST_BASELINES_ONLY=y ./cr-for-branches branches -q "./cr-daily-branch --real"
22 8 * * * cd testing.git && BRANCHES=maintjobs ./cr-for-branches . -w ./cr-all-branch-statuses ''
3 4 * * * savelog -c28 testing.git/tmp/cr-for-branches.log >/dev/null
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH OSSTEST 2/2] cambridge: arrange to test each new baseline
2015-07-13 8:16 [PATCH OSSTEST 2/2] cambridge: arrange to test each new baseline Ian Campbell
@ 2015-07-24 17:07 ` Ian Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2015-07-24 17:07 UTC (permalink / raw)
To: Ian Campbell; +Cc: ian.jackson, xen-devel
Ian Campbell writes ("[PATCH OSSTEST 2/2] cambridge: arrange to test each new baseline"):
> Provide a new cr-daily-branch setting OSSTEST_BASELINES_ONLY which
> causes it to only attempt to test the current baseline (if it is
> untested) and never the tip version. Such tests will not result in any
> push.
>
> Add a cronjob to Cambridge which runs in this manner, ensuring that
> there will usually be some sort of reasonably up to date baseline for
> any given branch which can be used for comparisons in adhoc testing or
> bisections.
...
> + baselines-only)
> + #subject-prefix="[... ] "
> + cat >> $heading <<END
> +This branch is configured for baseline tests only.
ITYM "This run is configured..." since the same "branch" may be run
either way (even if the ap-* is actually set up never to do so).
With that change,
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Ian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-24 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-13 8:16 [PATCH OSSTEST 2/2] cambridge: arrange to test each new baseline Ian Campbell
2015-07-24 17:07 ` Ian Jackson
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).