Skip to content

Test Design of xcat inventory diff

xuweibj edited this page Sep 13, 2018 · 4 revisions

Introduction

This document provides an overview of test xcat-inventory diff command. This test plan is intended for the use of xCAT FVT team.

The test is against xCAT version 2.14.4. The build of xCAT will be picked up from the xcat.org

Test scenarios

  1. Compare 2 inventory files
  • Create 2 inventory files, objects: node site osimage network, compared with the first one, the second need to contain content as below:

    • Add/delete dict type data
    • Add/delete string from list data
    • Modify value of attribute
  • Compare these 2 files by xcat-inventory diff --files <file1> <file2>

  • Check output whether is same with prepared output file

  1. Compare 1 inventory with xCAT DB
  • Backup current inventory info

  • Import inventory file to xCAT DB

  • Compare the inventory file exported withe xCAT DB by xcat-inventory diff --source <file>

  • Check output whether is same with prepared output file

  • Recover environment

  1. Compare 1 inventory with xCAT DB with --all option
  • Compare the inventory file exported withe xCAT DB by xcat-inventory diff --source <file> --all

  • Check output whether contains diff string

  1. Error commands test
  • Run xcat-inventory diff --files <file1> <file2> --all, check error message

  • Run xcat-inventory diff --source <file> --filename <filename>, check error message

  • Run xcat-inventory diff, check error message

  • Run xcat-inventory diff --files <file1> <file2> --source <file>, check error message

  • Run xcat-inventory diff --filename <filename>, check error message

  • Run xcat-inventory diff --files <no_exist_file> <file2>, check error message

News

History

  • Oct 22, 2010: xCAT 2.5 released.
  • Apr 30, 2010: xCAT 2.4 is released.
  • Oct 31, 2009: xCAT 2.3 released. xCAT's 10 year anniversary!
  • Apr 16, 2009: xCAT 2.2 released.
  • Oct 31, 2008: xCAT 2.1 released.
  • Sep 12, 2008: Support for xCAT 2 can now be purchased!
  • June 9, 2008: xCAT breaths life into (at the time) the fastest supercomputer on the planet
  • May 30, 2008: xCAT 2.0 for Linux officially released!
  • Oct 31, 2007: IBM open sources xCAT 2.0 to allow collaboration among all of the xCAT users.
  • Oct 31, 1999: xCAT 1.0 is born!
    xCAT started out as a project in IBM developed by Egan Ford. It was quickly adopted by customers and IBM manufacturing sites to rapidly deploy clusters.
Clone this wiki locally