Merge lp:~paelzer/britney/hints-ubuntu-focal-strongswan-no-i386 into lp:~ubuntu-release/britney/hints-ubuntu
Status: | Rejected |
---|---|
Rejected by: | Steve Langasek |
Proposed branch: | lp:~paelzer/britney/hints-ubuntu-focal-strongswan-no-i386 |
Merge into: | lp:~ubuntu-release/britney/hints-ubuntu |
Diff against target: |
11 lines (+1/-0) 1 file modified
ubuntu-release (+1/-0) |
To merge this branch: | bzr merge lp:~paelzer/britney/hints-ubuntu-focal-strongswan-no-i386 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Disapprove | ||
Review via email: mp+378708@code.launchpad.net |
Unmerged revisions
- 4493. By Christian Ehrhardt
-
Strongswan is not in the i386 whitelist but triggers tests
The issue reproduces in autopkgtest:
$ sudo ~/work/autopkgtest/ autopkgtest/ runner/ autopkgtest --no-built-binaries
--apt-upgrade --apt-pocket=proposed= src:re2c --setup- commands= "dpkg
--add-architecture i386; apt-get update" --shell-fail -a i386
strongswan_5.8.2-1ubuntu1. dsc -- qemu --qemu- options= '-cpu host'
--ram-size=2048 --cpus 2 ~/work/autopkgtest- focal-amd64. img But it makes no sense, if you check in there:
ubuntu@
autopkgtest: ~$ dpkg --print- foreign- architectures
i386
ubuntu@autopkgtest: ~$ dpkg --print- architecture
amd64And listed by
ubuntu@autopkgtest: ~$ apt-cache policy strongswan
strongswan:
Installed: (none)
Candidate: 5.8.1-1ubuntu1
Version table:
5.8.2-1ubuntu1 500
500 http://archive. ubuntu. com/ubuntu focal-proposed/main amd64 Packages
500 http://archive. ubuntu. com/ubuntu focal-proposed/main i386 Packages
5.8.1-1ubuntu1 990
990 http://archive. ubuntu. com/ubuntu focal/main amd64 Packages
990 http://archive. ubuntu. com/ubuntu focal/main i386 Packages But still it can't find/install it:
ubuntu@autopkgtest: ~$ sudo apt-get install strongswan:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package strongswan:i386So far so good, but why does it then trigger and fail on the i386 test?
http://autopkgtest. ubuntu. com/packages/ s/strongswan/ focal/i386 Because from d/control:
Package: strongswan
Architecture: allBut it is not just all being Arch:all it also happens to
Package: strongswan-pki
Architecture: anyAnd per https:/
/lists. ubuntu. com/archives/ ubuntu- devel/2019- December/ 040859. html
it isn't part of the whitelist.
So I'd expect the test to just "not run".For now ignore it at least on the current version.
See the (long) commit message for reasoning, ah well you know I'll copy and paste it here - might be easier.
The issue reproduces in autopkgtest: autopkgtest/ autopkgtest/ runner/ autopkgtest --no-built-binaries --apt-upgrade --apt-pocket= proposed= src:re2c --setup- commands= "dpkg --add-architecture i386; apt-get update" --shell-fail -a i386 strongswan_ 5.8.2-1ubuntu1. dsc -- qemu --qemu- options= '-cpu host' --ram-size=2048 --cpus 2 ~/work/ autopkgtest- focal-amd64. img
$ sudo ~/work/
But it makes no sense, if you check in there:
ubuntu@ autopkgtest: ~$ dpkg --print- foreign- architectures autopkgtest: ~$ dpkg --print- architecture
i386
ubuntu@
amd64
And listed by autopkgtest: ~$ apt-cache policy strongswan archive. ubuntu. com/ubuntu focal-proposed/main amd64 Packages archive. ubuntu. com/ubuntu focal-proposed/main i386 Packages archive. ubuntu. com/ubuntu focal/main amd64 Packages archive. ubuntu. com/ubuntu focal/main i386 Packages
ubuntu@
strongswan:
Installed: (none)
Candidate: 5.8.1-1ubuntu1
Version table:
5.8.2-1ubuntu1 500
500 http://
500 http://
5.8.1-1ubuntu1 990
990 http://
990 http://
But still it can't find/install it: autopkgtest: ~$ sudo apt-get install strongswan:i386
ubuntu@
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package strongswan:i386
So far so good, but why does it then trigger and fail on the i386 test? autopkgtest. ubuntu. com/packages/ s/strongswan/ focal/i386
http://
Because from d/control:
Package: strongswan
Architecture: all
But it is not just all being Arch:all it also happens to
Package: strongswan-pki
Architecture: any
And per https:/ /lists. ubuntu. com/archives/ ubuntu- devel/2019- December/ 040859. html it isn't part of the whitelist.
So I'd expect the test to just "not run".
I'm a bit uncertain, if the resolution is a different one than merging this MP please let me know what it is.