promise/plugin/check_cpri_lock: Fix it to work ok with Amarisoft 2022

Old Amarisoft versions emit data that is different compared to what 640c0130 expected:

- there can be trailing spaces after /dev/sdrX@Y
  fix: adjust /dev/sdr regex
- there is empty line coming in the end that fas failing in l.split(':', 1)
  fix: ignore empty lines and make detection of : in the line more
       robust with reporting which line is not valid instead of just
       "ERROR not enough values to unpack (expected 2, got 1)"
- there is CPRI key instead of CPRI_option, and the data in both are different.
  fix: detect automatically whether it is CPRI_option or CPRI option that is present.

/co-authored-by lu.xu <lu.xu@nexedi.com>
/reviewed-on !132
45 jobs for master in 0 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  External
failed SlapOS.Eggs.UnitTest-Master.Python3

00:29:36

failed SlapOS.Eggs.UnitTest-Master.Python3

00:31:05

failed SlapOS.Eggs.UnitTest-Master.Python3

00:33:13

failed SlapOS.Eggs.UnitTest-Master.Python3

00:35:45

failed SlapOS.Eggs.UnitTest-Master.Python3

00:31:35

failed SlapOS.Eggs.UnitTest-Master.Python3

00:30:22

failed SlapOS.Eggs.UnitTest-Master.Python3

00:28:50

failed SlapOS.Eggs.UnitTest-Master.Python3

01:49:05

failed SlapOS.Eggs.UnitTest-Master.Python3

00:30:06

failed SlapOS.Eggs.UnitTest-Master.Python3

00:48:38

failed SlapOS.Eggs.UnitTest-Master.Python3

00:45:42

failed SlapOS.Eggs.UnitTest-Master.Python3

00:16:47

failed SlapOS.Eggs.UnitTest-Master.Python3

00:20:34

failed SlapOS.Eggs.UnitTest-Master.Python3

00:24:29

failed SlapOS.Eggs.UnitTest-Master.Python3

00:17:24

failed SlapOS.Eggs.UnitTest-Master.Python3

02:34:21

failed SlapOS.Eggs.UnitTest-Master.Python3

02:33:10

failed SlapOS.Eggs.UnitTest-Master.Python3

00:20:41

failed SlapOS.Eggs.UnitTest-Master.Python3

00:17:31

failed SlapOS.Eggs.UnitTest-Master.Python3

00:18:19

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:38

failed SlapOS.Eggs.UnitTest-Master.Python3

00:36:32

failed SlapOS.Eggs.UnitTest-Master.Python3

00:17:08

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:31

failed SlapOS.Eggs.UnitTest-Master.Python3

00:18:13

failed SlapOS.Eggs.UnitTest-Master.Python3

00:18:28

failed SlapOS.Eggs.UnitTest-Master.Python3

01:55:00

failed SlapOS.Eggs.UnitTest-Master.Python3

00:16:23

failed SlapOS.Eggs.UnitTest-Master.Python3

00:32:11

failed SlapOS.Eggs.UnitTest-Master.Python3

00:40:59

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:48

failed SlapOS.Eggs.UnitTest-Master.Python3

00:32:09

failed SlapOS.Eggs.UnitTest-Master.Python3

00:31:56

failed SlapOS.Eggs.UnitTest-Master.Python3

08:19:24

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:02

failed SlapOS.Eggs.UnitTest-Master.Python3

00:27:15

failed SlapOS.Eggs.UnitTest-Master.Python3

00:30:26

failed SlapOS.Eggs.UnitTest-Master.Python3

00:20:25

failed SlapOS.Eggs.UnitTest-Master.Python3

00:17:27

failed SlapOS.Eggs.UnitTest-Master.Python3

00:14:59

failed SlapOS.Eggs.UnitTest-Master.Python3

00:26:39

failed SlapOS.Eggs.UnitTest-Master.Python3

00:20:31

failed SlapOS.Eggs.UnitTest-Master.Python3

00:29:54

failed SlapOS.Eggs.UnitTest-Master.Python3

00:15:06

failed SlapOS.Eggs.UnitTest-Master.Python3

00:26:19