Feature #2994
closed
UDP permanent face scenario
Added by Junxiao Shi over 9 years ago.
Updated about 9 years ago.
Category:
Integration Tests
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
- Blocked by Feature #2991: FaceManager: specify face persistency added
- Assignee set to Hila Ben Abraham
- Status changed from New to In Progress
- % Done changed from 0 to 60
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.
- Status changed from In Progress to Code review
- % Done changed from 60 to 100
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?
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.
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?
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.
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.
Also available in: Atom
PDF