Project Number Date
test_Tails_ISO_devel 3849 02 Jun 2025, 16:38

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:1.039 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.
25.608
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.576
And I prepare Tails for memory erasure tests 0.589
When I start a process allocating 128 MiB of memory with a known pattern 2.297
Then patterns cover at least 128 MiB in the guest's memory 4.258

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

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

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

After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.000
26.789
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.830
And I prepare Tails for memory erasure tests 0.467
And I find very few patterns in the guest's memory 3.802

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

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

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

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

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

After features/support/hooks.rb:330 0.833
After features/support/hooks.rb:100 0.000
52.180
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.888
And I prepare Tails for memory erasure tests 0.462
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.455
Then I find very few patterns in the guest's memory 3.857

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.962

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

After features/support/hooks.rb:330 3.548
After features/support/hooks.rb:100 0.000
8:5.557
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:20.401
And I prepare Tails for memory erasure tests 0.846
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.744
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.550

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

After features/support/hooks.rb:330 3.661
After features/support/hooks.rb:100 0.013