Implement draft-vandijk-dnsop-nsec-ttl

The draft says that the NSEC(3) TTL must have the same TTL value
as the minimum of the SOA MINIMUM field and the SOA TTL. This was
always the intended behaviour.

Update the zone structure to also track the SOA TTL. Whenever we
use the MINIMUM value to determine the NSEC(3) TTL, use the minimum
of MINIMUM and SOA TTL instead.

There is no specific test for this, however two tests need adjusting
because otherwise they failed: They were testing for NSEC3 records
including the TTL. Update these checks to use 600 (the SOA TTL),
rather than 3600 (the SOA MINIMUM).
79 jobs for !4506 with 2347-draft-vandijk-dnsop-nsec-ttl in 63 minutes and 36 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1372219
amd64 linux
autoreconf

00:00:17

 
  Precheck
failed #1372221
amd64 linux
clang-format

00:00:18

passed #1372222
amd64 linux
coccinelle

00:03:30

passed #1372295
linux amd64
danger

00:00:15

passed #1372220
amd64 linux
misc

00:00:17

passed #1372224
amd64 linux
tarball-create

00:01:41

failed #1372223
amd64 linux
danger

00:00:15

 
  Build
passed #1372237
amd64 linux
clang:asan

00:02:14

passed #1372241
amd64 linux
clang:buster:amd64

00:01:04

passed #1372244
amd64 libvirt
clang:freebsd11:amd64

00:01:13

passed #1372245
amd64 libvirt
clang:freebsd12:amd64

00:01:30

passed #1372246
amd64 libvirt
clang:openbsd:amd64

00:03:06

passed #1372239
amd64 linux
clang:tsan

00:01:12

passed #1372225
amd64 linux
gcc:alpine3.12:amd64

00:00:57

passed #1372236
amd64 linux
gcc:asan

00:01:55

passed #1372229
amd64 linux
gcc:buster:amd64

00:00:47

passed #1372226
amd64 linux
gcc:centos7:amd64

00:00:54

passed #1372227
amd64 linux
gcc:centos8:amd64

00:00:58

passed #1372235
amd64 linux
gcc:focal:amd64

00:00:46

passed #1372240
amd64 linux
gcc:mutexatomics

00:01:00

passed #1372231
amd64 linux
gcc:out-of-tree

00:00:58

passed #1372230
amd64 linux
gcc:sid:amd64

00:01:45

passed #1372232
i386 linux
gcc:sid:i386

00:00:55

passed #1372242
amd64 linux
gcc:softhsm2.4

00:00:52

passed #1372243
amd64 linux
gcc:softhsm2.6

00:00:56

passed #1372228
amd64 linux
gcc:stretch:amd64

00:00:53

passed #1372238
amd64 linux
gcc:tsan

00:01:12

passed #1372233
amd64 linux
gcc:tumbleweed:amd64

00:00:58

passed #1372234
amd64 linux
gcc:xenial:amd64

00:01:03

passed #1372247
amd64 windows
msvc:windows:amd64

00:01:15

 
  Unit
passed #1372259
amd64 linux
unit:clang:asan

00:01:25

passed #1372263
amd64 linux
unit:clang:buster:amd64

00:01:20

passed #1372266
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:28

passed #1372267
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:25

failed #1372268
amd64 libvirt
unit:clang:openbsd:amd64

01:00:00

passed #1372261
amd64 linux
unit:clang:tsan

00:03:15

passed #1372248
amd64 linux
unit:gcc:alpine3.12:amd64

00:01:06

passed #1372258
amd64 linux
unit:gcc:asan

00:01:20

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

00:02:11

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

00:01:07

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

00:01:09

passed #1372257
amd64 linux
unit:gcc:focal:amd64

00:01:19

passed #1372262
amd64 linux
unit:gcc:mutexatomics

00:01:07

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

00:01:07

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

00:01:07

passed #1372264
amd64 linux
unit:gcc:softhsm2.4

00:01:09

passed #1372265
amd64 linux
unit:gcc:softhsm2.6

00:01:07

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

00:01:07

passed #1372260
amd64 linux
unit:gcc:tsan

00:03:52

passed #1372255
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:03

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

00:01:13

 
  System
passed #1372280
amd64 linux
system:clang:asan

00:13:11

passed #1372284
amd64 linux
system:clang:buster:amd64

00:12:24

passed #1372287
amd64 libvirt
system:clang:freebsd11:amd64

00:11:31

passed #1372297
libvirt amd64
system:clang:freebsd12:amd64

00:11:27

passed #1372282
amd64 linux
system:clang:tsan

00:14:36

passed #1372269
amd64 linux
system:gcc:alpine3.12:amd64

00:12:17

passed #1372279
amd64 linux
system:gcc:asan

00:13:45

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

00:12:50

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

00:11:52

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

00:12:21

passed #1372278
amd64 linux
system:gcc:focal:amd64

00:12:20

passed #1372283
amd64 linux
system:gcc:mutexatomics

00:11:30

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

00:11:24

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

00:12:18

passed #1372285
amd64 linux
system:gcc:softhsm2.4

00:11:35

passed #1372286
amd64 linux
system:gcc:softhsm2.6

00:12:17

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

00:11:38

passed #1372281
amd64 linux
system:gcc:tsan

00:15:19

passed #1372276
amd64 linux
system:gcc:tumbleweed:amd64

00:11:50

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

00:12:09

failed #1372288
amd64 libvirt
system:clang:freebsd12:amd64

00:11:25

passed #1372296
libvirt amd64
system:clang:freebsd12:amd64

00:11:18

 
  Docs
passed #1372289
amd64 linux
docs

00:00:34

 
  Postcheck
passed #1372293
amd64 linux
cppcheck

00:00:48

passed #1372290
amd64 linux
flake8

00:00:29

passed #1372294
amd64 linux
gcov

00:00:32

77.0%
passed #1372291
amd64 linux
pylint

00:00:22

passed #1372292
amd64 linux
scan-build

00:04:24

 
Name Stage Failure
failed
unit:clang:openbsd:amd64 Unit The script exceeded the maximum execution time set for the job
PASS: udp_test
PASS: symtab_test
PASS: socket_test
PASS: sockaddr_test
PASS: siphash_test
PASS: safe_test
PASS: result_test
PASS: regex_test
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
clang-format Precheck
Removing util/check-make-install

Skipping Git submodules setup
Executing "step_script" stage of the job script
$ if [ -r .clang-format ]; then "${CLANG_FORMAT}" -i -style=file $(git ls-files '*.c' '*.h'); fi
$ if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
M bin/dnssec/dnssec-signzone.c
Cleaning up file based variables
ERROR: Job failed: exit code 1