Skip to content

Commit

Permalink
Add missing test case configuration and platform configuration.
Browse files Browse the repository at this point in the history
Signed-off-by: Li Hua <guizhao.lh@alibaba-inc.com>
  • Loading branch information
clarklee-guizhao committed Oct 27, 2022
1 parent 89f1222 commit 5812398
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/cpu_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "cpu-test",
"description": "Check CPU information",
"type": "auto",
"tags": ["manufacture", "delivery", "pa", "power", "emc"]
}
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/memory_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "memory-test",
"description": "Check memory and pattern test",
"type": "auto",
"tags": ["manufacture", "delivery", "pa", "power", "emc"]
}
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/oob_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "oob-test",
"description": "l2 mgmt switch test",
"type": "auto",
"tags": ["manufacture", "delivery", "pa"]
}
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/rtc_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "rtc-test",
"description": "Check RTC function",
"type": "auto",
"tags": ["manufacture", "delivery", "pa", "emc"]
}
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/sensor_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "sensor-test",
"description": "Check sensors health",
"type": "auto",
"tags": ["manufacture", "delivery", "pa", "power", "emc"]
}
6 changes: 6 additions & 0 deletions src/sonic-pit/pit-sysdiag/cases/ssd_tc/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "ssd-test",
"description": "Check SSD capacity",
"type": "auto",
"tags": ["manufacture", "delivery", "pa", "emc", "power"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"fan_info":{
"position": "bmc",
"count": 6,
"direction": "in",
"ratio_target": [10, 80, 20],
"speed_tolerance": 1000,
"speed_max": 20000,
"speed_min": 0,
"motor_count": 2
},
"psu_info":{
"position": "bmc",
"count": 2,
"in_power_min": 0,
"in_power_max": 0,
"in_vol_min": 0,
"in_vol_max": 0,
"in_curr_min": 0,
"in_curr_max": 0,
"out_power_min": 0,
"out_power_max": 0,
"out_vol_min": 0,
"out_vol_max": 0,
"out_curr_min": 0,
"out_curr_max": 0
},
"cpu_info": {
"Model name": "Intel(R) Xeon(R) CPU D-1533N @ 2.10GHz",
"BogoMIPS": 4189.0,
"CPU(s)": 6,
"CPU MHz": 2100.0
},
"memory_free_size": 100,
"rtc_info":{
"delay_time": 5,
"max_time_diff": 1
},
"ssd_test_size": "100M",
"ssd_bom": [
{
"model": "AF2MA31DTDLT240A",
"size": "240 GB"
},
{
"model": "MTFDDAV240TDS",
"size": "240 GB"
}
],
"server_ip": "192.0.0.3",
"bmc_ip": "240.1.1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"test_cases": [
"fan_tc",
"psu_tc",
"cpu_tc",
"memory_tc",
"rtc_tc",
"sensor_tc"
]
}

0 comments on commit 5812398

Please sign in to comment.