There is no mechanism preventing the wrong trigger package version from being tested
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
New
|
Undecided
|
Unassigned |
Bug Description
There are cases were we had autopkgtest run against the wrong version of the trigger package; britney can be confused by this and potentially migrate untested packages. In practice we hit this issue in a couple of cases:
- We were [unnecessarily] running the setup-testbed script as a setup command (autopkgtest --setup-commands), on top of running it at image creation time. One thing the script does is clearing the /etc/apt/
- We happened to pass the wrong image to autopkgtest. The autopkgtest tool just worked fine, but of course tested packages from the wrong release.
These issues are not strictly speaking src:autopkgtest bugs: they are at the boundary between bugs in autopkgtest-cloud and user errors. However ideally autopkgtest should check that the desired trigger versions are used in the test.
Possible ways to implement this:
- When using the --apt-pocket=
- We extent the --apt-pocket=