Commit graph

717 commits

Author SHA1 Message Date
Kay0u
9af4091505
stop using skipped_uris to force access of an app 2023-03-03 00:35:48 +01:00
Alexandre Aubin
06a1f367a7 metrics_stop messing with $? ... 2023-02-24 17:39:39 +01:00
Alexandre Aubin
7f45bf64ac Add default value for password-type args 2023-02-24 16:25:28 +01:00
Alexandre Aubin
1961b21f33
Forget about level 9 2023-02-24 01:25:59 +01:00
Alexandre Aubin
f514824235 metrics: move the metric start/stop around the install/upgrade/restore command, because we want to avoid being polluted by snapshot create/restore ... 2023-02-21 17:01:21 +01:00
Alexandre Aubin
fe56eb2de7 Lower the warning count complaining threshold now that postgresql warnings are hidden 2023-02-21 16:51:12 +01:00
Alexandre Aubin
f35f74ae2e metrics: fix echo flooding the logs + improve messaging + report diff between start and end, not just peak 2023-02-21 16:32:32 +01:00
Alexandre Aubin
7ca73f80b4
Merge pull request #136 from Salamandar/metrics
Add metrics measurements to tests runs
2023-02-21 15:37:38 +01:00
Alexandre Aubin
e0c4766168 Complain about 'config file manually modified' thing in summary.png and for level 7 2023-02-14 18:11:23 +01:00
Alexandre Aubin
efc9313f87 tests.toml: fix upgrade name thingy 2023-02-14 17:08:29 +01:00
Alexandre Aubin
1cc96b9533 During test upgrade from another commit, fail immediately if that commit couldnt be checkedout 2023-02-14 13:40:55 +01:00
Alexandre Aubin
caaf968b0d Zblefg apparently that ls-remote test doesnt work 2023-02-13 21:01:54 +01:00
Alexandre Aubin
a4013e414d Annnd typo 2023-02-13 20:59:38 +01:00
Alexandre Aubin
d95027ef22 More sanity checks 2023-02-13 20:55:33 +01:00
Alexandre Aubin
03cdffca88 Aaannd typo 2023-02-13 20:51:33 +01:00
Alexandre Aubin
fc08a7e515 More sanity checks 2023-02-13 20:49:41 +01:00
Alexandre Aubin
19b401cd23 Add sanity checks the the LXC exists + initial snapshot exist instead of failing miserably later 2023-02-13 20:45:26 +01:00
Alexandre Aubin
90147c25c9 Try to add stupid sleep to mitigate issue where 'lxc exec' is stuck for no reason -_- 2023-02-10 18:03:51 +01:00
Alexandre Aubin
8144a1fac0 Actually ... ci-apps is still using lxd 4.10 which has empty status when the LXC is stopped 2023-02-10 04:22:59 +01:00
Alexandre Aubin
0e62de7b6b Don't complain so much about LXC failing to stop until we are at retry=3 2023-02-10 04:12:34 +01:00
Alexandre Aubin
2ae3626050 Try to fix the witness shit blocking everything for some reason 2023-02-08 20:51:52 +01:00
Alexandre Aubin
38549cd336 More boring tricks about commands getting stuck forever.. 2023-02-08 19:51:32 +01:00
Alexandre Aubin
777cf44727 Add moar timeout because ffs a simple 'test -e' is getting stuck forever again 2023-02-08 17:32:40 +01:00
Alexandre Aubin
caafd56fed Moar damn commands getting stuck forever for no reason... 2023-02-07 12:50:04 +01:00
Alexandre Aubin
865bb6223b Apparently that stupid 'In use' bug is a glitch and can be temporarily solved by restarting the LXD daemon :| 2023-02-07 02:27:14 +01:00
Alexandre Aubin
6024170dd5 --debug is wonderfully useless 2023-02-07 02:23:26 +01:00
Alexandre Aubin
964d95966c Try to add some --debug during lxc restore snapshot to understand what the fucking hell is 'in use' T_T 2023-02-07 02:12:25 +01:00
Alexandre Aubin
3cd3e0abd0 Random sleep might help idk -_- 2023-02-07 02:03:44 +01:00
Alexandre Aubin
63527b3032 zzz typoz 2023-02-07 01:39:56 +01:00
Alexandre Aubin
5db177ccc8 Fix retry mechanism ... add another retry mechanism for LXC_STOP ... 2023-02-07 01:38:00 +01:00
Alexandre Aubin
252a3abea4 Moar boring debug stuff -_-² 2023-02-07 01:28:00 +01:00
Alexandre Aubin
6a8699873c Moar boring debug stuff -_- 2023-02-07 01:25:10 +01:00
Alexandre Aubin
17f9308c25 Typo é_è 2023-02-07 01:14:39 +01:00
Alexandre Aubin
0b871d6bfa More boring stuff to try to hunt/fix the 'Error: in use' nightmare -_- 2023-02-07 01:09:52 +01:00
Alexandre Aubin
a315eacfa7 Typos 2023-02-07 00:03:30 +01:00
Alexandre Aubin
5094fbee72 Typo :| 2023-02-06 23:59:36 +01:00
Alexandre Aubin
ba3a19cfcd Add a damn retry system when failing to stop LXC or restore snapshot ... 2023-02-06 23:58:12 +01:00
Alexandre Aubin
af359e9dfe
Merge pull request #137 from YunoHost/moar-refactoring
Moar refactoring
2023-02-06 18:33:24 +01:00
Alexandre Aubin
83d4d8f292 tests.toml: fix issue when manifest contains questions with no default 2023-02-03 15:19:38 +01:00
Alexandre Aubin
9c5e62ad6d
README: add test ids that can be used in exclude/only statement 2023-02-03 15:06:55 +01:00
Alexandre Aubin
9fcc476cf3 Fix issue with curl hanging forever 2023-02-03 02:01:20 +01:00
Alexandre Aubin
67a628ad6e Force the use of most recent base LXC T.T 2023-02-03 01:42:00 +01:00
Alexandre Aubin
25dadd002c Fixes after tests on the battlefield 2023-01-28 04:13:46 +01:00
Alexandre Aubin
a65f16dd08 Moar refactoring 2023-01-27 22:47:53 +01:00
f0e844d260 Add metrics measurements to tests runs 2023-01-20 14:56:33 +01:00
Alexandre Aubin
6197e36e21
Merge pull request #135 from Salamandar/int_to_enum
Use text instead of integers for stop_timer argument
2023-01-20 14:08:49 +01:00
98f806b9ec Use text instead of integers for stop_timer argument 2023-01-20 13:46:36 +01:00
Alexandre Aubin
7aa254d9fb
Moar tests.toml 2023-01-20 00:29:36 +01:00
Alexandre Aubin
d2529fee7e Tweak preinstall/preupgrade syntax + document new tests.toml syntax 2023-01-20 00:26:40 +01:00
Alexandre Aubin
6a0f807b35 We probably want to install python's toml lib automatically 2023-01-20 00:06:15 +01:00