Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 25 13 Nov 2024, 18:11

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:15.242 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.
25.115
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 9.778
And I prepare Tails for memory erasure tests 0.514
When I start a process allocating 128 MiB of memory with a known pattern 2.628
Then patterns cover at least 128 MiB in the guest's memory 3.455

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 84.335% (107 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.486
After features/support/hooks.rb:100 0.033