Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 24 11 Nov 2024, 18: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 10:40.968 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.
21.798
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.034
And I prepare Tails for memory erasure tests 0.396
When I start a process allocating 128 MiB of memory with a known pattern 2.336
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 kill the allocating process 1.485
Then I find very few patterns in the guest's memory after 3 seconds 6.144

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.761% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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