Project Number Date
test_Tails_ISO_stable 4940 15 Jul 2024, 08:37

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:6.213 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.361
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.542
And I prepare Tails for memory erasure tests 0.514
When I start a process allocating 128 MiB of memory with a known pattern 2.341
Then patterns cover at least 128 MiB in the guest's memory 4.022

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.761
After features/support/hooks.rb:100 0.000
8:6.940
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:21.044
And I prepare Tails for memory erasure tests 0.476
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.174
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.213

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

After features/support/hooks.rb:326 3.587
After features/support/hooks.rb:100 0.015