Project

General

Profile

action #65801

Updated by riafarov almost 2 years ago

## Observation

- Only 1.5GB are reserved for `/` partition: https://openqa.opensuse.org/tests/1316931#step/partitioning_splitusr/11
- Only 5GB (4.88GB) are reserved for `/usr` partition: https://openqa.opensuse.org/tests/1316931#step/partitioning_splitusr/18
- Installation takes 2.9GB: https://openqa.opensuse.org/tests/1316931#step/installation_overview/1
- Data takes 225MB compressed + 236MB uncompressed (it is downloaded into `/home` which is in the 1.5GB `/` partition.

We have same issue on TW: https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=splitusr&version=Tumbleweed#
But there we are lucky not to run out of disk space, in the code we have `type_string '1.5G';`, so to fix it it's very easy,
but we also want to make this code more reliable and not just smash keys and hope that we did the right thing.
We already have `sub resize_partition` in `lib/partition_setup.pm`, so we should reuse it here.



## Reproducible

- Fails since in scenario opensuse-15.2-DVD-x86_64-splitusr@64bit-HD40G
- Current occurrence: [695.1](https://openqa.opensuse.org/tests/1316931#step/prepare_test_data/13)
- [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit-HD40G&test=splitusr&version=15.2)

Back