Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 32 13 Mar 2025, 03:55

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:30.934 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.
26.136
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.209
And I prepare Tails for memory erasure tests 0.507
When I start a process allocating 128 MiB of memory with a known pattern 2.391
Then patterns cover at least 128 MiB in the guest's memory 4.455

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

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

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

After features/support/hooks.rb:330 0.829
After features/support/hooks.rb:100 0.000
28.433
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.617
And I prepare Tails for memory erasure tests 0.632
And I find very few patterns in the guest's memory 4.822

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

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

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

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

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

After features/support/hooks.rb:330 0.742
After features/support/hooks.rb:100 0.000
1:7.978
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 21.194
And I prepare Tails for memory erasure tests 0.604
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.182
Then I find very few patterns in the guest's memory 3.389

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

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

Pattern coverage: 91.802% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.094
After features/support/hooks.rb:100 0.000
1:28.964
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.870
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" 41.377
Then I find very few patterns in the guest's memory 3.894

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.496
After features/support/hooks.rb:100 0.000
8:7.547
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 7:20.965
And I prepare Tails for memory erasure tests 0.403
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.806
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.356

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

After features/support/hooks.rb:330 3.556
After features/support/hooks.rb:100 0.014