Project

General

Profile

Actions

Bug #3270

closed

Occasional non-reproducible test failure in UtilDns/AsynchronousV6

Added by susmit shannigrahi over 8 years ago. Updated about 6 years ago.

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

0%

Estimated time:

Description

I have seen this a couple of times but it's not easy to reproduce.

+ build/unit-tests
Running 607 test cases...
../tests/unit-tests/util/dns.t.cpp(79): fatal error: in "UtilDns/AsynchronousV6": Resolution should not have failed
*** 1 failure is detected in the test module "ndn-cxx Unit Tests"

Files

tcp4-hobo.pcap (1.29 KB) tcp4-hobo.pcap Junxiao Shi, 10/17/2015 08:34 AM

Related issues 2 (0 open2 closed)

Related to ndn-cxx - Bug #2148: UtilFaceUri/Canonize{Tcp,Udp} test cases randomly time out on Ubuntu 14.10ClosedDavide Pesavento

Actions
Has duplicate ndn-cxx - Bug #2786: UtilDns test suite fails with some (faulty?) DNS resolver configurationDuplicate05/04/2015

Actions
Actions #1

Updated by Davide Pesavento over 8 years ago

  • Tracker changed from Task to Bug
  • Subject changed from Occasional non-reproducable test failure in "UtilDns/AsynchronousV6" to Occasional non-reproducible test failure in UtilDns/AsynchronousV6
  • Description updated (diff)
  • Start date deleted (10/16/2015)
Actions #2

Updated by Davide Pesavento over 8 years ago

I used to see these failures months ago too. Then they stopped, so I assumed either a system resolver bug fixed by an update, or a faulty/misconfigured DNS server. The root cause could also be the same as #2148.

Any chance you can capture a full packet trace of a failing execution? You can run only this particular test with -t UtilDns/AsynchronousV6.

Actions #3

Updated by Junxiao Shi over 8 years ago

  • Related to Bug #2148: UtilFaceUri/Canonize{Tcp,Udp} test cases randomly time out on Ubuntu 14.10 added
Actions #4

Updated by Junxiao Shi over 8 years ago

Maybe related: When I try to execute nfdc register / tcp4://hobo.cs.arizona.edu on a VM in a laptop, I'm getting ERROR: Canonize faceUri failed : Timeout.

tcpdump trace reveals DNS queries are sent for both A and AAAA records, but the DNS server responds to A record query only.

Actions #5

Updated by susmit shannigrahi over 8 years ago

I tried different machines but I haven't been able to reproduce it yet.

Actions #6

Updated by Davide Pesavento over 8 years ago

Junxiao Shi wrote:

tcpdump trace reveals DNS queries are sent for both A and AAAA records, but the DNS server responds to A record query only.

But you do get one valid A reply... so why is it considered a timeout failure?

Furthermore, since we're resolving for tcp4://, we should send out queries for A records only.

Actions #7

Updated by susmit shannigrahi over 8 years ago

Package has been approved but we still need to address this.

Actions #8

Updated by Davide Pesavento over 8 years ago

  • Target version changed from v0.4 to v0.5
Actions #9

Updated by Davide Pesavento over 7 years ago

  • Target version deleted (v0.5)

@susmit shannigrahi, is this still happening?

Actions #10

Updated by Junxiao Shi almost 7 years ago

  • Has duplicate Bug #2786: UtilDns test suite fails with some (faulty?) DNS resolver configuration added
Actions #11

Updated by Davide Pesavento over 6 years ago

  • Status changed from New to Feedback
Actions #12

Updated by Davide Pesavento about 6 years ago

  • Status changed from Feedback to Closed

Let's close this for now. Please reopen if it happens again.

Actions

Also available in: Atom PDF