Project

General

Profile

Actions

Feature #2994

closed

UDP permanent face scenario

Added by Junxiao Shi over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Develop an IntegrationTests scenario to test UDP permanent face minimal feature set.

Topology:

A--B

Procedure:

  1. start NFD on A and B
  2. on B, start ndnpingserver for prefix /B
  3. on A, create a UDP permanent face toward B
  4. on A, register prefix ndn:/B on the face created in step 3
  5. 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%
  6. stop NFD on B
  7. 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%
  8. start NFD on B
  9. on B, start ndnpingserver for prefix /B
  10. 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

20151011152551.tgz (148 KB) 20151011152551.tgz integ 2504,1 Junxiao Shi, 10/11/2015 11:33 AM
20151020094657.tgz (157 KB) 20151020094657.tgz integ 2504,1 attempt 2 Junxiao Shi, 10/20/2015 11:19 AM
20151029091657.tgz (159 KB) 20151029091657.tgz integ 2504,2 Junxiao Shi, 10/29/2015 08:07 AM
20151103221809.tgz (160 KB) 20151103221809.tgz integ 2504,3 Junxiao Shi, 11/04/2015 08:43 AM

Related issues 2 (0 open2 closed)

Blocked by NFD - Feature #2991: FaceManager: specify face persistencyClosedYukai Tu

Actions
Blocked by NFD - Feature #2993: nfdc: create permanent facesClosedJoao Pereira

Actions
Actions #1

Updated by Junxiao Shi over 9 years ago

  • Blocked by Feature #2991: FaceManager: specify face persistency added
Actions #2

Updated by Junxiao Shi over 9 years ago

Actions #3

Updated by Hila Ben Abraham about 9 years ago

  • Assignee set to Hila Ben Abraham
Actions #4

Updated by Hila Ben Abraham about 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Hila Ben Abraham about 9 years ago

  • % Done changed from 0 to 60
Actions #6

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.

Actions #7

Updated by Hila Ben Abraham about 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 60 to 100
Actions #9

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?

Actions #10

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.

Actions #11

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?

Actions #13

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.

Actions #15

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.

Actions #16

Updated by Junxiao Shi about 9 years ago

Actions

Also available in: Atom PDF