[yocto] [yocto-autobuilder][PATCH 0/3] Enabling of the new testimage class for sanity tests

Flanagan, Elizabeth elizabeth.flanagan at intel.com
Wed Jul 17 14:30:27 PDT 2013


So, after the oe-core failure last night that was due to how we
determine when to use the new testimage, this has kind of bumped up
the need for the autobuilder to start using LAYERVERSION_* as a means
of determinating major functionality changes.

In this example, we've essentially broken backwards compatibility for
oe-core builds on the autobuilder. I put in a quick and dirty patch
last night just to get it so oe-core sanity will run using the old
sanity testing framework. I'm working on getting a GetLayerVersion
buildstep working so we can utilize it both for the new test framework
as well as to differentiate the toolchain image builds (prior to 2 we
build meta-toolchain-gmae, post core-image-sato-sdk).

I should have this implemented today. I'll need some time tonight to
get it on the AB and give it a bit more of a shakedown.

-b

On Wed, Jul 10, 2013 at 10:32 AM, Stefan Stanacar
<stefanx.stanacar at intel.com> wrote:
> Hi Beth,
>
> The first two patches enable the new testimage class that has just been merged in master,
> and it needs a real AB shakedown ;).
>
> On my local AB one of the problems I've had were timeouts
> for qemu booting (when the machine was really loaded), and I've sent a patch to increase the timeout, but
> this might need a little more tweaking for the Yocto AB. Also, one more setup issue could be DISPLAY / vnc server.
> I've had some trouble with DISPLAY=localhost:1 that's why you'll notice
> I've used DISPLAY=:1, that fixed the problem out on my machine. It has something to do with how the new class starts the runqemu script
> and the enviroment.
>
>
> The last patch has nothing to do with enabling, I just thought that we should run the sanity tests
> for the sdk images too given that the new class has a gcc test. It adds a few minutes to the builds,
> keep this one out if that's problem.
>
> Cheers,
> Stefan
>
> The following changes since commit b26b257e16fddb7730d3b2a0c55c4b43a48ae54c:
>
>   Revert "buildset-config: build core-image-sato SDK" (2013-07-02 17:10:05 -0700)
>
> are available in the git repository at:
>
>   git://mirror.rb.intel.com/git.yoctoproject.org/poky-contrib stefans/yab-newsanity3
>
> for you to fetch changes up to e15d6185251e4c6f163577c7263239936d76e5b3:
>
>   buildsets: run sanity tests for core-image-sato-sdk images (2013-07-10 19:07:27 +0300)
>
> ----------------------------------------------------------------
> Stefan Stanacar (3):
>       RunSanityTests: add support for the new testimage class
>       nightly-multilib,qa-systemd.conf: enable specific tests with the new class
>       buildsets: run sanity tests for core-image-sato-sdk images
>
>  buildset-config/nightly-arm.conf                   |  2 +-
>  buildset-config/nightly-mips.conf                  |  2 +-
>  buildset-config/nightly-multilib.conf              |  8 +++----
>  buildset-config/nightly-ppc.conf                   |  2 +-
>  buildset-config/nightly-qa-systemd.conf            |  4 ++--
>  buildset-config/nightly-x86-64.conf                |  2 +-
>  buildset-config/nightly-x86.conf                   |  2 +-
>  .../autobuilder/buildsteps/RunSanityTests.py       | 27 ++++++++++++++++------
>  8 files changed, 31 insertions(+), 18 deletions(-)
>
> Stefan Stanacar (3):
>   RunSanityTests: add support for the new testimage class
>   nightly-multilib,qa-systemd.conf: enable specific tests with the new
>     class
>   buildsets: run sanity tests for core-image-sato-sdk images
>
>  buildset-config/nightly-arm.conf                   |  2 +-
>  buildset-config/nightly-mips.conf                  |  2 +-
>  buildset-config/nightly-multilib.conf              |  8 +++----
>  buildset-config/nightly-ppc.conf                   |  2 +-
>  buildset-config/nightly-qa-systemd.conf            |  4 ++--
>  buildset-config/nightly-x86-64.conf                |  2 +-
>  buildset-config/nightly-x86.conf                   |  2 +-
>  .../autobuilder/buildsteps/RunSanityTests.py       | 27 ++++++++++++++++------
>  8 files changed, 31 insertions(+), 18 deletions(-)
>
> --
> 1.8.1.4
>



-- 
Elizabeth Flanagan
Yocto Project
Build and Release



More information about the yocto mailing list