Project Number Date
test_Tails_ISO_stable 4543 30 Nov 2023, 19:49

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.875
After features/support/hooks.rb:75 0.000
3:22.796
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.806
And I prepare Tails for memory erasure tests 0.515
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.898
Then I find very few patterns in the guest's memory 3.998

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

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

Pattern coverage: 93.177% (116 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.122
After features/support/hooks.rb:75 0.000
53.303
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.736
And I prepare Tails for memory erasure tests 0.500
When I fill a 128 MiB file with a known pattern on the root filesystem 17.077
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.847
Then patterns cover at least 128 MiB in the guest's memory 2.478

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

When I trigger shutdown 0.815
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.461
After features/support/hooks.rb:75 0.000
6:15.054
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:28.596
And I prepare Tails for memory erasure tests 0.517
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.954
When I trigger shutdown 0.406
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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