Compatibility Test Tool User Guide (Based on TaiShan Servers)
Issue |
06 |
Date |
2021-01-23 |
HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every ff has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied.
Huawei Technologies Co., Ltd.
Address: |
Huawei Industrial Base |
|
Bantian, Longgang |
|
Shenzhen 518129 |
|
People's Republic of China |
Website: |
https://e.huawei.com |
Issue 06 (2021-01-23) |
Copyright © Huawei Technologies Co., Ltd. |
i |
Compatibility Test Tool User Guide (Based on |
|
TaiShan Servers) |
Contents |
Contents
1 |
Overview.................................................................................................................................... |
1 |
2 |
Installation................................................................................................................................ |
3 |
3 |
Compatibility Test................................................................................................................... |
5 |
4 |
FAQs.......................................................................................................................................... |
12 |
A Change History...................................................................................................................... |
14 |
Issue 06 (2021-01-23) |
Copyright © Huawei Technologies Co., Ltd. |
ii |
Compatibility Test Tool User Guide (Based on |
|
TaiShan Servers) |
1 Overview |
1Overview
About This Document
To solve the compatibility test issues that occur in the TaiShan server |
n |
a compatibility test tool based on the Software General |
Test |
Cases is developed. |
|
This tool includes 15 automated test cases of the Software General |
n |
Test Cases and covers four aspects: compatibility, reliability, security, and power
consumption. It supports the Kunpeng |
n of partners, allowing them to |
focus on function and performance tests. |
|
Environment Requirements
Item |
Requirement |
|
|
|
|
Hardwa |
Only TaiShan servers (bare metal servers) are supported. |
|
re |
|
|
|
|
|
OS |
● |
CentOS 7.6 |
|
● NeoKylin V7 Update 6 |
|
|
● |
Ubuntu 18.0.1 |
|
● |
Kylin 4.0.2 |
|
● |
Kylin 10 |
|
● |
UOS V20 SP1 |
|
● |
SUSE 12 SP5 |
|
● |
openEuler 20.03 LTS |
|
|
|
Issue 06 (2021-01-23) |
Copyright © Huawei Technologies Co., Ltd. |
1 |
Compatibility Test Tool User Guide (Based on
TaiShan Servers) |
|
1 Overview |
|
|
|
|
|
|
Item |
Requirement |
|
|
|
|
|
|
Depend |
● For CentOS, NeoKylin, openEuler, and Kylin 10, run the following |
|
|
ency |
command to install the dependency package: |
|
|
|
yum –y install nmap ipmitool dmidecode pciutils util-linux util- |
|
|
|
linux net-tools net-tools sysstat bc |
|
|
|
● For Ubuntu, Kylin 4.0.2, and UOS, run the following command to |
|
|
|
install the dependency package: |
|
|
|
apt –y install nmap ipmitool dmidecode lspci lscpu lsblk |
|
|
|
f |
g netstat sysstat bc |
|
|
● For SUSE, run the following command to install the dependency |
|
|
|
package: |
|
|
|
zypper install -y nmap ipmitool dmidecode lspci lscpu lsblk |
|
|
|
f |
g netstat sysstat bc |
|
|
|
|
Tool Contact
●kongcz2008@163.com
Tool Updates
Date |
Description |
|
|
|
|
2020-09-11 |
1. The test procedures and criteria of reliability test cases are |
|
|
|
optimized. |
|
2. |
The timeout setting for security scanning is added. |
|
|
|
2020-08-28 |
1. The OS software source check is removed. After the command |
|
|
|
does not exist, the yum install command is invoked. If the |
|
|
installation fails, a message is displayed, asking the user to |
|
|
check the Yum source. |
|
2. |
The system environment is checked before the test and I/O |
|
|
statistics (iostat) are invoked to check the drive I/O usage. |
|
|
Data is collected for multiple times to determine the indicator. |
|
|
|
2020-07-08 |
1. |
The openEuler OS is supported. |
|
2. |
The startup script and command can contain the command for |
|
|
switching the directory. |
|
3. |
Multiple startup tasks can correspond to one startup script. |
|
|
|
Issue 06 (2021-01-23) |
Copyright © Huawei Technologies Co., Ltd. |
2 |
Compatibility Test Tool User Guide (Based on |
|
TaiShan Servers) |
2 Installation |
2Installation
Installation Procedure
Step 1 Obtain the compatibility_testing.tar.gz or compatibility_testing.zip tool.
You can download the tool at https://mirrors.huaweicloud.com/kunpeng/ archive/compatibility_testing/.
Step 2 Use tools, such as WinSCP, FlashFXP, or Xftp, to upload the compatibility_testing.tar.gz or compatibility_testing.zip to the server. Ensure that the drive where the upload directory is located has plenty of space for downloading subsequent software packages. Take /home/compatibility_testing as an example:
cd /home/compatibility_testing
tar -xzvf compatibility_testing.tar.gz or unzip compatibility_testing.zip cd compatibility_testing
The compatibility_testing directory contains the following
●compatibility_testing.sh: main script tool
● compatibility_testing.conf: tool n g n which is used to n g the name of the application process to be tested, startup and stop scripts of the application, and the startup command of the pressure test tool
●README, document for brief description
Issue 06 (2021-01-23) |
Copyright © Huawei Technologies Co., Ltd. |
3 |