CN113568791A - Automatic testing tool and method for server operating system based on multi-CPU architecture - Google Patents

Automatic testing tool and method for server operating system based on multi-CPU architecture Download PDF

Info

Publication number
CN113568791A
CN113568791A CN202110792973.3A CN202110792973A CN113568791A CN 113568791 A CN113568791 A CN 113568791A CN 202110792973 A CN202110792973 A CN 202110792973A CN 113568791 A CN113568791 A CN 113568791A
Authority
CN
China
Prior art keywords
test
server
host
task
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110792973.3A
Other languages
Chinese (zh)
Inventor
李金丽
穆芳成
杨清玉
董琦
辛伟瑶
陈吉兰
李志伟
郭家齐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kirin Software Co Ltd
Original Assignee
Kirin Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kirin Software Co Ltd filed Critical Kirin Software Co Ltd
Priority to CN202110792973.3A priority Critical patent/CN113568791A/en
Publication of CN113568791A publication Critical patent/CN113568791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Abstract

A server operating system automation test tool and method based on a multi-CPU architecture, the test tool comprises: the server is used for scheduling the test tasks and distributing the test tasks to the test host; the test host is used for receiving the test task to test and outputting a test result; the laboratory controller is used for receiving the test result and sending the test result to the server; the laboratory controller is respectively connected with the service end and the test host. The invention provides a multi-CPU-architecture-based automatic testing tool for a server operating system, which can complete the testing of the server operating system based on multi-architecture and multi-branch CPU equipment, and comprises task distribution, multi-architecture automatic deployment as required, automatic testing and test report generation, so that the testing efficiency and the long-term maintainability of the operating system are improved.

Description

Automatic testing tool and method for server operating system based on multi-CPU architecture
Technical Field
The invention belongs to the technical field of automatic testing, and particularly relates to a server operating system automatic testing tool and method based on a multi-CPU architecture.
Background
With the progress of the localization of software, more and more CPU architectures appear, and meanwhile, server operating systems based on different architectures are produced. The existing domestic CPU architecture includes: the number of dragon cores, sea lights, million cores, soaring, spread and Shenwei is 6, and different types of chips have different types, so that the whole system is more and more huge, and the test workload of the corresponding server operating system is very huge.
In order to improve the testing efficiency of the whole operating system, more architectures and functions are covered, so that the product quality is improved, and an automatic testing tool becomes a necessary research direction.
Disclosure of Invention
In order to solve the above problems, the present invention provides a server operating system automated testing tool based on multi-CPU architecture, comprising:
the server is used for scheduling the test tasks and distributing the test tasks to the test host;
the test host is used for receiving the test task to test and outputting a test result;
the laboratory controller is used for receiving the test result and sending the test result to the server; the laboratory controller is respectively connected with the service end and the test host.
Preferably, the server includes: a test repository, a scheduler, a database, and an ISO mirror repository.
Preferably, the test warehouse comprises: a test task library and a test framework.
The invention also provides a server operating system automatic test method based on the multi-CPU architecture, which is based on the operation of any one of the server operating system automatic test tools, and the method comprises the following steps:
submitting a test task configuration file to a server;
the server selects a test host;
judging whether a test environment needs to be installed and deployed;
if yes, automatically installing and deploying the test environment on a test host;
if not, the test host executes the test task;
the test host returns a log to the server;
and the server generates a test report.
Preferably, the test task configuration file includes: test environment information, device state information, test framework, and test tasks.
Preferably, the step of executing the test task by the test host comprises the steps of:
the server defines ks template parameters;
the server generates a unique ks file;
the server generates a guide menu and sends the guide menu to a laboratory controller;
a power supply in the laboratory controller controls the test host to restart;
the laboratory controller sends a boot file to the test host;
the boot file points to a kernel image file stored in a laboratory controller;
the test host installs the system according to the boot file and the kernel image file;
judging whether the system is installed successfully;
if yes, executing a test task;
if not, the test is finished.
The invention provides a multi-CPU-architecture-based automatic testing tool for a server operating system, which can complete the testing of the server operating system based on multi-architecture and multi-branch CPU equipment, and comprises task distribution, multi-architecture automatic deployment as required, automatic testing and test report generation, so that the testing efficiency and the long-term maintainability of the operating system are improved.
The invention provides a server side built by a server operating system automatic test tool based on a multi-CPU framework, which integrates a test warehouse, a scheduler, a database and an ISO mirror library module; screening the multi-place multi-CPU architecture test host through a scheduler to realize automatic issuing of tasks, automatically collecting test results, returning the test results to a server side, and storing the test results in a database; the problem of high repeatability during manual operation is solved, automatic execution of a test task is achieved, test resources are saved, and test efficiency is remarkably improved.
The invention provides a multi-CPU-architecture-based automatic testing tool for a server operating system, which is based on various CPU architectures, deploys an automatic system installation environment by a PXE mode, comprises two boot modes of UEFI and legacy, automatically acquires boot files in a corresponding architecture ISO and generates boot menus by the testing tool, solves the problem of singleness existing in the prior testing tool during system installation, and realizes automatic installation of operating systems of various CPU architectures.
The invention provides a server operating system automatic test tool based on a multi-CPU framework, which solves the problem that a test host is difficult to manage in multiple places by deploying corresponding laboratory controllers in multiple places, can comprehensively collect hardware information of a test physical machine and a test virtual machine, and monitors the state of the test host in real time; when the test task is issued, the required test host is matched according to the specified environment information, the CPU testing system is compatible with various CPU architectures, the test accuracy is enhanced, and the use efficiency of the test host is improved.
The invention provides a server operating system automatic test tool based on a multi-CPU framework, which introduces a watchdog program when executing a test task, can set the task test duration, monitor the task test state in real time, automatically stop when overtime, eliminate factors influencing test blocking and improve the test efficiency; after the test is finished, the log is installed, the log is executed by the task, and the log of the test result is returned to the server; the test tool has flexibility and openness, and can customize a test frame and a test task script.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a server operating system automation test tool based on a multi-CPU architecture according to the present invention;
FIG. 2 is a testing flowchart of a method for automatically testing a server operating system based on a multi-CPU architecture according to the present invention;
FIG. 3 is a flow chart of server task scheduling and distribution of a method for automatically testing a server operating system based on a multi-CPU architecture according to the present invention;
FIG. 4 is a flow chart of the automated testing of the server operating system according to the method for the automated testing of the server operating system based on the multi-CPU architecture;
FIG. 5 is a flowchart of acquiring device information according to a method for automatically testing a server operating system based on a multi-CPU architecture according to the present invention;
FIG. 6 is a flowchart of obtaining status information of a test host according to the method for automatically testing a server operating system based on a multi-CPU architecture.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
Referring to fig. 1, in an embodiment of the present application, the present invention provides a server operating system automation test tool based on a multi-CPU architecture, including:
the server is used for scheduling the test tasks and distributing the test tasks to the test host;
the test host is used for receiving the test task to test and outputting a test result;
the laboratory controller is used for receiving the test result and sending the test result to the server; the laboratory controller is respectively connected with the service end and the test host.
In the embodiment of the application, the invention provides a server side of a server operating system automation test tool based on a multi-CPU architecture, which comprises a test warehouse, a task scheduler, a database and an ISO mirror library. The server side mainly realizes the test scheduling of the host, coordinates the test host which finally runs the test task, and completes the distribution, result collection and display of the test task. The test warehouse mainly comprises a test task library and a test framework, and can pack the automatic test task scripts into a test task software package and store the test task software package into the test task library. The test framework is independent of the test task library, mainly defines the environmental requirements for running the test tasks, and can upload the test framework software package in real time according to the requirements of the test tasks to continuously update and maintain; meanwhile, the existing mainstream test tool is integrated, so that the test task can be conveniently and rapidly executed. The database records all involved components, including a series of contents such as test host information, laboratory controller information, operating system related information, task information, user information, historical activities and the like. The ISO mirror library stores system version mirrors supporting multiple architectures, a mirror warehouse of an operating system product needs to be monitored regularly, and a mirror file of an updated version is uploaded in real time, so that the latest product ISO can be acquired in time for subsequent installation and deployment.
In the embodiment of the application, the core function of the server is task scheduling and distribution, and the process of the automatic installation system is issued to the test host in the form of a test task, that is, the automatic system needs to be installed and deployed before the test is executed. The method comprises the steps that software and hardware information such as a CPU framework, a CPU model, a memory, a network card, an ISO version and the like is appointed at a server, a scheduler selects a testing host with the highest matching degree in a system library according to appointed key fields to complete testing, if no testing host meeting conditions exists, a bare computer without a system is selected to carry out system environment deployment and execute testing tasks, and system installation logs and task logs are collected and returned to the server and stored in a database after the testing is completed.
In order to meet the requirement of overall management of a remote multi-architecture server, a laboratory controller is designed. By respectively deploying a plurality of corresponding laboratory controllers, namely deploying one laboratory controller n in a region n, all test hosts in the region can be managed in a centralized manner. The laboratory controller completes environment preparation required by network installation in various places, is a bridge between the service end and the test host, distributes test tasks of the service end to the test host, and returns test results of the test host to the service end through the test host.
The last part is a test host, which can exist in a physical machine form or a virtual machine form. The test host receives the management of the laboratory controller, executes the system installation and test tasks, and returns the result to the laboratory controller so as to meet the test requirement of the test platform.
Therefore, the test tool can manage hardware equipment in multiple places besides complete automatic test, record various equipment information of all test hosts managed by different laboratory controllers through the database, and provide preparation for subsequent different test requirements.
In an embodiment of the present application, the server includes: a test repository, a scheduler, a database, and an ISO mirror repository.
In an embodiment of the present application, the test warehouse includes: a test task library and a test framework.
The invention also provides a server operating system automatic test method based on the multi-CPU architecture, which is operated based on the server operating system automatic test tool in figure 1, and the method comprises the following steps:
submitting a test task configuration file to a server;
the server selects a test host;
judging whether a test environment needs to be installed and deployed;
if yes, automatically installing and deploying the test environment on a test host;
if not, the test host executes the test task;
the test host returns a log to the server;
and the server generates a test report.
In the embodiment of the present application, the overall test flow of the test tool is shown in fig. 2: firstly, submitting a test task configuration jobfile, which mainly comprises environment information and equipment state information required by testing, a test frame and a test task; secondly, the task scheduling module selects a test host, installs and deploys a test environment and executes the test according to the specified information; and finally, returning the test log and the test result to the server, and automatically generating a test report for evaluation of required personnel and formulation of a subsequent plan.
In an embodiment of the present application, the test task configuration file includes: test environment information, device state information, test framework, and test tasks.
In an embodiment of the present application, the executing of the test task by the test host includes:
the server defines ks template parameters;
the server generates a unique ks file;
the server generates a guide menu and sends the guide menu to a laboratory controller;
a power supply in the laboratory controller controls the test host to restart;
the laboratory controller sends a boot file to the test host;
the boot file points to a kernel image file stored in a laboratory controller;
the test host installs the system according to the boot file and the kernel image file;
judging whether the system is installed successfully;
if yes, executing a test task;
if not, the test is finished.
In the embodiment of the present application, the flow of scheduling and distributing the server-side task is shown in fig. 3.
The test warehouse described in this patent integrates a test framework and a test task library. And compiling the test cases into an automatic test script and packaging the test cases into test task software packages, and integrating the software packages to construct a test task library. The test framework integrates the existing mainstream performance test tools such as loadrunner, SPECcpu, SPECjvm, Netperf and the like, and stores the tools in the corresponding database modules respectively, and testers need to specify the test task name, the test framework and the environment information required by the test, so that the test task can be issued conveniently. Xml begins execution by submitting a test task configuration file, and a job.
Xml file example as follows:
Figure BDA0003161720170000071
Figure BDA0003161720170000081
key modules in xml file are as follows:
jobdescription information
labcontroller: the laboratory controller distorequires can be specified: ISO information distro _ arch specifying test requirements: ISO architecture
distro _ name: ISO name (with ISO version information)
hostRequires: specifying test host environment information force required by the test: IP of specific test host
an arch: CPU architecture
type: cpu model number
nic _ name: network card name
mem: memory size, with the default unit being gstatsrequres: specifying test host status information os _ status: the system state, with a value of 1, represents a bare machine, and is an idle state task _ status: task state, value 1 representing no task execution, idle state
task _ name: specifying test task names
test _ harness: specifying a test framework
The specific flow of the server task scheduling and distribution is as follows:
firstly, specifying a test frame and a test task name required by a test in a job.xml file; appointing a specific test host through a host IP; and the task scheduling module can also screen the required host by specifying the test environment information and the equipment state information, and then captures the IP of the host and returns the IP to the server for subsequent test. Wherein the test environment information includes: CPU architecture, CPU model, memory, network card, etc.;
secondly, the test hosts are screened and sorted. Xml, automatically scanning all devices (including physical machines and virtual machines) in the existing system library, matching hosts which accord with the specified information according to the screening rule, and then selectively sequencing all hosts, wherein the sequencing rule of the test hosts is as follows:
if N test hosts meeting the conditions exist, firstly, judging whether the hosts are all provided with systems or not, if no system exists, randomly selecting a bare engine, carrying out automatic test environment deployment according to an appointed ISO version and executing a test task;
if the screened test host has a system, judging whether the loaded ISO version is consistent with the specified ISO version, if not, randomly selecting one to carry out automatic test environment deployment, including system installation and test frame installation, and executing a test task;
if the screened test host has the ISO version consistent with the specified ISO, the on-off state of the test host needs to be judged, if the test host is in the off state, one host is randomly selected, the on-off operation is executed, and then the test task is executed;
if the screened test host has a starting state, the test host needs to be sorted by combining the CPU idle rate and the memory idle rate, and the sorting rule is as follows:
a. sequencing the CPU idle rates of the test hosts meeting the conditions, and preferentially selecting the test host with the highest CPU idle rate to execute the test task;
b. and if the CPU idle rates are the same, selecting the test host with the highest memory idle rate to execute the test task.
If the system library is scanned and no test host meeting the conditions exists, the task can be executed only when the equipment is released. Setting a waiting designated time T1, a total waiting time T2; if the waiting time reaches T1, judging whether the total waiting time is exceeded T2, and if not, rescanning the system library; if so, the task is dropped.
In the embodiment of the application, the task progress management process is as follows: firstly, starting a watchdog daemon, tracking running tasks of all test systems connected to a specified laboratory controller, specifying task running time Testtime through testinfo. And finally, monitoring the task execution progress at the server, and returning the task execution log and the test result of the test host to the server.
In the embodiment of the present application, a flowchart for automated installation, deployment and testing of a multi-CPU architecture server operating system is shown in fig. 4.
The automatic installation in the invention takes PXE principle as a core, fully considers the characteristics of 6 different CPU architectures such as Loongson, glaucopia, megacore, Feiteng, spread and Shenwei, and completes customized management in a template form, thereby finally realizing multi-architecture automatic installation.
The method of the invention templates the kickstart file by means of snippets, and part of template parameters can be customized as follows:
-% model: text or graphic mounting
-% network: hostname, network type
-% firewall: defining firewall switches
-% keyboard: keyboard form
-% lang: system language
-% selinux: SELinux configuration
-% install: installing or updating ISO
-% liveimg: boot image path
-% packages: installation type selection comprises minimized installation, installation with GUI interface and the like; or to specify a specific installation software package
-% timezone: setting system time zone
-% past: root user password
-% pre: pre-installation execution script
-% post: post-installation execution script
In the embodiment of the application, the automatic installation, deployment and test process of the multi-CPU architecture is as follows: firstly, setting a template parameter of a kickstart file, combining test host environment information (such as a cpu framework and the like) defined in a jobb.xml file, and generating a unique ks file for automatic system installation while submitting the jobb.xml file; secondly, generating a boot file according to the ISO corresponding to the architecture, wherein the boot file comprises a boot image and a boot menu, restarting the test host, and installing an operating system, a test framework and a test task software package. If the system is failed to be installed, the test is finished and an error log is returned; and if the system is successfully installed, executing the test task, and returning the installation log, the test log and the test result to the server.
In the embodiment of the present application, the automated testing tool of the present invention can manage the testing hosts of 6 CPU architectures, including physical machines and virtual machines, such as loongson, glary, mega-core, feiteng, spread and shenwei. Returning bare computer information through an IPMI interface; and for the test host with the system, acquiring the system environment information in the form of executing the test task, and updating the system environment information to the server. And simultaneously, the on-off state and the idle state of the test host are returned to the server side by scanning the state of the host.
In the embodiment of the present application, a device information acquisition flowchart is shown in fig. 5.
The invention can manage the test host of 6 CPU architectures such as Loongson, glaring, megacore, Feiteng, spread and Shenwei, and returns the information including CPU architecture, model, brand, nuclear number, frequency, memory size, quantity, network, ISO version, host state and the like, and the information acquisition flow is as follows:
first, a host is registered at a server and connected to a laboratory controller in the same network environment. The physical machine needs to be registered through BMC information, and the virtual machine is registered through a host machine IP, a password and a virtual machine name; secondly, scanning system environment information, executing the system environment information as a test task, and acquiring test host information by calling a self-defined test frame, an os module and a platform module which are arranged in python, and a command and a kvm library for acquiring hardware information in the linux system; if the registered server physical machine is a bare machine, hardware configuration information of the server, such as CPU architecture and model, internal memory, network card and the like, needs to be acquired through the IPMI interface. And finally, returning various test host state information and storing the information to the server.
In the embodiment of the present application, the status management flow of the test host is shown in fig. 6.
The server scans the state of the equipment (test host), and returns the state values of a power supply, a system and a task, wherein when the value of get _ power _ status is 1, the test host is shut down and is set to be in an idle state, and when the value is 0, the test host is identified to be started; when the value of get _ os _ status is 1, the test host is set to be in an idle state without the operating system installed, and when the value is 0, the test host is set to be in a bare state without the operating system installed; then, the value of get _ task _ status is determined, and if 1, it indicates that the task being executed by the test host is in an idle state, and if 0, it is in a non-idle state. And updating all state values to the server so as to select the test host when executing the task.
The invention provides a multi-CPU-architecture-based automatic testing tool for a server operating system, which can complete the testing of the server operating system based on multi-architecture and multi-branch CPU equipment, and comprises task distribution, multi-architecture automatic deployment as required, automatic testing and test report generation, so that the testing efficiency and the long-term maintainability of the operating system are improved.
The invention provides a server side built by a server operating system automatic test tool based on a multi-CPU framework, which integrates a test warehouse, a scheduler, a database and an ISO mirror library module; screening the multi-place multi-CPU architecture test host through a scheduler to realize automatic issuing of tasks, automatically collecting test results, returning the test results to a server side, and storing the test results in a database; the problem of high repeatability during manual operation is solved, automatic execution of a test task is achieved, test resources are saved, and test efficiency is remarkably improved.
The invention provides a multi-CPU-architecture-based automatic testing tool for a server operating system, which is based on various CPU architectures, deploys an automatic system installation environment by a PXE mode, comprises two boot modes of UEFI and legacy, automatically acquires boot files in a corresponding architecture ISO and generates boot menus by the testing tool, solves the problem of singleness existing in the prior testing tool during system installation, and realizes automatic installation of operating systems of various CPU architectures.
The invention provides a server operating system automatic test tool based on a multi-CPU framework, which solves the problem that a test host is difficult to manage in multiple places by deploying corresponding laboratory controllers in multiple places, can comprehensively collect hardware information of a test physical machine and a test virtual machine, and monitors the state of the test host in real time; when the test task is issued, the required test host is matched according to the specified environment information, the CPU testing system is compatible with various CPU architectures, the test accuracy is enhanced, and the use efficiency of the test host is improved.
The invention provides a server operating system automatic test tool based on a multi-CPU framework, which introduces a watchdog program when executing a test task, can set the task test duration, monitor the task test state in real time, automatically stop when overtime, eliminate factors influencing test blocking and improve the test efficiency; after the test is finished, the log is installed, the log is executed by the task, and the log of the test result is returned to the server; the test tool has flexibility and openness, and can customize a test frame and a test task script.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (6)

1. A server operating system automated testing tool based on a multi-CPU architecture, comprising:
the server is used for scheduling the test tasks and distributing the test tasks to the test host;
the test host is used for receiving the test task to test and outputting a test result;
the laboratory controller is used for receiving the test result and sending the test result to the server; the laboratory controller is respectively connected with the service end and the test host.
2. The automated testing tool for a server operating system based on a multi-CPU architecture according to claim 1, wherein the server comprises: a test repository, a scheduler, a database, and an ISO mirror repository.
3. The multi-CPU architecture based server operating system automated test tool of claim 2, wherein the test repository comprises: a test task library and a test framework.
4. A method for automatically testing a server operating system based on a multi-CPU architecture, which is operated based on the automatic testing tool for the server operating system according to any one of claims 1 to 3, the method comprising the steps of:
submitting a test task configuration file to a server;
the server selects a test host;
judging whether a test environment needs to be installed and deployed;
if yes, automatically installing and deploying the test environment on a test host;
if not, the test host executes the test task;
the test host returns a log to the server;
and the server generates a test report.
5. The automated testing method for the operating system of the server based on the multi-CPU architecture according to claim 4, wherein the testing task configuration file comprises: test environment information, device state information, test framework, and test tasks.
6. The automated testing method for the operating system of the server based on the multi-CPU architecture according to claim 4, wherein the testing host executes the testing task, comprising the steps of:
the server defines ks template parameters;
the server generates a unique ks file;
the server generates a guide menu and sends the guide menu to a laboratory controller;
a power supply in the laboratory controller controls the test host to restart;
the laboratory controller sends a boot file to the test host;
the boot file points to a kernel image file stored in a laboratory controller;
the test host installs the system according to the boot file and the kernel image file;
judging whether the system is installed successfully;
if yes, executing a test task;
if not, the test is finished.
CN202110792973.3A 2021-07-14 2021-07-14 Automatic testing tool and method for server operating system based on multi-CPU architecture Pending CN113568791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110792973.3A CN113568791A (en) 2021-07-14 2021-07-14 Automatic testing tool and method for server operating system based on multi-CPU architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110792973.3A CN113568791A (en) 2021-07-14 2021-07-14 Automatic testing tool and method for server operating system based on multi-CPU architecture

Publications (1)

Publication Number Publication Date
CN113568791A true CN113568791A (en) 2021-10-29

Family

ID=78164796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110792973.3A Pending CN113568791A (en) 2021-07-14 2021-07-14 Automatic testing tool and method for server operating system based on multi-CPU architecture

Country Status (1)

Country Link
CN (1) CN113568791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490419A (en) * 2022-02-16 2022-05-13 湖南智擎科技有限公司 Cross-cloud testing method and system of heterogeneous architecture and computer equipment
CN117234827A (en) * 2023-11-14 2023-12-15 武汉凌久微电子有限公司 Multi-platform automatic test method and system based on domestic graphic processor

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205005A (en) * 2015-10-29 2015-12-30 浪潮(北京)电子信息产业有限公司 CPU (central processing unit) test method of server and system
CN105426298A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 ADB (Android debug bridge)-based software test method and system
CN106874189A (en) * 2016-12-30 2017-06-20 江苏瑞中数据股份有限公司 A kind of implementation method of the automatization test system of real-time data of power grid storehouse system
CN108427641A (en) * 2018-01-29 2018-08-21 中国互联网络信息中心 A kind of multi-task scheduling automated testing method and system based on Docker containers
CN108804329A (en) * 2018-06-12 2018-11-13 郑州云海信息技术有限公司 A kind of test system and method for data transfer integrity
CN109144607A (en) * 2018-08-06 2019-01-04 成都知道创宇信息技术有限公司 A kind of large-scale server automatic deployment and configuration method
CN110162977A (en) * 2019-04-24 2019-08-23 北京邮电大学 A kind of Android vehicle-mounted terminal system leakage location and method
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN112749095A (en) * 2021-01-15 2021-05-04 苏州浪潮智能科技有限公司 Method, system and medium for switching operating system to execute test task
CN112765028A (en) * 2021-01-22 2021-05-07 济南大学 Android application program testing method and system based on group control mechanism

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426298A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 ADB (Android debug bridge)-based software test method and system
CN105205005A (en) * 2015-10-29 2015-12-30 浪潮(北京)电子信息产业有限公司 CPU (central processing unit) test method of server and system
CN106874189A (en) * 2016-12-30 2017-06-20 江苏瑞中数据股份有限公司 A kind of implementation method of the automatization test system of real-time data of power grid storehouse system
CN108427641A (en) * 2018-01-29 2018-08-21 中国互联网络信息中心 A kind of multi-task scheduling automated testing method and system based on Docker containers
CN108804329A (en) * 2018-06-12 2018-11-13 郑州云海信息技术有限公司 A kind of test system and method for data transfer integrity
CN109144607A (en) * 2018-08-06 2019-01-04 成都知道创宇信息技术有限公司 A kind of large-scale server automatic deployment and configuration method
CN110162977A (en) * 2019-04-24 2019-08-23 北京邮电大学 A kind of Android vehicle-mounted terminal system leakage location and method
CN110928774A (en) * 2019-11-07 2020-03-27 杭州顺网科技股份有限公司 Automatic test system based on node formula
CN112749095A (en) * 2021-01-15 2021-05-04 苏州浪潮智能科技有限公司 Method, system and medium for switching operating system to execute test task
CN112765028A (en) * 2021-01-22 2021-05-07 济南大学 Android application program testing method and system based on group control mechanism

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁俊等: "《计算机操作系统安装与维护》", 31 October 2016, 成都:西南交通大学出版社, pages: 96 *
来清民等: "《ARM Cortex-M3嵌入式系统设计和典型实例 基于LM3S811》", 30 June 2013, 北京:北京航空航天大学出版社, pages: 280 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490419A (en) * 2022-02-16 2022-05-13 湖南智擎科技有限公司 Cross-cloud testing method and system of heterogeneous architecture and computer equipment
CN114490419B (en) * 2022-02-16 2024-02-13 湖南智擎科技有限公司 Heterogeneous architecture cross-cloud testing method, system and computer equipment
CN117234827A (en) * 2023-11-14 2023-12-15 武汉凌久微电子有限公司 Multi-platform automatic test method and system based on domestic graphic processor
CN117234827B (en) * 2023-11-14 2024-02-13 武汉凌久微电子有限公司 Multi-platform automatic test method and system based on domestic graphic processor

Similar Documents

Publication Publication Date Title
KR101614052B1 (en) System and method for configuring cloud computing systems
US9152532B2 (en) System and method for configuring a cloud computing system with a synthetic test workload
US9658895B2 (en) System and method for configuring boot-time parameters of nodes of a cloud computing system
US7694181B2 (en) Automated software testing framework
CN102567203B (en) A kind of method and system of test distributed file system performance
CN106708740B (en) Script testing method and device
US20070168970A1 (en) Method and system for automated distributed software testing
US20140047342A1 (en) System and method for allocating a cluster of nodes for a cloud computing system based on hardware characteristics
US20140047095A1 (en) System and method for tuning a cloud computing system
US20140047079A1 (en) System and method for emulating a desired network configuration in a cloud computing system
US20140047084A1 (en) System and method for modifying a hardware configuration of a cloud computing system
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
CN113568791A (en) Automatic testing tool and method for server operating system based on multi-CPU architecture
EP2883140A1 (en) System and method for tuning a cloud computing system
CN104778124A (en) Automatic testing method for software application
CN110795108B (en) Method for deploying Weblogic application based on Ansible layout
CN109298868A (en) Intelligent dynamic deployment and unloading method for mapping image data processing software
CN111324599B (en) Block chain experiment system and management method
CN103838625A (en) Data interaction method and system
US20040194088A1 (en) Network device management
CN114297056A (en) Automatic testing method and system
CN111290934A (en) Jenkins-based vehicle-mounted network product cloud testing method and system
CN113849399A (en) Automatic testing system and method for multi-machine cooperative software under multi-localization platform
CN112765028A (en) Android application program testing method and system based on group control mechanism
CN112882793A (en) Method and system for sharing container resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination