← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1993663] [NEW] Reinstall+erase: unconfigured /home mount leads to false success.

 

Public bug reported:

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.

** Affects: ubuntu-manual-tests
     Importance: Undecided
         Status: New

** 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.
  
  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.

** Summary changed:

- Unconfigured /home mount is enough to succeed
+ Reinstall+erase: unconfigured /home mount is enough to succeed

** Summary changed:

- Reinstall+erase: unconfigured /home mount is enough to succeed
+ 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.
+ 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.

-- 
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



Follow ups