|
host A IP address 192.168.1.3
|
|
host B IP address 192.168.1.2
|
|
host C IP address 192.168.1.4
|
|
Strategy: ndn:/localhost/nfd/strategy/best-route
|
|
Warning: Permanently added '192.168.1.2' (ECDSA) to the list of known hosts.
|
|
Warning: Permanently added '192.168.1.4' (ECDSA) to the list of known hosts.
|
|
getting keys...
|
|
start NFD on three nodes and set nexthop to create loop...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/best-route/%FD%04, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/best-route/%FD%04, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 264, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/best-route/%FD%04, )
|
|
using ndn-traffic client to send 100 interests...
|
|
collecting nfd-status from B and C...
|
|
analyzing results...
|
|
Host A:
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host B:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host C:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
cleaning up...
|
|
Interest Loop Test PASSED
|
|
cleaning up...
|
|
nfd: no process found
|
|
nfd: no process found
|
|
nfd: no process found
|
|
.host A IP address 192.168.1.3
|
|
host B IP address 192.168.1.2
|
|
host C IP address 192.168.1.4
|
|
Strategy: ndn:/localhost/nfd/strategy/client-control
|
|
getting keys...
|
|
start NFD on three nodes and set nexthop to create loop...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/client-control/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/client-control/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 264, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/client-control/%FD%01, )
|
|
using ndn-traffic client to send 100 interests...
|
|
collecting nfd-status from B and C...
|
|
analyzing results...
|
|
Host A:
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host B:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host C:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
cleaning up...
|
|
Interest Loop Test PASSED
|
|
cleaning up...
|
|
nfd: no process found
|
|
nfd: no process found
|
|
nfd: no process found
|
|
.host A IP address 192.168.1.3
|
|
host B IP address 192.168.1.2
|
|
host C IP address 192.168.1.4
|
|
Strategy: ndn:/localhost/nfd/strategy/multicast
|
|
getting keys...
|
|
start NFD on three nodes and set nexthop to create loop...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 264, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
using ndn-traffic client to send 100 interests...
|
|
collecting nfd-status from B and C...
|
|
analyzing results...
|
|
Host A:
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host B:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host C:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
cleaning up...
|
|
Interest Loop Test PASSED
|
|
cleaning up...
|
|
nfd: no process found
|
|
nfd: no process found
|
|
nfd: no process found
|
|
.host A IP address 192.168.1.3
|
|
host B IP address 192.168.1.2
|
|
host C IP address 192.168.1.4
|
|
Strategy: ndn:/localhost/nfd/strategy/ncc
|
|
getting keys...
|
|
start NFD on three nodes and set nexthop to create loop...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/ncc/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 258, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/ncc/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-loop, FaceId: 264, Cost: 0, )
|
|
Successfully set strategy choice: ControlParameters(Name: /test-loop, Strategy: /localhost/nfd/strategy/ncc/%FD%01, )
|
|
using ndn-traffic client to send 100 interests...
|
|
collecting nfd-status from B and C...
|
|
analyzing results...
|
|
Host A:
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 0 out
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host B:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
Host C:
|
|
0 in, 100 out
|
|
100 in, 0 out
|
|
cleaning up...
|
|
Interest Loop Test PASSED
|
|
cleaning up...
|
|
nfd: no process found
|
|
nfd: no process found
|
|
nfd: no process found
|
|
.Nexthop insertion succeeded: ControlParameters(Name: /test-mcast, FaceId: 260, Cost: 0, )
|
|
Multicast Test PASSED
|
|
.Nexthop insertion succeeded: ControlParameters(Name: /test-mcast, FaceId: 257, Cost: 0, )
|
|
Multicast Test PASSED
|
|
.starting nfd on all hosts...
|
|
Warning: Permanently added '192.168.3.3' (ECDSA) to the list of known hosts.
|
|
starting ndn-traffic-server on B and C
|
|
setting up forwarding on A...
|
|
Successfully set strategy choice: ControlParameters(Name: /test-mcast, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-mcast, FaceId: 265, Cost: 10, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-mcast, FaceId: 267, Cost: 20, )
|
|
setting up forwarding on D...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-mcast, FaceId: 262, Cost: 0, )
|
|
running ndn-traffic client on D...
|
|
killing ndn-traffic-server on B and C...
|
|
collecting data from B, C and D...
|
|
analyzing result
|
|
cleaning up...
|
|
MulticastStrategy PASSED
|
|
.
|
|
Testing Interest loop scenario
|
|
******************************
|
|
>>> Testing with Best-route Strategy <<<
|
|
Test script return value: 0
|
|
******************************
|
|
|
|
Testing Interest loop scenario
|
|
******************************
|
|
>>> Testing with Client Control Strategy <<<
|
|
Test script return value: 0
|
|
******************************
|
|
|
|
Testing Interest loop scenario
|
|
******************************
|
|
>>> Testing with Multicast Strategy <<<
|
|
Test script return value: 0
|
|
******************************
|
|
|
|
Testing Interest loop scenario
|
|
******************************
|
|
>>> Testing with NCC Strategy <<<
|
|
Test script return value: 0
|
|
******************************
|
|
|
|
Testing Multicast
|
|
*****************
|
|
>>> Test Ethernet multicast <<<
|
|
Test script return value: 0
|
|
*****************
|
|
|
|
Testing Multicast
|
|
*****************
|
|
>>> Test UDP multicast <<<
|
|
Test script return value: 0
|
|
*****************
|
|
|
|
Testing MulticastStrategy scenario
|
|
**************************
|
|
Test script return value: 0
|
|
**************************
|
|
|
|
Testing ndn-traffic-generator
|
|
*****************************
|
|
-> Starting Traffic Client
|
|
-> Starting Traffic Server
|
|
-> Starting NFD
|
|
.Nexthop insertion succeeded: ControlParameters(Name: /test-nfdc, FaceId: 268, Cost: 24, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-nfdc, FaceId: 271, Cost: 26, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-nfdc, FaceId: 274, Cost: 14, )
|
|
Nexthop insertion succeeded: ControlParameters(Name: /test-nfdc, FaceId: 277, Cost: 16, )
|
|
Successfully set strategy choice: ControlParameters(Name: /, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
PING /test-nfdc
|
|
timeout from /test-nfdc: seq=3526564562886065402
|
|
timeout from /test-nfdc: seq=3526564562886065403
|
|
timeout from /test-nfdc: seq=3526564562886065404
|
|
timeout from /test-nfdc: seq=3526564562886065405
|
|
timeout from /test-nfdc: seq=3526564562886065406
|
|
timeout from /test-nfdc: seq=3526564562886065407
|
|
timeout from /test-nfdc: seq=3526564562886065408
|
|
timeout from /test-nfdc: seq=3526564562886065409
|
|
timeout from /test-nfdc: seq=3526564562886065410
|
|
timeout from /test-nfdc: seq=3526564562886065411
|
|
|
|
--- /test-nfdc ping statistics ---
|
|
10 packets transmitted, 0 received, 0 nacked, 100% packet loss, 0% nacked, time 0 ms
|
|
Face destroy succeeded: ControlParameters(FaceId: 268, )
|
|
Face destroy succeeded: ControlParameters(FaceId: 271, )
|
|
...host D IP address 192.168.3.3
|
|
starting nfd and ndn-traffic-server on host D...
|
|
preparing tunnel...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /tunnel-test, FaceId: 264, Cost: 0, )
|
|
running ndn-traffic client...
|
|
stopping nfd on host A...
|
|
stopping ndn-traffic-server and nfd on host D...
|
|
analyzing results...
|
|
Tunnel Test PASSED
|
|
.host D IP address [fd03::3]
|
|
starting nfd and ndn-traffic-server on host D...
|
|
preparing tunnel...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /tunnel-test, FaceId: 264, Cost: 0, )
|
|
running ndn-traffic client...
|
|
stopping nfd on host A...
|
|
stopping ndn-traffic-server and nfd on host D...
|
|
analyzing results...
|
|
Tunnel Test PASSED
|
|
.host D IP address 192.168.3.3
|
|
starting nfd and ndn-traffic-server on host D...
|
|
preparing tunnel...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /tunnel-test, FaceId: 264, Cost: 0, )
|
|
running ndn-traffic client...
|
|
stopping nfd on host A...
|
|
stopping ndn-traffic-server and nfd on host D...
|
|
analyzing results...
|
|
Tunnel Test PASSED
|
|
.host D IP address [fd03::3]
|
|
starting nfd and ndn-traffic-server on host D...
|
|
preparing tunnel...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /tunnel-test, FaceId: 264, Cost: 0, )
|
|
running ndn-traffic client...
|
|
stopping nfd on host A...
|
|
stopping ndn-traffic-server and nfd on host D...
|
|
analyzing results...
|
|
Tunnel Test PASSED
|
|
.starting nfd...
|
|
checking fib before server starts...
|
|
starting server...
|
|
checking fib after server starts...
|
|
stopping ndn-traffic-server...
|
|
checking fib after server stops...
|
|
nrd test PASSED
|
|
../permanent-face-test.sh: line 34: [[: 0
|
|
0: syntax error in expression (error token is "0")
|
|
./permanent-face-test.sh: line 52: [[: 100
|
|
0: syntax error in expression (error token is "0")
|
|
./permanent-face-test.sh: line 74: [[: 0
|
|
10: syntax error in expression (error token is "10")
|
|
.set environment in the host.
|
|
[A] Killing processeses
|
|
[A] Deleting repo data
|
|
[A] Deleting identities
|
|
[A] identity /Z does not exist
|
|
[A] identity /Z/A does not exist
|
|
[A] identity /Z/A/rib does not exist
|
|
[A] identity /Z/A/B/C does not exist
|
|
[A] identity /Z/A/B/C/D/E/rib does not exist
|
|
[A] identity /Z/F does not exist
|
|
[A] create nfd conf file with auto_prefix_propagate section specified for test
|
|
[A] start NFD
|
|
[A] create repo dir config file for repo
|
|
[A] start repo-ng
|
|
[A] create identity /Z/A and publish its cert
|
|
[A] create identity /Z/A/nrd and publish its cert
|
|
[A] create identity /Z/A/B/C and publish its cert
|
|
[A] create identity /Z/F and publish its cert
|
|
set environment in the hub.
|
|
set the trust anchor to ndn:/Z/A on the hub.
|
|
[B] Killing NFD process!
|
|
[B] Deleting the hub identity
|
|
[B] identity /auto-prefix-propagate/hub does not exist
|
|
[B] Reset the default identity
|
|
[B] Create hub identity as the default identity
|
|
[B] create nfd conf file with localhop_security section specified for test
|
|
[B] start NFD
|
|
[B] set multicast strategy for ndn:/
|
|
[B] set autoreg prefix to /Z
|
|
run test
|
|
run test case: 1
|
|
run test case: 2
|
|
./auto-prefix-propagate-test.sh: line 79: inspect_hub_none: command not found
|
|
run test case: 3
|
|
./auto-prefix-propagate-test.sh: line 86: inspect_hub_none: command not found
|
|
run test case: 4
|
|
./auto-prefix-propagate-test.sh: line 63: 3308 Terminated ndnpingserver $1 >> $testLog 2>&1
|
|
run test case: 5
|
|
./auto-prefix-propagate-test.sh: line 63: 3322 Terminated ndnpingserver $1 >> $testLog 2>&1
|
|
run test case: 6
|
|
run test case: 7
|
|
run test case: 8
|
|
[A] Killing processeses
|
|
[A] Deleting repo data
|
|
[A] Deleting identities
|
|
[A] identity /Z does not exist
|
|
[A] deleting identity ndn:/Z/A
|
|
[A] deleting identity ndn:/Z/A/rib
|
|
[A] deleting identity ndn:/Z/A/B/C
|
|
[A] identity /Z/A/B/C/D/E/rib does not exist
|
|
[A] deleting identity ndn:/Z/F
|
|
[B] Killing NFD process!
|
|
[B] Deleting the hub identity
|
|
[B] deleting identity /auto-prefix-propagate/hub!
|
|
[B] Reset the default identity
|
|
.host B IP address 192.168.1.2
|
|
host C IP address 192.168.1.4
|
|
starting nfd and ndn-traffic-server on host C...
|
|
starting nfd and adding nexthop of ndn:/localhop to C on host B...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /localhop, FaceId: 262, Cost: 0, )
|
|
starting nfd and adding nexthop of ndn:/localhop to B on host A...
|
|
Nexthop insertion succeeded: ControlParameters(Name: /localhop, FaceId: 264, Cost: 0, )
|
|
From A, sending interest ndn:/localhop/test-localhop/A/1...
|
|
ndn:/localhop/test-localhop/A/1 is answered.
|
|
F>> TEST SUCCESSFUL
|
|
|
|
Testing nfdc and nfd-status
|
|
*****************************
|
|
>>> TEST CASE A: test nfdc create / add-nexthop / destroy test case <<<
|
|
>> TEST CASE A PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing nfdc and nfd-status
|
|
*****************************
|
|
>>> TEST CASE B: test nfdc add-nexthop / remove-nexthop test case <<<
|
|
>> TEST CASE B PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing nfdc and nfd-status
|
|
*****************************
|
|
>>> TEST CASE C: test nfdc register / unregister test case <<<
|
|
>> TEST CASE C PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing TCP/UDP tunnel
|
|
**********************
|
|
>>> Testing with TCP4 <<<
|
|
Test script return value: 0
|
|
**********************
|
|
|
|
Testing TCP/UDP tunnel
|
|
**********************
|
|
>>> Testing with TCP6 <<<
|
|
Test script return value: 0
|
|
**********************
|
|
|
|
Testing TCP/UDP tunnel
|
|
**********************
|
|
>>> Testing with UDP4 <<<
|
|
Test script return value: 0
|
|
**********************
|
|
|
|
Testing TCP/UDP tunnel
|
|
**********************
|
|
>>> Testing with UDP6 <<<
|
|
Test script return value: 0
|
|
**********************
|
|
|
|
Testing NRD
|
|
***********
|
|
Test script return value: 0
|
|
***********
|
|
|
|
Testing UDP permanent face
|
|
*****************************
|
|
>>> test permanent face <<<
|
|
>> TEST PERMANENT FACE PROCEDURE PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing NDN automatic prefix propagation
|
|
*****************************
|
|
>>> test automatic prefix propagation <<<
|
|
>> TEST AUTOMATIC PROPAGATE PROCEDURE PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing /localhop
|
|
*****************
|
|
Test script return value: 4
|
|
*****************
|
|
[linkfail] testing bestroute
|
|
-> Starting NFD and creating faces
|
|
-> Failing link A-B
|
|
-> Recovering link A-B
|
|
-> Failing link A-C
|
|
-> Recovering link A-C
|
|
-> Starting ping client on A
|
|
-> Starting ping server on B
|
|
-> Stopping NFD
|
|
.[linkfail] testing multicast
|
|
-> Starting NFD and creating faces
|
|
-> Failing link A-B
|
|
-> Recovering link A-B
|
|
-> Failing link A-C
|
|
-> Recovering link A-C
|
|
-> Starting ping client on A
|
|
F-> Starting ping server on B
|
|
-> Stopping NFD
|
|
[linkfail] testing ncc
|
|
-> Starting NFD and creating faces
|
|
-> Failing link A-B
|
|
-> Recovering link A-B
|
|
-> Failing link A-C
|
|
-> Recovering link A-C
|
|
-> Starting ping client on A
|
|
F-> Starting ping server on B
|
|
-> Stopping NFD
|
|
Registering routes...
|
|
Sleeping for 5 seconds...
|
|
|
|
/P has a correct expiration period between 3 and 8 seconds
|
|
/P has a correct expiration period between 13 and 18 seconds
|
|
/Q has a correct expiration period between 13 and 18 seconds
|
|
/R has a correct expiration period between 3 and 8 seconds
|
|
/S has a correct expiration period between 3000 and 3600 seconds
|
|
Sleeping for 10 seconds...
|
|
|
|
/P has a correct expiration period between 3 and 8 seconds
|
|
Route for /P with FaceId: 264 has expired successfully
|
|
/Q has a correct expiration period between 3 and 8 seconds
|
|
/R has expired successfully
|
|
/S has a correct expiration period between 3000 and 3600 seconds
|
|
Sleeping for 8 seconds...
|
|
|
|
/P has expired successfully
|
|
/Q has expired successfully
|
|
/R has expired successfully
|
|
/S has a correct expiration period between 3000 and 3600 seconds
|
|
.ndn-traffic-server: no process found
|
|
localhost incoming test PASSED
|
|
../out-master.sh: line 39: 4001 Terminated nc -vul 6363 > $workdir/logs/out/netcat.log 2>&1
|
|
localhost outgoing test PASSED
|
|
.
|
|
Testing NRD route expiration
|
|
***********
|
|
NRD route expiration test PASSED
|
|
***********
|
|
|
|
Testing /localhost scope control
|
|
********************************
|
|
********************************
|
|
|
|
Testing /localhost scope control
|
|
********************************
|
|
********************************
|
|
|
|
Testing ndnpeek & ndnpoke
|
|
***********************************
|
|
-> Starting Poke
|
|
-> Starting Peek
|
|
-> Starting NFD
|
|
.FAIL: Expected no data received for third interest. Actual data received: 'NoRoute'
|
|
FSuccessfully set strategy choice: ControlParameters(Name: /, Strategy: /localhost/nfd/strategy/multicast/%FD%01, )
|
|
setting up routes...
|
|
running traffic generator client1...
|
|
running traffic generator client2...
|
|
running traffic generator client3...
|
|
running traffic generator client4...
|
|
killing ndn-traffic-server on B, C and D...
|
|
analyzing result of server B
|
|
analyzing result of server C
|
|
analyzing result of server D
|
|
Test passed successfully
|
|
.>> TEST SUCCESSFUL
|
|
|
|
Testing ContentStore and Freshness
|
|
**********************************
|
|
Test script return value: 4
|
|
**********************************
|
|
|
|
Testing route inheritance flags
|
|
*****************************
|
|
>>> test route inheritance <<<
|
|
>> TEST ROUTE INHERITANCE FLAGS PROCEDURE PASSED SUCCESSFULLY
|
|
********************************
|
|
|
|
Testing ndnping
|
|
********************
|
|
-> Starting Ping Server
|
|
-> Starting Ping Client
|
|
-> Starting NFD
|
|
.>> TEST SUCCESSFUL
|
|
|
|
Testing Interest Aggregation
|
|
****************************
|
|
-> Setting strategy to best-route v1
|
|
-> Starting Peek Client 2 (Prefix=ndn:/test-agg/A)
|
|
-> Starting Peek Client 1 (Prefix=ndn:/test-agg/A)
|
|
-> Starting Traffic Server 1 (Prefix=ndn:/test-agg, ContentDelay=2000ms)
|
|
-> Stopping Traffic Server 1
|
|
-> Traffic Server 1 received 1 interest(s)
|
|
-> Starting Peek Client 4 (Prefix=ndn:/test-agg/B, ChildSelector=rightmost)
|
|
-> Starting Peek Client 3 (Prefix=ndn:/test-agg/B, ChildSelector=leftmost)
|
|
-> Starting Traffic Server 2 (Prefix=ndn:/test-agg, ContentDelay=2000ms)
|
|
-> Stopping Traffic Server 2
|
|
-> Traffic Server 2 received 2 interest(s)
|
|
-> Starting Peek Client 6 (Prefix=ndn:/test-agg/C, InterestLifetime=8000ms)
|
|
-> Starting Peek Client 5 (Prefix=ndn:/test-agg/C, InterestLifetime=6000ms)
|
|
-> Starting Traffic Server 3 (Prefix=ndn:/test-agg, ContentDelay=2000ms)
|
|
F-> Starting NFD
|
|
-> Stopping Traffic Server 3
|
|
None
|
|
ERROR: the argument (' 6000') for option '--lifetime' is invalid
|
|
Usage: ndnpeek [options] ndn:/name
|
|
Fetch one data item matching the name prefix and write it to standard output
|
|
|
|
Allowed options:
|
|
-h [ --help ] print help and exit
|
|
-V [ --version ] print version and exit
|
|
-f [ --fresh ] set MustBeFresh
|
|
-r [ --rightmost ] set ChildSelector to rightmost
|
|
-m [ --minsuffix ] arg set MinSuffixComponents
|
|
-M [ --maxsuffix ] arg set MaxSuffixComponents
|
|
-l [ --lifetime ] arg set InterestLifetime (in milliseconds)
|
|
-p [ --payload ] print payload only, instead of full packet
|
|
-w [ --timeout ] arg set timeout (in milliseconds)
|
|
-v [ --verbose ] turn on verbose output
|
|
--link-file arg set Link from a file
|
|
|
|
|
|
Testing FIB Matching
|
|
********************
|
|
-> Starting Traffic Client 1 (Prefix=ndn:/, MustBeFresh=Yes, ExpectedContent=Z, MaxSuffixComponents=2)
|
|
-> Traffic Client 1 received data with Content=Z
|
|
-> Starting Traffic Client 2 (Prefix=ndn:/F, MustBeFresh=Yes, ExpectedContent=Z)
|
|
-> Traffic Client 2 received data with Content=Z
|
|
-> Starting Traffic Client 3 (Prefix=ndn:/A, MustBeFresh=Yes, ExpectedContent=A)
|
|
-> Traffic Client 3 received data with Content=A
|
|
-> Starting Traffic Client 4 (Prefix=ndn:/a, MustBeFresh=Yes, ExpectedContent=Z)
|
|
-> Traffic Client 4 received data with Content=Z
|
|
-> Starting Traffic Client 5 (Prefix=ndn:/A/B, MustBeFresh=Yes, ExpectedContent=A)
|
|
-> Traffic Client 5 received data with Content=A
|
|
-> Starting Traffic Client 6 (Prefix=ndn:/A/B/G, MustBeFresh=Yes, ExpectedContent=A)
|
|
-> Traffic Client 6 received data with Content=A
|
|
-> Starting Traffic Client 7 (Prefix=ndn:/A/B/C, MustBeFresh=Yes, ExpectedContent=C)
|
|
-> Traffic Client 7 received data with Content=C
|
|
-> Starting Traffic Client 8 (Prefix=ndn:/A/B/C/P/Q/R/S/T/U/V/W/X/Y/Z, MustBeFresh=Yes, ExpectedContent=C)
|
|
-> Traffic Client 8 received data with Content=C
|
|
-> Starting Traffic Client 9 (Prefix=ndn:/D, MustBeFresh=Yes, ExcludeBefore=D, ExpectedContent=Z)
|
|
F-> Starting Traffic Server 3 (Prefix=ndn:/A/B/C, FreshnessPeriod=10ms, Data=C)
|
|
-> Starting Traffic Server 4 (Prefix=ndn:/D/E, FreshnessPeriod=10ms, Data=E)
|
|
-> Starting Traffic Server 1 (Prefix=ndn:/, FreshnessPeriod=10ms, Data=Z)
|
|
-> Starting Traffic Server 2 (Prefix=ndn:/A, FreshnessPeriod=10ms, Data=A)
|
|
-> Starting NFD
|
|
Sending interests...
|
|
Unix Face Test PASSED
|
|
. * Stopping domain name service... bind9
|
|
waiting for pid 1050 to die
|
|
...done.
|
|
* Starting domain name service... bind9
|
|
...done.
|
|
OK: certificate with name [/tmp/autoconfig-test/KEY/ksk-1469738438838/ID-CERT/%FD%00%00%01V3%3C%D2X] has been successfully installed
|
|
Trying multicast discovery...
|
|
About to connect to: udp4://10.63.18.1:6363
|
|
Successfully created face: ControlParameters(FaceId: 262, Uri: udp4://10.63.18.1:6363, )
|
|
Successful in name registration: ControlParameters(Name: /ndn, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
Successful in name registration: ControlParameters(Name: /localhop/nfd, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
OK: certificate with name [/tmp/autoconfig-test/KEY/ksk-1469738447585/ID-CERT/%FD%00%00%01V3%3C%F4%CB] has been successfully installed
|
|
Trying multicast discovery...
|
|
Stage 1 failed: Timeout
|
|
Sending DNS query for SRV record for _ndn._udp
|
|
About to connect to: udp4://10.63.18.2:6363
|
|
Successfully created face: ControlParameters(FaceId: 262, Uri: udp4://10.63.18.2:6363, )
|
|
Successful in name registration: ControlParameters(Name: /ndn, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
Successful in name registration: ControlParameters(Name: /localhop/nfd, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
OK: certificate with name [/tmp/autoconfig-test/KEY/ksk-1469738473511/ID-CERT/%FD%00%00%01V3%3DY%DA] has been successfully installed
|
|
ping: unknown host ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net.
|
|
Trying multicast discovery...
|
|
Stage 1 failed: Timeout
|
|
Sending DNS query for SRV record for _ndn._udp
|
|
Stage 2 failed: Failed to find NDN router using default suffix DNS query (SRV record cannot be parsed)
|
|
Trying to find home router based on the default identity name...
|
|
Sending DNS query for SRV record for _ndn._udp.autoconfig-test.tmp._homehub._autoconf.named-data.net
|
|
About to connect to: udp4://10.63.18.3:6363
|
|
Successfully created face: ControlParameters(FaceId: 262, Uri: udp4://10.63.18.3:6363, )
|
|
Successful in name registration: ControlParameters(Name: /ndn, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
Successful in name registration: ControlParameters(Name: /localhop/nfd, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod: 9223372036854775807 milliseconds, )
|
|
ERROR: error while receiving data from socket (End of file)
|
|
.
|
|
======================================================================
|
|
FAIL: test_localhop (test_localhop.test_localhop)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_localhop/test_localhop.py", line 36, in test_localhop
|
|
self.fail(errormsg[ret])
|
|
AssertionError: ndn:/localhop/test-localhop/A/1 is answered.
|
|
|
|
======================================================================
|
|
FAIL: test_multicast (test_linkfail.test_linkfail)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_linkfail/test_linkfail.py", line 50, in test_multicast
|
|
self.run_strategy_test("multicast", "ndn:/localhost/nfd/strategy/multicast")
|
|
File "/home/vagrant/integration-tests/test_linkfail/test_linkfail.py", line 47, in run_strategy_test
|
|
self.fail("ping loss or delay")
|
|
AssertionError: ping loss or delay
|
|
|
|
======================================================================
|
|
FAIL: test_ncc (test_linkfail.test_linkfail)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_linkfail/test_linkfail.py", line 53, in test_ncc
|
|
self.run_strategy_test("ncc", "ndn:/localhost/nfd/strategy/ncc")
|
|
File "/home/vagrant/integration-tests/test_linkfail/test_linkfail.py", line 47, in run_strategy_test
|
|
self.fail("ping loss or delay")
|
|
AssertionError: ping loss or delay
|
|
|
|
======================================================================
|
|
FAIL: test_cs_freshness (test_cs_freshness.test_cs_freshness)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_cs_freshness/test_cs_freshness.py", line 36, in test_cs_freshness
|
|
self.fail(errormsg[ret])
|
|
AssertionError: Data received for third interest (expected no data received)
|
|
|
|
======================================================================
|
|
FAIL: test_aggregation (test_interest_aggregation.test_interest_aggregation)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_interest_aggregation/test_interest_aggregation.py", line 166, in test_aggregation
|
|
self.checkAndReportFailure("ndnpeek-5", "Peek Client 5")
|
|
File "/home/vagrant/integration-tests/test_interest_aggregation/test_interest_aggregation.py", line 42, in checkAndReportFailure
|
|
self.fail(">> TEST FAILED - received non-zero return code from " + processName)
|
|
AssertionError: >> TEST FAILED - received non-zero return code from Peek Client 5
|
|
|
|
======================================================================
|
|
FAIL: test_matching (test_fib_matching.test_fib_matching)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "/home/vagrant/integration-tests/test_fib_matching/test_fib_matching.py", line 217, in test_matching
|
|
self.checkAndReportFailure("ndn-traffic-client-9", "Traffic Client 9")
|
|
File "/home/vagrant/integration-tests/test_fib_matching/test_fib_matching.py", line 48, in checkAndReportFailure
|
|
self.fail(">> TEST FAILED - received non-zero return code from " + processName)
|
|
AssertionError: >> TEST FAILED - received non-zero return code from Traffic Client 9
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 33 tests in 946.511s
|
|
|
|
FAILED (failures=6)
|
|
Environment Variable NDN_TRAFFIC_LOGFOLDER Not Set.
|
|
Using Default Output For Logging.
|
|
2016-Jul-28 20:40:10 - Analyzing Traffic Configuration File: /home/vagrant/integration-tests/test_fib_matching/test-traffic-client-9.conf
|
|
2016-Jul-28 20:40:10 - Traffic Configuration File Processing Completed
|
|
|
|
Traffic Pattern Type #1
|
|
TrafficPercentage=100, Name=ndn:/D, ExcludeBefore=D, MustBeFresh=1, ExpectedContent=Z
|
|
|
|
2016-Jul-28 20:40:11 - Sending Interest - PatternType=1, GlobalID=1, LocalID=1, Name=/D
|
|
2016-Jul-28 20:40:15 - Interest Timed Out - PatternType=1, GlobalID=1, LocalID=1, Name=/D
|
|
|
|
|
|
== Interest Traffic Report ==
|
|
|
|
Total Traffic Pattern Types = 1
|
|
Total Interests Sent = 1
|
|
Total Responses Received = 0
|
|
Total Nacks Received = 0
|
|
Total Interest Loss = 100.000000%
|
|
Total Data Inconsistency = 0.000000%
|
|
Total Round Trip Time = 0.000000ms
|
|
Average Round Trip Time = 0.000000ms
|
|
|
|
Traffic Pattern Type #1
|
|
TrafficPercentage=100, Name=ndn:/D, ExcludeBefore=D, MustBeFresh=1, ExpectedContent=Z
|
|
Total Interests Sent = 1
|
|
Total Responses Received = 0
|
|
Total Nacks Received = 0
|
|
Total Interest Loss = 100.000000%
|
|
Total Data Inconsistency = 0.000000%
|
|
Total Round Trip Time = 0.000000ms
|
|
Average Round Trip Time = 0.000000ms
|
|
|
|
|
|
|
|
|
|
Testing unix face
|
|
*****************************
|
|
Test script return value: 0
|
|
*****************************
|
|
|
|
Testing NDN hub discovery procedure
|
|
*****************************
|
|
>>> test hub discovery procedure <<<
|
|
>> TEST HUB DISCOVEY PROCEDURE PASSED SUCCESSFULLY
|
|
********************************
|