Project Number Date
test_Tails_ISO_devel 3834 25 May 2025, 09:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:33.631 Passed
Feature System memory erasure on shutdown
As a Tails user when I shutdown Tails I want the system memory to be free from sensitive data.
27.470
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.398
And I prepare Tails for memory erasure tests 0.417
When I start a process allocating 128 MiB of memory with a known pattern 3.494
Then patterns cover at least 128 MiB in the guest's memory 4.794

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I kill the allocating process 1.201
Then I find very few patterns in the guest's memory after 5 seconds 9.164

Pattern coverage: 0.000% (0 MiB out of 906 MiB reference memory)

After features/support/hooks.rb:330 0.992
After features/support/hooks.rb:100 0.000
34.479
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 9.134
And I prepare Tails for memory erasure tests 0.382
And I find very few patterns in the guest's memory 7.483

Pattern coverage: 0.000% (0 MiB out of 910 MiB reference memory)

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 2.557
Then patterns cover at least 99% of the test FS size in the guest's memory 7.992

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I umount "/mnt" 0.563
Then I find very few patterns in the guest's memory after 3 seconds 6.364

Pattern coverage: 0.000% (0 MiB out of 910 MiB reference memory)

After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.000
46.622
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.914
And I prepare Tails for memory erasure tests 0.412
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.986
Then I find very few patterns in the guest's memory 3.036

Pattern coverage: 0.000% (0 MiB out of 886 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 2.440
Then patterns cover at least 75% of the test FS size in the guest's memory 3.836

Pattern coverage: 84.647% (108 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.929
Then I find very few patterns in the guest's memory after 3 seconds 6.497

Pattern coverage: 0.000% (0 MiB out of 886 MiB reference memory)

# read cache
When I mount the USB drive again 0.220
And I read the content of the test FS 0.547
Then patterns cover at least 99% of the test FS size in the guest's memory 3.964

Pattern coverage: 100.596% (128 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.350
Then I find very few patterns in the guest's memory after 3 seconds 6.486

Pattern coverage: 0.000% (0 MiB out of 886 MiB reference memory)

After features/support/hooks.rb:330 1.011
After features/support/hooks.rb:100 0.000
1:20.663
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.040
And I prepare Tails for memory erasure tests 0.380
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.373
Then I find very few patterns in the guest's memory 3.091

Pattern coverage: 0.000% (0 MiB out of 910 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 1.726
Then patterns cover at least 99% of the test FS size in the guest's memory 3.487

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 0.824
Then I find very few patterns in the guest's memory after 3 seconds 6.129

Pattern coverage: 0.000% (0 MiB out of 910 MiB reference memory)

# read cache
When I mount the USB drive again 3.886
And I read the content of the test FS 0.474
Then patterns cover at least 99% of the test FS size in the guest's memory 3.579

Pattern coverage: 106.115% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 0.704
Then I find very few patterns in the guest's memory after 3 seconds 5.965

Pattern coverage: 0.000% (0 MiB out of 910 MiB reference memory)

After features/support/hooks.rb:330 1.194
After features/support/hooks.rb:100 0.000
52.439
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.099
And I prepare Tails for memory erasure tests 0.425
When I fill a 128 MiB file with a known pattern on the root filesystem 18.383
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.663
Then patterns cover at least 128 MiB in the guest's memory 3.036

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 20.817

Pattern coverage: 0.000% (0 MiB out of 886 MiB reference memory)

After features/support/hooks.rb:330 3.471
After features/support/hooks.rb:100 0.000
7:31.956
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:43.519
And I prepare Tails for memory erasure tests 0.439
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.728
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.256

Pattern coverage: 0.000% (0 MiB out of 908 MiB reference memory)

After features/support/hooks.rb:330 3.499
After features/support/hooks.rb:100 0.015