Fix the concurrent access to batchname in dig.c

71 jobs for !2647 with 1418-threadsanitizer-data-race-dig-c-2542-in-main in 23 minutes and 9 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #493426
amd64 linux
🐞:sid:amd64

00:03:36

passed #493424
amd64 linux
autoreconf:sid:amd64

00:00:32

passed #493425
amd64 linux
misc:sid:amd64

00:00:17

 
  Build
passed #493439
amd64 linux
asan:sid:amd64

00:02:36

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

00:01:07

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

00:00:58

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

00:04:36

passed #493443
amd64 linux
clang:stretch:amd64

00:01:42

passed #493444
i386 linux
clang:stretch:i386

00:01:44

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

00:02:52

passed #493438
amd64 linux
gcc:bionic:amd64

00:01:45

passed #493433
amd64 linux
gcc:buster:amd64

00:01:47

passed #493428
amd64 linux
gcc:centos6:amd64

00:02:21

passed #493429
amd64 linux
gcc:centos7:amd64

00:02:28

passed #493430
amd64 linux
gcc:centos8:amd64

00:02:37

passed #493436
amd64 linux
gcc:fedora31:amd64

00:01:28

passed #493431
amd64 linux
gcc:jessie:amd64

00:01:30

passed #493434
amd64 linux
gcc:sid:amd64

00:02:41

passed #493435
i386 linux
gcc:sid:i386

00:01:24

passed #493432
amd64 linux
gcc:stretch:amd64

00:01:22

passed #493437
amd64 linux
gcc:xenial:amd64

00:01:23

passed #493450
amd64 windows
msvc:windows:amd64

00:03:01

passed #493442
amd64 linux
mutexatomics:sid:amd64

00:01:20

passed #493449
amd64 linux
nolibtool:sid:amd64

00:02:12

passed #493445
amd64 linux
pkcs11:sid:amd64

00:01:36

passed #493441
amd64 linux
rwlock:sid:amd64

00:00:49

passed #493440
amd64 linux
tsan:buster:amd64

00:03:17

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

00:04:21

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

00:00:28

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

00:01:08

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

00:00:53

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

00:02:35

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

00:00:35

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

00:01:19

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

00:00:37

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

00:01:02

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

00:00:56

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

00:01:27

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

00:00:31

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

00:01:31

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

00:01:56

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

00:00:53

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

00:00:57

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

00:01:52

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

00:01:34

passed #493465
amd64 linux
unit:rwlock:sid:amd64

00:01:24

failed #493464
amd64 linux allowed to fail
unit:tsan:buster:amd64

00:04:33

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

00:09:37

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

00:08:24

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

00:08:30

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

00:08:38

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

00:06:35

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

00:08:06

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

00:07:43

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

00:08:15

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

00:07:40

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

00:07:11

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

00:07:47

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

00:07:44

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

00:09:06

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

00:08:45

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

00:07:22

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

00:08:18

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

00:09:02

passed #493485
amd64 linux
system:rwlock:sid:amd64

00:08:05

failed #493484
amd64 linux allowed to fail
system:tsan:buster:amd64

00:11:44

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

00:07:42

failed #493480
amd64 linux
system:gcc:fedora31:amd64

00:08:29

 
  Docs
passed #493490
amd64 linux
docs:sid:amd64

00:00:59

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

00:01:52

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

00:10:58

 
Name Stage Failure
failed
system:tsan:buster:amd64 System
make: *** [Makefile:486: test] Error 1
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts...
bin/tests/system/*/tsan.*: found 18 matching files
bin/tests/system/*/*/tsan.*: found 263 matching files

tsan/: found 239 matching files

Uploading artifacts to coordinator... ok
id=493484 responseStatus=201 Created token=f4pAUsVn
ERROR: Job failed: exit code 1
failed
unit:tsan:buster:amd64 Unit
$ find lib -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files

kyua.results: found 1 matching files

WARNING: kyua_html/: no matching files
Uploading artifacts to coordinator... ok
id=493464 responseStatus=201 Created token=UpeUfhyQ
ERROR: Job failed: exit code 1