Project Number Date
test_Tails_ISO_devel 3320 14 Mar 2024, 12:31

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 10:15.964 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.013
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.047
And I prepare Tails for memory erasure tests 0.571
When I start a process allocating 128 MiB of memory with a known pattern 1.252
Then patterns cover at least 128 MiB in the guest's memory 3.389

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

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

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

After features/support/hooks.rb:291 0.933
After features/support/hooks.rb:75 0.000
23.597
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.229
And I prepare Tails for memory erasure tests 0.576
And I find very few patterns in the guest's memory 4.468

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

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

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

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

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

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

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

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

Pattern coverage: 98.981% (126 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.514
After features/support/hooks.rb:75 0.000
6:43.014
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:57.530
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.780
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.544
After features/support/hooks.rb:75 0.039