starting nfd on all hosts... 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. 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... strategy-set prefix=/test-mcast strategy=/localhost/nfd/strategy/multicast/%FD%03 face-created id=268 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=270 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-mcast nexthop=268 origin=static cost=10 flags=child-inherit expires=never route-add-accepted prefix=/test-mcast nexthop=270 origin=static cost=20 flags=child-inherit expires=never setting up forwarding on D... face-created id=264 local=udp4://192.168.3.3:6363 remote=udp4://192.168.2.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-mcast nexthop=264 origin=static cost=0 flags=child-inherit expires=never 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 .route-add-accepted prefix=/test-nfdc nexthop=271 origin=static cost=24 flags=child-inherit expires=never route-add-accepted prefix=/test-nfdc nexthop=274 origin=static cost=26 flags=child-inherit expires=never route-add-accepted prefix=/test-nfdc nexthop=277 origin=static cost=14 flags=child-inherit expires=never route-add-accepted prefix=/test-nfdc nexthop=280 origin=static cost=16 flags=child-inherit expires=never strategy-set prefix=/test-nfdc strategy=/localhost/nfd/strategy/multicast/%FD%03 PING /test-nfdc nack from /test-nfdc: seq=4788998096379117494 time=14.0871 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117495 time=2.1948 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117496 time=1.8889 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117497 time=1.96406 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117498 time=1.87418 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117499 time=1.87162 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117500 time=1.80211 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117501 time=1.84302 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117502 time=1.83618 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117503 time=1.9162 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117504 time=1.76696 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117505 time=1.79849 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117506 time=1.86918 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117507 time=2.80049 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117508 time=1.86903 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117509 time=1.71982 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117510 time=1.90965 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117511 time=1.75596 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117512 time=1.81893 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117513 time=1.83494 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117514 time=1.60261 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117515 time=1.72202 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117516 time=1.62248 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117517 time=1.85658 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117518 time=2.10774 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117519 time=1.84824 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117520 time=1.88332 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117521 time=1.78878 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117522 time=1.76292 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117523 time=1.79096 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117524 time=1.97644 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117525 time=1.83915 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117526 time=1.74317 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117527 time=1.74692 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117528 time=1.59333 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117529 time=1.77465 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117530 time=1.62866 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117531 time=1.82588 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117532 time=1.76514 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117533 time=1.79099 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117534 time=2.13966 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117535 time=1.78272 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117536 time=1.79543 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117537 time=1.80435 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117538 time=1.722 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117539 time=1.98074 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117540 time=1.80527 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117541 time=1.8227 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117542 time=1.74256 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117543 time=1.78835 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117544 time=1.65725 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117545 time=1.75754 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117546 time=1.77871 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117547 time=1.67672 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117548 time=1.75863 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117549 time=1.68424 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117550 time=1.79629 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117551 time=1.63937 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117552 time=1.72779 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117553 time=1.78594 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117554 time=1.65519 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117555 time=1.8128 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117556 time=1.62525 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117557 time=1.79264 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117558 time=1.74644 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117559 time=1.58319 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117560 time=1.83033 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117561 time=1.56759 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117562 time=1.90658 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117563 time=1.80021 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117564 time=1.89825 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117565 time=1.83277 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117566 time=1.72964 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117567 time=1.81967 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117568 time=1.80292 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117569 time=1.84304 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117570 time=1.79926 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117571 time=1.88593 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117572 time=1.74233 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117573 time=1.75123 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117574 time=1.67893 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117575 time=1.7492 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117576 time=2.07178 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117577 time=1.759 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117578 time=1.85767 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117579 time=1.81607 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117580 time=1.79701 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117581 time=1.78519 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117582 time=1.66613 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117583 time=1.79981 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117584 time=1.71787 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117585 time=1.97654 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117586 time=1.78357 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117587 time=1.96475 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117588 time=1.70759 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117589 time=1.94058 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117590 time=1.67675 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117591 time=1.85504 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117592 time=1.73085 ms reason=NoRoute nack from /test-nfdc: seq=4788998096379117593 time=1.81539 ms reason=NoRoute --- /test-nfdc ping statistics --- 100 packets transmitted, 0 received, 100 nacked, 0% lost, 100% nacked, time 0 ms face-destroyed id=271 local=tcp4://192.168.1.3:54764 remote=tcp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=off face-destroyed id=274 local=tcp6://[fd01::3]:45878 remote=tcp6://[fd01::2]:6363 persistency=persistent reliability=off congestion-marking=off strategy-unset prefix=/test-nfdc route-removed prefix=/test-nfdc nexthop=277 origin=static route-removed prefix=/test-nfdc nexthop=280 origin=static .host D IP address 192.168.3.3 starting nfd and ndn-traffic-server on host D... preparing tunnel... face-created id=267 local=tcp4://192.168.2.2:58251 remote=tcp4://192.168.3.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/tunnel-test nexthop=267 origin=static cost=0 flags=child-inherit expires=never 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... face-created id=267 local=tcp6://[fd02::2]:33403 remote=tcp6://[fd03::3]:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/tunnel-test nexthop=267 origin=static cost=0 flags=child-inherit expires=never 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... face-created id=267 local=udp4://192.168.2.2:6363 remote=udp4://192.168.3.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/tunnel-test nexthop=267 origin=static cost=0 flags=child-inherit expires=never 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... face-created id=267 local=udp6://[fd02::2]:6363 remote=udp6://[fd03::3]:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/tunnel-test nexthop=267 origin=static cost=0 flags=child-inherit expires=never running ndn-traffic client... stopping nfd on host A... stopping ndn-traffic-server and nfd on host D... analyzing results... Tunnel Test PASSED .host B IP address 192.168.1.2 host C IP address 192.168.1.4 starting nfd on host A... starting nfd on host B... starting nfd on host C... face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/localhop nexthop=267 origin=static cost=0 flags=child-inherit expires=never face-created id=264 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/localhop nexthop=264 origin=static cost=0 flags=child-inherit expires=never starting ndn-traffic-server on host C... From A, sending interest ndn:/localhop/test-localhop/1... stopping nfd and ndn-traffic-server instances... copying back ndn-traffic-server log... analyzing server log... Localhop Test PASSED .Creating faces... face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=269 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B 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 nexthop=267 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 .route-add-accepted prefix=/test-mcast nexthop=257 origin=static cost=0 flags=child-inherit expires=never Multicast Test PASSED .route-add-accepted prefix=/test-mcast nexthop=261 origin=static cost=0 flags=child-inherit expires=never Multicast Test PASSED .host B IP address 192.168.1.2 host C IP address 192.168.1.4 starting nfd on host A... starting nfd on host B... starting nfd on host C... face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=269 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/P nexthop=267 origin=static cost=10 flags=child-inherit expires=never route-add-accepted prefix=/P nexthop=269 origin=static cost=20 flags=child-inherit expires=never starting ndn-traffic-server on host B... starting ndn-traffic-server on host C... From A, sending Interest for /P/1 (LocalFields=enabled)... From A, sending Interest for /P/2 (LocalFields=enabled, NextHopFaceId=faceB)... From A, sending Interest for /P/3 (LocalFields=enabled, NextHopFaceId=faceC)... From A, sending Interest for /P/4 (LocalFields=enabled, NextHopFaceId=null-face)... From A, sending Interest for /P/5 (LocalFields=disabled, NextHopFaceId=faceC)... NextHopFaceId Test PASSED . Testing MulticastStrategy scenario ************************** Test script return value: 0 ************************** Testing nfdc ***************************** >> TEST 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 /localhop ***************** Test script return value: 0 ***************** Testing NRD route expiration *********** NRD route expiration test PASSED *********** Testing Multicast ***************** >>> Test Ethernet multicast <<< Test script return value: 0 ***************** Testing Multicast ***************** >>> Test UDP multicast <<< Test script return value: 0 ***************** Testing NextHopFaceId ***************** Test script return value: 0 ***************** Testing ndn-traffic-generator ***************************** -> Starting Traffic Client -> Starting Traffic Server -> Starting NFD .Sending interests... Unix Face Test PASSED . * Stopping domain name service... bind9 waiting for pid 1060 to die ...done. * Starting domain name service... bind9 ...done. OK: certificate with name [/tmp/autoconfig-test/KEY/r%40%D1Z%20%23%97%23/self/%FD%00%00%01br%BFu%C8] has been successfully installed Starting multicast discovery stage Stage multicast discovery succeeded with udp4://10.63.18.1 Connected to HUB udp4://10.63.18.1:6363 Registered prefix / Registered prefix /localhop/nfd OK: certificate with name [/tmp/autoconfig-test/KEY/%C0%88%08%3B%E1%F1q%DE/self/%FD%00%00%01br%BF%90%AB] has been successfully installed Starting multicast discovery stage Stage multicast discovery failed: Timeout when retrieving hub Data Starting guess from search domains stage Sending DNS query for SRV record for _ndn._udp Stage guess from search domains succeeded with udp://ns.autoconfig-test.named-data.net:6363 Connected to HUB udp4://10.63.18.2:6363 Registered prefix / Registered prefix /localhop/nfd OK: certificate with name [/tmp/autoconfig-test/KEY/%0B%CC%CA%17%02%01%07P/self/%FD%00%00%01br%BF%F1%F9] has been successfully installed ping: unknown host ns1.autoconfig-test.tmp._homehub._autoconf.named-data.net. Starting multicast discovery stage Stage multicast discovery failed: Timeout when retrieving hub Data Starting guess from search domains stage Sending DNS query for SRV record for _ndn._udp Stage guess from search domains failed: SRV record cannot be parsed Starting NDN-FCH stage Stage NDN-FCH failed: HTTP connection error to http://ndn-fch.named-data.net Starting guess from identity name stage Trying default identity name... Sending DNS query for SRV record for _ndn._udp.autoconfig-test.tmp._homehub._autoconf.named-data.net Stage guess from identity name succeeded with udp://ns1.named-data.net:6363 Connected to HUB udp4://10.63.18.3:6363 Registered prefix / Registered prefix /localhop/nfd error while receiving data from socket (End of file) [from ../src/transport/stream-transport-impl.hpp:224 in void ndn::StreamTransportImpl::handleAsyncReceive(const boost::system::error_code&, std::size_t) [with BaseTransport = ndn::UnixTransport; Protocol = boost::asio::local::stream_protocol; std::size_t = long unsigned int]] .host A IP addresses 192.168.1.3 and 192.168.2.2 host C IP address 192.168.1.4 host D IP address 192.168.3.3 starting nfd on host A... starting nfd on host C... starting nfd on host D... face-created id=264 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=267 local=udp4://192.168.2.2:6363 remote=udp4://192.168.3.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/arizona/cs nexthop=264 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucla/cs nexthop=264 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucsd/caida nexthop=264 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/arizona/cs nexthop=267 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucla/cs nexthop=267 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucsd/caida nexthop=267 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/arizona/cs strategy=/localhost/nfd/strategy/congestion-mark/%FD%01/7/true strategy-set prefix=/ucsd/caida strategy=/localhost/nfd/strategy/congestion-mark/%FD%01/2/true strategy-set prefix=/ucsd/caida strategy=/localhost/nfd/strategy/congestion-mark/%FD%01/3/false ..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 fail to open the stream! [A] create identity /Z/A/nrd and publish its cert fail to open the stream! [A] create identity /Z/A/B/C and publish its cert fail to open the stream! [A] create identity /Z/F and publish its cert fail to open the stream! set environment in the hub. set the trust anchor to ndn:/Z/A on the hub. [B] Killing NFD process! [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 [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! Fail test 2: route of /Z/A does not exist, but it should exist because automatic prefix propagation is active (/localhop/nfd prefix has been registered), Z/A/G is present in local RIB and /Z/A has been configured as an identity in NFD's keychain. F>> TEST SUCCESSFUL Testing unix face ***************************** Test script return value: 0 ***************************** Testing NDN hub discovery procedure ***************************** >>> test hub discovery procedure <<< >> TEST HUB DISCOVEY PROCEDURE PASSED SUCCESSFULLY ******************************** Testing CongestionMark ***************** 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 <<< ******************************** Testing ndnping ******************** -> Starting Ping Server -> Starting Ping Client -> Starting NFD .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 .>> TEST SUCCESSFUL Testing NRD *********** Test script return value: 0 *********** Testing ndnpeek & ndnpoke *********************************** -> Starting Poke -> Starting Peek -> Starting NFD .ContentStore and freshness test scenario PASSED .strategy-set prefix=/ strategy=/localhost/nfd/strategy/multicast/%FD%03 setting up faces... 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 .Configure host B... Configure host C... Configure host D... Start test 1... Analyzing result of test 1... Start test 2... Analyzing result of test 2... Setup test 3... Start test 3... Analyzing result of test 3... Setup test 4... Analyzing result of test 4 killing nfd on B, C and D... Test passed .host C IP address 192.168.1.4 host B IP address 192.168.1.2 host A IP address 192.168.1.3 host D IP address 192.168.3.3 starting nfd on host C... starting nfd on host B... starting nfd on host A... starting nfd on host D... face-created id=264 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=264 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B face-created id=267 local=udp4://192.168.2.2:6363 remote=udp4://192.168.3.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/ nexthop=264 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucla nexthop=264 origin=static cost=0 flags=child-inherit expires=never route-add-accepted prefix=/ucla/cs nexthop=267 origin=static cost=0 flags=child-inherit expires=never starting ndn-traffic-server on host C... starting ndn-traffic-server on host B... starting ndn-traffic-server on host A... starting ndn-traffic-server on host D... From C, sending Interest for /net/ndnsim/www/index.html w/ Link object {Name=/net/ndnsim, Delegations={{10,/telia/terabits}, {20,/ucla/cs}}} From C, sending Interest for /net/ndnsim/www/news.html w/ Link object {Name=/net/ndnsim, Delegations={{10,/telia/terabits}, {20,/waseda/cs}}} From C, sending Interest for /net/ndnsim/www/contact.html w/ Link object {Name=/net/ndnsim, Delegations={{10, /arizona/cs/telecom}}} From C, sending Interest for /net/ndnsim/www/about.html w/ Link object {Name=/net/ndnsim, Delegations={{10, /arizona/cs}}} From C, sending Interest for /net/ndnsim/www/info.html w/ Link object {Name=/net/ndnsim, Delegations={{10, /arizona}}} From C, sending Interest for /net/ndnsim/www/logo.jpg w/ Link object {Name=/net/ndnsim, Delegations={{10, /arizona/cs/telecom/east}}} Mobility with Link Test PASSED .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 getting keys... start NFD on three nodes and set nexthop to create loop... face-created id=258 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/best-route/%FD%05 face-created id=258 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/best-route/%FD%05 face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=267 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/best-route/%FD%05 using ndn-traffic client to send 100 interests... collecting nfdc face list 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... face-created id=258 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/client-control/%FD%02 face-created id=258 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/client-control/%FD%02 face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=267 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/client-control/%FD%02 using ndn-traffic client to send 100 interests... collecting nfdc face list 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... face-created id=258 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/multicast/%FD%03 face-created id=258 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/multicast/%FD%03 face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=267 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/multicast/%FD%03 using ndn-traffic client to send 100 interests... collecting nfdc face list 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... face-created id=258 local=udp4://192.168.1.2:6363 remote=udp4://192.168.1.4:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/ncc/%FD%01 face-created id=258 local=udp4://192.168.1.4:6363 remote=udp4://192.168.1.3:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=258 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/ncc/%FD%01 face-created id=267 local=udp4://192.168.1.3:6363 remote=udp4://192.168.1.2:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B route-add-accepted prefix=/test-loop nexthop=267 origin=static cost=0 flags=child-inherit expires=never strategy-set prefix=/test-loop strategy=/localhost/nfd/strategy/ncc/%FD%01 using ndn-traffic client to send 100 interests... collecting nfdc face list 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 .>> TEST SUCCESSFUL Testing ContentStore and Freshness ********************************** Test script return value: 0 ********************************** Testing route inheritance flags ***************************** >>> test route inheritance <<< >> TEST ROUTE INHERITANCE FLAGS PROCEDURE PASSED SUCCESSFULLY ******************************** Testing nack with best-route ***************************** >>> test nack <<< >> TEST NACK PROCEDURE PASSED SUCCESSFULLY ******************************** Testing Mobility with Link ***************** Test script return value: 0 ***************** 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 ****************************** [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 -> 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 -> Starting ping server on B -> Stopping NFD .ndn-traffic-server: no process found localhost incoming test PASSED ../out-master.sh: line 39: 5291 Terminated nc -vul 6363 > $workdir/logs/out/netcat.log 2>&1 localhost outgoing test PASSED . Testing /localhost scope control ******************************** ******************************** Testing /localhost scope control ******************************** ******************************** Testing Interest Aggregation **************************** -> Setting strategy to best-route v1 -> Starting Peek Client 2 (Prefix=/test-agg/A) -> Starting Peek Client 1 (Prefix=/test-agg/A) -> Starting Traffic Server 1 (Prefix=/test-agg, ContentDelay=2000ms) -> Stopping Traffic Server 1 -> Traffic Server 1 received 1 interest(s) -> Starting Peek Client 4 (Prefix=/test-agg/B, ChildSelector=rightmost) -> Starting Peek Client 3 (Prefix=/test-agg/B, ChildSelector=leftmost) -> Starting Traffic Server 2 (Prefix=/test-agg, ContentDelay=2000ms) -> Stopping Traffic Server 2 -> Traffic Server 2 received 2 interest(s) -> Starting Peek Client 5 (Prefix=/test-agg/C, InterestLifetime=6000ms) -> Starting Peek Client 6 (Prefix=/test-agg/C, InterestLifetime=8000ms) -> Starting Traffic Server 3 (Prefix=/test-agg, ContentDelay=2000ms) -> Starting NFD .-> Stopping Traffic Server 3 -> Traffic Server 3 received 1 interest(s) >> TEST SUCCESSFUL 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, ExcludeRange=...,D, ExpectedContent=Z) -> Traffic Client 9 received data with Content=Z -> Starting Traffic Client 10 (Prefix=ndn:/E, MustBeFresh=Yes, ExcludeRange=...,E, ExpectedContent=Z) -> Starting Traffic Server 1 (Prefix=ndn:/, FreshnessPeriod=10ms, Data=Z) -> Starting Traffic Server 2 (Prefix=ndn:/A, FreshnessPeriod=10ms, Data=A) -> 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 NFD . ====================================================================== FAIL: test_remote_register (test_auto_prefix_propagate.test_auto_prefix_propagate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vagrant/integration-tests/test_auto_prefix_propagate/test_auto_prefix_propagate.py", line 26, in test_remote_register self.fail(" >> TEST AUTOMATIC PROPAGATE PROCEDURE FAILED") AssertionError: >> TEST AUTOMATIC PROPAGATE PROCEDURE FAILED ---------------------------------------------------------------------- Ran 35 tests in 3483.873s FAILED (failures=1) -> Traffic Client 10 received data with Content=Z >> TEST SUCCESSFUL