Project

General

Profile

Actions

Bug #2786

closed

UtilDns test suite fails with some (faulty?) DNS resolver configuration

Added by Alex Afanasyev about 9 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Start date:
05/04/2015
Due date:
% Done:

0%

Estimated time:

Description

This may be related to #2653, but I cannot confirm this.

The following are the steps with vagrant that I was able to reproduce the error:

mkdir test
cd test
vagrant up ubuntu/vivid64
vagrant ssh
# install ndn-cxx dependencies
# build ndn-cxx with tests and optimized mode

./build/unit-tests -t UtilDns -l all

Expected:

  • test passed

Actual:

  • tests failed

There is something funky with default VirtualBox DNS settings. The error goes away when the following is added into vagrant configuration:

config.vm.provider "virtualbox" do |vb|
  vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end

Some related info is here: http://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working


Related issues 1 (0 open1 closed)

Is duplicate of ndn-cxx - Bug #3270: Occasional non-reproducible test failure in UtilDns/AsynchronousV6Closed

Actions
Actions

Also available in: Atom PDF