[Bug 1646544] Re: adt-run in zesty fails
Martin Pitt
martin.pitt at ubuntu.com
Wed Dec 7 21:29:09 UTC 2016
This apparently broke with
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=85621d2f0
. With -d I see
+ export PATH=/tmp/autopkgtest.a5vAMh/deps/sbin:/tmp/autopkgtest.a5vAMh/deps/bin:/tmp/autopkgtest.a5vAMh/deps/usr/sbin:/tmp/autopkgtest.a5vAMh/deps/usr/bin:/tmp/autopkgtest.a5vAMh/deps/usr/games:/sbin:/usr/sbin:/bin:/usr/bin
+ mktemp -d /tmp/autopkgtest.a5vAMh/build.XXX
+ builddir=/tmp/autopkgtest.a5vAMh/build.ktb
+ cd /tmp/autopkgtest.a5vAMh/build.ktb
+ cp -rd --preserve=timestamps -- /tmp/autopkgtest.a5vAMh/ubtree- real-tree
+ [ -x real-tree/debian/rules ]
+ dpkg-source --before-build real-tree
dpkg-source: error: changelog format debian is unknown
while this looks different without the read-only apt:
+ dpkg-source --before-build real-tree
sh: 1: gcc: not found
dpkg-source: warning: couldn't determine gcc system type, falling back to default (native compilation)
+ chmod -R a+rX .
+ cd real-tree/.
So obviously dpkg-source fails when being called from /tmp/, which is
easy to reproduce in the VM (with -s):
ubuntu at autopkgtest:/tmp/autopkgtest.QZEKZ1/build.wod$ PERL5LIB=../deps/usr/share/perl5 ../deps/usr/bin/dpkg-source --before-build real-tree
dpkg-source: error: changelog format debian is unknown
It should just use ../deps/usr/share/perl5/Dpkg/Changelog/Debian.pm
here:
# Find the right changelog parser.
my $format = ucfirst lc $options{changelogformat};
my $changes;
eval qq{
require Dpkg::Changelog::$format;
\$changes = Dpkg::Changelog::$format->new();
};
error(g_('changelog format %s is unknown: %s'), $format, $@) if $@;
But in strace I cannot see any attempt to open "Changelog.*ebian"
whereas I totally can when dpkg-dev is installed:
open("/usr/share/perl5/Dpkg/Changelog/Debian.pm", O_RDONLY) = 3
At this point this becomes a bit tedious to track down.
I also suppose this is not really an issue any more as it works fine in
xenial and vivid is dead now?
** Summary changed:
- adt-run in zesty fails
+ "changelog format debian is unknown" with read-only testbeds on < xenial
** Changed in: autopkgtest (Ubuntu)
Importance: Undecided => Low
** Changed in: autopkgtest (Ubuntu)
Assignee: Martin Pitt (pitti) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1646544
Title:
"changelog format debian is unknown" with read-only testbeds on <
xenial
Status in autopkgtest package in Ubuntu:
Triaged
Bug description:
Please see the attached error message for ubuntu-system-tests
http://paste.ubuntu.com/23563649/ the test setup fails with these
errors:
dpkg-source: error: changelog format debian is unknown
blame: /home/om26er/code/canonical/ubuntu-system-tests
badpkg: rules extract failed with exit code 2
adt-run [20:11:46]: ERROR: erroneous package: rules extract failed with exit code 2
I downgraded autopkg test to yakkety version and my test setup ran
successfully.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: autopkgtest 4.2.2
ProcVersionSignature: Ubuntu 4.8.0-28.30-generic 4.8.6
Uname: Linux 4.8.0-28-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Dec 1 21:47:06 2016
InstallationDate: Installed on 2016-11-13 (17 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to zesty on 2016-11-22 (9 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1646544/+subscriptions
More information about the foundations-bugs
mailing list