Repository navigation
Commit ead0f4a
Fix remaining Ubuntu 26.04 CI failures across systemd, docker, and apt tests
- systemd_service: guard _runlevel() against a missing `runlevel` binary
(Ubuntu 26.04 ships without sysvinit-utils) instead of passing None into
cmd.run and crashing with IndexError; this was breaking test_service.py
across the unit, functional/modules, and functional/states suites
- dockermod: ignore the live `Status`/IPAM-usage field in compare_networks(),
which was leaking into docker_network.present's changes dict and failing
test_docker_network.py
- test_debian (pkgrepo): apply the same apt-key/signed-by fallback used by
every other test in the file to the multiple_comps_state_tree fixture, so
it doesn't hit "missing 'signedby' option" on Ubuntu 26.04's apt-key-less apt
- test_system: broaden the teardown except clause to also catch
CommandExecutionError, not just AssertionError, so a failed date restore
doesn't crash setup_teardown_vars and leak state into later tests
- mysql test support: generate each MySQLCombo's container_id fresh per
module-fixture instantiation instead of once at import time, so
cache/modules/states test_mysql.py (and reruns) stop colliding on the same
fixed container name1 parent 4431dc7 commit ead0f4a
5 files changed
Lines changed: 24 additions & 35 deletions
File tree
- salt/modules
- tests
- pytests/functional
- modules
- states/pkgrepo
- support/pytest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
| 1291 | + | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | | - | |
| 1303 | + | |
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
295 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
296 | 300 | | |
297 | 301 | | |
298 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
322 | 326 | | |
323 | 327 | | |
324 | 328 | | |
325 | | - | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
336 | | - | |
| 340 | + | |
337 | 341 | | |
338 | 342 | | |
339 | 343 | | |
| |||
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| 349 | + | |
345 | 350 | | |
346 | 351 | | |
347 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 66 | + | |
74 | 67 | | |
75 | 68 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 69 | + | |
83 | 70 | | |
84 | 71 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 72 | + | |
92 | 73 | | |
93 | 74 | | |
94 | 75 | | |
| |||
112 | 93 | | |
113 | 94 | | |
114 | 95 | | |
115 | | - | |
116 | 96 | | |
117 | 97 | | |
118 | 98 | | |
| |||
0 commit comments