Project Number Date
test_Tails_ISO_stable 4821 01 May 2024, 13:54

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 11:9.769 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.
20.822
Before features/support/hooks.rb:259 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.545
When I start a process allocating 128 MiB of memory with a known pattern 1.492
Then patterns cover at least 128 MiB in the guest's memory 4.033

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.740
After features/support/hooks.rb:89 0.000
52.145
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.498
And I prepare Tails for memory erasure tests 0.666
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.122
Then I find very few patterns in the guest's memory 4.836

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

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

Pattern coverage: 88.143% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.806
After features/support/hooks.rb:89 0.000
53.527
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.300
And I prepare Tails for memory erasure tests 0.631
When I fill a 128 MiB file with a known pattern on the root filesystem 17.882
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.715
Then patterns cover at least 128 MiB in the guest's memory 3.144

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.571
After features/support/hooks.rb:89 0.000
7:28.408
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:43.636
And I prepare Tails for memory erasure tests 0.429
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.133
When I trigger shutdown 0.011
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.532
After features/support/hooks.rb:89 0.075