Project Number Date
test_Tails_ISO_devel 3235 13 Jan 2024, 12:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 13:37.922 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.
18.992
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.469
And I prepare Tails for memory erasure tests 0.563
When I start a process allocating 128 MiB of memory with a known pattern 2.356
Then patterns cover at least 128 MiB in the guest's memory 3.521

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

When I kill the allocating process 0.236
Then I find very few patterns in the guest's memory 3.845

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

After features/support/hooks.rb:291 0.731
After features/support/hooks.rb:75 0.000
1:1.227
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.507
And I prepare Tails for memory erasure tests 0.569
And I find very few patterns in the guest's memory 4.168

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

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

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

When I umount "/mnt" 0.428
Then I find very few patterns in the guest's memory 4.448

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

After features/support/hooks.rb:291 1.412
After features/support/hooks.rb:75 0.000
2:49.332
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.326
And I prepare Tails for memory erasure tests 0.551
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.043
Then I find very few patterns in the guest's memory 4.543

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

# write cache
When I fill the USB drive with a known pattern 2:11.471
Then patterns cover at least 86% of the test FS size in the guest's memory 3.227

Pattern coverage: 94.917% (118 MiB out of 124 MiB reference memory)

When I umount the USB drive 0.488
Then I find very few patterns in the guest's memory 3.584

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

When I umount the USB drive 0.335
Then I find very few patterns in the guest's memory 4.379

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

After features/support/hooks.rb:291 1.061
After features/support/hooks.rb:75 0.000
2:22.660
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.619
And I prepare Tails for memory erasure tests 0.594
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 24.177
Then I find very few patterns in the guest's memory 3.344

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

When I umount the USB drive 0.734
Then I find very few patterns in the guest's memory 3.819

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

When I umount the USB drive 0.573
Then I find very few patterns in the guest's memory 3.856

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

After features/support/hooks.rb:291 0.939
After features/support/hooks.rb:75 0.000
53.014
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.099
And I prepare Tails for memory erasure tests 0.545
When I fill a 128 MiB file with a known pattern on the root filesystem 16.163
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.640
Then patterns cover at least 128 MiB in the guest's memory 3.037

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

When I trigger shutdown 0.613
And I wait 20 seconds 20.003

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.910

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

After features/support/hooks.rb:291 3.473
After features/support/hooks.rb:75 0.000
6:12.695
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:29.607
And I prepare Tails for memory erasure tests 0.459
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.161
When I trigger shutdown 0.264
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.182

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

After features/support/hooks.rb:291 3.443
After features/support/hooks.rb:75 0.012