Skip to content

Run testing

eggqq007 edited this page Dec 7, 2018 · 4 revisions

1. ETCD Connecting error

You may failed to run the testing and get tuplenet log like: 
cat dir_test/test_simple_lr.sh/tuplenet/hv1/tuplenet.log 
10035 2018-12-07 17:58:14,647 INFO tuplerun.py[line:280]: accept interface list:['192.168.100.1']
10035 2018-12-07 17:58:14,647 INFO tuplerun.py[line:281]: accept log path:/root/work/test-tuplenet/TupleNet/src/tests/dir_test/test_simple_lr.sh/tuplenet/hv1
10035 2018-12-07 17:58:14,647 INFO tuplerun.py[line:282]: accept interval:1
10035 2018-12-07 17:58:14,648 INFO tuplerun.py[line:283]: accept etcd host:127.0.0.1:3414
10035 2018-12-07 17:58:14,648 INFO run_env.py[line:29]: enable ondemand feature
10035 2018-12-07 17:58:14,648 INFO run_env.py[line:36]: enable redirect feature
10035 2018-12-07 17:58:15,355 INFO link_master.py[line:106]: try to use etcd 127.0.0.1:3414
10035 2018-12-07 17:58:15,355 INFO link_master.py[line:384]: disable all watches
10035 2018-12-07 17:58:15,357 INFO link_master.py[line:113]: the etcd member dynamic list
10035 2018-12-07 17:58:15,357 INFO link_master.py[line:114]: ----------list start----------
10035 2018-12-07 17:58:15,358 WARNING link_master.py[line:126]: failed to get member list, retry..
10035 2018-12-07 17:58:16,359 INFO link_master.py[line:106]: try to use etcd 127.0.0.1:3414
10035 2018-12-07 17:58:16,359 INFO link_master.py[line:384]: disable all watches
10035 2018-12-07 17:58:16,360 INFO link_master.py[line:113]: the etcd member dynamic list
10035 2018-12-07 17:58:16,360 INFO link_master.py[line:114]: ----------list start----------
10035 2018-12-07 17:58:16,360 WARNING link_master.py[line:126]: failed to get member list, retry..
10035 2018-12-07 17:58:17,362 INFO link_master.py[line:106]: try to use etcd 127.0.0.1:3414
10035 2018-12-07 17:58:17,362 INFO link_master.py[line:384]: disable all watches
10035 2018-12-07 17:58:17,362 INFO link_master.py[line:113]: the etcd member dynamic list
10035 2018-12-07 17:58:17,362 INFO link_master.py[line:114]: ----------list start----------
10035 2018-12-07 17:58:17,848 WARNING link_master.py[line:126]: failed to get member list, retry..
You may had set http_proxy or https_proxy in you linux. 
It cause connection error while tuplenet try connecting to etcd.
So please unset http_proxy and https_proxy

2. Failed to create port in ovs when running test_simple_snat.sh/test_simple_dnat.sh/test_simple_tpctl.sh

The ovs instance which held by testcase may conflict with your system ovs instance.
Please try to delete all your ovs bridge in your system or shutdown your ovs instance.