Address test race condition in serve-stale

the dig.out.test# files could still be being written when the
content greps where being made.

(cherry picked from commit af95cb8c)
80 jobs for !5145 with 2751-serve-stale-tests-false-negative-v9_16 in 18 minutes and 15 seconds (queued for 9 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed #1773581
amd64 linux
autoreconf

00:00:17

passed #1773583
amd64 linux
clang-format

00:00:18

passed #1773584
amd64 linux
coccinelle

00:03:18

passed #1773660
amd64 linux
danger

00:00:16

passed #1773582
amd64 linux
misc

00:00:18

passed #1773586
amd64 linux
tarball-create

00:00:17

failed #1773585
amd64 linux
danger

00:00:16

 
  Build
passed #1773600
amd64 linux
clang:asan

00:03:43

passed #1773604
amd64 linux
clang:buster:amd64

00:01:52

passed #1773607
amd64 libvirt
clang:freebsd12:amd64

00:01:37

passed #1773608
amd64 libvirt
clang:freebsd13:amd64

00:03:40

passed #1773609
amd64 libvirt
clang:openbsd:amd64

00:03:27

passed #1773602
amd64 linux
clang:tsan

00:02:04

passed #1773587
amd64 linux
gcc:alpine3.13:amd64

00:01:47

passed #1773599
amd64 linux
gcc:asan

00:03:20

passed #1773597
amd64 linux
gcc:bionic:amd64

00:01:49

passed #1773591
amd64 linux
gcc:buster:amd64

00:01:23

passed #1773588
amd64 linux
gcc:centos7:amd64

00:01:30

passed #1773589
amd64 linux
gcc:centos8:amd64

00:01:40

passed #1773598
amd64 linux
gcc:focal:amd64

00:01:38

passed #1773603
amd64 linux
gcc:mutexatomics

00:01:41

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

00:01:18

passed #1773592
amd64 linux
gcc:sid:amd64

00:02:01

passed #1773595
i386 linux
gcc:sid:i386

00:01:32

passed #1773605
amd64 linux
gcc:softhsm2.4

00:01:27

passed #1773606
amd64 linux
gcc:softhsm2.6

00:01:28

passed #1773590
amd64 linux
gcc:stretch:amd64

00:01:37

passed #1773594
amd64 linux
gcc:tarball

00:01:58

passed #1773601
amd64 linux
gcc:tsan

00:01:58

passed #1773596
amd64 linux
gcc:tumbleweed:amd64

00:01:37

passed #1773611
amd64 windows
msvc:windows:amd64

00:01:00

passed #1773610
amd64 linux
nolibtool:sid:amd64

00:02:16

 
  Unit
passed #1773623
amd64 linux
unit:clang:asan

00:01:05

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

00:00:37

failed #1773630
amd64 libvirt
unit:clang:freebsd12:amd64

00:06:04

passed #1773631
amd64 libvirt
unit:clang:freebsd13:amd64

00:02:52

passed #1773625
amd64 linux
unit:clang:tsan

00:01:27

passed #1773612
amd64 linux
unit:gcc:alpine3.13:amd64

00:00:53

passed #1773622
amd64 linux
unit:gcc:asan

00:01:10

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

00:00:37

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

00:01:01

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

00:00:37

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

00:00:39

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

00:00:42

passed #1773626
amd64 linux
unit:gcc:mutexatomics

00:00:37

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

00:00:34

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

00:00:39

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

00:00:36

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

00:00:39

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

00:00:38

passed #1773624
amd64 linux
unit:gcc:tsan

00:01:39

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

00:00:38

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

00:00:47

 
  System
passed #1773644
amd64 linux
system:clang:asan

00:13:13

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

00:12:21

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

00:11:01

passed #1773652
amd64 libvirt
system:clang:freebsd13:amd64

00:12:29

passed #1773646
amd64 linux
system:clang:tsan

00:14:48

passed #1773633
amd64 linux
system:gcc:alpine3.13:amd64

00:11:53

passed #1773643
amd64 linux
system:gcc:asan

00:13:49

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

00:10:56

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

00:12:55

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

00:11:46

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

00:11:48

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

00:11:17

passed #1773647
amd64 linux
system:gcc:mutexatomics

00:11:51

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

00:10:47

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

00:09:35

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

00:12:04

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

00:12:18

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

00:11:40

passed #1773645
amd64 linux
system:gcc:tsan

00:15:40

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

00:11:24

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

00:11:59

 
  Docs
passed #1773654
amd64 linux
docs

00:02:37

 
  Postcheck
passed #1773658
amd64 linux
cppcheck

00:00:26

passed #1773655
amd64 linux
flake8

00:00:20

passed #1773659
amd64 linux
gcov

00:00:32

76.0%
passed #1773656
amd64 linux
pylint

00:00:27

passed #1773657
amd64 linux
scan-build

00:09:10

 
Name Stage Failure
failed
unit:clang:freebsd12:amd64 Unit
Running after script...
$ kyua --logfile /dev/null report-html \ # collapsed multi-line command
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=1861 revision=7f7a4bb0 version=13.11.0
untracked: found 1391 files

Uploading artifacts as "archive" to coordinator... ok
id=1773630 responseStatus=201 Created token=xqZAsjH6
Cleaning up file based variables
ERROR: Job failed: exit status 1