Project Number Date
test_Tails_ISO_stable 5427 28 Jan 2025, 15:38

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

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

When I kill the allocating process 1.040
Then I find very few patterns in the guest's memory after 5 seconds 8.954

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.519
After features/support/hooks.rb:100 0.000
8:30.410
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:44.441
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 24.116
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.410

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

After features/support/hooks.rb:326 3.558
After features/support/hooks.rb:100 0.012