Commit 3b0174b
Mask apt-daily timers in SPEC CPU profiles to prevent VC restarts on Ubuntu 24.04 (#694)
* Mask apt-daily timers in SPEC CPU profiles to prevent VC restarts on Ubuntu 24.04
On Ubuntu 24.04, apt-daily-upgrade.timer fires between 06:00-07:00 UTC
and triggers needrestart (default installed on 24.04, not 22.04) which
auto-restarts services whose libraries were updated. This has been
observed to SIGKILL VirtualClient mid-run, desynchronizing packed
SPEC CPU experiments and invalidating results.
Analysis of ~4,700 Ubuntu 24.04 SYSAUTO VMs showed ~29% restart rate,
with 80% concentrated at hour 6 UTC and minute-of-hour distribution
uniform 0-59 (signature of RandomizedDelaySec=60min on the timer).
Ubuntu 22.04, Windows, and focal VMs showed 0% restarts in the same
window.
Masking both apt-daily.timer and apt-daily-upgrade.timer (plus their
services) as a dependency step at profile startup removes the trigger.
Filtered to linux-x64,linux-arm64 via SupportedPlatforms.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Bump VERSION to 3.1.2 for apt-daily mask change
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Alex Williams-Ferreira <alexwill@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f290a2e commit 3b0174b
5 files changed
Lines changed: 33 additions & 1 deletion
File tree
- src/VirtualClient/VirtualClient.Main/profiles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
0 commit comments