Do not remove $systest on out-of-tree builds

Previously, $systest directory was removed for out-of-tree builds. For
directories with compiled content (binaries), this breaks subsequent
make invocations:

    make: Target 'check' not remade because of errors.
    Making all in dyndb/driver
    /bin/bash: line 20: cd: dyndb/driver: No such file or directory
    Making all in dlzexternal/driver
    /bin/bash: line 20: cd: dlzexternal/driver: No such file or directory

Current approach removes only files known to Git and empty directories
in $systest (including $systest).
81 jobs for !3895 with 114-out-of-tree-system-tests in 57 minutes and 4 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1054097
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1054099
amd64 linux
clang-format

00:00:16

passed #1054100
amd64 linux
coccinelle

00:03:29

passed #1054194
linux amd64
danger

00:00:14

passed #1054098
amd64 linux
misc

00:00:12

passed #1054102
amd64 linux
tarball-create

00:01:29

passed #1054101
amd64 linux
danger

00:00:13

 
  Build
passed #1054116
amd64 linux
clang:asan

00:02:11

passed #1054120
amd64 linux
clang:buster:amd64

00:00:56

passed #1054123
amd64 libvirt
clang:freebsd11:amd64

00:01:20

passed #1054124
amd64 libvirt
clang:freebsd12:amd64

00:01:19

passed #1054125
amd64 libvirt
clang:openbsd:amd64

00:02:40

passed #1054118
amd64 linux
clang:tsan

00:01:15

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

00:00:52

passed #1054115
amd64 linux
gcc:asan

00:01:43

passed #1054107
amd64 linux
gcc:buster:amd64

00:00:50

passed #1054104
amd64 linux
gcc:centos7:amd64

00:00:58

passed #1054105
amd64 linux
gcc:centos8:amd64

00:01:01

passed #1054114
amd64 linux
gcc:focal:amd64

00:00:54

passed #1054119
amd64 linux
gcc:mutexatomics

00:00:57

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

00:01:03

passed #1054108
amd64 linux
gcc:sid:amd64

00:01:12

passed #1054110
arm64 linux
gcc:sid:arm64

00:14:25

passed #1054111
i386 linux
gcc:sid:i386

00:01:01

passed #1054121
amd64 linux
gcc:softhsm2.4

00:00:49

passed #1054122
amd64 linux
gcc:softhsm2.6

00:01:00

passed #1054106
amd64 linux
gcc:stretch:amd64

00:01:00

passed #1054117
amd64 linux
gcc:tsan

00:01:25

passed #1054112
amd64 linux
gcc:tumbleweed:amd64

00:00:47

passed #1054113
amd64 linux
gcc:xenial:amd64

00:00:55

passed #1054126
amd64 windows
msvc:windows:amd64

00:00:42

 
  Unit
passed #1054139
amd64 linux
unit:clang:asan

00:01:18

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

00:00:55

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

00:01:52

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

00:01:21

passed #1054141
amd64 linux
unit:clang:tsan

00:03:00

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

00:00:59

passed #1054138
amd64 linux
unit:gcc:asan

00:01:21

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

00:00:58

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

00:01:01

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

00:00:57

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

00:00:54

passed #1054142
amd64 linux
unit:gcc:mutexatomics

00:00:56

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

00:00:53

canceled #1054133
arm64 linux
unit:gcc:sid:arm64

00:16:08

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

00:01:06

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

00:00:53

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

00:00:56

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

00:01:00

failed #1054140
amd64 linux allowed to fail
unit:gcc:tsan

00:04:00

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

00:00:54

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

00:00:56

 
  System
passed #1054161
amd64 linux
system:clang:asan

00:12:07

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

00:11:21

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

00:12:54

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

00:13:08

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

00:25:46

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

00:11:56

passed #1054160
amd64 linux
system:gcc:asan

00:12:20

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

00:11:24

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

00:11:26

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

00:11:27

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

00:11:24

passed #1054164
amd64 linux
system:gcc:mutexatomics

00:11:31

passed #1054154
amd64 linux
system:gcc:out-of-tree

00:13:59

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

00:14:31

canceled #1054155
arm64 linux
system:gcc:sid:arm64

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

00:14:31

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

00:11:57

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

00:12:35

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

00:11:29

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

00:28:19

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

00:11:23

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

00:11:26

failed #1054168
amd64 libvirt
system:clang:freebsd11:amd64

01:00:00

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

00:24:08

 
  Docs
passed #1054170
amd64 linux
docs

00:00:34

 
  Postcheck
passed #1054174
amd64 linux
cppcheck

00:00:48

passed #1054171
amd64 linux
flake8

00:00:23

passed #1054172
amd64 linux
pylint

00:00:25

passed #1054173
amd64 linux
scan-build

00:04:27

 
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 422 matching files and directories

tsan/: found 227 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=1054162 responseStatus=201 Created token=BRsx9jzY
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 415 matching files and directories

tsan/: found 237 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=1054163 responseStatus=201 Created token=9ezTzLJv
ERROR: Job failed: exit code 1
failed
unit:gcc: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 6 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=1054140 responseStatus=201 Created token=nZoLP33Z
ERROR: Job failed: exit code 1