Ensure all zone_settimer() calls are done on locked zone

(cherry picked from commit cf48e8eb)
72 jobs for !2770 with 1423-threadsanitizer-data-race-time-c-170-in-isc_time_nowplusinterval-v9_11 in 22 minutes and 15 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed #475760
amd64 linux
🐞:sid:amd64

00:01:39

passed #475758
amd64 linux
autoreconf:sid:amd64

00:00:35

passed #475759
amd64 linux
misc:sid:amd64

00:00:21

 
  Build
passed #475773
amd64 linux
asan:sid:amd64

00:02:38

passed #475778
amd64 freebsd
clang:freebsd11.3:amd64

00:01:42

passed #475779
amd64 freebsd
clang:freebsd12.0:amd64

00:01:23

passed #475780
amd64 openbsd
clang:openbsd6.5:amd64

00:06:16

passed #475774
amd64 linux
clang:stretch:amd64

00:01:24

passed #475775
i386 linux
clang:stretch:i386

00:02:00

passed #475761
amd64 linux
gcc:alpine3.10:amd64

00:03:24

passed #475772
amd64 linux
gcc:bionic:amd64

00:01:49

passed #475767
amd64 linux
gcc:buster:amd64

00:01:38

passed #475762
amd64 linux
gcc:centos6:amd64

00:02:23

passed #475763
amd64 linux
gcc:centos7:amd64

00:02:58

passed #475764
amd64 linux
gcc:centos8:amd64

00:03:08

passed #475770
amd64 linux
gcc:fedora31:amd64

00:03:08

passed #475765
amd64 linux
gcc:jessie:amd64

00:01:42

passed #475768
amd64 linux
gcc:sid:amd64

00:05:02

passed #475769
i386 linux
gcc:sid:i386

00:01:54

passed #475766
amd64 linux
gcc:stretch:amd64

00:01:19

passed #475771
amd64 linux
gcc:xenial:amd64

00:01:13

passed #475782
amd64 windows
msvc:windows:amd64

00:02:23

passed #475776
amd64 linux
nocrypto:sid:amd64

00:02:52

passed #475781
amd64 linux
nolibtool:sid:amd64

00:03:29

passed #475777
amd64 linux
pkcs11:sid:amd64

00:01:53

 
  Unit
passed #475795
amd64 linux
unit:asan:sid:amd64

00:01:50

passed #475799
amd64 freebsd
unit:clang:freebsd11.3:amd64

00:00:45

passed #475800
amd64 freebsd
unit:clang:freebsd12.0:amd64

00:00:24

passed #475796
amd64 linux
unit:clang:stretch:amd64

00:00:45

passed #475783
amd64 linux
unit:gcc:alpine3.10:amd64

00:00:56

passed #475794
amd64 linux
unit:gcc:bionic:amd64

00:00:59

passed #475789
amd64 linux
unit:gcc:buster:amd64

00:00:53

passed #475784
amd64 linux
unit:gcc:centos6:amd64

00:01:00

passed #475785
amd64 linux
unit:gcc:centos7:amd64

00:00:55

passed #475786
amd64 linux
unit:gcc:centos8:amd64

00:01:07

passed #475792
amd64 linux
unit:gcc:fedora31:amd64

00:01:05

passed #475787
amd64 linux
unit:gcc:jessie:amd64

00:00:15

passed #475790
amd64 linux
unit:gcc:sid:amd64

00:00:49

passed #475791
i386 linux
unit:gcc:sid:i386

00:00:46

passed #475788
amd64 linux
unit:gcc:stretch:amd64

00:00:41

passed #475793
amd64 linux
unit:gcc:xenial:amd64

00:00:41

passed #475797
amd64 linux
unit:nocrypto:sid:amd64

00:01:05

passed #475801
amd64 linux
unit:nolibtool:sid:amd64

00:01:26

passed #475798
amd64 linux
unit:pkcs11:sid:amd64

00:00:43

 
  System
passed #475814
amd64 linux
system:asan:sid:amd64

00:08:05

passed #475902
freebsd amd64
system:clang:freebsd11.3:amd64

00:04:41

passed #475818
amd64 freebsd
system:clang:freebsd12.0:amd64

00:05:20

passed #475906
linux amd64
system:gcc:alpine3.10:amd64

00:05:34

passed #475905
linux amd64
system:gcc:bionic:amd64

00:05:31

passed #475808
amd64 linux
system:gcc:buster:amd64

00:06:09

passed #475803
amd64 linux
system:gcc:centos6:amd64

00:06:08

passed #475804
amd64 linux
system:gcc:centos7:amd64

00:06:02

passed #475805
amd64 linux
system:gcc:centos8:amd64

00:06:12

passed #475811
amd64 linux
system:gcc:fedora31:amd64

00:05:58

passed #475806
amd64 linux
system:gcc:jessie:amd64

00:06:06

passed #475907
linux amd64
system:gcc:sid:amd64

00:05:43

passed #475904
linux i386
system:gcc:sid:i386

00:05:51

passed #475908
amd64 linux
system:gcc:stretch:amd64

00:05:09

passed #475812
amd64 linux
system:gcc:xenial:amd64

00:05:32

passed #475815
amd64 linux
system:nocrypto:sid:amd64

00:03:31

passed #475819
amd64 linux
system:nolibtool:sid:amd64

00:06:06

passed #475816
amd64 linux
system:pkcs11:sid:amd64

00:06:10

failed #475817
amd64 freebsd
system:clang:freebsd11.3:amd64

00:05:27

failed #475802
amd64 linux
system:gcc:alpine3.10:amd64

00:06:38

failed #475813
amd64 linux
system:gcc:bionic:amd64

00:06:43

failed #475809
amd64 linux
system:gcc:sid:amd64

00:06:28

failed #475810
i386 linux
system:gcc:sid:i386

00:06:27

failed #475903
linux amd64
system:gcc:stretch:amd64

00:06:36

failed #475807
amd64 linux
system:gcc:stretch:amd64

00:06:26

 
  Docs
passed #475820
amd64 linux
docs:sid:amd64

00:00:34

 
  Postcheck
passed #475822
amd64 linux
cppcheck:gcc:sid:amd64

00:02:07

passed #475821
amd64 linux
scan-build:buster:amd64

00:14:42