Obsolete - Regression Test

From Yocto Project
Revision as of 09:06, 29 February 2012 by Ningx.ma (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Place to discuss changes to the Regression Test Server.

Regression Test Server Introduction

Requirements

  • Automating the build and test cases process
  • Compiled image we need to any branch

Basic Setup

  • git clone git://git.yoctoproject.org/yocto-autobuilder
  • cd yocto-autobuilder
  • . ./yocto-autobuilder-setup
  • Modify the /conf/auto.conf file(e.g. PACKAGE_CLASSES;BB_NUMBER_THREADS;PARALLEL_MAKE;MACHINE;...)
  • ./yocto-start-autobuilder <master/slave/both> or make start
  • If you want a more advanced setup, more hacking require(e.g. master.cfg/buildbot.tac)

Master and Slave

Master-slave.png

Detailed Task for Regression Test Server

Detail task.png

Compilation options

  • Your username:yocto-project
  • Your password:linux123
  • Git Repo:
    • Select the git repo (poky or poky-contrib)
  • Git Branch:
    • input the git branch you need(e.g. master/edison/1.2_M2 ...,default value=master)
  • Git Revision or Tag:
    • input the git tag you need (e.g. HEAD/commit;default value=HEAD)
  • Meta layer Git Repo:
  • Meta layer Git Branch:
    • Input the Meta layer git Repo branch you need(e.g. master/edsion/...)
      • if select Meta-x32/crownbay task. the default value is master
  • Meta layer Git Revision or Tag:
    • Input the Meta layer git Repo tag you need(e.g. HEAD/commit)
      • if select Meta-x32/crownbay task ,the default value is HEAD
  • example:Options.png

Meta layer option are set to None when you selected the task in addition to Meta-x32 task or crownbay task

URL and Publish_Dir of Regression Test Server

  1. URL http://yocto.sh.intel.com:8010
  2. Publish_Dir(including:image,rpm/ipk) \\yocto.sh.intel.com\incoming\Autobuilder

Technical part

  1. BuildBot http://trac.buildbot.net/ (used by Yocto)
  2. Jenkins http://jenkins-ci.org/, remote access API: http://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
  3. LAVA https://wiki.linaro.org/Platform/Validation/LAVA

Details

File:AutoBuilder introduction.pdf