Task #1385
closedFIB match test scenario
100%
Description
Topology: Single host.
Steps:
- Start NFD.
 -  Start ndn-traffic-server to serve 
ndn:/with Content "Z", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. -  Start ndn-traffic-server to serve 
ndn:/Awith Content "A", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. -  Start ndn-traffic-server to serve 
ndn:/A/B/Cwith Content "C", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. -  Start ndn-traffic-server to serve 
ndn:/D/Ewith Content "E", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. -  Invoke ndn-traffic-client to request 
ndn:/MustBeFresh=yes MaxSuffixComponents=2. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
 -  Invoke ndn-tlv-peek to request 
ndn:/FMustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/AMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/aMustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/A/BMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/A/B/GMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/A/B/CMustBeFresh=yes. Fail if unanswered. Fail if Content is not "C". - Wait 100ms.
 - Invoke ndn-tlv-peek to request 
ndn:/A/B/C/P/Q/R/S/T/U/V/W/X/Y/ZMustBeFresh=yes. Fail if unanswered. Fail if Content is not "C". - Wait 100ms.
 - Invoke ndn-traffic to request 
ndn:/DMustBeFresh=yes Exclude=[,D]. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
 - Invoke ndn-traffic to request 
ndn:/DMustBeFresh=yes Exclude=[,E]. Fail if unanswered. Fail if Content is not "Z". 
Script can assume necessary programs are installed and accessible in $PATH, and current user has sudo privilege.
      
      Updated by Junxiao Shi over 11 years ago
      
    
    - Subject changed from FIB test scenario to FIB match test scenario
 - Description updated (diff)
 - Category set to Integration Tests
 - Target version set to v0.1
 - Start date deleted (
03/21/2014) 
      
      Updated by Junxiao Shi over 11 years ago
      
    
    - Description updated (diff)
 - Estimated time set to 4.00 h
 
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    - Status changed from New to In Progress
 
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    - % Done changed from 0 to 90
 
Manual Testing Successful
Issue While Automating With ndn-tlv-peek. Trying to automate with ndn-traffic-client.
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    - % Done changed from 90 to 100
 
There is a newly seen unexpected data response for ndn:/
This occurs specifically against step 6 of this test scenario. All the other steps pass.
I suspect this is due to some lapses/changes in NFD's FIB/Face Management protocol but this could also be a flaw in the test case steps. Awaiting response from Junxiao/Alex on the this unexpected response.
The automated script is ready for code review.
      
      Updated by Junxiao Shi over 11 years ago
      
    
    - Description updated (diff)
 
Step 6 has an error: NFD will generate a Face Notification when ndn-tlv-peek connects, and that notification would satisfy ndn:/. I'm fixing this by adding MaxSuffixComponents=2.
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    All test steps pass with new task description.
Code ready for review.
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    - Status changed from In Progress to Code review
 
      
      Updated by Jerald Paul Abraham over 11 years ago
      
    
    - Status changed from Code review to Closed