Project Number Date
test_Tails_ISO_stable 4974 26 Jul 2024, 12:25

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.044
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.639
After features/support/hooks.rb:100 0.000
8:22.995
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 7:38.396
And I prepare Tails for memory erasure tests 0.531
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.712
When I trigger shutdown 0.018
And I wait 20 seconds 20.008

Slept for 20 seconds

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

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

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