Diagnostic Test Definition Elements

The following table describes the XML elements that you can use to define a custom diagnostic test.

Element Description

AutoGenerateResult

Designates the custom diagnostic test as a test that validates whether the result of the test matches an expected value or if it is consistent for all nodes in the HPC cluster. It also indicates that the diagnostic service should automatically generate a report for the test that is appropriate for these types of tests.

DiagnosticTest

Defines a custom diagnostic test, including the metadata, parameters, environment variables, and commands for the test.

DiagnosticTests

Includes the definition of one or more custom diagnostic tests, and it serves as the root element for the diagnostic test definition XML file.

EnvironmentVariables

Represents a set of one or more environment variables that you want to set for a diagnostic test or set for a step in a diagnostic test.

Parameter

Defines a parameter for a stage in the diagnostic test or for the entire diagnostic test.

Parameters

Defines a set of one or more parameters for a stage in the diagnostic test or for the entire diagnostic test.

PostStep

Defines the PostStep stage of a custom diagnostic test. The PostStep stage processes the output from all of the nodes on which the test ran and prepares the results for display.

PreStep

Defines the PreStep stage of a custom diagnostic test. The PreStep stage performs validation and prepares the environment for running the test.

RunStep

Defines the RunStep stage of a custom diagnostic test. The RunStep stage runs the actual diagnostic test.

Variable

Represents an environment variable that you want to set for a diagnostic test or set for a step in a diagnostic test.

 

Diagnostic Test Definition Schema