诊断项未通过时返回的json示例

BandWidth诊断

BandWidth诊断不通过时,返回的json文件回显如下:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
    "DiagnosisItems": [
        {
            "group_name": "Hardware",
            "group_results": "FAIL",
            "sub_items": [
                {
                    "item_info": [
                        "d2d bandwidth diagnosis failed on device 0 with bandwidth 751.0634765625 / 4999",
                        "d2h bandwidth diagnosis failed on device 0 with bandwidth 28.201079722538424 / 30",
                        "h2d bandwidth diagnosis failed on device 0 with bandwidth 25.111515452819699 / 40",
                        "p2p unidirectional bandwidth diagnosis failed from device 0 to device 1 with bandwidth 26.207678676901633 / 50",
                        "p2p bidirectional bandwidth diagnosis failed from device 0 to device 1 with bandwidth 50.990615028778471 / 90"
                    ],
                    "item_info_element": [
                        {
                            "device_id": "0",
                            "threshold_info": [
                                {
                                    "actual_value": "751.0634765625",
                                    "expected_status": "The value must be greater than 4999",
                                    "test_item": "d2d"
                                },
                                {
                                    "actual_value": "28.201079722538424",
                                    "expected_status": "The value must be greater than 30",
                                    "test_item": "d2h"
                                },
                                {
                                    "actual_value": "25.111515452819699",
                                    "expected_status": "The value must be greater than 40",
                                    "test_item": "h2d"
                                },
                                {
                                    "actual_value": "26.207678676901633",
                                    "detail_info": [
                                        {
                                            "key": "dst_device_id",
                                            "value": "1"
                                        }
                                    ],
                                    "expected_status": "The value must be greater than 50",
                                    "test_item": "p2p unidirectional"
                                },
                                {
                                    "actual_value": "50.990615028778471",
                                    "detail_info": [
                                        {
                                            "key": "dst_device_id",
                                            "value": "1"
                                        }
                                    ],
                                    "expected_status": "The value must be greater than 90",
                                    "test_item": "p2p bidirectional"
                                }
                            ],
                            "type": "bandwidth"
                        }
                    ],
                    "item_name": "bandwidth",
                    "item_result": "FAIL"
                }
            ]
        }
    ],
    "Summary": {
        "Arch": "aarch64",
        "Mode": "******",
        "Time": "20241104-03:55:27"
    }
}

Aiflops诊断

Aiflops诊断不通过时,返回的json文件回显如下:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
    "DiagnosisItems": [
        {
            "group_name": "Hardware",
            "group_results": "FAIL",
            "sub_items": [
                {
                    "item_info": [
                        "Check AI flops failed on device 0 with flops 315.199005 / 600",
                        "Temperature Warned on device 0 with 40 / 10"
                    ],
                    "item_info_element": [
                        {
                            "device_id": "0",
                            "threshold_info": [
                                {
                                    "actual_value": "315.199005",
                                    "expected_status": "The value must be greater than 600",
                                    "test_item": "flops"
                                },
                                {
                                    "actual_value": "40",
                                    "expected_status": "The value must be greater than 10",
                                    "test_item": "temperature"
                                }
                            ],
                            "type": "aiflops"
                        }
                    ],
                    "item_name": "aiflops",
                    "item_result": "FAIL"
                }
            ]
        }
    ],
    "Summary": {
        "Arch": "aarch64",
        "Mode": "******",
        "Time": "20241108-04:00:29"
    }
}

SignalQuality诊断

SignalQuality诊断不通过时,返回的json文件回显如下:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
    "DiagnosisItems": [
        {
            "group_name": "Hardware",
            "group_results": "IMPORTANT_WARN",
            "sub_items": [
                {
                    "item_name": "signalQuality",
                    "item_result": "IMPORTANT_WARN",
                    "result_array": [
                        {
                            "item_info": [
                                "Hccs signal quality abnormal, srcDevice 0, macro 2, lane: 0, dstDevice: 1, snr: 633378, heh: 386",
                                "Roce signal quality abnormal, device 0, macro 0, lane: 0, snr: 594869, heh: 382",
                                "pcie signal quality is abnormal on device 0",
                                "pcie signal quality is abnormal on device 1"
                            ],
                            "item_info_element": [
                                {
                                    "device_id": "0",
                                    "threshold_info": [
                                        {
                                            "actual_value": "633378",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "2"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                },
                                                {
                                                    "key": "dst_device_id",
                                                    "value": "1"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 800000",
                                            "test_item": "snr"
                                        },
                                        {
                                            "actual_value": "386",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "2"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                },
                                                {
                                                    "key": "dst_device_id",
                                                    "value": "1"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 750",
                                            "test_item": "heh"
                                        }
                                    ],
                                    "type": "signal quality hccs"
                                },
                                {
                                    "device_id": "0",
                                    "threshold_info": [
                                        {
                                            "actual_value": "-69",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "9"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                }
                                            ],
                                            "expected_status": "The value must be less than 170",
                                            "test_item": "bottom"
                                        },
                                        {
                                            "actual_value": "70",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "9"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 170",
                                            "test_item": "top"
                                        },
                                        {
                                            "actual_value": "-75",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "9"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "1"
                                                }
                                            ],
                                            "expected_status": "The value must be less than 170",
                                            "test_item": "bottom"
                                        },
                                        {
                                            "actual_value": "69",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "9"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "1"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 170",
                                            "test_item": "top"
                                        }
                                    ],
                                    "type": "signal quality pcie"
                                },
                                {
                                    "device_id": "0",
                                    "threshold_info": [
                                        {
                                            "actual_value": "594869",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "0"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 800000",
                                            "test_item": "snr"
                                        },
                                        {
                                            "actual_value": "382",
                                            "detail_info": [
                                                {
                                                    "key": "macro",
                                                    "value": "0"
                                                },
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                }
                                            ],
                                            "expected_status": "The value must be greater than 750",
                                            "test_item": "heh"
                                        }
                                    ],
                                    "type": "signal quality roce"
                                }
                            ],
                            "item_result": "IMPORTANT_WARN"
                        }
                    ]
                }
            ]
        }
    ],
    "Summary": {
        "Arch": "aarch64",
        "Mode": "******",
        "Time": "20241104-06:18:45"
    }
}

PRBS码流诊断

PRBS码流诊断不通过时,返回的json文件回显如下:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
    "DiagnosisItems": [
        {
            "group_name": "Hardware",
            "group_results": "IMPORTANT_WARN",
            "sub_items": [
                {
                    "item_name": "prbs",
                    "item_result": "IMPORTANT_WARN",
                    "result_array": [
                        {
                            "item_info": [
                                "lane: 0, error count: 60000000, error rate: 0.0420698359%, alos: 0 on device 0"
                            ],
                            "item_info_element": [
                                {
                                    "device_id": "0",
                                    "threshold_info": [
                                        {
                                            "actual_value": "0.0004206984",
                                            "detail_info": [
                                                {
                                                    "key": "lane",
                                                    "value": "0"
                                                }
                                            ],
                                            "expected_status": "The value must be less than 1e-05",
                                            "test_item": "error rate"
                                        }
                                    ],
                                    "type": "prbs"
                                }
                            ],
                            "item_result": "IMPORTANT_WARN"
                        }
                    ]
                }
            ]
        }
    ],
    "Summary": {
        "Arch": "aarch64",
        "Mode": "******",
        "Time": "20241104-22:35:36"
    }
}