Project Number Date
test_Tails_ISO_20860-unsafe-browser-desktop-portals 12 16 May 2025, 20: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 11:23.139 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.
24.249
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.038
And I prepare Tails for memory erasure tests 0.392
When I start a process allocating 128 MiB of memory with a known pattern 2.476
Then patterns cover at least 128 MiB in the guest's memory 3.426

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

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

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

After features/support/hooks.rb:330 0.984
After features/support/hooks.rb:100 0.000
26.875
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.286
And I prepare Tails for memory erasure tests 0.542
And I find very few patterns in the guest's memory 3.644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.517
After features/support/hooks.rb:100 0.000
7:20.132
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:36.431
And I prepare Tails for memory erasure tests 0.543
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.883
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.262

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

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