freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
389 stars 161 forks source link

jail -u erase the jail #1059

Open thierry-FreeBSD opened 1 year ago

thierry-FreeBSD commented 1 year ago

On a FreeBSD-Current host (main-n263789-f190c36b5d45) I launched: $ sudo poudriere jail -u -j 14amd64 and the result is:

[00:00:00] Upgrading using freebsdci
[00:00:00] Removing 14amd64 jail... done
[00:00:18] Cleaning 14amd64 data... done
[00:00:18] Creating 14amd64 fs at /usr/local/poudriere/jails/14amd64... done
[00:00:18] Fetching MANIFEST for FreeBSD 14.0-CURRENT amd64
fetch: https://artifact.ci.freebsd.org/snapshot/14.0-CURRENT/latest_tested/amd64/amd64/MANIFEST: Operation timed out
fetch: https://artifact.ci.freebsd.org/snapshot/14.0-CURRENT/latest_tested/amd64/amd64/MANIFEST: Operation timed out
[00:02:49] Error: Failed to fetch from https://artifact.ci.freebsd.org/snapshot/14.0-CURRENT/latest_tested/amd64/amd64/MANIFEST
[00:02:49] Error while creating jail, cleaning up.
[00:02:49] Removing 14amd64 jail... done
[00:02:49] Cleaning 14amd64 data... done

The jail has been totally erased!

$ sudo poudriere jail -l
JAILNAME VERSION ARCH METHOD TIMESTAMP PATH

Environment

bdrewery commented 5 months ago

996 is similar. This wiping the jail on an update is no good.