[Bug 1434163] Re: Can't use local deb binaries on a readonly testbed
Martin Pitt
martin.pitt at ubuntu.com
Thu Jul 14 10:07:54 UTC 2016
** 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/1434163
Title:
Can't use local deb binaries on a readonly testbed
Status in autopkgtest package in Ubuntu:
Triaged
Bug description:
In the ubuntu-ota-tests project, the debian/control defines a python
package python3-ubuntu-ota-tests. We need this package to be in the
PYTHONPATH for it to be found by the upgrade hook.
If we run
$ adt-run --unbuilt-tree . --- ssh -s adb
We will get:
dpkg-buildpackage: error: fakeroot not found, either install the fakeroot
package, specify a command with the -r option, or run this as root
blame: .
badpkg: rules build failed with exit code 2
adt-run [09:57:07]: ERROR: erroneous package: rules build failed with exit code 2
Exit request sent.
If we run:
$ bzr bd --result-dir=/tmp -- -uc -us
$ adt-run --binary /tmp/python3-ubuntu-ota-tests*.deb --built-tree . --- ssh -s ./adb-reboot-to-recovery
We will get:
sh: 1: cannot create /etc/apt/preferences.d/90autopkgtest: Read-only file system
Exit request sent.
<VirtSubproc>: failure: copydown destination failed, status 2
adt-run [09:49:48]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
I think the right solution for this case is the second one, using a
built-tree, and send the deb to the testbed. So what we are missing is
to install those debs in the tmp directory just as the rest of
dependencies.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1434163/+subscriptions
More information about the foundations-bugs
mailing list