Merge ~hyask/autopkgtest-cloud:skia/iptables_for_rust-reqwest into autopkgtest-cloud:master
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 74feb79f48de31f60e2c8428562e64121fe1ebc0 | ||||
Proposed branch: | ~hyask/autopkgtest-cloud:skia/iptables_for_rust-reqwest | ||||
Merge into: | autopkgtest-cloud:master | ||||
Diff against target: |
23 lines (+7/-1) 1 file modified
charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker-config-production/setup-canonical.sh (+7/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paride Legovini | Approve | ||
Review via email: mp+473064@code.launchpad.net |
Description of the change
Add a special iptables rule to make 'rust-reqwest' to pass.
These IP addresses are supposed to be unreachable in most networks. For
some reason they are routed differently on Canonical's infrastructure
and sent to the proxy, which makes some tests to fail because they
expect a timeout instead when trying to reach the IPs.
Blocking these addresses might have unintended side effects since
a quick search in Debian Code Search shows that many packages uses
10.255.255.1 in their test suite. However, it seems to me that most
packages indeed expect it to be unreachable, so I guess making that a
reality should in fact help more than one package, but it's difficult to
be certain that it won't break one particular package somewhere.