maximize-build-space icon indicating copy to clipboard operation
maximize-build-space copied to clipboard

WARNING: ext4 signature detected on /dev/buildvg/buildlv at offset 1080

Open tiopex opened this issue 7 months ago • 1 comments

maximize-build-space sometimes fails with reason:

2025-05-14T10:12:20.1439551Z WARNING: ext4 signature detected on /dev/buildvg/buildlv at offset 1080. Wipe it? [y/n]: [n] 2025-05-14T10:12:20.1450305Z Aborted wiping of ext4.

Full log:

2025-05-14T10:12:05.2097085Z Root reserve: 6144 MiB 2025-05-14T10:12:05.2097542Z Temp reserve: 100 MiB 2025-05-14T10:12:05.2097875Z Swap space: 8192 MiB 2025-05-14T10:12:05.2098202Z Overprovision LVM: true 2025-05-14T10:12:05.2098599Z Mount path: /home/runner/work/distribution/distribution 2025-05-14T10:12:05.2099024Z Root PV loop path: /pv.img 2025-05-14T10:12:05.2099406Z Temp PV loop path: /mnt/tmp-pv.img 2025-05-14T10:12:05.2099818Z Removing: dotnet android haskell codeql docker 2025-05-14T10:12:05.2297941Z Removing unwanted software... 2025-05-14T10:12:19.5112734Z Total reclaimed space: 0B 2025-05-14T10:12:19.5133181Z ... done 2025-05-14T10:12:19.5534427Z Unmounting and removing swap file. 2025-05-14T10:12:19.5535141Z Creating LVM Volume. 2025-05-14T10:12:19.5535616Z Creating LVM PV on root fs. 2025-05-14T10:12:19.9085924Z Physical volume "/dev/loop0" successfully created. 2025-05-14T10:12:19.9276246Z Creating LVM PV on temp fs. 2025-05-14T10:12:19.9820126Z Physical volume "/dev/loop1" successfully created. 2025-05-14T10:12:20.0194169Z Volume group "buildvg" successfully created 2025-05-14T10:12:20.0334556Z Recreating swap 2025-05-14T10:12:20.0666805Z Logical volume "swap" created. 2025-05-14T10:12:20.0988818Z Setting up swapspace version 1, size = 8 GiB (8589930496 bytes) 2025-05-14T10:12:20.0989986Z no label, UUID=df818494-db3e-4389-88ec-23f52653de21 2025-05-14T10:12:20.1134765Z Creating build volume 2025-05-14T10:12:20.1439551Z WARNING: ext4 signature detected on /dev/buildvg/buildlv at offset 1080. Wipe it? [y/n]: [n] 2025-05-14T10:12:20.1450305Z Aborted wiping of ext4. 2025-05-14T10:12:20.1450768Z 1 existing signature left on the device. 2025-05-14T10:12:20.1453352Z Failed to wipe signatures on logical volume buildvg/buildlv. 2025-05-14T10:12:20.1455509Z Aborting. Failed to wipe start of new LV. 2025-05-14T10:12:20.3133488Z ##[error]Process completed with exit code 5.

tiopex avatar May 14 '25 10:05 tiopex

I'm getting the same. It happens randomly and not in every build.

Total reclaimed space: 3.419GB
... done
Unmounting and removing swap file.
Creating LVM Volume.
  Creating LVM PV on root fs.
  Physical volume "/dev/loop3" successfully created.
  Creating LVM PV on temp fs.
  Physical volume "/dev/loop4" successfully created.
  Volume group "buildvg" successfully created
Recreating swap
  Logical volume "swap" created.
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=f535175b-56b5-4b6f-b37e-f7ea55ae03ad
Creating build volume
WARNING: ext4 signature detected on /dev/buildvg/buildlv at offset 1080. Wipe it? [y/n]: [n]
  Aborted wiping of ext4.
  1 existing signature left on the device.
  Failed to wipe signatures on logical volume buildvg/buildlv.
  Aborting. Failed to wipe start of new LV.

ReenigneArcher avatar Jul 03 '25 22:07 ReenigneArcher