Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword NameLoad ClassDef bases NameLoad body Assign NameStore Num Assign NameStore TupleLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Global identifier Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body For NameStore NameLoad body If Call NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list TryFinally body TryExcept body Assign NameStore Num Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad keyword Str keyword NameLoad keyword BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad While CompareLt Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr Lambda arguments args defaults vararg kwarg NameLoad orelse Print Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad NameLoad Print Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Num NameLoad body Assert CompareIn ListLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert NameLoad Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert NameLoad Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad ListLoad Str Str Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad NameLoad Expr Call NameLoad Str NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad Str NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad ListLoad Str Str Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert NameLoad Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad ListLoad Str Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr attr attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr finalbody Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr
N/A N/A pytest N/A sys N/A os N/A traceback N/A hashlib N/A twisted N/A shutil N/A json calvin.utilities.calvin_callback CalvinCB calvin.utilities calvinlogger calvin.utilities.utils get_home calvin.runtime.south.plugins.storage.twistedimpl.securedht.append_server * calvin.runtime.south.plugins.storage.twistedimpl.securedht.dht_server * calvin.runtime.south.plugins.storage.twistedimpl.securedht.service_discovery_ssdp * calvin.runtime.south.plugins.storage.twistedimpl.securedht.dht_server_commons drawNetworkState kademlia.node Node kademlia.utils deferredDict digest calvin.runtime.south.plugins.async threads calvin.utilities calvinconfig N/A _conf N/A N/A calvinconfig get N/A N/A N/A _conf add_section security N/A _conf_file N/A N/A N/A os path join N/A get_home .calvin/security/test/openssl.conf N/A N/A N/A _conf set security certificate_conf _conf_file N/A N/A N/A _conf set security certificate_domain test N/A _cert_conf None N/A _log N/A N/A calvinlogger get_logger __name__ N/A name node4: cleanup N/A N/A request N/A N/A fin N/A N/A N/A N/A N/A N/A N/A reactor callFromThread N/A reactor stop N/A N/A N/A N/A request addfinalizer fin N/A N/A N/A pytest fixture scope session autouse True TestDHT N/A object N/A N/A test_nodes 2 N/A _sucess_start N/A True setup N/A N/A self request N/A N/A N/A _cert_conf N/A _cert_conf N/A N/A N/A certificate Config _conf_file test configuration N/A N/A N/A pytest fixture autouse True scope class test_dht_multi N/A N/A self monkeypatch N/A N/A N/A iface 0.0.0.0 N/A a None N/A b None N/A q N/A N/A Queue Queue server_started N/A N/A aa N/A args N/A N/A b args N/A N/A N/A isinstance b N/A N/A N/A twisted python failure Failure N/A N/A N/A N/A b printTraceback N/A N/A N/A N/A _log debug N/A ** %s b N/A N/A N/A q put N/A aa args N/A N/A N/A N/A N/A N/A amount_of_servers 5 N/A servers N/A N/A callbacks N/A N/A servno N/A range 0 amount_of_servers N/A N/A a N/A AutoDHTServer N/A N/A N/A servers append a N/A callback N/A CalvinCB server_started N/A str servno N/A N/A N/A N/A servers N/A servno start iface network Niklas cb callback name N/A name N/A N/A {} format servno N/A N/A N/A callbacks append callback N/A started N/A N/A N/A N/A len started amount_of_servers N/A N/A N/A N/A server N/A N/A N/A threads defer_to_thread N/A q get N/A N/A N/A N/A Queue Empty N/A N/A N/A N/A _log debug Queue empty! N/A N/A server started N/A N/A N/A N/A started append server N/A N/A N/A callbacks N/A N/A int N/A N/A server N/A 0 N/A 0 func N/A N/A N/A N/A args kvargs None N/A N/A N/A N/A Server: {} already started. {} out of {} format started N/A len started amount_of_servers N/A N/A N/A All {} out of {} started format started N/A len started amount_of_servers N/A servno N/A range 0 amount_of_servers N/A N/A N/A N/A N/A str servno N/A self _sucess_start started N/A N/A N/A N/A threads defer_to_thread N/A N/A q queue clear N/A N/A N/A N/A threads defer_to_thread N/A time sleep 8 N/A key HARE N/A value N/A N/A json dumps N/A morot N/A set_def N/A N/A N/A servers N/A 0 append key key value value N/A set_value N/A N/A N/A threads defer_to_thread N/A set_def wait 10 N/A set_value N/A N/A N/A Node with port {} posted append key={}, value={} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port key value N/A value N/A N/A json dumps N/A selleri N/A set_def N/A N/A N/A servers N/A 0 append key key value value N/A set_value N/A N/A N/A threads defer_to_thread N/A set_def wait 10 N/A set_value N/A N/A N/A Node with port {} posted append key={}, value={} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port key value N/A get_def N/A N/A N/A servers N/A 0 get_concat key key N/A get_value N/A N/A N/A threads defer_to_thread N/A get_def wait 10 N/A N/A N/A set N/A N/A json loads get_value N/A set N/A morot selleri N/A N/A N/A Node with port {} confirmed key={}, value={} was reachable format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port key get_value N/A N/A drawNetworkState 1nice_graph.png servers amount_of_servers N/A N/A N/A N/A threads defer_to_thread N/A time sleep 7 N/A N/A drawNetworkState 1middle_graph.png servers amount_of_servers N/A N/A N/A N/A threads defer_to_thread N/A time sleep 7 N/A N/A drawNetworkState 1end_graph.png servers amount_of_servers N/A get_def N/A N/A N/A servers N/A 0 get_concat key key N/A get_value N/A N/A N/A threads defer_to_thread N/A get_def wait 10 N/A N/A N/A set N/A N/A json loads get_value N/A set N/A morot selleri N/A N/A N/A Node with port {} got right value: {} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port get_value N/A value N/A N/A json dumps N/A morot N/A set_def N/A N/A N/A servers N/A 0 remove key key value value N/A set_value N/A N/A N/A threads defer_to_thread N/A set_def wait 10 N/A set_value N/A N/A N/A Node with port {} posted remove key={}, value={} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port key value N/A get_def N/A N/A N/A servers N/A 1 get_concat key key N/A get_value N/A N/A N/A threads defer_to_thread N/A get_def wait 10 N/A N/A N/A set N/A N/A json loads get_value N/A set N/A selleri N/A N/A N/A Node with port {} got right value: {} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port get_value N/A i N/A range 0 amount_of_servers N/A N/A name_dir N/A N/A N/A os path join N/A N/A _cert_conf N/A CA_default N/A runtimes_dir N/A N/A {}{} format name i N/A filenames N/A N/A os listdir N/A N/A N/A os path join name_dir others N/A N/A N/A Node with port {} has {} certificates in store format N/A N/A N/A N/A N/A N/A servers N/A i dht_server port getHost port N/A len filenames N/A N/A N/A AssertionError N/A e N/A N/A N/A N/A Node with port {} got wrong value: {}, should have been {} format N/A N/A N/A N/A N/A N/A servers N/A 0 dht_server port getHost port get_value value N/A N/A N/A pytest fail N/A N/A traceback format_exc N/A N/A Exception N/A e N/A N/A N/A N/A traceback print_exc N/A N/A N/A pytest fail N/A N/A traceback format_exc N/A N/A N/A N/A N/A threads defer_to_thread N/A time sleep 10 N/A i 0 N/A server servers N/A N/A name_dir N/A N/A N/A os path join N/A N/A _cert_conf N/A CA_default N/A runtimes_dir N/A name N/A N/A {} format i N/A N/A N/A shutil rmtree N/A N/A N/A os path join name_dir others ignore_errors True N/A N/A N/A os mkdir N/A N/A N/A os path join name_dir others N/A i 1 N/A N/A N/A server stop N/A N/A pytest inlineCallbacks N/A N/A N/A pytest mark interactive N/A N/A pytest mark slow