xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH 0/6] osstest: create a local binary FreeBSD package repository
Date: Wed, 20 Feb 2019 17:59:55 +0100	[thread overview]
Message-ID: <20190220170001.32614-1-roger.pau@citrix.com> (raw)

Hello,

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  133315.build-amd64-freebsd-packages
+build-amd64-freebsd-again    freebsdpackagesbuildjob  build-amd64-freebsd-packages
+build-amd64-freebsd-packages freebsdpackagesbuildjob  133315.build-amd64-freebsd-packages
+build-amd64-xen-freebsd      freebsdpackagesbuildjob  build-amd64-freebsd-packages
+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     https://svn.FreeBSD.org/ports/head
+build-amd64-freebsd-packages tree_freebsdports        git://github.com/freebsd/freebsd-ports.git

And for a xen-unstable flight:

+test-amd64-amd64-examine     freebsdpackagesbuildjob  133315.build-amd64-freebsd-packages

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

http://logs.test-lab.xenproject.org/osstest/logs/133321/

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 build-amd64-freebsd-packages

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
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

             reply	other threads:[~2019-02-20 17:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 16:59 Roger Pau Monne [this message]
2019-02-20 16:59 ` [PATCH 1/6] osstest: introduce a helper to stash a whole directory Roger Pau Monne
2019-05-23  9:48   ` Ian Jackson
2019-05-23  9:48     ` [Xen-devel] " Ian Jackson
2019-05-24  9:42     ` Roger Pau Monné
2019-05-24  9:42       ` [Xen-devel] " Roger Pau Monné
2019-02-20 16:59 ` [PATCH 2/6] osstest: introduce a helper to create a weblink to a directory Roger Pau Monne
2019-05-23  9:57   ` Ian Jackson
2019-05-23  9:57     ` [Xen-devel] " Ian Jackson
2019-02-20 16:59 ` [PATCH 3/6] osstest: allow to perform multiple anoints in the same transaction Roger Pau Monne
2019-05-23 10:00   ` Ian Jackson
2019-05-23 10:00     ` [Xen-devel] " Ian Jackson
2019-02-20 16:59 ` [PATCH 4/6] osstest: introduce a helper to get the svn revision of a git commit Roger Pau Monne
2019-05-23 10:03   ` Ian Jackson
2019-05-23 10:03     ` [Xen-devel] " Ian Jackson
2019-05-24  9:57     ` Roger Pau Monné
2019-05-24  9:57       ` [Xen-devel] " Roger Pau Monné
2019-05-24 10:35       ` Ian Jackson
2019-05-24 10:35         ` [Xen-devel] " Ian Jackson
2019-02-20 17:00 ` [PATCH 5/6] osstest: introduce a script to build a FreeBSD package repository Roger Pau Monne
2019-05-23 10:19   ` Ian Jackson
2019-05-23 10:19     ` [Xen-devel] " Ian Jackson
2019-05-23 10:38   ` Ian Jackson
2019-05-23 10:38     ` [Xen-devel] " Ian Jackson
2019-05-24 10:13     ` Roger Pau Monné
2019-05-24 10:13       ` [Xen-devel] " Roger Pau Monné
2019-05-24 11:21       ` Ian Jackson
2019-05-24 11:21         ` [Xen-devel] " Ian Jackson
2019-02-20 17:00 ` [PATCH 6/6] osstest: use a locally built pkg repository for FreeBSD Roger Pau Monne
2019-05-23 11:06   ` Ian Jackson
2019-05-23 11:06     ` [Xen-devel] " Ian Jackson
2019-05-24 10:45     ` Roger Pau Monné
2019-05-24 10:45       ` [Xen-devel] " Roger Pau Monné
2019-05-24 17:26       ` Ian Jackson
2019-05-24 17:26         ` [Xen-devel] " Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190220170001.32614-1-roger.pau@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).