image-builder might be running too soon so built packages aren't yet available on the PPA index
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Medium
|
Paul Larson | ||
Ubuntu CI Services |
Fix Released
|
Medium
|
Paul Larson |
Bug Description
We've experienced image-builder failures like that in the imagebuild_
CalledProcessError: Command '['chroot', '/tmp/tmpM1dDqL
Image builder can't find the package in the PPA, even after branch_
<Ursinha> maybe what's going on with that ppa error is that launchpad says the package is published but it's not in the actual ppa index yet
<Ursinha> there's a small gap between packages being marked as published in launchpad ui (database) and they being published to the archive index
<Ursinha> I know this happens to the main ubuntu archive, it's probably true for ppas as well
<fginther> ohh, so the image builder may be running too soon?
<Ursinha> yes
We need to be sure the package is available on the PPA index and is downloadable (or add a delay) before triggering image_builder.
Changed in ubuntu-ci-services-itself: | |
assignee: | nobody → Paul Larson (pwlars) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in uci-engine: | |
assignee: | nobody → Paul Larson (pwlars) |
importance: | Undecided → Medium |
milestone: | none → phase-0 |
status: | New → Fix Released |
I'm seeing this too on imagebuilder step: /mountpoint' , '/usr/bin/apt-get', 'update']' returned non-zero exit status 100
CalledProcessError: Command '['chroot', '/tmp/tmpVNABPa
I added a 5 min sleep on the lander_ image_builder jenkins job, 5 min on lander_master before "/srv/lander_ jenkins_ sub/lander/ bin/lander_ merge_parameter s.py --result-file params.json --service image_builder --output-file all.json --prior-file all.json" and another 5 min in cloud_image.py itself (imagebuilder) but still seeing the same error.
Image builder starting too soon could be an explanation for apt-get install to fail with 100, but I don't understand how apt-get update could fail with 100.