fixup! fixup! Address TSAN is mark_header_stale()

79 jobs for !3694 with 1475-threadsanitizer-data-race-lib-dns-rbtdb-c-1545-in-mark_header_stale-and-check_stale_header-2 in 22 minutes and 1 second (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #999056
amd64 linux
autoreconf

00:00:21

 
  Precheck
passed #999058
amd64 linux
clang-format

00:00:27

passed #999059
amd64 linux
coccinelle

00:03:22

failed #999060
amd64 linux
danger

00:00:13

passed #999057
amd64 linux
misc

00:00:12

 
  Build
passed #999075
amd64 linux
clang:asan

00:03:03

passed #999079
amd64 linux
clang:buster:amd64

00:00:58

passed #999082
amd64 libvirt
clang:freebsd11.4:amd64

00:01:17

passed #999083
amd64 libvirt
clang:freebsd12.1:amd64

00:01:15

passed #999084
amd64 libvirt
clang:openbsd6.7:amd64

00:03:39

passed #999077
amd64 linux
clang:tsan

00:01:22

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

00:00:54

passed #999074
amd64 linux
gcc:asan

00:01:32

passed #999066
amd64 linux
gcc:buster:amd64

00:00:52

passed #999062
amd64 linux
gcc:centos6:amd64

00:00:49

passed #999063
amd64 linux
gcc:centos7:amd64

00:00:49

passed #999064
amd64 linux
gcc:centos8:amd64

00:01:17

passed #999073
amd64 linux
gcc:focal:amd64

00:00:48

passed #999078
amd64 linux
gcc:mutexatomics

00:01:04

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

00:01:19

passed #999067
amd64 linux
gcc:sid:amd64

00:01:26

passed #999069
arm64 linux
gcc:sid:arm64

00:05:58

passed #999070
i386 linux
gcc:sid:i386

00:00:57

passed #999080
amd64 linux
gcc:softhsm2.4

00:01:21

passed #999081
amd64 linux
gcc:softhsm2.6

00:01:04

passed #999065
amd64 linux
gcc:stretch:amd64

00:01:00

passed #999076
amd64 linux
gcc:tsan

00:01:32

passed #999071
amd64 linux
gcc:tumbleweed:amd64

00:01:13

passed #999072
amd64 linux
gcc:xenial:amd64

00:00:59

passed #999085
amd64 windows
msvc:windows:amd64

00:02:18

 
  Unit
passed #999099
amd64 linux
unit:clang:asan

00:01:56

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

00:01:07

passed #999106
amd64 libvirt
unit:clang:freebsd11.4:amd64

00:01:27

passed #999107
amd64 libvirt
unit:clang:freebsd12.1:amd64

00:01:23

failed #999101
amd64 linux allowed to fail
unit:clang:tsan

00:02:57

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

00:01:29

passed #999098
amd64 linux
unit:gcc:asan

00:01:14

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

00:01:00

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

00:01:08

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

00:00:56

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

00:01:05

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

00:00:58

passed #999102
amd64 linux
unit:gcc:mutexatomics

00:01:15

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

00:01:01

passed #999093
arm64 linux
unit:gcc:sid:arm64

00:01:05

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

00:01:36

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

00:00:53

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

00:00:53

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

00:00:56

passed #999100
amd64 linux
unit:gcc:tsan

00:03:45

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

00:00:59

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

00:01:01

 
  System
passed #999121
amd64 linux
system:clang:asan

00:13:38

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

00:12:04

passed #999128
amd64 libvirt
system:clang:freebsd11.4:amd64

00:12:25

passed #999129
amd64 libvirt
system:clang:freebsd12.1:amd64

00:13:25

failed #999123
amd64 linux allowed to fail
system:clang:tsan

00:19:39

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

00:12:04

passed #999120
amd64 linux
system:gcc:asan

00:11:55

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

00:10:09

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

00:11:34

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

00:10:34

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

00:10:54

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

00:12:09

passed #999124
amd64 linux
system:gcc:mutexatomics

00:09:40

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

00:10:21

passed #999115
arm64 linux
system:gcc:sid:arm64

00:11:49

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

00:12:34

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

00:10:16

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

00:10:29

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

00:10:31

failed #999122
amd64 linux allowed to fail
system:gcc:tsan

00:19:38

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

00:12:26

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

00:09:20

 
  Docs
passed #999130
amd64 linux
docs

00:00:51

 
  Postcheck
passed #999134
amd64 linux
cppcheck

00:00:42

passed #999131
amd64 linux
flake8

00:00:31

passed #999132
amd64 linux
pylint

00:00:32

passed #999133
amd64 linux
scan-build

00:05:33

 
Name Stage Failure
failed
system:gcc:tsan System

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 38 matching files and directories

bin/tests/system/*/*/tsan.*: found 237 matching files and directories

tsan/: found 177 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=999122 responseStatus=201 Created token=ZVZS3V5k
ERROR: Job failed: exit code 1
failed
system:clang:tsan System

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 38 matching files and directories

bin/tests/system/*/*/tsan.*: found 240 matching files and directories

tsan/: found 184 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=999123 responseStatus=201 Created token=H8H67EsT
ERROR: Job failed: exit code 1
failed
unit:clang:tsan Unit
Running after_script
Running after script...
$ find lib -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
lib/*/tests/tsan.*: found 1 matching files and directories

tsan/: found 5 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=999101 responseStatus=201 Created token=y9MpENkZ
ERROR: Job failed: exit code 1
failed
danger Precheck

+ 4ea6bb7...0577dff main -> origin/main (forced update)



Failing the build, there are 2 fails.
Feedback: https://gitlab.isc.org/isc-projects/bind9/merge_requests/3694#note_140103

ERROR: Job failed: exit code 1