fix: scanner: Return from measure if no helper

After refactoring in #40041, it was forgotten to return the error in
the case a helper was not found, what can happen in test networks.

Closes #40065.
7 jobs for maint-1.1_issue40065_no_helper_01 in 1 minute and 37 seconds (queued for 3 seconds)
latest
Status Name Job ID Coverage
  Test
failed python36tor035 #13778

00:00:46

failed python36tor041 #13779

00:00:47

failed python36tor042 #13780

00:00:47

failed python36torstable #13781

00:00:47

failed python37 #13782

00:00:47

failed python38 #13783

00:00:46

failed python39 #13784
allowed to fail

00:00:47

 
Name Stage Failure
failed
python39 Test
Pulling docker image python:3.9-rc-buster ...
Using docker image sha256:50625b35cf421c9d77b695ee866344eabed2e24d4fe940e8a7637b908f808342 for python:3.9-rc-buster ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-2 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python38 Test
Pulling docker image python:3.8 ...
Using docker image sha256:9b9126f2a9634e2f8fe3ae6a574ed10b0d757b1c22418dc25c482df98c049b51 for python:3.8 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-1 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python37 Test
Pulling docker image python:3.7 ...
Using docker image sha256:2699987679cd3dc3ff68e159155fc9185ed4d4d95c68da2e3b134493272cd5f8 for python:3.7 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-0 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python36tor042 Test
Pulling docker image python:3.6 ...
Using docker image sha256:d2c8d8ff1eb55e129151ce90a8381755c6eea27cd4622bb6ef628e874a8be337 for python:3.6 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-2 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python36torstable Test
Pulling docker image python:3.6 ...
Using docker image sha256:d2c8d8ff1eb55e129151ce90a8381755c6eea27cd4622bb6ef628e874a8be337 for python:3.6 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-3 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python36tor041 Test
Pulling docker image python:3.6 ...
Using docker image sha256:d2c8d8ff1eb55e129151ce90a8381755c6eea27cd4622bb6ef628e874a8be337 for python:3.6 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-1 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1
failed
python36tor035 Test
Pulling docker image python:3.6 ...
Using docker image sha256:d2c8d8ff1eb55e129151ce90a8381755c6eea27cd4622bb6ef628e874a8be337 for python:3.6 ...
Preparing environment
Running on runner-9avwsm6s-project-322-concurrent-0 via ci-runner-01...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/juga/sbws/.git/
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.torproject.org/juga/sbws.git/': Could not resolve host: gitlab.torproject.org
ERROR: Job failed: exit code 1