modules/policy: support '#' for separating port numbers

and deduplicate the parsing logic.
32 jobs from addr-split-port in 27 minutes and 40 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #237891
docker linux amd64
build:asan:linux:amd64

00:01:23

passed #237890
docker linux amd64
build:linux:amd64

00:01:24

passed #237892
docker linux amd64
build:turris:omnia

00:01:20

passed #237893
docker linux amd64 allowed to fail
srpm

00:00:53

 
  Test
passed #237902
docker linux amd64
deckard:linux:amd64

00:02:03

passed #237910
privileged
distro:epel-7

00:02:46

passed #237909
privileged
distro:fedora-29

00:03:14

passed #237901
docker
doc

00:00:51

passed #237899
dind
docker:build

00:02:45

passed #237900
docker linux amd64
installcheck:linux:amd64

00:01:22

passed #237903
docker linux amd64
installcheck:valgrind:linux:amd64

00:02:16

passed #237896
docker
lint:c

00:02:38

passed #237897
docker
lint:clang-scan-build

00:01:30

passed #237895
docker
lint:lua

00:00:26

passed #237894
docker linux amd64
lint:pedantic

00:01:22

passed #237904
docker
osx:build

00:02:21

passed #237906
docker linux amd64
pytests:lint

00:00:55

passed #237907
docker linux amd64
pytests:run

00:02:08

passed #237908
docker linux amd64
respdiff:iter:udp:linux:amd64

00:02:36

passed #237898
docker linux amd64
test:linux:amd64

00:01:15

passed #237905
docker linux amd64
test:linux:amd64:valgrind

00:01:41

 
  Extended
passed #237911
docker linux amd64
pytests:extended

00:03:10

failed #237912
respdiff
respdiff:fwd-tls6-kresd.udp6

00:08:21

failed #237913
respdiff
respdiff:fwd-udp6-kresd.udp6

00:10:20

failed #237917
respdiff
respdiff:fwd-udp6-unbound.tcp6

00:08:51

failed #237918
respdiff
respdiff:fwd-udp6-unbound.tls6

00:14:52

failed #237916
respdiff
respdiff:fwd-udp6-unbound.udp6

00:20:52

failed #237915
respdiff
respdiff:iter.tls6

00:22:53

failed #237914
respdiff
respdiff:iter.udp6

00:14:22

passed #237919
respdiff
resperf:fwd-tls6.udp-asan

00:12:47

passed #237920
respdiff
resperf:fwd-udp6.udp-asan

00:19:48

failed #237921
respdiff
resperf:iter.udp-asan

00:14:17

 
Name Stage Failure
failed
respdiff:fwd-tls6-kresd.udp6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33178 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237912 responseStatus=201 Created token=TtpX9CGw
ERROR: Job failed: exit status 1
failed
respdiff:iter.udp6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33617 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237914 responseStatus=201 Created token=Q1P_Fwuh
ERROR: Job failed: exit status 1
failed
respdiff:fwd-udp6-kresd.udp6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33380 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237913 responseStatus=201 Created token=-hmP6YGr
ERROR: Job failed: exit status 1
failed
respdiff:iter.tls6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=34005 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237915 responseStatus=201 Created token=BxccG8s5
ERROR: Job failed: exit status 1
failed
resperf:iter.udp-asan Extended
Attaching to dir_14395_kresd_1
$ exit $EXITCODE
Running after script...
$ cp -t . resperf_commitdir/$RESPERF_TEST/j* ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33579 revision=4745a6f3 version=11.8.0
./j*: found 7 matching files
Uploading artifacts to coordinator... ok id=237921 responseStatus=201 Created token=PMvPfaym
ERROR: Job failed: exit status 139
failed
respdiff:fwd-udp6-unbound.tcp6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33244 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237917 responseStatus=201 Created token=HKfQNsJv
ERROR: Job failed: exit status 1
failed
respdiff:fwd-udp6-unbound.tls6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33678 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237918 responseStatus=201 Created token=dbkvzeLB
ERROR: Job failed: exit status 1
failed
respdiff:fwd-udp6-unbound.udp6 Extended
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=33903 revision=4745a6f3 version=11.8.0
./j*: found 11 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=237916 responseStatus=201 Created token=RkXSGfCc
ERROR: Job failed: exit status 1