canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #00117
[Bug 1993663] Re: Reinstall+erase: unconfigured /home mount leads to false success.
I checked that this behaviour has not been met since at least 14.04 (ok,
I admit I didn't test 16.04). It would be helpful to have someone
provide the insights on the intention(*) and when that was the case. If
this is not possible, we should decide what should be the behaviour now.
(*) I'd say the original intention is to format the /home partition and re-use it because of these two sentences in the test:
- "Name, username and password are accepted. You should enter the same username as the first install so that the /home partition is re-used. The continue button is enabled"
- "You should verify that the /home partition has been wiped out an no previous data has been left back "
It is also possible that the partition is not (automatically) re-used
though.
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Ubuntu Manual Tests.
https://bugs.launchpad.net/bugs/1993663
Title:
Reinstall+erase: unconfigured /home mount leads to false success.
Status in Ubuntu Manual Tests:
New
Bug description:
testcase: "Install (erase and re-install) in Ubuntu Desktop amd64 in
Kinetic Daily "
The test is supposed to check that the /home filesystem has been
wiped. I do not know if the new install is supposed to have a
dedicated /home partition too. Note that the corresponding but that I
encountered has existed since at least 20.04; I'm not sure when was
the last release with a proper behaviour and therefore I cannot work
backwards to describe that behaviour.
Currently the test "passes" because the new installation doesn't use a
dedicated /home partition and re-uses the / one ; therefore the new
install cannot use the one that had been used by the first install.
Since the test criteria is only that files created before are not
visible anymore, the test is marked as passed while it should fail.
Improvements:
- after chosing to re-install, the installer displays what will be done to partitions: this should include formatting the previously-used /home partition (which requires remembering the partition numbers seen when partitioning for the first install),
- check that 'df -h /home' outputs a 'mounted on' and a 'size' that match what is expected,
- sudo 'fdisk -l /devb/sda' (or the appropriate disk, as used when doing the first install) and check that if a dedicated /home partition is not used by the second install, then the old /home partition has been removed,
- if the new system isn't configured to use a dedicated partition, then try to mount the previous /home partition and if it doesn't fail, then 'ls' it to check that it is empty.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1993663/+subscriptions
References