canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #00118
[Bug 1993663] Re: Reinstall+erase: unconfigured /home mount leads to false success.
** Description changed:
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.
+ UPDATE: I made a mistake since I had missed something in the testcase near the end.
+ It is expected that the new installation doesn't re-use the /home partition from the first installation. However I also think the testcase should be improved by providing a way to check the data in the now-unused /home partition has been indeed deleted if that is indeed what is wanted.
- Improvements:
+
+ Possible mprovements:
- 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.
+ - try to mount the previous /home partition and if it doesn't fail, then 'ls' it to check that it is empty.
--
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.
UPDATE: I made a mistake since I had missed something in the testcase near the end.
It is expected that the new installation doesn't re-use the /home partition from the first installation. However I also think the testcase should be improved by providing a way to check the data in the now-unused /home partition has been indeed deleted if that is indeed what is wanted.
Possible mprovements:
- 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),
- 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