fix(gre): отклонять повреждённые и повторяющиеся native идентификаторы

This commit is contained in:
Denozordec committed 2026-10-14 02:09:13 +07:00
1 parent 51a579d370
commit 7a38bb36aa
19 files changed
+678 -19

No files matched your search

+178
View File
@@ -0,0 +1,178 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"baseline": true,
"database": "mm_accept_166_1791917283901",
"cases": [
{
"phase": "valid",
"endpoint": "compiled collector",
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "valid",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "empty",
"endpoint": "compiled collector",
"greWritten": 1,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "empty",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "missing-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "missing-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "missing-name",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "missing-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "blank-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "blank-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "blank-name",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "blank-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "whitespace-id",
"endpoint": "compiled collector",
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "whitespace-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "number-field",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "number-field",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "duplicate-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "duplicate-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 3,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "duplicate-name",
"endpoint": "compiled collector",
"greWritten": 3,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "duplicate-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 3,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "trimmed-name-collision",
"endpoint": "compiled collector",
"greWritten": 3,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "trimmed-name-collision",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 3,
"failures": 0,
"observedRevisionsAdded": 0
}
],
"scope": "Actual compiled Native GRE identity and actual API/config/snapshot paths, owned SQL/native HTTP fixture; signed reader/authenticated GRE API",
"passed": true,
"nativeWrites": 0,
"disabledHomeRouterCalls": 0,
"ownedDatabaseAndRoleRemoved": true
}
@@ -0,0 +1,21 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"compiled": {
"matched": 1056,
"missing": 0,
"different": 0
},
"source": [
{
"kind": "backend",
"matched": 490
}
],
"configSyncScripts": 7,
"identityCases": 13,
"greFlagCombinations": 49,
"productionCases": 22,
"optionalDisabledSqlProfileSkipped": true,
"initialUnitFixtureFailure": "Undefined-valued optional keys replaced with absent keys to represent native JSON"
}
@@ -0,0 +1,21 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"backendSourceMatched": 490,
"compiledMatched": 1056,
"frontendChanged": false,
"services": {
"backend": {
"image": "mmapp-test/backend:ux-gre221",
"imageId": "sha256:22126c3d941b0ac023ea15ff40c5fb18109853f33a4292affeca8ffcf69ec6bd",
"running": true,
"health": "healthy"
},
"frontend": {
"image": "mmapp-test/frontend:ux-routing218",
"imageId": "sha256:ec658b9da88c19d60987be5bfc0c15fb339a0310d7a42dc761b40a70a3428c5a",
"running": true,
"health": null
}
}
}
+178
View File
@@ -0,0 +1,178 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"baseline": false,
"database": "mm_accept_166_1791917459099",
"cases": [
{
"phase": "valid",
"endpoint": "compiled collector",
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "valid",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 2,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "empty",
"endpoint": "compiled collector",
"greWritten": 1,
"bgpWritten": 2,
"sourceErrors": 0
},
{
"phase": "empty",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 0,
"observedRevisionsAdded": 1
},
{
"phase": "missing-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "missing-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "missing-name",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "missing-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "blank-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "blank-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "blank-name",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "blank-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "whitespace-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "whitespace-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "number-field",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "number-field",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "duplicate-id",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "duplicate-id",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "duplicate-name",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "duplicate-name",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
},
{
"phase": "trimmed-name-collision",
"endpoint": "compiled collector",
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1
},
{
"phase": "trimmed-name-collision",
"endpoint": "signed GRE catalog",
"status": 200,
"tunnels": 1,
"failures": 1,
"observedRevisionsAdded": 0
}
],
"scope": "Actual compiled Native GRE identity and actual API/config/snapshot paths, owned SQL/native HTTP fixture; signed reader/authenticated GRE API",
"passed": true,
"nativeWrites": 0,
"disabledHomeRouterCalls": 0,
"ownedDatabaseAndRoleRemoved": true
}
@@ -0,0 +1,117 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"initialFailure": {
"host": "104.165.244.7",
"endpoint": "/interface/gre",
"status": 500,
"wholeAttemptAborted": true,
"ownedGreCleanupReported": true,
"rootCauseKnown": false
},
"subsequentDiagnostics": [
{
"host": "194.226.121.150",
"path": "/system/resource",
"status": 200,
"cpuLoad": "0",
"freeMemory": "817356800",
"version": "7.24.5 (stable)"
},
{
"host": "194.226.121.150",
"path": "/interface/gre",
"status": 200,
"owned221Objects": 0
},
{
"host": "194.226.121.150",
"path": "/ip/service",
"status": 200,
"www": [
{
"name": "www",
"maxSessions": "20",
"disabled": "false"
},
{
"name": "www",
"maxSessions": null,
"disabled": "false"
},
{
"name": "www-ssl",
"maxSessions": "20",
"disabled": "true"
}
]
},
{
"host": "194.226.121.150",
"path": "/log",
"status": 200,
"authFailureRecords": 11
},
{
"host": "104.165.244.7",
"path": "/system/resource",
"status": 200,
"cpuLoad": "2",
"freeMemory": "824307712",
"version": "7.24.5 (stable)"
},
{
"host": "104.165.244.7",
"path": "/interface/gre",
"status": 200,
"owned221Objects": 0
},
{
"host": "104.165.244.7",
"path": "/ip/service",
"status": 200,
"www": [
{
"name": "www",
"maxSessions": "20",
"disabled": "false"
},
{
"name": "www",
"maxSessions": null,
"disabled": "false"
},
{
"name": "www-ssl",
"maxSessions": "20",
"disabled": "true"
}
]
},
{
"host": "104.165.244.7",
"path": "/log",
"status": 200,
"authFailureRecords": 883
}
],
"credentialsUnchanged": true,
"authFailureSourceSummary": [
{
"host": "194.226.121.150",
"status": 200,
"totalRetainedAuthFailures": 11,
"fromTestDebian": 0,
"otherSources": 11,
"retainedLogNotCurrentRate": true
},
{
"host": "104.165.244.7",
"status": 200,
"totalRetainedAuthFailures": 880,
"fromTestDebian": 0,
"otherSources": 880,
"retainedLogNotCurrentRate": true
}
]
}
@@ -0,0 +1,62 @@
{
"date": "2026-10-14",
"block": "12.5.221",
"backend": "ux-gre221",
"frontend": "ux-routing218",
"nativeCases": [
{
"host": "194.226.121.150",
"nativeGetStatus": 200,
"applicationStatus": "down",
"nativeDisabled": "true",
"nativeRunning": "false",
"nativeIdPresent": true,
"nativeNamePresent": true
},
{
"host": "104.165.244.7",
"nativeGetStatus": 200,
"applicationStatus": "down",
"nativeDisabled": "true",
"nativeRunning": "false",
"nativeIdPresent": true,
"nativeNamePresent": true
}
],
"source": {
"date": "2026-10-14",
"name": "own221-gre-1791918004179",
"passed": true,
"mode": "Actual compiled helper reads lab PostgreSQL and native GRE/BGP; no scheduler history write",
"ownedGreRows": [
{
"targetLabel": "own221-gre-1791918004179-1 / CHR",
"status": "down"
},
{
"targetLabel": "own221-gre-1791918004179-2 / CHR",
"status": "down"
}
],
"sourceErrors": 0
},
"ui": [
{
"width": 1440,
"ownedNativeRowVisible": true,
"pageErrors": 0,
"mutationRequests": 0
},
{
"width": 320,
"ownedNativeRowVisible": true,
"pageErrors": 0,
"mutationRequests": 0
}
],
"realPortalJWT": true,
"apiMocks": false,
"cleanupCompleted": true,
"scope": "Actual compiled collector reads lab DB/native disabled GRE; no durable snapshot write, fault injection or data-plane claim",
"passwordsUnchanged": true
}