Fix tls_test unit test

Commit 11ed7aac refactored the TLS transport code and unit tests.
Specifically it added the 'tls_test.c' file. This file includes
'lib/isc/tests/uv_wrap.h' but doesn't use the defined 'RETURN_RESET'
macro. Therefore, the variables '__state_uv_udp_getpeername' and
'__state_uv_udp_connect' are initialized but remain unused. This
warning is treated as an error in the CI pipeline.

Fix this by adding '__attribute__((unused))' to the two problem
variables.
78 jobs for !4861 with matthijs-fix-tls_test in 66 minutes and 18 seconds (queued for 7 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1621877
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1621879
amd64 linux
clang-format

00:00:16

passed #1621880
amd64 linux
coccinelle

00:03:28

passed #1621881
amd64 linux
danger

00:00:13

passed #1621878
amd64 linux
misc

00:00:16

passed #1621882
amd64 linux
tarball-create

00:01:22

 
  Build
passed #1621893
amd64 linux
clang:asan

00:02:06

passed #1621897
amd64 linux
clang:buster:amd64

00:00:54

passed #1621900
amd64 libvirt
clang:freebsd11:amd64

00:01:22

passed #1621901
amd64 libvirt
clang:freebsd12:amd64

00:01:18

passed #1621902
amd64 libvirt
clang:openbsd:amd64

00:03:06

passed #1621895
amd64 linux
clang:tsan

00:01:11

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

00:00:59

passed #1621892
amd64 linux
gcc:asan

00:01:34

passed #1621887
amd64 linux
gcc:buster:amd64

00:00:46

passed #1621884
amd64 linux
gcc:centos7:amd64

00:00:52

passed #1621885
amd64 linux
gcc:centos8:amd64

00:00:53

passed #1621891
amd64 linux
gcc:focal:amd64

00:00:55

passed #1621896
amd64 linux
gcc:mutexatomics

00:00:55

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

00:00:57

passed #1621888
amd64 linux
gcc:sid:amd64

00:01:08

passed #1621898
amd64 linux
gcc:softhsm2.4

00:00:59

passed #1621899
amd64 linux
gcc:softhsm2.6

00:00:52

passed #1621886
amd64 linux
gcc:stretch:amd64

00:00:54

passed #1621894
amd64 linux
gcc:tsan

00:01:01

passed #1621890
amd64 linux
gcc:tumbleweed:amd64

00:00:54

passed #1621903
amd64 windows
msvc:windows:amd64

00:00:45

 
  Unit
passed #1621913
amd64 linux
unit:clang:asan

00:02:18

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

00:01:13

failed #1621920
amd64 libvirt
unit:clang:freebsd11:amd64

01:00:01

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

00:01:43

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

01:00:01

passed #1621915
amd64 linux
unit:clang:tsan

00:03:30

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

00:01:28

passed #1621912
amd64 linux
unit:gcc:asan

00:02:29

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

00:02:24

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

01:00:01

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

00:01:15

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

00:01:07

passed #1621916
amd64 linux
unit:gcc:mutexatomics

00:01:28

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

00:01:12

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

00:01:09

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

00:01:07

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

00:00:14

passed #1621914
amd64 linux
unit:gcc:tsan

00:04:51

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

00:01:05

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

00:01:42

failed #1621919
amd64 linux
unit:gcc:softhsm2.6

00:01:12

 
  System
passed #1621948
amd64 linux
system:clang:asan

00:14:25

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

00:12:11

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

00:12:08

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

00:12:11

passed #1621934
amd64 linux
system:clang:tsan

00:15:55

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

00:13:14

passed #1621931
amd64 linux
system:gcc:asan

00:14:53

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

00:13:38

failed #1621924
amd64 linux
system:gcc:centos7:amd64

00:13:03

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

00:12:04

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

00:13:30

passed #1621935
amd64 linux
system:gcc:mutexatomics

00:12:39

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

00:12:55

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

00:13:41

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

00:13:32

failed #1621950
amd64 linux
system:gcc:stretch:amd64

00:13:10

failed #1622095
amd64 linux
system:gcc:tsan

00:16:10

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

00:12:55

failed #1621932
amd64 linux
system:clang:asan

00:14:55

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

00:12:11

failed #1621926
amd64 linux
system:gcc:stretch:amd64

00:13:03

failed #1621951
amd64 linux
system:gcc:tsan

00:17:01

failed #1621933
amd64 linux
system:gcc:tsan

00:16:21

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

00:13:23

 
  Docs
passed #1621941
amd64 linux
docs

00:00:51

 
  Postcheck
passed #1621945
amd64 linux
cppcheck

00:00:53

passed #1621942
amd64 linux
flake8

00:00:20

passed #1621946
amd64 linux
gcov

00:00:30

77.0%
passed #1621943
amd64 linux
pylint

00:00:23

passed #1621944
amd64 linux
scan-build

00:04:28

 
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 1491 files

Uploading artifacts as "archive" to coordinator... ok
id=1622095 responseStatus=201 Created token=m833Twoa
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:clang:openbsd:amd64 Unit The script exceeded the maximum execution time set for the job
PASS: errno_test
PASS: ht_test
PASS: crc64_test
PASS: counter_test
PASS: buffer_test
PASS: aes_test
PASS: doh_test
PASS: mem_test
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
unit:clang:freebsd11:amd64 Unit The script exceeded the maximum execution time set for the job
PASS: task_test
--- tls_test.log ---
--- random_test.log ---
PASS: random_test
--- timer_test.log ---
PASS: timer_test
--- netmgr_test.log ---
PASS: netmgr_test
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
unit:gcc:centos7:amd64 Unit The script exceeded the maximum execution time set for the job
PASS: symtab_test
PASS: socket_test
PASS: taskpool_test
PASS: time_test
PASS: ht_test
PASS: mem_test
PASS: task_test
PASS: timer_test
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
system:gcc:stretch:amd64 System
SKIP timeouts (exit status: 77)

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

Uploading artifacts as "archive" to coordinator... ok
id=1621950 responseStatus=201 Created token=f_XnxqTo
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=76533 revision=2ebc4dc4 version=13.9.0
untracked: found 1477 files

Uploading artifacts as "archive" to coordinator... ok
id=1621949 responseStatus=201 Created token=wDwro7UW
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
system:gcc:centos7:amd64 System
SKIP eddsa (exit status: 77)

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

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