Project Number Date
test_Tails_ISO_stable 5054 28 Aug 2024, 12:12

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.000
50.036
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and logged in 8.163
And I prepare Tails for memory erasure tests 0.602
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.877
Then I find very few patterns in the guest's memory 3.146

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.506
Then patterns cover at least 75% of the test FS size in the guest's memory 3.737

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
49.117
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.192
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 14.984
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.740
Then patterns cover at least 128 MiB in the guest's memory 2.853

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

When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 20.784

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.000
7:20.641
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:35.379
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.711
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.120

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

After features/support/hooks.rb:326 3.474
After features/support/hooks.rb:100 0.011