daemon: tls forwarding; fix erroneus task processing when io errors occur

14 jobs for tls-misc in 6 minutes and 51 seconds (queued for 13 seconds)
Status Job ID Name Coverage
  Build
passed #99510
docker linux amd64
build:clang:linux:amd64

00:00:35

passed #99509
docker linux amd64
build:linux:amd64

00:00:35

 
  Test
passed #99516
docker linux amd64
deckard:linux:amd64

00:05:46

passed #99515
docker linux amd64
installcheck:linux:amd64

00:00:38

passed #99517
docker linux amd64
installcheck:valgrind:linux:amd64

00:00:53

passed #99512
docker
lint:c

00:01:51

failed #99513
docker allowed to fail
lint:clang-scan-build

00:00:57

passed #99511
docker
lint:lua

00:00:25

passed #99520
docker linux amd64
respdiff:iter:tcp:linux:amd64

00:02:33

passed #99521
docker linux amd64
respdiff:iter:tls:linux:amd64

00:02:54

passed #99519
docker linux amd64
respdiff:iter:udp:linux:amd64

00:02:19

passed #99514
docker linux amd64
test:linux:amd64

00:00:40

passed #99518
docker linux amd64
test:linux:amd64:valgrind

00:00:43

 
  Coverage
passed #99522
docker linux amd64
coverage

00:00:23

66.1%
 
Name Stage Failure
failed
lint:clang-scan-build Test There is an unknown failure, please try again
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
CCLD daemon/kresd
scan-build: 27 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-01-18-151809-13-1' to examine bug reports.
Uploading artifacts...
scan-results: found 32 matching files
Uploading artifacts to coordinator... ok
id=99513 responseStatus=201 Created token=cT5hpjLF
ERROR: Job failed: exit code 1