Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 6 13 Nov 2024, 10:37

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:53.175 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.
26.651
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.368
And I prepare Tails for memory erasure tests 0.522
When I start a process allocating 128 MiB of memory with a known pattern 2.441
Then patterns cover at least 128 MiB in the guest's memory 3.874

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.440% (119 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
50.524
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.505
When I fill a 128 MiB file with a known pattern on the root filesystem 15.245
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.308
Then patterns cover at least 128 MiB in the guest's memory 3.218

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

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

After features/support/hooks.rb:326 3.514
After features/support/hooks.rb:100 0.000
7:48.962
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:1.333
And I prepare Tails for memory erasure tests 0.932
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.378
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.306

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

After features/support/hooks.rb:326 3.512
After features/support/hooks.rb:100 0.013