Project Number Date
test_Tails_ISO_stable 5160 08 Oct 2024, 20:56

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.001
53.396
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 9.222
And I prepare Tails for memory erasure tests 0.454
When I fill a 128 MiB file with a known pattern on the root filesystem 18.030
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.626
Then patterns cover at least 128 MiB in the guest's memory 3.138

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

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

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

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

After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.021