qemu: tar: Unexpected EOF in archive in copyup()
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | autopkgtest (Debian) |
Fix Released
|
Unknown
|
||
| | autopkgtest (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
Sometimes MAAS adt tests fail to copy artifacts from the testbed to the host.
adt-run1: testbed executing test finished with exit status 0
adt-run2: >> copyup /tmp/adt-
adt-run2: << ok
adt-run2: >> copyup /tmp/adt-
adt-run2: << ok
adt-run: & ubtree0t-
ubtree0t-
adt-run2: >> copyup /tmp/adt-
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
qemu: terminating on signal 15 from pid 353
<VirtSubproc>: failure: copyup destination failed, status 2
adt-run1: ** bomb unexpected eof from the testbed
adt-run1: ** stop
adt-run1: ** close, scratch=
adt-run2: >> close
adt-run1: ** bomb cannot send to testbed: ['IOError: [Errno 32] Broken pipe\n']
adt-run1: ** stop
adt-run: testbed failed: cannot send to testbed: ['IOError: [Errno 32] Broken pipe\n']
adt-run1: ** stop
adt-run2: / tests-tree rmtree /home/ubuntu/
Build step 'Execute shell' marked build as failure
Full log can be found here: http://
This looks like bug 1317358 but the autopkgtest version used in the MAAS lab includes the fix for it, so it might be a new root cause.
| Martin Pitt (pitti) wrote : | #1 |
| Changed in autopkgtest (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| Vincent Ladeuil (vila) wrote : | #2 |
http://
FailedConsole Output
Started by remote host 10.100.0.2
Building remotely on krillin-09 in workspace /var/lib/
[vivid-
+ set +e
+ rm -Rf '*'
+ rm -r test-runner
rm: cannot remove 'test-runner': No such file or directory
+ true
+ setup_branch='lp:~canonical-ci-engineering/ubuntu-test-cases/boottest'
+ bzr_cmd='bzr branch lp:~canonical-ci-engineering/ubuntu-test-cases/boottest test-runner'
+ bzr branch 'lp:~canonical-ci-engineering/ubuntu-test-cases/boottest' test-runner
Branched 405 revisions.
+ annotate-output test-runner/
12:36:28 I: Started test-runner/
12:36:28 E: +++ readlink -f test-runner/
12:36:28 E: ++ dirname /var/lib/
12:36:28 E: + BASEDIR=
12:36:28 E: + export RELEASE=vivid
12:36:28 E: + RELEASE=vivid
12:36:28 E: + export SRC_PKG_
12:36:28 E: + SRC_PKG_
12:36:28 E: + export NODE_NAME=
12:36:28 E: + NODE_NAME=
12:36:28 E: + export ADT_TIMEOUT=600
12:36:28 E: + ADT_TIMEOUT=600
12:36:28 E: + export RSYNC_DEST=
12:36:28 E: + RSYNC_DEST=
12:36:28 E: + '[' -z krillin-09 ']'
12:36:28 E: ++ /var/lib/
12:36:28 E: + export ANDROID_
12:36:28 E: + ANDROID_
12:36:28 E: + export VERSION=
12:36:28 E: + VERSION=
12:36:28 E: + BOOTTESTRC=
12:36:28 E: + '[' -f /var/lib/
12:36:28 E: + ARCH=krillin
12:36:28 E: + PHABLET_
12:36:28 E: + export SKIP_CLICK=1
12:36:28 E: + SKIP_CLICK=1
12:36:28 E: + export SKIP_TESTCONFIG=1
12:36:28 E: + SKIP_TESTCONFIG=1
12:36:28 E: + '[' -z krillin-09 ']'
12:36:28 E: + /var/lib/
12:36:28 O: /home/phablet
12:36:28 O: 0
12:36:28 E: + TESTS=/
12:36:28 E: + REVISION=0
12:36:28 E: + PROV_CMD=
12:36:28 E: + '[' -z krillin-09 ']'
12:36:28 E: + /var/lib/
| summary: |
- tar: Unexpected EOF in archive in copyup() + qemu: tar: Unexpected EOF in archive in copyup() |
| Changed in autopkgtest (Ubuntu): | |
| status: | Triaged → Fix Committed |
| Changed in autopkgtest (Debian): | |
| status: | Unknown → New |
| Changed in autopkgtest (Debian): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package autopkgtest - 5.0.2
---------------
autopkgtest (5.0.2) unstable; urgency=medium
* test: Adjust ChrootRunner tests for changed apt-get source invocation.
Commit 762397342b changed the invocation of `apt-get source` and
`dpkg-source -x`. Adjust ChrootRunner test mock commands accordingly.
-- Martin Pitt <email address hidden> Mon, 16 Oct 2017 11:53:55 +0200
| Changed in autopkgtest (Ubuntu): | |
| status: | Fix Committed → Fix Released |


Indeed I'm aware of it, it occasionally happens on other autopkgtest runs, too. It's just exceptionally hard to reproduce locally. I already spent some hours trying to understand and reproduce the problem, so far not very successfully :-(