autopkgtest with needs-internet restriction fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
Won't Fix
|
Undecided
|
Unassigned | ||
libreswan (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
From libreswan debian/
Tests: opportunistic
Restrictions: needs-root, isolation-machine, needs-internet, skippable
Depends:
...
autopkgtest [15:33:30]: test opportunistic: [------
PING oe.libreswan.org (193.110.157.124) 56(84) bytes of data.
--- oe.libreswan.org ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4075ms
autopkgtest [15:33:45]: test opportunistic: -------
autopkgtest [15:33:45]: test opportunistic: - - - - - - - - - - results - - - - - - - - - -
opportunistic FAIL non-zero exit status 1
This test used to be skipped:
...
opportunistic SKIP unknown restriction needs-internet
...
I think if the CI infra does not provide unfiltered Internet access it should skip tests with needs-internet
Changed in auto-package-testing: | |
status: | New → Invalid |
status: | Invalid → Won't Fix |
We don't have a separate needs-web restriction, and most tests do actually need http, I'm not convinced skipping tests with needs-internet is worthwhile.