Project Number Date
test_Tails_ISO_improved-new-identity-scenario 13 12 May 2025, 13:42

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 13:39.053 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.
28.083
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 10.517
And I prepare Tails for memory erasure tests 0.444
When I start a process allocating 128 MiB of memory with a known pattern 2.705
Then patterns cover at least 128 MiB in the guest's memory 4.707

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

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

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

After features/support/hooks.rb:330 0.822
After features/support/hooks.rb:100 0.000
36.274
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.653
And I prepare Tails for memory erasure tests 0.480
And I find very few patterns in the guest's memory 7.129

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

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

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

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

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

After features/support/hooks.rb:330 1.045
After features/support/hooks.rb:100 0.000
53.345
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 9.054
And I prepare Tails for memory erasure tests 0.462
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.622
Then I find very few patterns in the guest's memory 4.092

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

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

Pattern coverage: 87.498% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.605
After features/support/hooks.rb:100 0.000
1:26.560
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.653
And I prepare Tails for memory erasure tests 0.487
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.937
Then I find very few patterns in the guest's memory 3.517

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.310
After features/support/hooks.rb:100 0.000
54.877
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 9.342
And I prepare Tails for memory erasure tests 0.526
When I fill a 128 MiB file with a known pattern on the root filesystem 17.486
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.040
Then patterns cover at least 128 MiB in the guest's memory 3.504

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

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

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

After features/support/hooks.rb:330 3.735
After features/support/hooks.rb:100 0.000
9:19.911
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:31.083
And I prepare Tails for memory erasure tests 0.471
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.764
When I trigger shutdown 0.020
Then I find very few patterns in the guest's memory after 20 seconds 22.570

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

After features/support/hooks.rb:330 3.641
After features/support/hooks.rb:100 0.012