Image Builder: modify_image encounters OSError for some packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Medium
|
Paul Larson | ||
Ubuntu CI Services |
Fix Released
|
Medium
|
Paul Larson |
Bug Description
I've seen similar behaviour for a couple of packages whoopsie first and then tgt and the trace starts from modify_image as follows.
Traceback (most recent call last):
File "./image-
image_id = modify_image(image, repos, series, packages, status_cb)
File "/srv/imagebuil
return glance_filename
File "/srv/imagebuil
shutil.
File "/usr/lib/
rmtree(
File "/usr/lib/
rmtree(
File "/usr/lib/
rmtree(
File "/usr/lib/
onerror(
File "/usr/lib/
os.rmdir(path)
OSError: [Errno 16] Device or resource busy: '/tmp/tmpYL9Vsn
http://
http://
So I created a trusty chroot env on my trusty laptop and tried to install these two packages and they failed in post install 'setting up' stage.
It could be that I am using absurd packages but because the emphasis being on kernel packages not sure if we see more issues like this in the chroot env.
description: | updated |
Changed in ubuntu-ci-services-itself: | |
importance: | Undecided → Medium |
assignee: | nobody → Paul Larson (pwlars) |
milestone: | none → phase-0 |
Changed in ubuntu-ci-services-itself: | |
status: | New → In Progress |
Changed in ubuntu-ci-services-itself: | |
status: | In Progress → Fix Released |
Changed in uci-engine: | |
assignee: | nobody → Paul Larson (pwlars) |
importance: | Undecided → Medium |
milestone: | none → phase-0 |
status: | New → Fix Released |
btw, it was my pkg selections that's absurd, i dint mean anything bad about the packages themselves :)
What's more concerning is that once this happens with one of these packages, the imagebuild_worker has to be rebooted for image building to succeed with any other packages.