Assigning uint64_t from buffer might be misaligned in netmgr tests

Resolve possible 8-byte unaligned access when assigning the magic
value from the received buffer.
73 jobs for !4628 with 2416-improve-netmgr-unit-tests-reliability in 31 minutes and 1 second (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1507296
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1507298
amd64 linux
clang-format

00:00:22

passed #1507299
amd64 linux
coccinelle

00:03:42

failed #1507300
amd64 linux
danger

00:00:18

failed #1507297
amd64 linux
misc

00:00:12

passed #1507301
amd64 linux
tarball-create

00:01:35

 
  Build
passed #1507313
amd64 linux
clang:asan

00:02:15

passed #1507317
amd64 linux
clang:buster:amd64

00:00:54

passed #1507320
amd64 libvirt
clang:freebsd11:amd64

00:01:19

passed #1507321
amd64 libvirt
clang:freebsd12:amd64

00:01:24

passed #1507322
amd64 libvirt
clang:openbsd:amd64

00:02:41

passed #1507315
amd64 linux
clang:tsan

00:01:04

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

00:00:57

passed #1507312
amd64 linux
gcc:asan

00:02:04

passed #1507306
amd64 linux
gcc:buster:amd64

00:00:39

passed #1507303
amd64 linux
gcc:centos7:amd64

00:00:53

passed #1507304
amd64 linux
gcc:centos8:amd64

00:00:49

passed #1507311
amd64 linux
gcc:focal:amd64

00:00:47

passed #1507316
amd64 linux
gcc:mutexatomics

00:00:51

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

00:00:51

passed #1507307
amd64 linux
gcc:sid:amd64

00:01:00

passed #1507318
amd64 linux
gcc:softhsm2.4

00:00:52

passed #1507319
amd64 linux
gcc:softhsm2.6

00:00:49

passed #1507305
amd64 linux
gcc:stretch:amd64

00:01:00

passed #1507314
amd64 linux
gcc:tsan

00:00:54

passed #1507309
amd64 linux
gcc:tumbleweed:amd64

00:00:51

passed #1507310
amd64 linux
gcc:xenial:amd64

00:00:55

failed #1507323
amd64 windows
msvc:windows:amd64

00:00:40

 
  Unit
passed #1507334
amd64 linux
unit:clang:asan

00:02:10

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

00:01:33

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

00:02:11

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

00:02:01

failed #1507343
amd64 libvirt
unit:clang:openbsd:amd64

00:04:18

passed #1507336
amd64 linux
unit:clang:tsan

00:03:47

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

00:01:43

passed #1507333
amd64 linux
unit:gcc:asan

00:02:27

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

00:02:19

failed #1507325
amd64 linux
unit:gcc:centos7:amd64

00:01:49

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

00:01:32

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

00:01:41

failed #1507337
amd64 linux
unit:gcc:mutexatomics

00:00:54

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

00:01:35

failed #1507339
amd64 linux
unit:gcc:softhsm2.4

00:01:43

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

00:01:39

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

00:01:28

passed #1507335
amd64 linux
unit:gcc:tsan

00:04:39

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

00:01:39

failed #1507331
amd64 linux
unit:gcc:xenial:amd64

00:01:54

 
  System
passed #1507354
amd64 linux
system:clang:asan

00:15:01

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

00:12:29

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

00:12:40

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

00:12:55

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

00:16:36

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

00:13:02

passed #1507353
amd64 linux
system:gcc:asan

00:14:57

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

00:14:10

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

00:13:02

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

00:13:13

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

00:12:44

passed #1507357
amd64 linux
system:gcc:mutexatomics

00:13:25

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

00:13:11

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

00:12:59

failed #1507360
amd64 linux
system:gcc:softhsm2.6

00:12:49

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

00:13:08

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

00:17:35

failed #1507350
amd64 linux
system:gcc:tumbleweed:amd64

00:13:38

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

00:12:48

 
  Docs
passed #1507363
amd64 linux
docs

00:00:46

 
  Postcheck
passed #1507367
amd64 linux
cppcheck

00:00:49

passed #1507364
amd64 linux
flake8

00:00:20

passed #1507368
amd64 linux
gcov

00:00:53

76.0%
passed #1507365
amd64 linux
pylint

00:00:22

passed #1507366
amd64 linux
scan-build

00:04:35

 
Name Stage Failure
failed
system:gcc:tsan System
FAIL shutdown (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1739 files

Uploading artifacts as "archive" to coordinator... ok
id=1507355 responseStatus=201 Created token=22wnGh7E
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:clang:tsan System
FAIL pipelined (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1747 files

Uploading artifacts as "archive" to coordinator... ok
id=1507356 responseStatus=201 Created token=HdwtJUL-
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:softhsm2.6 System
FAIL inline (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2062 files

Uploading artifacts as "archive" to coordinator... ok
id=1507360 responseStatus=201 Created token=W_jFogmp
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:tumbleweed:amd64 System
FAIL inline (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1997 files

Uploading artifacts as "archive" to coordinator... ok
id=1507350 responseStatus=201 Created token=7k-AzUFN
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:clang:freebsd11:amd64 System

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=69702 revision=775dd39d version=13.8.0
untracked: found 1529 files

Uploading artifacts as "archive" to coordinator... ok
id=1507361 responseStatus=201 Created token=UjRfHqLs
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
unit:gcc:softhsm2.4 Unit
make[1]: Leaving directory '/builds/isc-projects/bind9/fuzz'
make: *** [Makefile:608: unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1646 files

Uploading artifacts as "archive" to coordinator... ok
id=1507339 responseStatus=201 Created token=Ke6UxWJp
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:gcc:xenial:amd64 Unit
Makefile:608: recipe for target 'unit-recursive' failed
make: *** [unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1668 files

Uploading artifacts as "archive" to coordinator... ok
id=1507331 responseStatus=201 Created token=3ZC6rfpZ
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:gcc:mutexatomics Unit
make[1]: Leaving directory '/builds/isc-projects/bind9/fuzz'
make: *** [Makefile:608: unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1550 files

Uploading artifacts as "archive" to coordinator... ok
id=1507337 responseStatus=201 Created token=TvskuXGT
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:gcc:centos7:amd64 Unit
make[1]: Leaving directory `/builds/isc-projects/bind9/fuzz'
make: *** [unit-recursive] Error 1
make: Target `unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1692 files

Uploading artifacts as "archive" to coordinator... ok
id=1507325 responseStatus=201 Created token=k84VT2M3
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:clang:openbsd:amd64 Unit
Error target(s) unaccounted for: unit-recursive unit 
`unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=openbsd pid=48046 revision=9ad2ddee version=12.4.0~beta.1928.g9ad2ddee
untracked: found 1596 files

Uploading artifacts to coordinator... ok
id=1507343 responseStatus=201 Created token=QeXSsY4h
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
msvc:windows:amd64 Build
Built:        2021-01-20T13:32:55+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=80504 revision=775dd39d version=13.8.0
untracked: found 275 files

Uploading artifacts as "archive" to coordinator... ok
id=1507323 responseStatus=201 Created token=fA8Qoazz
Cleaning up file based variables
Unsupported run stage "cleanup_file_variables"
ERROR: Job failed: exit status 1
failed
danger Precheck
 * branch            main       -> FETCH_HEAD



Failing the build, there is 1 fail.
Feedback: https://gitlab.isc.org/isc-projects/bind9/merge_requests/4628#note_189895

Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
misc Precheck
 ./lib/isc/unix/errno.c				C	2016,2018,2019,2020,2021
./lib/isc/unix/errno2result.c C 2000,2001,2002,2004,2005,2007,2011,2012,2013,2016,2018,2019,2020,2021
Uploading artifacts for failed job
Uploading artifacts...
util/newcopyrights: found 1 matching files and directories

checklibs.out: found 1 matching files and directories

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