Bug 2231388 - Calculating of installation completeness (progress) shows nonsensical numbers.
Summary: Calculating of installation completeness (progress) shows nonsensical numbers.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2231339
TreeView+ depends on / blocked
 
Reported: 2023-08-11 13:19 UTC by Lukas Ruzicka
Modified: 2023-08-11 15:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Above 100 (8.00 KB, image/png)
2023-08-11 13:21 UTC, Lukas Ruzicka
no flags Details
Negative numbers (8.05 KB, image/png)
2023-08-11 13:21 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2023-08-11 13:19:48 UTC
On certain occasions, the calculation of completeness (the installation progress) shows negative numbers, such as "-80%" and that sometimes starts way above "-100%", such as "-130%" and then it is slowly decreasing to "0%" as the installation nears its completeness.

Version:
anaconda-webui-39.29-1.fc39.x86_64



Reproducible: Always

Steps to Reproduce:
This was quite difficult to reproduce, but I finally managed.

1. Use the current Fedora installer (no webui) and generate the default layout (btrfs with /root and /home). Alternatively, you can use the webui with "Erase all" which produces the default layout, too.
2. Reboot the machine.
3. Boot into the Live system, install `anaconda-webui` and start it.
4. Select the option to reuse the mountpoints.
5. Assign both /boot and /root from the previous installation, using the btrfs root subvolume for /root.
6. Add another mountpoint, /boot, and assign the btrfs home subvolume from the previous installation.
7. Confirm and start the installation.
8. Watch the progress meter.
Actual Results:  
The progress meter shows negative numbers.

Expected Results:  
The progress meter should show positive numbers from 0 to 100, as the installation progresses.

See the attached images.

Comment 1 Lukas Ruzicka 2023-08-11 13:21:13 UTC
Created attachment 1983015 [details]
Above 100

Comment 2 Lukas Ruzicka 2023-08-11 13:21:47 UTC
Created attachment 1983016 [details]
Negative numbers


Note You need to log in before you can comment on or make changes to this bug.