You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SVID loading with robust DER parsing and cleanup integration test noise
- Implemented iterative DER parsing to handle concatenated SVID chains
- Removed python-spiffe dependency in client apps for direct gRPC fetching
- Silenced Keylime configuration warnings by providing minimal logging.conf
- Improved service verification with retries in test scripts
- Suppressed redundant gRPC connection tracebacks in bundle fetcher
if sudo ss -tlnp 2>/dev/null | grep -q ':9443';then
1173
-
printf' [OK] mTLS Server listening on port 9443\n'
1174
-
SERVICES_OK=$((SERVICES_OK +1))
1175
-
else
1176
-
printf' [WARN] mTLS Server not listening on port 9443\n'
1180
+
1181
+
if [ $SERVICES_OK-eq 3 ];then
1182
+
break
1177
1183
fi
1178
-
if sudo ss -tlnp 2>/dev/null | grep -q ':8080';then
1179
-
printf' [OK] Envoy listening on port 8080\n'
1180
-
SERVICES_OK=$((SERVICES_OK +1))
1181
-
else
1182
-
printf' [WARN] Envoy not listening on port 8080\n'
1184
+
1185
+
if [ $i-lt$MAX_RETRIES ];then
1186
+
printf" Waiting for services to start (attempt $i/$MAX_RETRIES)...\n"
1187
+
sleep $RETRY_DELAY
1183
1188
fi
1189
+
done
1190
+
1191
+
# Print final status
1192
+
ifcommand -v ss &> /dev/null;then
1193
+
sudo ss -tlnp 2>/dev/null | grep -q ':9050'&&printf' [OK] Mobile Location Service listening on port 9050\n'||printf' [WARN] Mobile Location Service not listening on port 9050\n'
1194
+
sudo ss -tlnp 2>/dev/null | grep -q ':9443'&&printf' [OK] mTLS Server listening on port 9443\n'||printf' [WARN] mTLS Server not listening on port 9443\n'
1195
+
sudo ss -tlnp 2>/dev/null | grep -q ':8080'&&printf' [OK] Envoy listening on port 8080\n'||printf' [WARN] Envoy not listening on port 8080\n'
1184
1196
elifcommand -v netstat &> /dev/null;then
1185
-
if sudo netstat -tlnp 2>/dev/null | grep -q ':9050';then
1186
-
printf' [OK] Mobile Location Service listening on port 9050\n'
1187
-
SERVICES_OK=$((SERVICES_OK +1))
1188
-
else
1189
-
printf' [WARN] Mobile Location Service not listening on port 9050\n'
1190
-
fi
1191
-
if sudo netstat -tlnp 2>/dev/null | grep -q ':9443';then
1192
-
printf' [OK] mTLS Server listening on port 9443\n'
1193
-
SERVICES_OK=$((SERVICES_OK +1))
1194
-
else
1195
-
printf' [WARN] mTLS Server not listening on port 9443\n'
1196
-
fi
1197
-
if sudo netstat -tlnp 2>/dev/null | grep -q ':8080';then
1198
-
printf' [OK] Envoy listening on port 8080\n'
1199
-
SERVICES_OK=$((SERVICES_OK +1))
1200
-
else
1201
-
printf' [WARN] Envoy not listening on port 8080\n'
1202
-
fi
1197
+
sudo netstat -tlnp 2>/dev/null | grep -q ':9050'&&printf' [OK] Mobile Location Service listening on port 9050\n'||printf' [WARN] Mobile Location Service not listening on port 9050\n'
1198
+
sudo netstat -tlnp 2>/dev/null | grep -q ':9443'&&printf' [OK] mTLS Server listening on port 9443\n'||printf' [WARN] mTLS Server not listening on port 9443\n'
1199
+
sudo netstat -tlnp 2>/dev/null | grep -q ':8080'&&printf' [OK] Envoy listening on port 8080\n'||printf' [WARN] Envoy not listening on port 8080\n'
1203
1200
else
1204
1201
printf' [WARN] Cannot verify ports (ss/netstat not available)\n'
0 commit comments