Project Number Date
test_Tails_ISO_devel 3180 27 Nov 2023, 15:50

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 14:23.373 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.
19.184
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.235
And I prepare Tails for memory erasure tests 0.507
When I start a process allocating 128 MiB of memory with a known pattern 1.338
Then patterns cover at least 128 MiB in the guest's memory 4.523

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

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

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

After features/support/hooks.rb:291 0.776
After features/support/hooks.rb:75 0.000
1:5.639
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.035
And I prepare Tails for memory erasure tests 0.509
And I find very few patterns in the guest's memory 4.205

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

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

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

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

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

After features/support/hooks.rb:291 0.737
After features/support/hooks.rb:75 0.000
3:6.440
Before features/support/hooks.rb:245 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.519
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.930
Then I find very few patterns in the guest's memory 3.863

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

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

Pattern coverage: 96.601% (120 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 1.483
After features/support/hooks.rb:75 0.000
2:42.959
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.857
And I prepare Tails for memory erasure tests 0.562
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.893
Then I find very few patterns in the guest's memory 3.524

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 2.336
After features/support/hooks.rb:75 0.001
52.630
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 10.880
And I prepare Tails for memory erasure tests 0.594
When I fill a 128 MiB file with a known pattern on the root filesystem 14.062
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.863
Then patterns cover at least 128 MiB in the guest's memory 2.669

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

When I trigger shutdown 0.624
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.428
After features/support/hooks.rb:75 0.000
6:16.519
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:27.729
And I prepare Tails for memory erasure tests 0.513
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.538
When I trigger shutdown 0.501
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.517
After features/support/hooks.rb:75 0.011