https://redmine.named-data.net/https://redmine.named-data.net/favicon.ico?14759811232014-04-04T09:58:14ZNDN project issue tracking systemNFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=19022014-04-04T09:58:14ZHila Ben Abrahamhilata@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>Do we want automated script here as in <a class="issue tracker-3 status-5 priority-2 priority-default closed" title="Task: nfdc and nfd-status test scenario (Closed)" href="https://redmine.named-data.net/issues/1388">#1388</a>?</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=19042014-04-04T10:30:09ZJunxiao Shi
<ul></ul><p>Ultimately, every test scenario should be automated.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=19652014-04-07T19:51:41ZHila Ben Abrahamhilata@gmail.com
<ul></ul><p>I need some more time to verify this tool. this is my current status:</p>
<p>Step 1:</p>
<p>ndn-autoconfig-server fails to register a FaceMgmt uri. I need more time to debug it to understand if I'm doing something wrong here.</p>
<p>Step 2 (After setting: search ndnsim.net): </p>
<p>I get the next uri: udp://spurs.cs.ucla.edu:1395, but whenever I try to connect to this uri, I get:<br>
ERROR: Failed to create face: : Unauthorized command (code: 403)</p>
<p>Step 3:</p>
<p>Is there anyway to test it using a tmp certificate? </p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=19672014-04-07T20:29:24ZAlex Afanasyev
<ul></ul><p>For step 3, just create a self-signed certificate with the "correct" name.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=25822014-04-27T20:22:01ZHila Ben Abrahamhilata@gmail.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>80</i></li></ul><p>All stages passed.</p>
<p>I suspect that we need to set a larger timeout to ndn-autoconfig-server, what do you think?</p>
<p>80% represents manual tests as well as a basic script. I still need to modify the script to use the integration framework.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=25862014-04-27T21:26:56ZAlex Afanasyev
<ul></ul><p>Hila, is it a typo about the port number returned by DNS query (1395) or is it that you're getting in the script? The port configured in DNS entry is 6363.</p>
<p>There is no need to modify timeout for the server. The current timeout is long enough (~4 seconds).</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=25892014-04-27T21:31:12ZJunxiao Shi
<ul><li><strong>Subject</strong> changed from <i>Test Hub Discovery tool</i> to <i>Hub Discovery test scenario</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/2589/diff?detail_id=2617">diff</a>)</li></ul> NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=25912014-04-28T08:52:13ZHila Ben Abrahamhilata@gmail.com
<ul></ul><p>Alex, it's not a typo... it's a bug. be16toh is missing. I'll fix it now.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=26032014-04-28T13:55:31ZHila Ben Abrahamhilata@gmail.com
<ul></ul><p>I actually already use be16toh, but I'm taking the port number at the wrong place...</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=26042014-04-28T14:31:27ZHila Ben Abrahamhilata@gmail.com
<ul></ul><p>After solving <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: ndn-autoconfig: fail to parse the correct port number returned by DNS query (Closed)" href="https://redmine.named-data.net/issues/1550">#1550</a>, I get:</p>
<p>Stage2:</p>
<pre><code>Stage 1: Trying multicast discovery...
Timeout
Stage 2: Trying DNS query with default suffix...
about to connect to: udp://spurs.cs.ucla.edu:6363
Successfully created face: ControlParameters(FaceId: 45, Uri: udp://spurs.cs.ucla.edu:6363, )
</code></pre>
<p>Stage 3:</p>
<pre><code>Stage3: About to query for a home router: _ndn._udp.hila.wustl.edu.ndn._homehub._autoconf.named-data.net
about to connect to: udp://momcat.arl.wustl.edu:6363
Successfully created face: ControlParameters(FaceId: 43, Uri: udp://momcat.arl.wustl.edu:6363, )
</code></pre>
<p>I am ready to push the changes if that looks OK.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=26052014-04-28T14:33:28ZHila Ben Abrahamhilata@gmail.com
<ul></ul><p>Sorry, I can't modify the previous comment and it looks bad...</p>
<p>Stage2: </p>
<pre><code>Stage 1: Trying multicast discovery...
Timeout Stage
2: Trying DNS query with default suffix...
about to connect to: udp://spurs.cs.ucla.edu:6363 Successfully created face: ControlParameters(FaceId: 45, Uri: udp://spurs.cs.ucla.edu:6363, )
</code></pre>
<p>Stage 3: </p>
<pre><code>Stage3: About to query for a home router: ndn.udp.hila.wustl.edu.ndn.homehub.autoconf.named-data.net
about to connect to:
udp://momcat.arl.wustl.edu:6363 Successfully created face: ControlParameters(FaceId: 43, Uri: udp://momcat.arl.wustl.edu:6363, )
</code></pre> NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=28062014-05-09T10:11:01ZAlex Afanasyev
<ul><li><strong>Target version</strong> changed from <i>v0.1</i> to <i>v0.2</i></li></ul> NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=34202014-06-22T19:11:09ZJunxiao Shi
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/3420/diff?detail_id=3482">diff</a>)</li></ul><p>I'm correcting a mistake in the spec.<br>
Stage 2 and 3 testing must be done on host D, because A and D cannot talk over multicast.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=34412014-06-24T04:58:21ZJunxiao Shi
<ul><li><strong>File</strong> <a href="/attachments/86">result_c947-3.tgz</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/86/result_c947-3.tgz">result_c947-3.tgz</a> added</li></ul><p>uploading patchset 3 log</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=34552014-06-24T17:08:49ZJunxiao Shi
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/3455/diff?detail_id=3509">diff</a>)</li></ul><p>Correcting another mistake.<br>
Host B should be configured such that Stage 1, 2, and 3 can all work, but <code>ndn-autoconfig</code> tool should try stage 1 first.</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=35442014-06-27T15:26:20ZJunxiao Shi
<ul><li><strong>File</strong> <a href="/attachments/90">result_c947-6.tgz</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/90/result_c947-6.tgz">result_c947-6.tgz</a> added</li></ul><p>upload patchset 6 verification logs</p>
NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=36022014-06-30T18:23:53ZAlex Afanasyev
<ul><li><strong>Target version</strong> changed from <i>v0.2</i> to <i>v0.3</i></li></ul> NFD - Task #1444: Hub Discovery test scenariohttps://redmine.named-data.net/issues/1444?journal_id=36712014-07-01T19:58:59ZJunxiao Shi
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>Start date</strong> deleted (<del><i>04/03/2014</i></del>)</li><li><strong>% Done</strong> changed from <i>80</i> to <i>100</i></li></ul><p>This Task is finally complete after being open for almost 3 months.</p>