Project Number Date
test_Tails_ISO_stable 5322 09 Dec 2024, 08:38

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 12:8.521 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.
22.070
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.465
And I prepare Tails for memory erasure tests 0.533
When I start a process allocating 128 MiB of memory with a known pattern 2.350
Then patterns cover at least 128 MiB in the guest's memory 3.344

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

When I kill the allocating process 1.648
Then I find very few patterns in the guest's memory after 3 seconds 5.727

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

After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
29.874
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.244
And I prepare Tails for memory erasure tests 0.453
And I find very few patterns in the guest's memory 2.944

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

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

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

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

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

After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
46.414
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.379
And I prepare Tails for memory erasure tests 0.518
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.232
Then I find very few patterns in the guest's memory 2.914

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000
1:13.960
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.232
And I prepare Tails for memory erasure tests 0.441
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 37.252
Then I find very few patterns in the guest's memory 2.489

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.000
53.324
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.381
And I prepare Tails for memory erasure tests 0.522
When I fill a 128 MiB file with a known pattern on the root filesystem 18.970
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.187
Then patterns cover at least 128 MiB in the guest's memory 2.468

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

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

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

After features/support/hooks.rb:326 3.572
After features/support/hooks.rb:100 0.000
8:22.877
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:37.209
And I prepare Tails for memory erasure tests 0.428
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.982
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.243

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

After features/support/hooks.rb:326 3.542
After features/support/hooks.rb:100 0.035