Project Number Date
test_Tails_ISO_stable 5224 27 Oct 2024, 12:32

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.169% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.572
After features/support/hooks.rb:100 0.000
7:15.181
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 6:30.556
And I prepare Tails for memory erasure tests 0.959
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.422
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.231

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

After features/support/hooks.rb:326 3.545
After features/support/hooks.rb:100 0.009