Project Number Date
test_Tails_ISO_feature-arti 57 13 May 2025, 17: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 13:24.536 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.599
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 8.982
And I prepare Tails for memory erasure tests 1.043
When I start a process allocating 128 MiB of memory with a known pattern 2.518
Then patterns cover at least 128 MiB in the guest's memory 4.800

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

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

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

After features/support/hooks.rb:330 0.900
After features/support/hooks.rb:100 0.000
29.574
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 10.362
And I prepare Tails for memory erasure tests 0.538
And I find very few patterns in the guest's memory 3.913

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.551
After features/support/hooks.rb:100 0.000
9:9.207
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 8:21.797
And I prepare Tails for memory erasure tests 0.497
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.345
When I trigger shutdown 0.020
Then I find very few patterns in the guest's memory after 20 seconds 22.545

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

After features/support/hooks.rb:330 3.522
After features/support/hooks.rb:100 0.011