Project Number Date
test_Tails_ISO_stable 5045 26 Aug 2024, 08:40

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

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

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

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

After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
24.589
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.298
And I prepare Tails for memory erasure tests 0.695
And I find very few patterns in the guest's memory 2.906

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

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

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

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

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

After features/support/hooks.rb:326 1.480
After features/support/hooks.rb:100 0.000
50.206
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.358
And I prepare Tails for memory erasure tests 0.524
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.152
Then I find very few patterns in the guest's memory 2.977

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

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

Pattern coverage: 89.518% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.596
After features/support/hooks.rb:100 0.000
8:14.511
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:30.228
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 22.692
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.149

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

After features/support/hooks.rb:326 3.508
After features/support/hooks.rb:100 0.011