sbuild ADT test can only pass in devel series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbuild (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Yakkety |
Won't Fix
|
Medium
|
Dimitri John Ledkov | ||
Zesty |
Fix Released
|
Medium
|
Łukasz Zemczak |
Bug Description
[Impact]
* sbuild adt tests assume that the test is running on the host, which is the current devel series, which is not the case when adt tests are running as part of SRU regression testing.
[Test Case]
* ADT test should pass
[Regression Potential]
* sbuild itself is not modified, only the autopkgtest themself are fixed to not make unrealistic assumptions
[Other Info]
* Original bug report / problem description
src:sbuild has test build-procenv which can only pass in devel series, as it assumes that the release test is running is the devel series.
This was true, until we started to run adt tests for stable releases and SRUs.
Here is the detailed log of running build-procenv on xenial, whilst devel series is called artful:
# ADTTMP=$(mktemp -d) sh -x debian/
+ set -e
+ pkg=procenv
+ components=
+ lsb_release -is
+ tr [A-Z] [a-z]
+ distro=ubuntu
+ [ -z ubuntu ]
+ lsb_release -cs
+ host_release=xenial
+ [ -z xenial ]
+ [ ubuntu = ubuntu ]
+ distro-info --devel
+ release=artful
+ components=
+ dpkg --print-
+ url=http://
+ dpkg --print-
+ arch=amd64
+ [ -z amd64 ]
+ [ -z /tmp/tmp.QYJvzqYkbV ]
+ dir=/tmp/
+ chroot=
+ schroot -l
+ schroots=
+ [ -n ]
+ [ -z ]
+ apt-config shell http_proxy Acquire:
+ RES=
+ eval
+ export http_proxy
+ echo INFO: using proxy: (none)
INFO: using proxy: (none)
+ echo INFO: Downloading source for package 'procenv' from release 'artful'
INFO: Downloading source for package 'procenv' from release 'artful'
+ apt-get source --download-only -o APT::Sandbox:
Reading package lists... Done
E: Unable to find a source package for procenv
There are a couple of options here depending what we want to test. We can either build procenv from $current on $current release -> this will test that e.g. SRUs in xenial, do not break building packages for xenial on xenial.
Or we can try to always build procenv from $devel in $devel chroot -> this will test that all currently supported releases, can build packages for $devel series.
no longer affects: | sbuild (Ubuntu Zesty) |
no longer affects: | sbuild (Ubuntu Artful) |
Changed in sbuild (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in sbuild (Ubuntu Yakkety): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in sbuild (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in sbuild (Ubuntu Yakkety): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
milestone: | none → yakkety-updates |
Changed in sbuild (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04.3 |
Changed in sbuild (Ubuntu Yakkety): | |
status: | Fix Committed → Won't Fix |
tags: |
added: verification-done-xenial removed: verification-needed |
Hello Dimitri, or anyone else affected,
Accepted sbuild into yakkety-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ sbuild/ 0.71.0- 2ubuntu1. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!