Read and use the extended ICMP errors from the socket if available

On systems, where IP_RECVERR and IPV6_RECVERR is available, we also need to read
the extended errno after the call to recvmsg() and sendmsg() fails and use the
extended errno instead of the one returned by the original IO call.
77 jobs for !3601 with 835-use-ip_recverr-ipv6_recverr-to-learn-about-icmp-destination-network-host-unreachable in 65 minutes and 5 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #913977
amd64 linux
autoreconf

00:00:54

 
  Precheck
failed #913979
amd64 linux
clang-format

00:00:41

passed #913980
amd64 linux
coccinelle

00:05:12

passed #913978
amd64 linux
misc

00:00:48

 
  Build
passed #913996
amd64 linux
clang:asan

00:03:41

passed #914000
amd64 linux
clang:buster:amd64

00:02:52

passed #914002
amd64 libvirt
clang:freebsd11.3:amd64

00:01:30

passed #914003
amd64 libvirt
clang:freebsd12.1:amd64

00:01:31

passed #914004
amd64 libvirt
clang:openbsd6.6:amd64

00:03:22

passed #913998
amd64 linux
clang:tsan

00:03:11

passed #913981
amd64 linux
gcc:alpine3.11:amd64

00:02:26

passed #913995
amd64 linux
gcc:asan

00:03:28

passed #913994
amd64 linux
gcc:bionic:amd64

00:02:27

passed #913986
amd64 linux
gcc:buster:amd64

00:02:08

passed #913982
amd64 linux
gcc:centos6:amd64

00:02:03

passed #913983
amd64 linux
gcc:centos7:amd64

00:02:27

passed #913984
amd64 linux
gcc:centos8:amd64

00:02:30

passed #913992
amd64 linux
gcc:fedora31:amd64

00:02:28

passed #913999
amd64 linux
gcc:mutexatomics

00:02:06

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

00:02:32

passed #914001
amd64 linux
gcc:pkcs11

00:02:27

passed #913987
amd64 linux
gcc:sid:amd64

00:02:20

passed #913989
arm64 linux
gcc:sid:arm64

00:07:24

passed #913990
i386 linux
gcc:sid:i386

00:02:31

passed #913985
amd64 linux
gcc:stretch:amd64

00:02:20

passed #913997
amd64 linux
gcc:tsan

00:02:42

passed #913991
amd64 linux
gcc:tumbleweed:amd64

00:02:29

passed #913993
amd64 linux
gcc:xenial:amd64

00:02:32

 
  Unit
passed #914019
amd64 linux
unit:clang:asan

00:03:30

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

00:02:17

passed #914025
amd64 libvirt
unit:clang:freebsd11.3:amd64

00:01:37

passed #914026
amd64 libvirt
unit:clang:freebsd12.1:amd64

00:01:46

failed #914021
amd64 linux allowed to fail
unit:clang:tsan

00:01:53

passed #914005
amd64 linux
unit:gcc:alpine3.11:amd64

00:02:22

passed #914018
amd64 linux
unit:gcc:asan

00:03:20

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

00:02:16

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

00:01:56

passed #914006
amd64 linux
unit:gcc:centos6:amd64

00:02:05

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

00:02:30

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

00:02:16

passed #914015
amd64 linux
unit:gcc:fedora31:amd64

00:02:19

passed #914022
amd64 linux
unit:gcc:mutexatomics

00:01:51

passed #914024
amd64 linux
unit:gcc:pkcs11

00:01:55

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

00:01:56

passed #914012
arm64 linux
unit:gcc:sid:arm64

00:01:15

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

00:02:17

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

00:01:51

passed #914020
amd64 linux
unit:gcc:tsan

00:06:25

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

00:02:12

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

00:02:33

 
  System
failed #914041
amd64 linux
system:clang:asan

00:22:26

failed #914045
amd64 linux
system:clang:buster:amd64

00:18:12

passed #914047
amd64 libvirt
system:clang:freebsd11.3:amd64

00:13:49

passed #914048
amd64 libvirt
system:clang:freebsd12.1:amd64

00:14:27

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

00:12:34

passed #914027
amd64 linux
system:gcc:alpine3.11:amd64

00:20:58

passed #914040
amd64 linux
system:gcc:asan

00:22:01

failed #914039
amd64 linux
system:gcc:bionic:amd64

01:00:01

failed #914032
amd64 linux
system:gcc:buster:amd64

00:19:34

failed #914028
amd64 linux
system:gcc:centos6:amd64

00:26:52

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

00:22:12

failed #914030
amd64 linux
system:gcc:centos8:amd64

00:24:40

passed #914037
amd64 linux
system:gcc:fedora31:amd64

00:18:15

failed #914044
amd64 linux
system:gcc:mutexatomics

00:25:04

failed #914046
amd64 linux
system:gcc:pkcs11

00:20:32

failed #914033
amd64 linux
system:gcc:sid:amd64

00:21:39

failed #914034
arm64 linux
system:gcc:sid:arm64

00:23:51

failed #914035
i386 linux
system:gcc:sid:i386

00:19:39

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

00:18:40

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

00:29:12

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

00:22:09

failed #914038
amd64 linux
system:gcc:xenial:amd64

00:21:15

 
  Docs
passed #914049
amd64 linux
docs

00:03:24

 
  Postcheck
passed #914053
amd64 linux
cppcheck

00:02:00

passed #914050
amd64 linux
flake8

00:01:48

passed #914051
amd64 linux
pylint

00:01:41

passed #914052
amd64 linux
scan-build

00:07:21

 
Name Stage Failure
failed
system:gcc:bionic:amd64 System The script exceeded the maximum execution time set for the job
E:serve-stale:2020-05-29T08:18:59+0000
PASS: serve-stale
Running after_script
WARNING: Failed to inspect build container 621c5ad861b243088d3e756b9039fb43027147018c4b7b0be57e12f74a96c691 context deadline exceeded (docker_command.go:78:0s)
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.isc.org/isc-projects/images/bind9:ubuntu-bionic-amd64 ...
Uploading artifacts for failed job
Pulling docker image gitlab/gitlab-runner-helper:x86_64-c127439c ...
ERROR: Job failed: execution took longer than 1h0m0s seconds
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

bin/tests/system/*/*/tsan.*: found 262 matching files

tsan/: found 313 matching files

Uploading artifacts to coordinator... ok
id=914042 responseStatus=201 Created token=yMrg1EPc
ERROR: Job failed: exit code 1
failed
system:gcc:sid:arm64 System
R:serve-stale:FAIL
E:serve-stale:2020-05-29T08:19:23+0000
FAIL serve-stale (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3460 files

Uploading artifacts to coordinator... ok
id=914034 responseStatus=201 Created token=XPm_qf-j
ERROR: Job failed: exit code 1
failed
system:gcc:centos6:amd64 System
R:xferquota:FAIL
E:xferquota:2020-05-29T08:22:51+0000
FAIL xferquota (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3345 files

Uploading artifacts to coordinator... ok
id=914028 responseStatus=201 Created token=zR5gWVfh
ERROR: Job failed: exit code 1
failed
system:gcc:mutexatomics System
R:rpz:FAIL
E:rpz:2020-05-29T08:18:18+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3710 files

Uploading artifacts to coordinator... ok
id=914044 responseStatus=201 Created token=zrwa4hWn
ERROR: Job failed: exit code 1
failed
system:gcc:centos8:amd64 System
R:xferquota:FAIL
E:xferquota:2020-05-29T08:21:13+0000
FAIL xferquota (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3924 files

Uploading artifacts to coordinator... ok
id=914030 responseStatus=201 Created token=EsM_-ga7
ERROR: Job failed: exit code 1
failed
system:clang:asan System
R:rpz:FAIL
E:rpz:2020-05-29T08:20:22+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3039 files

Uploading artifacts to coordinator... ok
id=914041 responseStatus=201 Created token=CpyMTbUj
ERROR: Job failed: exit code 1
failed
system:gcc:tumbleweed:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:18:54+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2943 files

Uploading artifacts to coordinator... ok
id=914036 responseStatus=201 Created token=UFLnNu1M
ERROR: Job failed: exit code 1
failed
system:gcc:pkcs11 System
R:rpz:FAIL
E:rpz:2020-05-29T08:19:03+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3063 files

Uploading artifacts to coordinator... ok
id=914046 responseStatus=201 Created token=vykxqzZA
ERROR: Job failed: exit code 1
failed
system:gcc:xenial:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:18:54+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3638 files

Uploading artifacts to coordinator... ok
id=914038 responseStatus=201 Created token=CJvpPgLK
ERROR: Job failed: exit code 1
failed
system:gcc:centos7:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:18:37+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3618 files

Uploading artifacts to coordinator... ok
id=914029 responseStatus=201 Created token=apbWseQ2
ERROR: Job failed: exit code 1
failed
system:gcc:sid:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:17:37+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2973 files

Uploading artifacts to coordinator... ok
id=914033 responseStatus=201 Created token=RZbK5DpM
ERROR: Job failed: exit code 1
failed
system:clang:buster:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:16:50+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3038 files

Uploading artifacts to coordinator... ok
id=914045 responseStatus=201 Created token=o5-pm71y
ERROR: Job failed: exit code 1
failed
system:gcc:sid:i386 System
R:rpz:FAIL
E:rpz:2020-05-29T08:16:23+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2962 files

Uploading artifacts to coordinator... ok
id=914035 responseStatus=201 Created token=QuTL8ihX
ERROR: Job failed: exit code 1
failed
system:gcc:buster:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:15:53+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3041 files

Uploading artifacts to coordinator... ok
id=914032 responseStatus=201 Created token=5h7bzdxC
ERROR: Job failed: exit code 1
failed
system:gcc:stretch:amd64 System
R:rpz:FAIL
E:rpz:2020-05-29T08:15:07+0000
FAIL rpz (exit status: 1)

Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2923 files

Uploading artifacts to coordinator... ok
id=914031 responseStatus=201 Created token=_fC3hSzy
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 733 matching files

bin/tests/system/*/*/tsan.*: found 1062 matching files

tsan/: found 1 matching files

Uploading artifacts to coordinator... ok
id=914043 responseStatus=201 Created token=1rjeG3E4
ERROR: Job failed: exit code 1
failed
unit:clang: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 63 matching files

tsan/: found 1 matching files

Uploading artifacts to coordinator... ok
id=914021 responseStatus=201 Created token=yAXdLXZq
ERROR: Job failed: exit code 1
failed
clang-format Precheck
Downloading artifacts
Running before_script and script
Authenticating with credentials from job payload (GitLab Registry)
$ if [ -r .clang-format ]; then "${CLANG_FORMAT}" -i -style=file $(git ls-files '*.c' '*.h'); fi
$ if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
M lib/isc/unix/socket.c
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1