Kea timeout in system tests
During resolving #552 (closed) we found a rare problem with a Kea timeout. It looks like the problem occurs when the Kea uses many network configurations.
> assert data['total'] == 6912
E KeyError: 'total'
agent = <containers.StorkAgentContainer object at 0x7f25865631f0>
data = {'items': None}
i = 29
m = {'address': '10.69.61.73', 'agentPort': 8080, 'agentToken': '79C7F48C7860CA179B14E01CAFC07C383B86E630F3EB3573CE0E83162FFD57F0', 'agentVersion': '0.20.0', ...}
r = <Response [200]>
server = <containers.StorkServerContainer object at 0x7f2586558640>
tests.py:267: KeyError
I think that our test shouldn't fail in this case, but wait for the end of processing.
I attach all collected logs to this issue.