domain2ipset: memory optimization

2 jobs for tcpscanner in 19 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #262834
docker
lint

00:00:16

failed #262835
docker
test

00:00:18

 
Name Stage Failure
failed
test Test
2019-05-04 13:41:58,284 writting network statistics for 152 IPs
2019-05-04 13:41:58,287 0 out of 231 domains has at least one working NS (0.00 %)
Traceback (most recent call last):
File "/builds/knot/edns-zone-scanner/domain2ipset.py", line 218, in <module>
update_mapping(domain2nsset, nsname2ipset, netstats, domain2ipset)
File "/builds/knot/edns-zone-scanner/domain2ipset.py", line 202, in update_mapping
process_reply(attempt, domain, ip, state, netstats, retry_queue, domain2ipset)
TypeError: process_reply() missing 1 required positional argument: 'ipsetcache'
ERROR: Job failed: exit code 1
failed
lint Test
Cloning into '/builds/knot/edns-zone-scanner'...
Checking out 30c3b119 as tcpscanner...
Skipping Git submodules setup
$ ./ci/lint.sh
+ python3 -m pylint -E allinone.py dataapi.py domain2ipset.py ednscomp2pickle.py ednsevalzone.py genednscomp.py nsname2ipset.py printresults.py tcpcomp2pickle.py testedns.py testtcp.py zone2pickle.py
************* Module domain2ipset
domain2ipset.py:202:12: E1120: No value for argument 'ipsetcache' in function call (no-value-for-parameter)
domain2ipset.py:211:16: E1120: No value for argument 'ipsetcache' in function call (no-value-for-parameter)
ERROR: Job failed: exit code 1