Project Number Date
test_Tails_ISO_stable 4551 05 Dec 2023, 15:08

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.402
After features/support/hooks.rb:75 0.000
3:31.483
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD without network and logged in 8.392
And I prepare Tails for memory erasure tests 0.581
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.895
Then I find very few patterns in the guest's memory 3.791

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

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

Pattern coverage: 90.707% (113 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.559
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.467
After features/support/hooks.rb:75 0.000
6:7.909
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:21.261
And I prepare Tails for memory erasure tests 0.456
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.478
When I trigger shutdown 0.414
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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