Commit 701cf2f
committed
CI: pass --user root to nvidia-persistenced after Linux driver swap
nvidia-persistenced defaults to `--user nvidia-persistenced`, which
our apt-purge of `nvidia-compute-utils-*` removed. Without that user
the daemon's setuid(3) post-fork fails and the process exits silently
-- the `nvidia-smi -pm 1` right after sees Persistence-M briefly On
(daemon held it), then it flips back to Off (daemon gone), and the
test container's NVML SET call later returns NVML_ERROR_UNKNOWN.
Pass --user root so the daemon doesn't depend on a user account that
the purge deleted. Also add a `pgrep nvidia-persistenced` + `ls -la
/run/nvidia-persistenced/` diagnostic so the next CI log proves the
daemon is alive when the test starts.1 parent 3dfaa84 commit 701cf2f
1 file changed
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
132 | 143 | | |
133 | 144 | | |
134 | 145 | | |
| |||
0 commit comments