Project Number Date
test_Tails_ISO_stable 5147 06 Oct 2024, 12:21

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

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

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

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

After features/support/hooks.rb:326 1.388
After features/support/hooks.rb:100 0.000
29.086
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.960
And I prepare Tails for memory erasure tests 0.462
And I find very few patterns in the guest's memory 3.462

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 2.571
Then patterns cover at least 99% of the test FS size in the guest's memory 4.638

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

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

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

After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
51.094
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.494
And I prepare Tails for memory erasure tests 0.461
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.200
Then I find very few patterns in the guest's memory 4.206

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

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

Pattern coverage: 91.756% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
1:21.330
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.469
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" 39.079
Then I find very few patterns in the guest's memory 3.294

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.228
Then patterns cover at least 99% of the test FS size in the guest's memory 3.670

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.577
After features/support/hooks.rb:100 0.000
7:29.179
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:43.176
And I prepare Tails for memory erasure tests 0.388
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.450
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.146

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

After features/support/hooks.rb:326 3.492
After features/support/hooks.rb:100 0.013