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

[Xen-devel] [PATCH 0/6] osstest: create a local binary FreeBSD package repository


In order to reliably run FreeBSD test with the development branch (aka
HEAD) osstest needs it's custom binary package repository that contains
the packages built against the specific version of FreeBSD under test.
FreeBSD HEAD doesn't have any ABI guarantees, and as such binary
packages are tied to the base system used to build them.

This series introduces a new job to the FreeBSD specific flight, that
builds a local binary package repository against the FreeBSD version
under test. Note  that this repository only contains the dependencies
required to build Xen. The output of the package building job anointed
together with the installer as a pair, so they are used in conjunction.

Note that the package building job is (like the installer building job)
only used by the FReeBSD specific flight, the output however will  be
consumed by other flights, just like the FreeBSD installer.

The runvar changes for a FreeBSD flight are:

+build-amd64-freebsd-packages all_host_os              freebsd
+build-amd64-freebsd-packages all_hostflags            PropEq:Firmware:bios:bios
+build-amd64-freebsd-packages arch                     amd64
+build-amd64-freebsd-packages freebsdbuildjob          build-amd64-freebsd
+build-amd64-freebsd          freebsdpackagesbuildjob  
+build-amd64-freebsd-again    freebsdpackagesbuildjob  
+build-amd64-freebsd-packages freebsdpackagesbuildjob  
+build-amd64-xen-freebsd      freebsdpackagesbuildjob  
+build-amd64-freebsd-packages host_hostflags           arch-amd64,purpose-build
+build-amd64-freebsd-packages recipe_skipbuildprep     true
+build-amd64-freebsd-packages recipe_testinstall       true
+build-amd64-freebsd-packages revision_freebsdports
+build-amd64-freebsd-packages svnrevision_freebsdports 483590
+build-amd64-freebsd-packages svntree_freebsdports     
+build-amd64-freebsd-packages tree_freebsdports        

And for a xen-unstable flight:

+test-amd64-amd64-examine     freebsdpackagesbuildjob  

The following links show the result of a successful FreeBSD flight
including the binary package repository build:


Note that before applying the series the output of the above flight
should be anointed, so follow up flights can used this output as the
initial seed:

$ ./mg-anoint anoint "freebsd build master amd64" 133321 build-amd64-freebsd \
                     "freebsd-packages build master amd64" 133321 

I've pushed the patch series to my git repo:

git://xenbits.xen.org/people/royger/osstest.git freebsd-pkg

Thanks, Roger.

Roger Pau Monne (6):
  osstest: introduce a helper to stash a whole directory
  osstest: introduce a helper to create a weblink to a directory
  osstest: allow to perform multiple anoints in the same transaction
  osstest: introduce a helper to get the svn revision of a git commit
  osstest: introduce a script to build a FreeBSD package repository
  osstest: use a locally built pkg repository for FreeBSD

 Osstest/TestSupport.pm    |  32 +++++++-
 ap-common                 |   6 ++
 ap-fetch-version          |  19 ++++-
 cr-daily-branch           |  92 ++++++++++++++-------
 cri-common                |  35 ++++++--
 make-freebsd-flight       |  14 ++--
 mfi-common                |  94 ++++++++++++++++-----
 mg-anoint                 | 167 ++++++++++++++++++++------------------
 sg-run-job                |   9 +-
 ts-build-prep-freebsd     |  43 ++++++++++
 ts-freebsd-build-packages | 145 +++++++++++++++++++++++++++++++++
 ts-freebsd-host-install   |  13 ---
 12 files changed, 506 insertions(+), 163 deletions(-)
 create mode 100755 ts-freebsd-build-packages

2.17.2 (Apple Git-113)

Xen-devel mailing list



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