Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 35 22 Aug 2024, 20: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:4.575 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.871
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.593
And I prepare Tails for memory erasure tests 0.422
When I start a process allocating 128 MiB of memory with a known pattern 1.437
Then patterns cover at least 128 MiB in the guest's memory 3.649

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.702% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.528
After features/support/hooks.rb:100 0.000
7:44.849
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:0.444
And I prepare Tails for memory erasure tests 0.464
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.782
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.137

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

After features/support/hooks.rb:326 3.606
After features/support/hooks.rb:100 0.014