Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 14:15:21 -0700
From:      Craig Rodrigues <rodrigc@freebsd.org>
To:        freebsd-current Current <freebsd-current@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Automatically running /usr/tests under Jenkins
Message-ID:  <CAG=rPVfFTnXBLw%2BPnFrLz3hU%2B-iypL5f5WfvO2fr2p_gNQ=qKw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have created this Jenkins job:

https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1577/BuildGraph/

(1)  does a buildworld/buildkernel on amd64 when someone checks new
      code into CURRENT
(2)  Creates a bootable UFS image with makefs
(3)  Boots the image under bhyve
(4)  Runs these commands inside the bhyve VM:

      cd /usr/tests
      kyua test
      kyua report-junit --output=test-output.xml

(5)  Shuts down the bhyve VM
(6)  imports test-output.xml into Jenkins.


Hopefully we will be able to run this job very frequently,
so the tests will be run every time new commits hit the tree.

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfFTnXBLw%2BPnFrLz3hU%2B-iypL5f5WfvO2fr2p_gNQ=qKw>