Project Number Date
test_Tails_ISO_stable 5434 30 Jan 2025, 22:13

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.542
After features/support/hooks.rb:100 0.000
8:3.834
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 7:17.811
And I prepare Tails for memory erasure tests 1.088
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.536
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.385

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.027