[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#955535: httping: flaky autopkgtest: PING google.com:80

On Thu, 02 Apr 2020 at 08:56:38 +0200, Sebastian Andrzej Siewior wrote:
> it seems to have failed because the test is not allowed to connect to
> the internet (or google itself).
> Could it be verified what the test policy is in regard to network access

Tests may access the internet, but only HTTP and HTTPS can be relied
on, and those only if access via a proxy (according to the http_proxy etc.
environment variables) is implemented.


It might help if the test had a "control" to check whether the same mode
of internet access (plain HTTP request to google.com?) was possible, via
some independently-implemented mechanism, like wget, curl or Python:

- other thing works and httping also works: successful test
- other thing works and httping fails: fail test
- other thing fails and httping also fails: skip test
  (add the skippable restriction, and exit 77)
- other thing fails but httping works: ???

(However, if the other thing implements HTTP through a proxy and httping
does not, that won't necessarily help.)


Reply to: