[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 2/2] freebsd build job bisection: add special case


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Mon, 30 Sep 2019 15:57:12 +0100
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 30 Sep 2019 14:57:23 +0000
  • Ironport-sdr: bVVyUnXNMzIjwj/jfzvcXm6oqeG86s7/1tyd9JIX/1bYFkLXACDCXvi06MheKJDUW/Mktw++uw 66AujHWDDrYEBSTpif2rjHiRlVcGO8fO9/CGw9S7KObt4W9m0+I2dkC8MuDsk/MlauzL0PWRin 0Iv1YlW8GwJ4VPPzwe9wM0uNLxCl53N0Qiu4uchMfMckSDNgK3eXgW+gWM0OYT/Z+SkpFrvXzI A9s89pNJkoqacuBqjGKqbB2D32VTnv2xF6ZMFWze8y1g6zwPQOI9PpVhJMLQa8hmz5yROASbdG QIc=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

other_revision_job_suffix contains ad-hoc code which returns an
identifier distinguishing certain jobs which are expected to refer to
different revisions within their flight.

Add the special case for freebsdbuildjob's recursion.

After this change we are now willing to tolerate the fact that a
freebsd build job has as input multiple different revisions of
freebsd.

cs-bisection-step has code to avoid creating recursive build jobs: the
created top-level job will therefore reuse the same freebsdbuildjob as
the template.  Hopefully that will be the previously anointed one and
still be available.

The bisector wants to repro on the same host as before.  This means it
won't necessarily use the most recent pass as the basis build.  So
long as the previous build has not been expired, this is fine.  It
does involve building an earlier freebsd on a later one but this
should be OK.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Osstest.pm b/Osstest.pm
index 561d584c..c14531e3 100644
--- a/Osstest.pm
+++ b/Osstest.pm
@@ -379,6 +379,8 @@ sub other_revision_job_suffix ($$$) {
     return <<END
       (CASE
        WHEN ($jobfield) LIKE 'build-%-prev' THEN '${separator}prev'
+       WHEN (($jobfield) LIKE 'build-%-freebsd' 
+             AND $refrunvar = 'freebsdbuildjob') THEN '${separator}recurse'
        ELSE                                      ''
        END)
 END
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.