https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7622

--- Comment #4 from Michael Orlitzky <[email protected]> ---
(In reply to Giovanni Bechis from comment #3)
> Geoip regression tests need network access because of dns requests.
> I added a check in r1841192, do you have something on your machine
> (iptables, selinux) that prevents dns requests ?

Many (eventually, all) Gentoo systems run the test suite in a sandbox that
prevents network access. We've found that it makes the tests a lot less useful
because users report bugs that don't exist when the tests fail due to network
problems: ISP DNS hijacking, ethernet unplugged, public wifi blocks the
request, corporate firewall prevents shady traffic... and so on. They either
report a million bugs that aren't bugs, or disable the test suites, which is
also bad =)

In this case, isn't the test looking up a host and just hoping that it always
points to an IP address in the US? If that's the case, would it make sense to
replace the DNS hostname with its IP address in the spam sample? That way the
test doesn't require network access, and -- while the IP address might still
move -- a change in an 'A' record won't break the tests everywhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to