chore(test): проверить реальную связность WireGuard и интерфейс

This commit is contained in:
Denozordec committed 2026-10-08 21:48:30 +07:00
1 parent 02cdfd869a
commit fe0ca3fa46
13 files changed
+604 -6

No files matched your search

@@ -0,0 +1,101 @@
{
"date": "2026-10-08",
"backendSource": "bd3f996",
"frontendSource": "fd521f6",
"name": "mm-acceptance-wg-1791470702451",
"httpMocks": false,
"actualCreatedWireguard": true,
"cases": [
{
"serverId": 1,
"theme": "dark",
"widths": [
{
"width": 1280,
"noPageOverflow": true,
"peerDetailsReadable": true
},
{
"width": 320,
"noPageOverflow": true,
"peerDetailsReadable": true
}
],
"interfaceContextPreserved": true,
"peersTabReload": true,
"nativeAllowedIpsAndEndpoint": true,
"handshakeVisible": true,
"countersKnown": true
},
{
"serverId": 1,
"theme": "light",
"widths": [
{
"width": 1280,
"noPageOverflow": true,
"peerDetailsReadable": true
},
{
"width": 320,
"noPageOverflow": true,
"peerDetailsReadable": true
}
],
"interfaceContextPreserved": true,
"peersTabReload": true,
"nativeAllowedIpsAndEndpoint": true,
"handshakeVisible": true,
"countersKnown": true
},
{
"serverId": 2,
"theme": "dark",
"widths": [
{
"width": 1280,
"noPageOverflow": true,
"peerDetailsReadable": true
},
{
"width": 320,
"noPageOverflow": true,
"peerDetailsReadable": true
}
],
"interfaceContextPreserved": true,
"peersTabReload": true,
"nativeAllowedIpsAndEndpoint": true,
"handshakeVisible": true,
"countersKnown": true
},
{
"serverId": 2,
"theme": "light",
"widths": [
{
"width": 1280,
"noPageOverflow": true,
"peerDetailsReadable": true
},
{
"width": 320,
"noPageOverflow": true,
"peerDetailsReadable": true
}
],
"interfaceContextPreserved": true,
"peersTabReload": true,
"nativeAllowedIpsAndEndpoint": true,
"handshakeVisible": true,
"countersKnown": true
}
],
"pageErrors": [],
"badApiResponses": [],
"limits": [
"Real API-created own pair; UI read/context/details verified, no UI create/export/delete tested",
"Keys omitted from report; screenshot shows own peer name instead of public key",
"Handshake age changes during polling; tested as present, not a fixed timestamp"
]
}
@@ -0,0 +1,19 @@
{
"date": "2026-10-08",
"name": "mm-acceptance-wg-1791470457304",
"results": [
{
"serverId": 1,
"ownInterfacePeerIpRouteAbsent": true
},
{
"serverId": 2,
"ownInterfacePeerIpRouteAbsent": true
}
],
"keysOmitted": true,
"limits": [
"Recovery verified own objects absent; original in-memory baseline was lost after harness exit",
"Full selected baseline will be checked by a fresh complete run"
]
}
@@ -0,0 +1,197 @@
{
"date": "2026-10-08",
"backendSource": "bd3f996",
"frontendSource": "fd521f6",
"name": "mm-acceptance-wg-1791470457304",
"subnet": "198.18.255.240/30",
"listenPort": 51879,
"realRouterOs": true,
"changes": [
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*5",
"status": 200
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*5",
"status": 200
},
{
"method": "GET",
"path": "/api/wireguard",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/1/*1",
"status": 400
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/2/*1",
"status": 400
}
],
"pings": [
{
"serverId": 1,
"target": "198.18.255.242",
"interface": "mm-acceptance-wg-1791470457304",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "54ms733us",
"avg-rtt": "54ms733us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "55ms573us",
"avg-rtt": "55ms153us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "55ms260us",
"avg-rtt": "55ms188us"
}
]
},
{
"serverId": 2,
"target": "198.18.255.241",
"interface": "mm-acceptance-wg-1791470457304",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "55ms569us",
"avg-rtt": "55ms569us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "55ms190us",
"avg-rtt": "55ms379us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "54ms747us",
"avg-rtt": "55ms168us"
}
]
}
],
"cleanup": [
{
"serverId": 1,
"error": "Application request rejected, status 400"
},
{
"serverId": 2,
"error": "Application request rejected, status 400"
}
],
"nativeKeyGenerationConfirmed": true,
"connectedState": [
{
"serverId": 1,
"interface": {
"rosId": "*5",
"appId": "1:*5",
"name": "mm-acceptance-wg-1791470457304",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470457304"
},
"addresses": [
"198.18.255.241/30"
],
"peers": [
{
"rosId": "*1",
"name": "mm-acceptance-wg-1791470457304-peer",
"allowedAddresses": "198.18.255.242/32",
"endpoint": "104.165.244.7:51879",
"handshake": "1s",
"rx": "180",
"tx": "272",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470457304"
}
]
},
{
"serverId": 2,
"interface": {
"rosId": "*A",
"appId": "2:*A",
"name": "mm-acceptance-wg-1791470457304",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470457304"
},
"addresses": [
"198.18.255.242/30"
],
"peers": [
{
"rosId": "*1",
"name": "mm-acceptance-wg-1791470457304-peer",
"allowedAddresses": "198.18.255.241/32",
"endpoint": "194.226.121.150:51879",
"handshake": "1s",
"rx": "124",
"tx": "180",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470457304"
}
]
}
],
"handshakeConfirmed": true,
"bidirectionalPingPassed": true,
"catalogMatchesNative": true,
"limits": [
"Only own WireGuard interface/peer/IP and connected route changed; no default routes/firewall changes",
"Own IP addresses explicitly deleted via native API before interface deletion; automatic address cleanup was not tested",
"Private/public/preshared keys omitted from report; native generation and peer association checked in memory",
"Handshake and short ICMP connectivity, not throughput, RBAC or interrupted mutation",
"WireGuard audit revisions intentionally retained"
]
}
@@ -0,0 +1,233 @@
{
"date": "2026-10-08",
"backendSource": "bd3f996",
"frontendSource": "fd521f6",
"name": "mm-acceptance-wg-1791470702451",
"subnet": "198.18.255.240/30",
"listenPort": 51879,
"realRouterOs": true,
"changes": [
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*6",
"status": 200
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*6",
"status": 200
},
{
"method": "GET",
"path": "/api/wireguard",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/1/*2",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/interfaces/1/*6",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/2/*2",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/interfaces/2/*B",
"status": 200
}
],
"pings": [
{
"serverId": 1,
"target": "198.18.255.242",
"interface": "mm-acceptance-wg-1791470702451",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "54ms795us",
"avg-rtt": "54ms795us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "55ms61us",
"avg-rtt": "54ms928us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "54ms865us",
"avg-rtt": "54ms907us"
}
]
},
{
"serverId": 2,
"target": "198.18.255.241",
"interface": "mm-acceptance-wg-1791470702451",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "54ms790us",
"avg-rtt": "54ms790us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "55ms69us",
"avg-rtt": "54ms929us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "55ms78us",
"avg-rtt": "54ms979us"
}
]
}
],
"cleanup": [
{
"serverId": 1,
"/interface/wireguard": true,
"/interface/wireguard/peers": true,
"/ip/address": true,
"/ip/route": true,
"/ip/firewall/filter": true,
"/ip/firewall/nat": true,
"/ip/firewall/mangle": true
},
{
"serverId": 2,
"/interface/wireguard": true,
"/interface/wireguard/peers": true,
"/ip/address": true,
"/ip/route": true,
"/ip/firewall/filter": true,
"/ip/firewall/nat": true,
"/ip/firewall/mangle": true
}
],
"nativeKeyGenerationConfirmed": true,
"connectedState": [
{
"serverId": 1,
"interface": {
"rosId": "*6",
"appId": "1:*6",
"name": "mm-acceptance-wg-1791470702451",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470702451"
},
"addresses": [
"198.18.255.241/30"
],
"peers": [
{
"rosId": "*2",
"name": "mm-acceptance-wg-1791470702451-peer",
"allowedAddresses": "198.18.255.242/32",
"endpoint": "104.165.244.7:51879",
"handshake": "2s",
"rx": "272",
"tx": "452",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470702451"
}
]
},
{
"serverId": 2,
"interface": {
"rosId": "*B",
"appId": "2:*B",
"name": "mm-acceptance-wg-1791470702451",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470702451"
},
"addresses": [
"198.18.255.242/30"
],
"peers": [
{
"rosId": "*2",
"name": "mm-acceptance-wg-1791470702451-peer",
"allowedAddresses": "198.18.255.241/32",
"endpoint": "194.226.121.150:51879",
"handshake": "2s",
"rx": "304",
"tx": "304",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791470702451"
}
]
}
],
"handshakeConfirmed": true,
"bidirectionalPingPassed": true,
"catalogMatchesNative": true,
"limits": [
"Only own WireGuard interface/peer/IP and connected route changed; no default routes/firewall changes",
"Own IP addresses explicitly deleted via native API before interface deletion; automatic address cleanup was not tested",
"Private/public/preshared keys omitted from report; native generation and peer association checked in memory",
"Handshake and short ICMP connectivity, not throughput, RBAC or interrupted mutation",
"WireGuard audit revisions intentionally retained"
],
"controlBefore": {
"servers": 2,
"speedHistory": 9,
"retentionDays": 14,
"migrations": 9
},
"controlAfter": {
"servers": 2,
"speedHistory": 9,
"retentionDays": 14,
"migrations": 9
},
"controlsUnchanged": true,
"backendHealthy": true
}