Commit 82410e1
committed
kola/multipath: wait for systemd firstboot target
Although `mpath-var-lib-containers.service` is set to only run on first
boot, it sometime runs twice when the system reboots too early.
Sometimes, in low load CI environement, the reboot in this test happens
before systemd's `first-boot-complete.target` is reached. This make
`ConditionFirstBoot` to still be true at the next boot, causing the
mpath service to fail, because it already ran during the actual first
boot.
A previous attempt[1] at fixing this improved the flake but this happened
again and i noticed that systemd didn't reach this target before the
reboot:
`Reached target first-boot-complete.target - First Boot Complete` is
only shown after the second boot in the logs.
Likely fixes coreos/rhel-coreos-config#66
[1] abd0c181 parent ca8e932 commit 82410e1
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| |||
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| 196 | + | |
| 197 | + | |
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
0 commit comments