Commit a04563b
Updating app reboot logic to make ACL_2_10 test more reliable and consistent (project-chip#43069)
* Updating app reboot logic to make ACL_2_10 test more reliable and consistent
* Re-enabling ACL_2_10 and AVSM tests as the updated reboot logic should make these tests more stable in CI
* Restyled by ruff
* Increasing reboot duration timeout to allow more time for app reboot to complete in CI
* Update test_metadata.yaml
Re-adding AVSM 2 18-21 to verify the current fix for the reboot logic works for ACL_2_10.
* Update test_metadata.yaml
Restoring location of the AVSM tests in test_metadata.yaml to match with master
* Reenabled AVSM tests that were disabled in CI by removing them from the tests_metadata.yaml script after reestablishing multiple reboots scenario again in matter_testing module and validating it worked with the camera app locally, added comment that factory reset is being implemented by Raul in PR 42848, moved allow_multiple_restarts var into if check for restart mode in app reboot monitor, changes timeout var name to timeout_sec
* Restyled by ruff
* Restyled by autopep8
* Resolving linting error with trailing whitespace in test runner
* Updating comment in test runner for factory reset functionality placeholder, and updating value written to restart flag file for restart_once functionality
* Resolving linting error
* Apply suggestions from code review by Andrei
Co-authored-by: Andrei Litvin <andy314@gmail.com>
* Removed logic for single reboot now that the reboot logic holds firmly until after the app-ready-pattern and restart flag file is removed
* Restyled by ruff
* align reset and reboot logic
* Restyled by ruff
* Restyled by autopep8
* Update src/python_testing/matter_testing_infrastructure/matter/testing/matter_testing.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Applying suggestions from Cecille, while adding Raul's logic for if check of reset_type var to gate factory_reset_config_removal call in order to avoidr issues with reboot logic
* Update scripts/tests/run_python_test.py
Co-authored-by: Andrei Litvin <andy314@gmail.com>
---------
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Andrei Litvin <andy314@gmail.com>
Co-authored-by: Raul Marquez <rmarquez@csa-iot.org>
Co-authored-by: Raul Marquez <130402456+raul-marquez-csa@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 4500157 commit a04563b
3 files changed
Lines changed: 34 additions & 36 deletions
File tree
- scripts/tests
- src/python_testing
- matter_testing_infrastructure/matter/testing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 374 | | |
| 375 | + | |
378 | 376 | | |
379 | 377 | | |
| 378 | + | |
380 | 379 | | |
381 | 380 | | |
382 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
| |||
401 | 406 | | |
402 | 407 | | |
403 | 408 | | |
404 | | - | |
405 | | - | |
| 409 | + | |
| 410 | + | |
406 | 411 | | |
407 | 412 | | |
408 | 413 | | |
| |||
414 | 419 | | |
415 | 420 | | |
416 | 421 | | |
417 | | - | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| 1514 | + | |
| 1515 | + | |
1514 | 1516 | | |
1515 | | - | |
| 1517 | + | |
1516 | 1518 | | |
1517 | 1519 | | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
| 1520 | + | |
1521 | 1521 | | |
1522 | | - | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1523 | 1526 | | |
1524 | 1527 | | |
1525 | 1528 | | |
| |||
1559 | 1562 | | |
1560 | 1563 | | |
1561 | 1564 | | |
1562 | | - | |
1563 | | - | |
1564 | 1565 | | |
1565 | 1566 | | |
1566 | 1567 | | |
1567 | 1568 | | |
| 1569 | + | |
| 1570 | + | |
1568 | 1571 | | |
1569 | 1572 | | |
1570 | 1573 | | |
1571 | 1574 | | |
1572 | 1575 | | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1573 | 1586 | | |
1574 | 1587 | | |
1575 | 1588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 16 | | |
33 | 17 | | |
34 | 18 | | |
| |||
210 | 194 | | |
211 | 195 | | |
212 | 196 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 197 | | |
218 | 198 | | |
219 | 199 | | |
| |||
0 commit comments