"OSSTEST" XEN TESTING SYSTEM - IAN JACKSON, CITRIX
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

"OSSTEST" XEN TESTING SYSTEM - IAN JACKSON, CITRIX

on

  • 1,236 views

osstest is the system which does the Xen.org automatic tests of Xen. The push gates, which try to prevent important regressions from reaching the main stable and evelopment trees, are managed by ...

osstest is the system which does the Xen.org automatic tests of Xen. The push gates, which try to prevent important regressions from reaching the main stable and evelopment trees, are managed by osstest. In this talk I will give a brief overview of the system, focussed on how to add new tests.

Statistics

Views

Total Views
1,236
Views on SlideShare
1,210
Embed Views
26

Actions

Likes
0
Downloads
13
Comments
0

3 Embeds 26

http://www.xenproject.org 24
http://www.linkedin.com 1
http://xenproject.org 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

"OSSTEST" XEN TESTING SYSTEM - IAN JACKSON, CITRIX Presentation Transcript

  • 1. osstest Xen Project automatic test system Ian Jackson <ian.jackson@eu.citrix.com> Xen Developer Summit November 2013
  • 2. standalone−setup sg−run−job make−flight ts−host−install ts−xen−install Steps standalone.db: ts−run−some−test runvars arch toolstack amd64 xl Osstest/TestSupport.pm xenbuildjob build−amd64 OSSTest Standalone mode Step by Step (Wei Liu) http://tinyurl.com/ppkwkkm http://xenbits.xen.org/gitweb/?p=osstest.git
  • 3. ts−guest−migrate Printed by Ian Jackson Page 1/1 #!/usr/bin/perl −w # This is part of "osstest", an automated testing framework for Xen. # Copyright (C) 2009−2013 Citrix Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. use use use use strict qw(vars); DBI; Osstest; Osstest::TestSupport; our %timeout= qw(Migrate 400); tsreadconfig(); our $sho = selecthost($ARGV[0]); our $dho = selecthost($ARGV[1]); our $gho = selectguest($ARGV[2],$sho); sub migrate () { guest_checkrunning($sho,$gho) or die $gho−>{Name}; my $err= guest_check_ip($gho); die "$err $gho−>{Name}" if defined $err; target_cmd_root($sho, toolstack()−>{Command} ." migrate $gho−>{Name} $dho−>{Name}", $timeout{Migrate}); } guest_await_dhcp_tcp($gho, 5); guest_check_up($gho); migrate(); guest_check_up($gho); ts−guest−migrate 1/1