kr_rplan_pop(): avoid reordering kr_rplan::pending

- It's not ideal, but this will need significant overhaul anyway when
  "parallel queries" get implemented.
- I didn't put this into array.h, as we don't seem likely to need it
  anywhere else and implementation in macros would be ugly.
- It's unclear whether this "bug" could cause anything in practice.
69 jobs for kr_rplan_pop-slide in 61 minutes and 7 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build
passed #219886
amd64 linux docker
build:asan:linux:amd64

00:01:15

passed #219885
amd64 linux docker
build:linux:amd64

00:01:08

passed #219887
amd64 linux docker allowed to fail
srpm

00:00:43

canceled #219855
amd64 linux docker
build:asan:linux:amd64

00:00:04

canceled #219854
amd64 linux docker
build:linux:amd64

00:00:04

canceled #219856
amd64 linux docker allowed to fail
srpm

00:00:04

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

00:01:44

passed #219904
privileged
distro:epel-7

00:01:59

passed #219903
privileged
distro:fedora-29

00:02:41

passed #219895
docker
doc

00:00:47

passed #219893
dind
docker:build

00:02:15

passed #219894
amd64 linux docker
installcheck:linux:amd64

00:01:02

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

00:01:46

passed #219890
docker
lint:c

00:02:47

passed #219891
docker
lint:clang-scan-build

00:01:11

passed #219889
docker
lint:lua

00:00:26

passed #219888
amd64 linux docker
lint:pedantic

00:01:33

passed #219898
docker
osx:build

00:01:24

passed #219900
amd64 linux docker
pytests:lint

00:00:41

passed #219901
amd64 linux docker
pytests:run

00:01:57

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

00:02:08

passed #219892
amd64 linux docker
test:linux:amd64

00:00:57

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

00:01:17

canceled #219865
amd64 linux docker
deckard:linux:amd64

canceled #219873
privileged
distro:epel-7

canceled #219872
privileged
distro:fedora-29

canceled #219864
docker
doc

canceled #219862
dind
docker:build

canceled #219863
amd64 linux docker
installcheck:linux:amd64

failed #219897
amd64 linux docker
installcheck:valgrind:linux:amd64

00:01:54

canceled #219866
amd64 linux docker
installcheck:valgrind:linux:amd64

canceled #219859
docker
lint:c

canceled #219860
docker
lint:clang-scan-build

canceled #219858
docker
lint:lua

canceled #219857
amd64 linux docker
lint:pedantic

canceled #219867
docker
osx:build

canceled #219869
amd64 linux docker
pytests:lint

canceled #219870
amd64 linux docker
pytests:run

canceled #219871
amd64 linux docker
respdiff:iter:udp:linux:amd64

canceled #219861
amd64 linux docker
test:linux:amd64

canceled #219868
amd64 linux docker
test:linux:amd64:valgrind

 
  Extended
passed #219905
amd64 linux docker
pytests:extended

00:03:25

passed #219938
respdiff
respdiff:fwd-tls6-kresd.udp6

00:08:11

passed #219907
respdiff
respdiff:fwd-udp6-kresd.udp6

00:11:52

passed #219925
respdiff
respdiff:fwd-udp6-unbound.tcp6

00:09:11

passed #219926
respdiff
respdiff:fwd-udp6-unbound.tls6

00:18:42

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

00:20:13

failed #219924
respdiff
respdiff:iter.tls6

00:22:42

passed #219908
respdiff
respdiff:iter.udp6

00:18:24

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

00:23:49

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

00:29:19

passed #219915
respdiff
resperf:iter.udp-asan

00:15:48

canceled #219874
amd64 linux docker
pytests:extended

canceled #219875
respdiff
respdiff:fwd-tls6-kresd.udp6

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

00:18:23

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

00:19:38

canceled #219876
respdiff
respdiff:fwd-udp6-kresd.udp6

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

00:25:53

canceled #219880
respdiff
respdiff:fwd-udp6-unbound.tcp6

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

00:28:23

canceled #219881
respdiff
respdiff:fwd-udp6-unbound.tls6

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

00:27:53

canceled #219879
respdiff
respdiff:fwd-udp6-unbound.udp6

failed #219909
respdiff
respdiff:iter.tls6

00:12:48

canceled #219878
respdiff
respdiff:iter.tls6

canceled #219877
respdiff
respdiff:iter.udp6

canceled #219882
respdiff
resperf:fwd-tls6.udp-asan

canceled #219883
respdiff
resperf:fwd-udp6.udp-asan

canceled #219884
respdiff
resperf:iter.udp-asan

 
Name Stage Failure
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=191067 revision=f100a208 version=11.6.0
./j*: found 14 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=219927 responseStatus=201 Created token=sP-Xs5_4
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=190219 revision=f100a208 version=11.6.0
./j*: found 14 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=219924 responseStatus=201 Created token=JzMP1kpx
ERROR: Job failed: exit status 1