CN111427777A - SO L test method, system, equipment and medium - Google Patents

SO L test method, system, equipment and medium Download PDF

Info

Publication number
CN111427777A
CN111427777A CN202010177199.0A CN202010177199A CN111427777A CN 111427777 A CN111427777 A CN 111427777A CN 202010177199 A CN202010177199 A CN 202010177199A CN 111427777 A CN111427777 A CN 111427777A
Authority
CN
China
Prior art keywords
machine
tested
file
preset
connection
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.)
Granted
Application number
CN202010177199.0A
Other languages
Chinese (zh)
Other versions
CN111427777B (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010177199.0A priority Critical patent/CN111427777B/en
Publication of CN111427777A publication Critical patent/CN111427777A/en
Application granted granted Critical
Publication of CN111427777B publication Critical patent/CN111427777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for testing SO L, which comprises the following steps of establishing SO L connection with a to-be-tested machine, detecting a connection environment based on environmental parameters, modifying an operation mode of the to-be-tested machine into a text mode, restarting the to-be-tested machine, detecting whether an IP address of BMC of the to-be-tested machine after restarting and a file created in the to-be-tested machine in advance are lost, detecting whether the IP address of the BMC of the to-be-tested machine is changed and the file created in the to-be-tested machine in advance is lost again after a preset time period, disconnecting SO L connection with the to-be-tested machine and generating a test log.

Description

SO L test method, system, equipment and medium
Technical Field
The invention relates to the field of testing, in particular to a method, a system, equipment and a storage medium for SO L testing.
Background
The existing test on SO L mainly adopts a simple sol interface connection, and then whether the test is still in a connection state is observed after twelve hours, but the test is judged whether to be successful or not only through a simple expression, but also a proper means is lacked for a plurality of important association items, SO that the process and result analysis cannot be truly accurate, the test lasts for about twelve hours, in the twelve hours, some accidental phenomena can flash, the phenomena can be missed by the existing method, the phenomena cannot be reproduced, and the quality of a mainboard can be influenced due to insufficient coverage rate.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a method for SO L testing, including the following steps:
establishing SO L connection with a machine to be tested;
detecting a connection environment based on the environment parameters, and modifying the operation mode of the machine to be tested into a text mode;
restarting the machine to be tested;
detecting whether the IP address of the BMC of the to-be-tested machine after restarting is changed and whether a file created in the to-be-tested machine in advance is lost;
after a preset time period, detecting whether the IP address of the BMC of the machine to be tested is changed or not and whether a file created in the machine to be tested in advance is lost or not;
the SO L connection with the test machine is disconnected and a test log is generated.
In some embodiments, further comprising:
establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection with the machine under test is disconnected again;
and generating a test log and analyzing the test log.
In some embodiments, detecting the connection environment based on the environment parameter further comprises:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
In some embodiments, modifying the operation mode of the dut to a text mode further includes:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides an SO L test system, including:
an establishment module configured to establish an SO L connection with a DUT;
the first detection module is configured to detect a connection environment based on an environment parameter and modify an operation mode of the to-be-tested machine into a text mode;
the restarting module is configured to restart the machine to be tested;
the second detection module is configured to detect whether the IP address of the BMC of the to-be-tested machine after restarting is changed and whether a file created in the to-be-tested machine in advance is lost;
the third detection module is configured to detect whether the IP address of the BMC of the to-be-tested machine is changed or not and whether a file created in the to-be-tested machine in advance is lost or not again after a preset time period;
a disconnection module configured to disconnect SO L from the DUT and generate a test log.
In some embodiments, the system further comprises a fourth detection module configured to detect the second signal
Establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection with the machine under test is disconnected again;
and generating a test log and analyzing the test log.
In some embodiments, the first detection module is further configured to:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
In some embodiments, the first detection module is further configured to:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor, when executing the program, performs the steps of any of the methods of the SO L test described above.
Based on the same inventive concept, according to another aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any of the methods of the SO L test described above.
The invention has one of the following beneficial technical effects: the method provided by the invention effectively solves the problems that the test result may be inaccurate and the process cannot be recorded by automatically monitoring the process of testing the login stability of the sol.
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 it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for SO L testing according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a test system for SO L according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a method for SO L testing, which may include, as shown in fig. 1, the steps of S1 establishing an SO L connection with a dut, S2 detecting a connection environment based on an environmental parameter and modifying an operation mode of the dut to a text mode, S3 restarting the dut, S4 detecting whether an IP address of a BMC of the dut after the restart changes and whether a file created in the dut in advance is lost, S5 detecting again whether the IP address of the BMC of the dut changes and whether the file created in the dut in advance is lost after a preset time period, and S6 disconnecting the SO L connection with the dut and generating a test log.
The method provided by the invention effectively solves the problems that the test result may be inaccurate and the process cannot be recorded by automatically monitoring the process of testing the login stability of the sol.
In some embodiments, in step S1, in establishing the SO L connection with the dut, specifically, the connection with the dut may be implemented by commanding ipmitool-ilanplus-H < BMCIP > -U < BMCusername > -P < bmcpassistrained > sol activate, and detecting whether the command can be executed and whether the return value of the dut includes [ SO L sessionoperational
In some embodiments, the step S2 detects the connection environment based on the environment parameter, further comprising:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
Specifically, it may be checked whether a preset path/etc/default/GRUB includes a constellation ═ ttys0,115200n8 constellation ═ tty0 (environment parameter), if so, it indicates that the configuration is configured, and if not, the information behind the row of GRUB _ CMD L INE _ L INUX is changed to "constellation ═ ttys0,115200n8 constellation ═ tty 0".
In some embodiments, the step S2 of modifying the operation mode of the mobile device under test into a text mode further includes:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
Specifically, in the dut, the configuration file is rewritten by judging whether the command/boot/grub 2/grub.cfg exists, if the command does not exist, the first command grub 2-mkconfig-o/boot/EFI/EFI/redact/grub.cfg is executed, if the command does exist, the second command grub2-mkconfig-o/boot/grub2/grub.cfg is executed, and if the command does not exist, the second command grub L egacy is executed, so that the current operation mode of the dut is changed from the graphic mode to the text mode.
In some embodiments, step S3 restarts the dut, specifically, when the dut is restarted, it is detected and recorded whether the dut can be restarted, and whether the OSIP cannot ping. And in the restarting process of the to-be-tested machine, the sol connection serial port frame of the client side is continuously output with restarting data, and whether the restarting can interrupt connection is judged according to whether keywords such as Press < F2> to Setup or < F6> to Boot Menu < F12> to PXE Boot are contained in the output data.
In some embodiments, after the to-be-tested machine is restarted, when login localhost login is prompted in a sol connection serial port frame of the client, a user name and a password are input for login, whether login is possible is detected and recorded, and whether a return value contains L astlogin is detected.
In some embodiments, S4 detects whether the IP address of the BMC of the dut after the restart is changed and whether a file created in the dut in advance is lost, specifically, executes the command ipmitool lan print1, detects whether the BMC is the BMC of the dut, that is, it is ensured that the connection does not change the IP address, and simultaneously records whether the command is executable and whether the returned bmcip is the bmcip of the dut. And executing cd and ls operations in the serial port frame to detect whether the file loss is possibly caused in the connection process, and simultaneously recording a return value containing a pre-created file.
It should be noted that the pre-created file may create a file testForSol in the root directory in advance in other remote connection manners, and record whether the testforSol file exists in the directory of the dut.
In some embodiments, after the step S5 is performed for a preset time period, it is detected again whether the IP address of the BMC of the dut is changed and whether a file created in the dut in advance is lost, specifically, the sol login state is maintained for 12 hours, after 12 hours, the command ipmitool lan print1 is executed, whether the BMC of the dut is detected, that is, it is ensured that the connection does not change the IP address, and at the same time, whether the command is executable is recorded, and whether the returned bmcip is the bmcip of the dut. And executing cd and ls operations in the serial port frame to detect whether the file loss is possibly caused in the connection process, and simultaneously recording a return value containing a pre-created file.
In some embodiments, in step S6, in the step of disconnecting the SO L from the dut, specifically, the connection to the dut may be disconnected by a command ipmitool-ilanplus-H < BMCIP > -U < BMCusername > -P < BMCpassword > sol deactivating, and whether the command can be executed and whether there is no return value is detected and recorded.
In some embodiments, further comprising:
establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection with the machine under test is disconnected again;
and generating a test log and analyzing the test log.
Specifically, connection with the machine under test can be achieved through a command ipmitool-ilapplus-H < BMCIP > -U < BMCusername > -P < BMCpassword > sol activate, whether the command can be executed or not is detected, whether a return value of the machine under test includes [ SO L Session operational.
After the connection is closed, a log file is generated in the whole testing process realized by the remote end, and the log file can feed back the condition of the whole testing process. By analyzing the log file result, whether the whole process has error or fail key abnormal word codes or not is checked, whether the connection interruption problem exists or not can be definitely found, whether other programs are triggered to run or not is found, whether the operation of each step is really successful or not is found, and the problem can be found and then corrected in time in a reasonable mode, so that the sol stability is further improved; the test can be performed by the same tester for multiple times, or by different testers simultaneously.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides an SO L test system 400, as shown in fig. 2, including:
an establishing module 401, wherein the establishing module 401 is configured to establish an SO L connection with a dut;
a first detection module 402, where the first detection module 402 is configured to detect a connection environment based on an environment parameter, and modify an operation mode of the dut into a text mode;
a restart module 403, where the restart module 403 is configured to restart the dut;
a second detection module 404, where the second detection module 404 is configured to detect whether an IP address of the BMC of the dut after restart changes and whether a file created in the dut in advance is lost;
a third detection module 405, where after the third detection module 405 is configured to detect for a preset time period, whether the IP address of the BMC of the dut changes and whether a file created in the dut in advance is lost;
a disconnect module 406, the disconnect module 406 configured to disconnect the SO L from the DUT and generate a test log.
In some embodiments, the system further comprises a fourth detection module configured to detect the second signal
Establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection to the dut is again broken.
In some embodiments, the first detection module 402 is further configured to:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
In some embodiments, the first detection module 402 is further configured to:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
memory 510, memory 510 storing a computer program 511 executable on a processor, the processor 520 when executing the program performing the steps of any of the methods of SO L testing as described above.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the steps of any of the methods of SO L testing as above.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct related hardware to implement the methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
In addition, the apparatuses, devices, and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal device, such as a server, and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed by the embodiment of the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be understood that the computer-readable storage media (e.g., memory) herein may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory, by way of example and not limitation, nonvolatile memory may include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory volatile memory may include Random Access Memory (RAM), which may serve as external cache memory, by way of example and not limitation, RAM may be available in a variety of forms, such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link DRAM (S L DRAM, and Direct Rambus RAM (DRRAM).
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof.A computer readable medium includes a computer storage medium and a communication medium including any medium that facilitates transfer of a computer program from one location to another.A storage medium may be any available medium that can be accessed by a general purpose or special purpose computer.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method of SO L testing, comprising performing, on a remote client basis, the steps of:
establishing SO L connection with a machine to be tested;
detecting a connection environment based on the environment parameters, and modifying the operation mode of the machine to be tested into a text mode;
restarting the machine to be tested;
detecting whether the IP address of the BMC of the to-be-tested machine after restarting is changed and whether a file created in the to-be-tested machine in advance is lost;
after a preset time period, detecting whether the IP address of the BMC of the machine to be tested is changed or not and whether a file created in the machine to be tested in advance is lost or not;
the SO L connection with the test machine is disconnected and a test log is generated.
2. The method of claim 1, further comprising:
establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection with the machine under test is disconnected again;
and generating a test log and analyzing the test log.
3. The method of claim 1, wherein detecting a connection environment based on an environment parameter, further comprises:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
4. The method of claim 1, wherein modifying the operating mode of the dut to a text mode further comprises:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
5. An SO L test system, comprising:
an establishment module configured to establish an SO L connection with a DUT;
the first detection module is configured to detect a connection environment based on an environment parameter and modify an operation mode of the to-be-tested machine into a text mode;
the restarting module is configured to restart the machine to be tested;
the second detection module is configured to detect whether the IP address of the BMC of the to-be-tested machine after restarting is changed and whether a file created in the to-be-tested machine in advance is lost;
the third detection module is configured to detect whether the IP address of the BMC of the to-be-tested machine is changed or not and whether a file created in the to-be-tested machine in advance is lost or not again after a preset time period;
a disconnection module configured to disconnect SO L from the DUT and generate a test log.
6. The system of claim 5, further comprising a fourth detection module configured to detect the presence of the object
Establishing the SO L connection with the machine to be tested again;
detecting whether a file created in the to-be-tested machine in advance is lost;
in response to the file not being lost, deleting the file and detecting whether the deletion is successful;
the SO L connection with the machine under test is disconnected again;
and generating a test log and analyzing the test log.
7. The system of claim 5, wherein the first detection module is further configured to:
detecting whether the environmental parameters under the preset path are preset parameters or not;
in response to not being the preset parameter, changing the parameter behind the row of GRUB _ CMD L INE _ L INUX to the preset parameter.
8. The system of claim 5, wherein the first detection module is further configured to:
detecting whether a preset file exists or not;
responding to the absence of a preset file, executing a first instruction to modify the operation mode of the machine to be tested into a text mode;
and responding to the existence of a preset file, and executing a second instruction to modify the operation mode of the machine to be tested into a text mode.
9. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, characterized in that the processor executes the program to perform the steps of the method according to any of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1-4.
CN202010177199.0A 2020-03-13 2020-03-13 SOL test method, system, equipment and medium Active CN111427777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010177199.0A CN111427777B (en) 2020-03-13 2020-03-13 SOL test method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010177199.0A CN111427777B (en) 2020-03-13 2020-03-13 SOL test method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN111427777A true CN111427777A (en) 2020-07-17
CN111427777B CN111427777B (en) 2023-03-21

Family

ID=71546532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010177199.0A Active CN111427777B (en) 2020-03-13 2020-03-13 SOL test method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN111427777B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181801A (en) * 2020-08-20 2021-01-05 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting packaging security
CN113315675A (en) * 2021-05-08 2021-08-27 山东英信计算机技术有限公司 White box switch U-Boot automatic testing method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242312A (en) * 2007-02-08 2008-08-13 英业达股份有限公司 SOL online testing method
CN103164309A (en) * 2011-12-16 2013-06-19 鸿富锦精密工业(深圳)有限公司 SOL functional test method and system
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242312A (en) * 2007-02-08 2008-08-13 英业达股份有限公司 SOL online testing method
CN103164309A (en) * 2011-12-16 2013-06-19 鸿富锦精密工业(深圳)有限公司 SOL functional test method and system
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181801A (en) * 2020-08-20 2021-01-05 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting packaging security
CN112181801B (en) * 2020-08-20 2022-06-14 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting packaging security
CN113315675A (en) * 2021-05-08 2021-08-27 山东英信计算机技术有限公司 White box switch U-Boot automatic testing method, system and storage medium

Also Published As

Publication number Publication date
CN111427777B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN110992992B (en) Hard disk test method, device and storage medium
CN111026645B (en) User interface automatic test method and device, storage medium and electronic equipment
CN100504809C (en) Device and method for implementing test scenarios replay in different voice environment
CN109388622B (en) Log information processing method, device and equipment and readable storage medium
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN112818307B (en) User operation processing method, system, equipment and computer readable storage medium
CN111427777A (en) SO L test method, system, equipment and medium
CN113608692B (en) Storage system data consistency verification method, system, equipment and medium
CN112100048B (en) Self-adaptive inspection method and device for server
CN108874441B (en) Board card configuration method, device, server and storage medium
CN108572895B (en) Stability test method for automatically checking software and hardware configuration under Linux
CN113407383A (en) Main/standby system switching method and device, server and main/standby system
CN111030892A (en) Method, equipment and medium for testing network function in BMC NCSI adaptive mode
CN116303034A (en) Automatic test system, method, equipment and medium for network on chip
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN110244986A (en) Browser configuration method and device
CN107357701B (en) SAS signal testing method and device under distributed scene
CN116166536A (en) Test method, test device, electronic equipment and storage medium
CN111211853B (en) BMC time synchronization checking method and equipment
CN110740134B (en) URL authentication test method, device, equipment and medium
US11036624B2 (en) Self healing software utilizing regression test fingerprints
CN114356763A (en) H5 page local debugging method suitable for hybrid App
CN111901185B (en) Account number management method and device for VoIP phone automatic test system
CN114546094B (en) Method, system, device and storage medium for detecting abnormal power failure of SSD device
CN110990181A (en) Method and system for automatically reproducing probabilistic setting failure of options in BIOS (basic input/output System)

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
GR01 Patent grant
GR01 Patent grant