Feature #2994
closedUDP permanent face scenario
100%
Description
Develop an IntegrationTests scenario to test UDP permanent face minimal feature set.
Topology:
A--B
Procedure:
- start NFD on A and B
- on B, start
ndnpingserver
for prefix /B - on A, create a UDP permanent face toward B
- on A, register prefix ndn:/B on the face created in step 3
- on A, execute
ndnping
for prefix ndn:/B with client specifier "a" for 10 probes; fail the scenario if loss rate is more than 15% - stop NFD on B
- on A, execute
ndnping
for prefix ndn:/B with client specifier "b" for 10 probes; fail the scenario if loss rate is less than 100% - start NFD on B
- on B, start
ndnpingserver
for prefix /B - on A, execute
ndnping
for prefix ndn:/B with client specifier "c" for 10 probes; fail the scenario if loss rate is more than 15%
Files
Updated by Junxiao Shi over 9 years ago
- Blocked by Feature #2991: FaceManager: specify face persistency added
Updated by Junxiao Shi over 9 years ago
- Blocked by Feature #2993: nfdc: create permanent faces added
Updated by Hila Ben Abraham about 9 years ago
- Status changed from New to In Progress
Updated by Hila Ben Abraham about 9 years ago
Status update: I'm mostly done with the implementation of the test, and just need a couple of hours to test it. I got busy with ICN related issues so it will take me a few more days to complete it.
Updated by Hila Ben Abraham about 9 years ago
- Status changed from In Progress to Code review
- % Done changed from 60 to 100
Updated by Junxiao Shi about 9 years ago
- File 20151011152551.tgz 20151011152551.tgz added
Updated by Hila Ben Abraham about 9 years ago
According to the attached log, the following tests fail:
test_strategy
test_tcp4
test_tcp6
test_udp4
test_udp6
test_permanent_face
test_hub_discovery
test_remote_register
I'm not sure about the others, but test_permanent_face works in my environment.
I will investigate to understand what's going on. When was the last time all the tests finished successfully?
Updated by Junxiao Shi about 9 years ago
When was the last time all the tests finished successfully?
The previous integ commit was passing. Right now test_remote_register
is expected to fail because it's changed to automatic prefix propagation.
You may use ndn-cxx-breaks to trigger any combination of integ, ndn-cxx, NFD, ndn-tools.
Updated by Hila Ben Abraham about 9 years ago
I didn't find any problem with the following tests when I run the tests on my setup (both ONL and Emulab):
test_strategy
test_tcp4
test_udp4
test_permanent_face
I have a problem running IPv6 interfaces on my setup, but according to my understanding there is no problem with test_tcp6 & test_udp6 and they should work as well.
The only uncertainty that I have is regarding test_hub_discovery.
@Junxiao, could you please verify the setup you used for the attached results? Or alternatively, could you please rerun the tests using the same patch so we could check whether you receive consistent results?
Updated by Junxiao Shi about 9 years ago
- File 20151020094657.tgz 20151020094657.tgz added
Updated by Hila Ben Abraham about 9 years ago
Thank you Junxiao. In the last run all the tests pass successfully but test_permanent_face & test_remote_register.
Since it's working on my setup, I'll add some additional logs and will upload a new patch.
Updated by Junxiao Shi about 9 years ago
- File 20151029091657.tgz 20151029091657.tgz added
Updated by Hila Ben Abraham about 9 years ago
I'm not sure why it's not working. It works for me on both emulab and ONL.
The only difference I see between this test and the others is that I use nfd-start instead of sudo nfd. I don't think it should change the behavior but the log implies that nfd didn't start properly, so that would be my best guess at the moment.
Updated by Junxiao Shi about 9 years ago
- File 20151103221809.tgz 20151103221809.tgz added
- Status changed from Code review to Closed