ooni crashes if no collector option is used with several decks
This issue was automatically migrated from github issue https://github.com/TheTorProject/ooni-probe/issues/274.
Also fails with data/decks/fast_no_root.deck.
When ooni-probe is run without a bouncer (-n), decks that depend upon learning about test helpers should either fail gracefully with a message. Optionally, we could skip such tests and run the remaining tests that do not need test helpers.
Log opened. [D] Tor is not running. Skipping IP lookup via Tor. [D] Cannot determine the probe IP address with a traceroute, becase of insufficient priviledges Looking up your IP address via torproject Not reporting using a collector [D] Checking if backend is present [!] Missing required option: "backend" Traceback (most recent call last): File "bin/ooniprobe", line 17, in <module> runWithDirector() File "/home/ooni/ooni-probe/ooni/oonicli.py", line 161, in runWithDirector print net_test_loader.usageOptions().getUsage() UnboundLocalError: local variable 'net_test_loader' referenced before assignment```