uvt-simplestreams-libvirt in ubuntu_kvm_smoke_test will eat up all disk free space on Jammy AWS baremetal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
uvtool (Ubuntu) |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
Issue found with Jammy 5.15.0-28.29 with AWS bare-metal instances:
* a1.metal
* i3.metal
* r5.metal
Test failed while trying to fetch the image:
uvt-simplestr
Error message:
libvirt.
By monitoring the df -h command, you can see the free disk space on / has dropped from:
/dev/nvme0n1p1 7.6G 4.6G 3.0G 61% /
To:
/dev/nvme0n1p1 7.6G 7.0G 626M 92% /
As this task was not completed, `uvt-simplestre
This does not seems to be an issue to bare-metal nodes in our lab (maybe it's because they have a bigger disk). Look back into history, I can see this failure with:
* 5.15.0-27.28 - a1.metal only
* 5.15.0-25.25 - a1.metal, r5.metal (i5.metal failed with provision issue)
* 5.15.0-23.23 - a1.metal, i3.metal, r5.metal
The amd64 / arm64 image on http://
tags: | added: sru-20220418 ubuntu-kvm-smoke |
tags: |
added: 5.15 aws jammy ubuntu-kvm-smoke-test removed: ubuntu-kvm-smoke |
When you run this `uvt-simplestre ams-libvirt sync` command, I noticed there will be two files created in /tmp: uvtool/ libvirt/ images/ , the file size reaches about 1.1G then disk space runs out :/var/lib/ uvtool/ libvirt/ images# ls -alh b64-Y29tLnVidW5 0dS5jbG91ZC5kYW lseTpzZXJ2ZXI6M jIuMDQ6YXJtNjQg MjAyMjA0MjM= '
-rw------- 1 root root 575M Apr 29 09:23 tmpf17tglw6
-rw------- 1 root root 1.4G Apr 29 09:23 tmpi4lq8p24
After that, it will start writing image file in /var/lib/
<email address hidden>
total 1.1G
-rw------- 1 root root 1.1G Apr 29 09:14 'x-uvt-