Repeating comment #4:

TL;DR: All series went well. Artifacs from tests attached.

==== FINAL SUMMARY (EXTENDED) ====
VMs with tests:          14
VMs all phases OK:       0 / 14 (0%)
Test success rate:       14 / 14 (100%)
-- Test Breakdown --
  ✓ Passed: 14   ✗ Failed: 0   ⏭ Skipped: 0   📊 Total: 14
  • Failures breakdown → Policy: 0   Cmd/Runtime: 0
Completed series:        jammy plucky noble
-- Fails by series (VMs failed / VMs total) --
  jammy: 0/5
  plucky: 0/4
  noble: 0/5
-- Overall Status --
  🎉 PERFECT RUN! All 14 VMs completed successfully (100%)
====================================
==== FINAL SUMMARY (GOOD / BAD / SKIP) ====
GOOD: 14
BAD:  0
SKIP: 15
-- CRITICAL SKIPS --
RUN:CREATE     = 0
RUN:IP         = 0
RUN:SSH        = 0
RUN:SSH_LOST = 0
RUN:REBOOT_SSH = 0
RUN:REBOOT_POWER = 0
RUN:CREATE_POWER = 0
-- GOOD details --
GOOD|vm=t-plucky-amd64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=plucky|type=amd64_server|size=Standard_D2s_v3|offer=ubuntu-25_04|sku=server
GOOD|vm=t-plucky-amd64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=plucky|type=amd64_minimal|size=Standard_D2s_v3|offer=ubuntu-25_04|sku=minimal
GOOD|vm=t-plucky-arm64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=plucky|type=arm64_server|size=Standard_D2ps_v6|offer=ubuntu-25_04|sku=server-arm64
GOOD|vm=t-plucky-arm64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=plucky|type=arm64_minimal|size=Standard_D2ps_v6|offer=ubuntu-25_04|sku=minimal-arm64
GOOD|vm=t-noble-amd64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=noble|type=amd64_server|size=Standard_D2s_v3|offer=ubuntu-24_04-lts|sku=server
GOOD|vm=t-noble-amd64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=noble|type=amd64_minimal|size=Standard_D2s_v3|offer=ubuntu-24_04-lts|sku=minimal
GOOD|vm=t-noble-amd64-fde-standard|test=phase1-azure-proxy-checks-and-shutdown|series=noble|type=amd64_fde|size=Standard_D2s_v3|offer=ubuntu-24_04-lts|sku=cvm
GOOD|vm=t-noble-arm64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=noble|type=arm64_server|size=Standard_D2ps_v6|offer=ubuntu-24_04-lts|sku=server-arm64
GOOD|vm=t-noble-arm64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=noble|type=arm64_minimal|size=Standard_D2ps_v6|offer=ubuntu-24_04-lts|sku=minimal-arm64
GOOD|vm=t-jammy-amd64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=jammy|type=amd64_server|size=Standard_D2s_v3|offer=0001-com-ubuntu-server-jammy|sku=22_04-lts-gen2
GOOD|vm=t-jammy-amd64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=jammy|type=amd64_minimal|size=Standard_D2s_v3|offer=0001-com-ubuntu-minimal-jammy|sku=minimal-22_04-lts-gen2
GOOD|vm=t-jammy-amd64-fde-standard|test=phase1-azure-proxy-checks-and-shutdown|series=jammy|type=amd64_fde|size=Standard_D2s_v3|offer=0001-com-ubuntu-confidential-vm-jammy|sku=22_04-lts-cvm
GOOD|vm=t-jammy-arm64-server-standard|test=phase1-azure-proxy-checks-and-shutdown|series=jammy|type=arm64_server|size=Standard_D2ps_v6|offer=0001-com-ubuntu-server-jammy|sku=22_04-lts-arm64
GOOD|vm=t-jammy-arm64-minimal-standard|test=phase1-azure-proxy-checks-and-shutdown|series=jammy|type=arm64_minimal|size=Standard_D2ps_v6|offer=0001-com-ubuntu-minimal-jammy|sku=minimal-22_04-lts-arm64
-- SKIP details (all) --
PRE:SIZE_FILTER|series=plucky|type=amd64_server|size=Standard_D2ps_v6|offer=ubuntu-25_04|sku=server|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=plucky|type=amd64_minimal|size=Standard_D2ps_v6|offer=ubuntu-25_04|sku=minimal|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:CATALOG|series=plucky|type=amd64_fde|size=*|offer=-|sku=-|vm=-|No catalog 
entry
PRE:SIZE_FILTER|series=plucky|type=arm64_server|size=Standard_D2s_v3|offer=ubuntu-25_04|sku=server-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)
PRE:SIZE_FILTER|series=plucky|type=arm64_minimal|size=Standard_D2s_v3|offer=ubuntu-25_04|sku=minimal-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)
PRE:SIZE_FILTER|series=noble|type=amd64_server|size=Standard_D2ps_v6|offer=ubuntu-24_04-lts|sku=server|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=noble|type=amd64_minimal|size=Standard_D2ps_v6|offer=ubuntu-24_04-lts|sku=minimal|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=noble|type=amd64_fde|size=Standard_D2ps_v6|offer=ubuntu-24_04-lts|sku=cvm|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=noble|type=arm64_server|size=Standard_D2s_v3|offer=ubuntu-24_04-lts|sku=server-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)
PRE:SIZE_FILTER|series=noble|type=arm64_minimal|size=Standard_D2s_v3|offer=ubuntu-24_04-lts|sku=minimal-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)
PRE:SIZE_FILTER|series=jammy|type=amd64_server|size=Standard_D2ps_v6|offer=0001-com-ubuntu-server-jammy|sku=22_04-lts-gen2|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=jammy|type=amd64_minimal|size=Standard_D2ps_v6|offer=0001-com-ubuntu-minimal-jammy|sku=minimal-22_04-lts-gen2|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=jammy|type=amd64_fde|size=Standard_D2ps_v6|offer=0001-com-ubuntu-confidential-vm-jammy|sku=22_04-lts-cvm|vm=-|ARM
 Cobalt size is not valid for amd64
PRE:SIZE_FILTER|series=jammy|type=arm64_server|size=Standard_D2s_v3|offer=0001-com-ubuntu-server-jammy|sku=22_04-lts-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)
PRE:SIZE_FILTER|series=jammy|type=arm64_minimal|size=Standard_D2s_v3|offer=0001-com-ubuntu-minimal-jammy|sku=minimal-22_04-lts-arm64|vm=-|ARM64
 requires Cobalt sizes (*pds_v6/*plds_v6/*ps_v6)


Example of execution per machine:

[INFO] [t-jammy-arm64-server-standard] Running test 'phase1-azure-proxy-
checks-and-shutdown' ...

[TEST] Enforcing azure-proxy-agent + WireServer/IMDS on VM via Azure control 
plane...
METRIC:enforceproxyagent_update_ok=1

[INFO] # --- basic VM and azure-proxy-agent service checks ---

[COMMAND] systemctl is-active azure-proxy-agent && echo METRIC:service_active=1 
|| echo METRIC:service_active=0
active
METRIC:service_active=1

[COMMAND] dpkg -s azure-proxy-agent >/dev/null 2>&1 && echo 
METRIC:service_installed=1 || echo METRIC:service_installed=0
METRIC:service_installed=1

[COMMAND] systemctl show -p ActiveState azure-proxy-agent | grep -q '=active' 
&& echo METRIC:service_running=1 || echo METRIC:service_running=0
METRIC:service_running=1

[COMMAND] systemctl show -p SubState azure-proxy-agent | grep -q '=running' && 
echo METRIC:service_substate_running=1 || echo METRIC:service_substate_running=0
METRIC:service_substate_running=1

[COMMAND] echo METRIC:systemd_failed_units=$(systemctl --failed --no-legend | 
wc -l)
METRIC:systemd_failed_units=0

[COMMAND] echo METRIC:ssh_session_ok=1
METRIC:ssh_session_ok=1

[INFO] # --- Shutdown Inhibitor Metrics ---

[COMMAND] echo METRIC:shutdown_blockers=$INHIB_BLOCK_SHUT
METRIC:shutdown_blockers=

[COMMAND] echo METRIC:shutdown_delayers=$INHIB_DELAY_SHUT
METRIC:shutdown_delayers=

[COMMAND] echo METRIC:shutdown_inhibitors=$((INHIB_BLOCK_SHUT + 
INHIB_DELAY_SHUT))
METRIC:shutdown_inhibitors=0

[INFO] # --- Clean boot systemd must be 'running' ---

[COMMAND] SYSTEM_STATE="$(systemctl is-system-running 2>/dev/null || echo 
unknown)"; [ "$SYSTEM_STATE" = "running" ] && echo 
METRIC:system_state_running=1 || echo METRIC:system_state_running=0
METRIC:system_state_running=1

[INFO] # --- cloud-init is completed ---

[COMMAND] if cloud-init status --wait >/dev/null 2>&1; then echo 
METRIC:cloud_init_done=1; else echo METRIC:cloud_init_done=0; fi
METRIC:cloud_init_done=1

[COMMAND] systemctl is-active cloud-init.service >/dev/null 2>&1 && echo 
METRIC:cloud_init_active=1 || echo METRIC:cloud_init_active=0
METRIC:cloud_init_active=1

[COMMAND] systemctl is-failed cloud-init.service  >/dev/null 2>&1 && echo 
METRIC:cloud_init_failed=1 || echo METRIC:cloud_init_failed=0
METRIC:cloud_init_failed=0

[INFO] # --- azure-proxy-agent service unit directives (systemd
dependencies) ---

[COMMAND] systemctl cat azure-proxy-agent | grep -q '^DefaultDependencies=no$' 
&& echo METRIC:svc_declares_defaultdeps_no=1 || echo 
METRIC:svc_declares_defaultdeps_no=0
METRIC:svc_declares_defaultdeps_no=1

[COMMAND] systemctl show azure-proxy-agent -p Before | grep -q 
'network-pre.target' && echo METRIC:svc_declares_before_network_pre=1 || echo 
METRIC:svc_declares_before_network_pre=0
METRIC:svc_declares_before_network_pre=1

[COMMAND] systemctl show azure-proxy-agent -p Before | grep -q 
'shutdown.target' && echo METRIC:svc_declares_before_shutdown=1 || echo 
METRIC:svc_declares_before_shutdown=0
METRIC:svc_declares_before_shutdown=1

[COMMAND] systemctl show azure-proxy-agent -p Conflicts | grep -q 
'shutdown.target' && echo METRIC:svc_declares_conflicts_shutdown=1 || echo 
METRIC:svc_declares_conflicts_shutdown=0
METRIC:svc_declares_conflicts_shutdown=1

[INFO] # --- effective boot order: azure-proxy-agent must start before
network-pre.target ---

[COMMAND] AZURE_ENTER_RAW="$(systemctl show -p ActiveEnterTimestampMonotonic 
--value azure-proxy-agent 2>/dev/null)"; NPRE_ENTER_RAW="$(systemctl show -p 
ActiveEnterTimestampMonotonic --value network-pre.target 2>/dev/null)"; 
AZURE_ENTER="${AZURE_ENTER_RAW//[^0-9]/}"; [ -z "$AZURE_ENTER" ] && 
AZURE_ENTER=0; NPRE_ENTER="${NPRE_ENTER_RAW//[^0-9]/}"; [ -z "$NPRE_ENTER" ] && 
NPRE_ENTER=0; if [ "$AZURE_ENTER" -gt 0 ] && [ "$NPRE_ENTER" -gt 0 ] && [ 
"$AZURE_ENTER" -lt "$NPRE_ENTER" ]; then echo 
METRIC:svc_started_before_network_pre=1; else echo 
METRIC:svc_started_before_network_pre=0; fi
METRIC:svc_started_before_network_pre=1

[TEST] Requesting VM shutdown and validating PowerState...
METRIC:shutdown_command_sent=0
METRIC:shutdown_reached_stopped=1
METRIC:shutdown_duration_seconds=14
[TEST] Shutdown reached stopped/deallocated.
METRIC:phase1_done=1
[INFO] [t-jammy-arm64-server-standard] Test 
'phase1-azure-proxy-checks-and-shutdown' -> GOOD
[INFO] [t-jammy-arm64-server-standard] Completed.



** Attachment added: "tests output for all the series"
   
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2125930/+attachment/5916795/+files/lts-proposed-artifacts.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125930

Title:
  [SRU] azure-proxy-agent: fix service file ordering to avoid cycle with
  cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2125930/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to