Commit 15dad16
committed
testscript: improve ssh() network diagnosis and logging
We will be able to better understand if a network issue is caused by
the VM host or the VM.
Now, in ssh() we also check if the network is still reachable or
if someone broke on the host.
A possible missing IP in VM host error might be reported like this:
```
The VM host is not in the same network as IP 192.168.5.2! Networks:
[IPv4Network('192.168.1.0/24'), IPv4Network('192.168.2.0/24'), IPv4Network('192.168.3.0/24'), IPv4Network('192.168.4.0/24'), IPv4Network('192.168.100.0/24')]
```
On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>1 parent b03083e commit 15dad16
1 file changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2018 | 2018 | | |
2019 | 2019 | | |
2020 | 2020 | | |
2021 | | - | |
| 2021 | + | |
2022 | 2022 | | |
2023 | | - | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
2024 | 2028 | | |
2025 | 2029 | | |
2026 | 2030 | | |
2027 | 2031 | | |
2028 | 2032 | | |
2029 | 2033 | | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
2030 | 2043 | | |
2031 | | - | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2032 | 2050 | | |
2033 | 2051 | | |
2034 | 2052 | | |
| |||
0 commit comments