Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Exercise updater smoke trap cleanup past its explicit runtime handoff
pulse-triage[bot]cd1d162e30c0
diff --git a/scripts/tests/test-pulse-auto-update.sh b/scripts/tests/test-pulse-auto-update.shindex bd1819f925..be15b357e7 100755--- a/scripts/tests/test-pulse-auto-update.sh+++ b/scripts/tests/test-pulse-auto-update.sh@@ -443,9 +443,25 @@ INSTALLER}sleep() { :; }+ # This is a RETURN-trap control with a simulated manager and script binary,+ # not a Linux process-identity test. Supply its verification handoff explicitly+ # and require it to be reached for the exact service/new version. Real /proc+ # refusals remain in test_auto_update_service_state.py and native CI.+ AUTOUPDATE_TRAP_RUNTIME_VERIFICATIONS=0+ verify_update_running_executable() {+ [[ $# -eq 1 && "$1" == pulse ]] || return 1+ ((AUTOUPDATE_TRAP_RUNTIME_VERIFICATIONS += 1))+ [[ "$(get_current_version)" == v5.1.25 ]]+ }+trap - RETURN 2>/dev/null || trueperform_update "v5.1.25" || status=1+ if (( AUTOUPDATE_TRAP_RUNTIME_VERIFICATIONS != 1 )); then+ echo "successful trap control did not reach its running-executable handoff exactly once" >&2+ status=1+ fi+local leakedleaked="$(trap -p RETURN)"if [[ -n "$leaked" ]]; then@@ -462,6 +478,10 @@ INSTALLERecho "perform_update leaked a RETURN trap on the prerelease refusal path: ${leaked}" >&2status=1fi+ if (( AUTOUPDATE_TRAP_RUNTIME_VERIFICATIONS != 1 )); then+ echo "prerelease refusal unexpectedly reached running-executable verification" >&2+ status=1+ fitrap - RETURN 2>/dev/null || truerm -rf "${tmpdir}"