...
Selection Algorithm Scenarios
Test # | Tag | Procedure | Script | Result |
---|---|---|---|---|
1 | SRC_SPEC_LOCAL_MR_DST |
| pass | |
2 | SRC_SPEC_LOCAL_MR_DST |
| pass | |
3 | SRC_SPEC_ROUTER_MR_DST |
| pass | |
4 | SRC_SPEC_ROUTER_MR_DST |
| pass | |
5 | SRC_SPEC_ROUTER_MR_DST |
| pass | |
6 | SRC_SPEC_ROUTER_MR_DST |
| pass | |
7 | SRC_SPEC_LOCAL_NMR_DST |
| pass | |
8 | SRC_SPEC_ROUTER_NMR_DST |
| pass | |
9 | SRC_ANY_LOCAL_MR_DST |
| pass | |
10 | SRC_ANY_ROUTER_MR_DST |
| pass | |
11 | SRC_ANY_ROUTER_MR_DST |
| pass | |
12 | SRC_ANY_LOCAL_NMR_DST |
| pass | |
13 | SRC_ANY_ROUTER_NMR_DST |
| pass | |
14 | SRC_ANY_ROUTER_NMR_DST |
| pass |
Error Scenarios
Synchronous Errors
Test # | Tag | Procedure | Script | Result |
---|---|---|---|---|
1 | Immediate Failure |
| lnetctl discover <nid> lctl net_drop_add with "-e local_error" lnetctl discover <nid> | pass |
Asynchronous Errors
Test # | Tag | Procedure | Script | Result |
---|---|---|---|---|
1 | LNET_MSG_STATUS_LOCAL_INTERRUPT LNET_MSG_STATUS_LOCAL_DROPPED LNET_MSG_STATUS_LOCAL_ABORTED LNET_MSG_STATUS_LOCAL_NO_ROUTE LNET_MSG_STATUS_LOCAL_TIMEOUT |
|
- Same setup as 1
- NI is not placed on the recovery queue
- Same setup as 1
- NI is placed on the recovery queue
- Monitor network activity as NI is pinged until health is back to maximum
Sensitivity > 0
Buggy interface
Examples: lctl net_drop_add -s 10.9.10.3@tcp -d 10.9.10.4@tcp -m GET -i 20 -e local_dropped Key messages in debug log: (lib-msg.c:762:lnet_health_check()) 10.9.10.3@tcp->10.9.10.4@tcp:GET:LOCAL_DROPPED - queuing for resend (lib-msg.c:508:lnet_handle_local_failure()) ni 10.9.10.3@tcp added to recovery queue. Health = 950 (lib-move.c:2928:lnet_recover_local_nis()) attempting to recover local ni: 10.9.10.3@tcp | pass | |||
2 | Sensitivity == 0 |
| pass | |
3 | Sensitivity > 0 |
|
| pass | |||
4 | Sensitivity > 0 Buggy interface |
| ||
5 | Retry count == 0 |
|
| pass | |||
6 | Retry count > 0 |
| Key messages in debug log: (lib-move.c:1715:lnet_handle_send()) TRACE: 10.9.10.3@tcp(10.9.10.3@tcp:<?>) -> 10.9.10.4@tcp(10.9.10.4@tcp:10.9.10.4@tcp) : GET try# 0 (lib-move.c:1715:lnet_handle_send()) TRACE: 10.9.10.3@tcp(10.9.10.3@tcp:<?>) -> 10.9.10.4@tcp(10.9.10.4@tcp:10.9.10.4@tcp) : GET try# 1 | pass |
7 | REPLY timeout |
| pass | |
8 | ACK timeout |
| pass | |
9 | LNET_MSG_STATUS_LOCAL_ERROR |
| pass | |
10 | LNET_MSG_STATUS_REMOTE_DROPPED |
|
| pass | |||
11 | LNET_MSG_STATUS_REMOTE_ERROR LNET_MSG_STATUS_REMOTE_TIMEOUT LNET_MSG_STATUS_NETWORK_TIMEOUT |
| pass |
Random Failures
Test # | Tag | Procedure | Script | Result |
---|---|---|---|---|
1 | self test |
| ip link set eth1 down | pass |
2 | self test |
| pass | |
3 | self test |
| ||
4 | self test |
| ||
5 | self test |
| ||
6 | self test |
|
...
Test # | Tag | Procedure | Script | Result | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | lnet_transaction_timeout |
| lnetctl set transaction_timeout <value> | pass | ||||||||
2 | lnet_retry_count |
| lnetctl set retry_count <value> | pass | ||||||||
3 | lnet_health_sensitivity |
| lnetctl set health_sensitivity <value> |
| ||||||||
4 | NI statistics |
| pass | |||||||||
5 | Peer NI statistics |
| pass | |||||||||
6 | NI Health value |
|
| |||||||||
7 | Peer NI Health value |
|
|
Testing Tools
The drop policy has been modified to drop outgoing messages with specific errors. This can be done via the following commands. Unfortunately, for details on these commands you'll need to look at the code. A combination of these commands on the different nodes should cover approximately 75% of the health code paths.
...