lib/nsrep: randomize the order of NS names

... as input into the *unchanged* algorithm (which is ugly).
This partially addresses the problem attempted by reverted commit,
and it also improves some other properties of the algorithm.
30 jobs for nsrep-fixes in 103 minutes and 43 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Build
passed #306233
amd64 linux docker
archive

00:00:39

passed #306234
amd64 linux docker
build

00:00:49

passed #306235
amd64 linux docker
build-asan

00:00:49

passed #306236
docker
kres-gen

00:00:46

 
  Test
passed #306237
docker delayed
build:darwin

00:00:53

passed #306238
amd64 linux docker
deckard

00:02:18

passed #306239
docker delayed
doc

00:00:56

passed #306240
dind
docker

00:02:03

passed #306241
docker delayed
lint:other

00:00:51

passed #306242
amd64 linux docker delayed
lint:pedantic

00:01:04

passed #306243
amd64 linux docker
lint:scan-build

00:02:18

passed #306244
amd64 linux docker
lint:tidy

00:02:58

passed #306245
privileged
pkg:epel-7

00:01:52

passed #306246
privileged
pkg:fedora-29

00:02:37

passed #306247
amd64 linux docker
respdiff:basic

00:02:24

passed #306248
amd64 linux docker delayed
test:valgrind

00:01:57

 
  Extended
failed #306300
respdiff
fwd-tls6-kresd.udp6

00:13:43

passed #306301
respdiff
fwd-udp6-kresd.udp6

00:20:43

failed #306255
respdiff
fwd-udp6-unbound.tcp6

00:45:25

passed #306256
respdiff
fwd-udp6-unbound.tls6

01:07:57

passed #306254
respdiff
fwd-udp6-unbound.udp6

01:08:57

failed #306302
respdiff
iter.tls6

00:28:14

passed #306252
respdiff
iter.udp6

00:39:53

passed #306249
amd64 linux docker
pytests

00:04:04

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

00:53:51

failed #306258
respdiff
resperf:fwd-udp6.udp-asan

00:48:50

passed #306259
respdiff
resperf:iter.udp-asan

00:56:21

failed #306250
respdiff
fwd-tls6-kresd.udp6

00:53:56

failed #306251
respdiff
fwd-udp6-kresd.udp6

01:00:26

passed #306253
respdiff
iter.tls6

00:43:53

 
Name Stage Failure
failed
iter.tls6 Extended
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
$ cat respdiff_commitdir/$RESPDIFF_TEST/*histogram.tar.gz | tar -xf - -i ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=145755 revision=a8a019e0 version=12.3.0
./j*: found 19 matching files

./*.png: found 2 matching files

./*histogram/*: found 7 matching files

Uploading artifacts to coordinator... ok
id=306302 responseStatus=201 Created token=Zvm6TJj4
ERROR: Job failed: exit status 1
failed
fwd-tls6-kresd.udp6 Extended
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
$ cat respdiff_commitdir/$RESPDIFF_TEST/*histogram.tar.gz | tar -xf - -i ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=143556 revision=a8a019e0 version=12.3.0
./j*: found 18 matching files

./*.png: found 2 matching files

./*histogram/*: found 6 matching files

Uploading artifacts to coordinator... ok
id=306300 responseStatus=201 Created token=DFYfPaPX
ERROR: Job failed: exit status 1
failed
resperf:fwd-udp6.udp-asan Extended
kresd_fwd_target_1  | SUMMARY: AddressSanitizer: 32800 byte(s) leaked in 2 allocation(s).
$ exit $EXITCODE
Running after script...
$ cp -t . resperf_commitdir/$RESPERF_TEST/j* ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=129307 revision=a8a019e0 version=12.3.0
./j*: found 7 matching files

Uploading artifacts to coordinator... ok
id=306258 responseStatus=201 Created token=u-uf2nTD
ERROR: Job failed: exit status 1
failed
fwd-udp6-unbound.tcp6 Extended
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
$ cat respdiff_commitdir/$RESPDIFF_TEST/*histogram.tar.gz | tar -xf - -i ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=128819 revision=a8a019e0 version=12.3.0
./j*: found 18 matching files

./*.png: found 2 matching files

./*histogram/*: found 6 matching files

Uploading artifacts to coordinator... ok
id=306255 responseStatus=201 Created token=fmB-LTzP
ERROR: Job failed: exit status 1