Project Number Date
test_Tails_ISO_tca-misc-improvements 18 25 Apr 2025, 18:47

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:45.639 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.876
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.227
And I prepare Tails for memory erasure tests 0.549
When I start a process allocating 128 MiB of memory with a known pattern 2.950
Then patterns cover at least 128 MiB in the guest's memory 3.690

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

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

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

After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.000
28.160
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.630
And I prepare Tails for memory erasure tests 0.446
And I find very few patterns in the guest's memory 4.624

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

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

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

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

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

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

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.512
Then patterns cover at least 75% of the test FS size in the guest's memory 4.197

Pattern coverage: 88.006% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.533
After features/support/hooks.rb:100 0.000
7:53.035
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:8.090
And I prepare Tails for memory erasure tests 0.476
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.117
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.331

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

After features/support/hooks.rb:330 3.514
After features/support/hooks.rb:100 0.015