Project Number Date
test_Tails_ISO_devel 3709 25 Feb 2025, 13:03

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:43.396 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.
25.074
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.201
And I prepare Tails for memory erasure tests 0.413
When I start a process allocating 128 MiB of memory with a known pattern 2.274
Then patterns cover at least 128 MiB in the guest's memory 4.522

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

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

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

After features/support/hooks.rb:330 0.812
After features/support/hooks.rb:100 0.000
38.259
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.697
And I prepare Tails for memory erasure tests 0.414
And I find very few patterns in the guest's memory 7.258

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.457
After features/support/hooks.rb:100 0.000
7:38.606
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:49.355
And I prepare Tails for memory erasure tests 0.439
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.531
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.263

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

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