ReplyStressTestResult

Description

Returns the online stress testing result from the client to ClusterD.

Prototype

rpc ReplyStressTestResult(StressTestResult) returns (Status) {}

Input Parameters

Parameter

Type (Defined by Protobuf)

Description

StressTestResult

message StressTestResult {

string jobId = 1;

map<string, StressTestRankResult> stressResult = 2;

}

message StressTestRankResult {

map<string, StressTestOpResult> rankResult= 1;

}

message StressTestOpResult {

string code = 1;

string result = 2;

}

StressTestResult.jobId: job ID

StressTestResult.stressResult: instruction execution result. key is the global rank ID, and value is the stress testing result.

StressTestRankResult.rankResult: stress testing result. key is the stress testing operation. 0 indicates AIC stress testing and 1 indicates P2P stress testing. value indicates the corresponding result.

StressTestOpResult.code: error code of the stress testing result.

  • 0: Stress testing succeeded, with no fault.
  • 1: Stress testing failed, but training can be resumed.
  • 2: A stress testing fault is detected, and the corresponding node needs to be isolated.
  • 3: Stress testing times out, and the corresponding job needs to be terminated and restarted.
  • 4: The stress testing voltage is not restored, and the corresponding job needs to be terminated and restarted.

StressTestOpResult.result: description of the stress testing result.

Return Value

Parameter

Type (Defined by Protobuf)

Description

Status

message Status{

int32 code = 1;

string info =2;

}

Status.code: return code

  • 0: normal process
  • Other values: abnormal process

Status.info: return information