promise/plugin/check_lopcomm_*: Skip all promises when testing=True
When testing is True we do not have hardware around and only check generated configuration files. Most lopcomm promises were already skipping themselves under testing=True environment, but check_lopcomm_config_log and check_lopcomm_stats_log were missing testing checks. This leads to test failures when trying to test ors-amarisoft with Lopcomm driver in my upcoming work via [1] e.g. as ================================================================================ Error with promises for the following partitions: TestENB_Lopcomm4-0[enb]: Promise 'RU1-stats-log.py' failed with output: Not subscribed -> Fix it by making sure `testing==True` checks are present in all promises related to lopcomm. P.S. in current ors-amarisoft Lopcomm driver is not tested at all: even though we have testFDD-LOPCOMM.py there[2] `python unittest discover ...` does not pick up test files with dash in their name. This is also true for all other dashed test files. Currently only testTDD.py and testFDD.py are run during the tests there. [1] https://lab.nexedi.com/kirr/slapos/blob/5b8ec2b3/software/ors-amarisoft/test/test.py [2] https://lab.nexedi.com/nexedi/slapos/tree/15871bbf/software/ors-amarisoft/test /cc @lu.xu, @tomo, @xavier_thompson, @Daetalus /reviewed-by @jhuge /reviewed-on !129
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#649677
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:27
|
||||||
passed |
#643695
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:24:20
|
||||||
passed |
#643802
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:06
|
||||||
passed |
#643877
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:21:44
|
||||||
passed |
#643926
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:03
|
||||||
passed |
#643963
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:23:53
|
||||||
passed |
#644092
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:28
|
||||||
passed |
#644160
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:35:22
|
||||||
passed |
#644188
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:55
|
||||||
passed |
#644294
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:23:18
|
||||||
passed |
#644346
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:20:13
|
||||||
passed |
#644490
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:09
|
||||||
passed |
#644528
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:45
|
||||||
passed |
#644610
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:21
|
||||||
failed |
#644644
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:49
|
||||||
failed |
#644709
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:22:40
|
||||||
passed |
#644792
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:29:26
|
||||||
failed |
#644890
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:22:00
|
||||||
failed |
#644951
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:21:36
|
||||||
failed |
#644996
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:51
|
||||||
passed |
#645033
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:27:23
|
||||||
passed |
#645350
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:48
|
||||||
passed |
#645445
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:50
|
||||||
passed |
#645520
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:13
|
||||||
passed |
#645990
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:55
|
||||||
passed |
#646113
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:56
|
||||||
passed |
#646147
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:43
|
||||||
passed |
#646202
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:14
|
||||||
passed |
#646242
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:28
|
||||||
failed |
#646274
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:49
|
||||||
failed |
#646339
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:17
|
||||||
passed |
#646449
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:14
|
||||||
failed |
#646654
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:21
|
||||||
failed |
#646722
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:11
|
||||||
failed |
#646763
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:10
|
||||||
passed |
#646800
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:20:39
|
||||||
failed |
#646822
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:42
|
||||||
passed |
#646863
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:02
|
||||||
passed |
#646953
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:22
|
||||||
passed |
#647186
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:53
|
||||||
passed |
#647247
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:38
|
||||||
passed |
#647371
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:13
|
||||||
passed |
#647399
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:42
|
||||||
passed |
#647444
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:58
|
||||||
passed |
#647518
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:22
|
||||||
passed |
#647533
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:40
|
||||||
passed |
#647575
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:25
|
||||||
passed |
#647625
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:05
|
||||||
passed |
#647755
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:40
|
||||||
failed |
#647917
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:44
|
||||||
passed |
#648060
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:13
|
||||||
passed |
#648090
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:25
|
||||||
passed |
#648155
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:36
|
||||||
passed |
#648189
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:23
|
||||||
passed |
#648303
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:02
|
||||||
failed |
#648350
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:48
|
||||||
passed |
#648472
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:32
|
||||||
passed |
#648510
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:39
|
||||||
passed |
#648542
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:57
|
||||||
passed |
#648641
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:41
|
||||||
passed |
#648839
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:53
|
||||||
passed |
#648924
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:06
|
||||||
passed |
#649014
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:27
|
||||||
passed |
#649058
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:57
|
||||||
passed |
#649297
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:21:25
|
||||||