Project Number Date
test_Tails_ISO_devel 3824 20 May 2025, 13:33

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 12:12.282 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.
28.839
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.616
And I prepare Tails for memory erasure tests 0.465
When I start a process allocating 128 MiB of memory with a known pattern 4.687
Then patterns cover at least 128 MiB in the guest's memory 4.322

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

When I kill the allocating process 2.265
Then I find very few patterns in the guest's memory after 5 seconds 8.483

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

After features/support/hooks.rb:330 0.936
After features/support/hooks.rb:100 0.000
26.470
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.354
And I prepare Tails for memory erasure tests 0.493
And I find very few patterns in the guest's memory 3.997

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

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

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

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

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

After features/support/hooks.rb:330 0.810
After features/support/hooks.rb:100 0.000
52.836
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.610
And I prepare Tails for memory erasure tests 0.502
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.292
Then I find very few patterns in the guest's memory 4.210

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

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

Pattern coverage: 84.892% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.982
After features/support/hooks.rb:100 0.000
1:19.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.292
And I prepare Tails for memory erasure tests 0.505
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.746
Then I find very few patterns in the guest's memory 3.668

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.166
After features/support/hooks.rb:100 0.000
54.835
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 9.536
And I prepare Tails for memory erasure tests 0.575
When I fill a 128 MiB file with a known pattern on the root filesystem 18.266
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.985
Then patterns cover at least 128 MiB in the guest's memory 3.579

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

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

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

After features/support/hooks.rb:330 3.572
After features/support/hooks.rb:100 0.000
8:10.107
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:20.474
And I prepare Tails for memory erasure tests 1.411
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.856
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.353

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

After features/support/hooks.rb:330 3.572
After features/support/hooks.rb:100 0.012