Project Number Date
test_Tails_ISO_tca-misc-improvements 4 11 Apr 2025, 18:22

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:10.452 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.506
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 10.251
And I prepare Tails for memory erasure tests 0.491
When I start a process allocating 128 MiB of memory with a known pattern 1.275
Then patterns cover at least 128 MiB in the guest's memory 3.796

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

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

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

After features/support/hooks.rb:330 0.639
After features/support/hooks.rb:100 0.000
24.096
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.025
And I prepare Tails for memory erasure tests 0.501
And I find very few patterns in the guest's memory 3.104

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

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

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

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

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

After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.000
43.925
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.037
And I prepare Tails for memory erasure tests 0.474
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 2.737

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

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

Pattern coverage: 88.692% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.566
After features/support/hooks.rb:100 0.000
7:26.675
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:39.936
And I prepare Tails for memory erasure tests 1.330
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.197
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.199

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

After features/support/hooks.rb:330 3.569
After features/support/hooks.rb:100 0.010