Project Number Date
test_Tails_ISO_feature-arti 26 11 Dec 2024, 17:02

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:14.784 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.952
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 9.658
And I prepare Tails for memory erasure tests 0.620
When I start a process allocating 128 MiB of memory with a known pattern 2.305
Then patterns cover at least 128 MiB in the guest's memory 3.297

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

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

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

After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.000
28.443
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.433
And I prepare Tails for memory erasure tests 0.712
And I find very few patterns in the guest's memory 3.332

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

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

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

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

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

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

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

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

Pattern coverage: 89.769% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 878 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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