Project Number Date
test_Tails_ISO_devel 3417 05 Jun 2024, 20:20

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:12.126 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.643
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.518
And I prepare Tails for memory erasure tests 0.480
When I start a process allocating 128 MiB of memory with a known pattern 1.436
Then patterns cover at least 128 MiB in the guest's memory 4.209

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

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

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

After features/support/hooks.rb:315 4.129
After features/support/hooks.rb:100 0.000
27.402
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.047
And I prepare Tails for memory erasure tests 0.457
And I find very few patterns in the guest's memory 4.440

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

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

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

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

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

After features/support/hooks.rb:315 0.963
After features/support/hooks.rb:100 0.000
54.326
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.755
And I prepare Tails for memory erasure tests 0.505
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.487
Then I find very few patterns in the guest's memory 5.093

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

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

Pattern coverage: 88.646% (113 MiB out of 127 MiB reference memory)

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

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

# read cache
When I mount the USB drive again 0.290
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 3.911

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

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

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

After features/support/hooks.rb:315 1.335
After features/support/hooks.rb:100 0.000
1:30.108
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.761
And I prepare Tails for memory erasure tests 0.534
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.346
Then I find very few patterns in the guest's memory 4.430

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:315 1.089
After features/support/hooks.rb:100 0.000
54.987
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.686
And I prepare Tails for memory erasure tests 0.505
When I fill a 128 MiB file with a known pattern on the root filesystem 17.753
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.157
Then patterns cover at least 128 MiB in the guest's memory 2.737

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.583
After features/support/hooks.rb:100 0.000
8:5.658
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:21.384
And I prepare Tails for memory erasure tests 0.502
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.193
When I trigger shutdown 0.011
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.501
After features/support/hooks.rb:100 0.016