Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 44 26 Aug 2024, 20:44

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:55.908 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.
23.168
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.316
And I prepare Tails for memory erasure tests 0.376
When I start a process allocating 128 MiB of memory with a known pattern 2.323
Then patterns cover at least 128 MiB in the guest's memory 3.355

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

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

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

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

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

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

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 6.661

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

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

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

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

Pattern coverage: 89.034% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.524
After features/support/hooks.rb:100 0.000
7:17.223
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 6:32.898
And I prepare Tails for memory erasure tests 0.551
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.554
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.206

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

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