Project Number Date
test_Tails_ISO_devel 3589 16 Nov 2024, 12: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 11:18.018 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.686
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.069
And I prepare Tails for memory erasure tests 0.488
When I start a process allocating 128 MiB of memory with a known pattern 6.484
Then patterns cover at least 128 MiB in the guest's memory 3.678

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.502% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.000
7:32.536
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 6:49.682
And I prepare Tails for memory erasure tests 0.719
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.875
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.245

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.012