Project Number Date
test_Tails_ISO_feature-arti 24 10 Apr 2025, 19:11

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:57.315 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.
28.782
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.589
And I prepare Tails for memory erasure tests 0.475
When I start a process allocating 128 MiB of memory with a known pattern 1.406
Then patterns cover at least 128 MiB in the guest's memory 6.236

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

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

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

After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.000
26.600
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.770
And I prepare Tails for memory erasure tests 0.455
And I find very few patterns in the guest's memory 3.617

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

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

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

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

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

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

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

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

Pattern coverage: 87.516% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.090

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

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

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

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