Draft: Use nosync for CI jobs
The nosync.so
library is expected at and loaded from /usr/local/lib
.
On Debian 10 (Buster) it does not work with GCC when ASan is used, therefore it's disabled as long as we don't update to a newer GCC.
Validation:
- Docker images: https://gitlab.isc.org/isc-projects/bind9/-/pipelines/75320
- QCOW2 images: https://gitlab.isc.org/isc-projects/bind9/-/pipelines/75294
Image code needs to be merged first: isc-projects/images!124
nosync
I ran the following pipelines (75828, 75829, 75830, 75834, 75835, 75836) with nosync
in place when no other CI consumer was present at the moment. The following tests failed (the gcc:asan
and system:gcc:tarball
jobs are not considered because of limitations in this MR):
-
inline
insystem:gcc:centos8:amd64
-
random
inunit:gcc:softhsm2.6
-
rrl
insystem:clang:freebsd12:amd64
-
rpz
insystem:clang:freebsd13:amd64
-
kasp
andinline
insystem:clang:openbsd:amd64
-
netmgr
inunit:clang:tsan
-
inline
insystem:clang:openbsd:amd64
-
rrl
insystem:clang:freebsd12:amd64
-
fetchlimit
insystem:clang:openbsd:amd64
-
serve-fail
insystem:clang:openbsd:amd64
Overall 11 failed tests out of 246 unit and system test CI jobs.
main
I ran the following pipelines (75538, 75539, 75540, 75541, 75542, 75543) on main
when no other CI consumer was present at the moment. The following tests failed (contrary to the run with nosync
the gcc:asan
and system:gcc:tarball
jobs were run):
-
kasp
insystem:clang:openbsd:amd64
-
random
inunit:gcc:asan
-
tcp
andmkeys
insystem:clang:freebsd11:amd64
-
padding
insystem:clang:freebsd12:amd64
-
rpz
insystem:clang:openbsd:amd64
-
qmin
insystem:gcc:buster:amd64
-
rrl
insystem:clang:freebsd13:amd64
-
kasp
insystem:clang:openbsd:amd64
-
acl
insystem:clang:openbsd:amd64
-
rrl
insystem:clang:freebsd13:amd64
-
legacy
insystem:clang:freebsd11:amd64
Overall 12 tests failed out of 264 unit and system test CI jobs.
I think this shows that nosync
does not make unit and system tests more stable in the CI and this enterprise should not be pursued further. It also shows that 2/3 of the failures are on FreeBSD and OpenBSD (a small portion of CI jobs with OpenBSD not having system tests in merge request-triggered pipelines, so particular problem is shielded away a bit).
Closes #2752 (closed)