Project Number Date
test_Tails_ISO_feature-arti 34 19 Apr 2025, 16:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:12.705 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.
23.712
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.071
And I prepare Tails for memory erasure tests 0.515
When I start a process allocating 128 MiB of memory with a known pattern 2.340
Then patterns cover at least 128 MiB in the guest's memory 3.922

Pattern coverage: 100.000% (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 after 5 seconds 8.627

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

After features/support/hooks.rb:330 0.670
After features/support/hooks.rb:100 0.000
26.928
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.142
And I prepare Tails for memory erasure tests 0.438
And I find very few patterns in the guest's memory 3.962

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

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

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

When I umount "/mnt" 0.381
Then I find very few patterns in the guest's memory after 3 seconds 6.658

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

After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.000
47.924
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.309
And I prepare Tails for memory erasure tests 0.453
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.003
Then I find very few patterns in the guest's memory 3.856

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

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

Pattern coverage: 85.489% (109 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.924
Then I find very few patterns in the guest's memory after 3 seconds 6.706

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

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

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

When I umount the USB drive 0.544
Then I find very few patterns in the guest's memory after 3 seconds 6.561

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

After features/support/hooks.rb:330 0.764
After features/support/hooks.rb:100 0.000
1:21.248
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.910
And I prepare Tails for memory erasure tests 0.482
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.269
Then I find very few patterns in the guest's memory 2.999

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

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

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

When I umount the USB drive 2.219
Then I find very few patterns in the guest's memory after 3 seconds 6.194

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

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

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

When I umount the USB drive 0.439
Then I find very few patterns in the guest's memory after 3 seconds 6.155

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

After features/support/hooks.rb:330 1.411
After features/support/hooks.rb:100 0.000
57.191
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.953
And I prepare Tails for memory erasure tests 0.470
When I fill a 128 MiB file with a known pattern on the root filesystem 21.875
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.793
Then patterns cover at least 128 MiB in the guest's memory 3.178

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

When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 20.905

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

After features/support/hooks.rb:330 3.539
After features/support/hooks.rb:100 0.000
7:15.700
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:28.222
And I prepare Tails for memory erasure tests 1.666
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.534
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.263

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

After features/support/hooks.rb:330 3.500
After features/support/hooks.rb:100 0.011