Project Number Date
test_Tails_ISO_devel 3382 09 May 2024, 15:18

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 12:7.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.
31.647
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.166
And I prepare Tails for memory erasure tests 0.718
When I start a process allocating 128 MiB of memory with a known pattern 8.251
Then patterns cover at least 128 MiB in the guest's memory 3.939

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

When I kill the allocating process 6.592
Then I find very few patterns in the guest's memory 3.978

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

After features/support/hooks.rb:305 1.151
After features/support/hooks.rb:89 0.000
29.848
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 15.377
And I prepare Tails for memory erasure tests 0.460
And I find very few patterns in the guest's memory 4.080

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

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

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

When I umount "/mnt" 0.773
Then I find very few patterns in the guest's memory 3.823

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

After features/support/hooks.rb:305 1.589
After features/support/hooks.rb:89 0.000
47.344
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.112
And I prepare Tails for memory erasure tests 0.439
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.299
Then I find very few patterns in the guest's memory 4.043

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

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

Pattern coverage: 91.137% (116 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.960
Then I find very few patterns in the guest's memory 4.480

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

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

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

When I umount the USB drive 1.035
Then I find very few patterns in the guest's memory 4.561

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

After features/support/hooks.rb:305 0.880
After features/support/hooks.rb:89 0.000
1:14.184
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.147
And I prepare Tails for memory erasure tests 0.587
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.908
Then I find very few patterns in the guest's memory 3.150

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

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

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

When I umount the USB drive 2.747
Then I find very few patterns in the guest's memory 3.452

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

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

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

When I umount the USB drive 0.915
Then I find very few patterns in the guest's memory 4.004

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

After features/support/hooks.rb:305 0.989
After features/support/hooks.rb:89 0.000
1:3.578
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 21.383
And I prepare Tails for memory erasure tests 0.530
When I fill a 128 MiB file with a known pattern on the root filesystem 14.777
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.328
Then patterns cover at least 128 MiB in the guest's memory 2.790

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.005

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.749

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

After features/support/hooks.rb:305 3.540
After features/support/hooks.rb:89 0.000
8:1.273
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:14.713
And I prepare Tails for memory erasure tests 0.386
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.019
When I trigger shutdown 0.010
And I wait 20 seconds 20.006

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.136

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

After features/support/hooks.rb:305 3.505
After features/support/hooks.rb:89 0.011