Project Number Date
test_Tails_ISO_feature-arti 31 16 Dec 2024, 16:36

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 12:12.156 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.
22.156
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.336
And I prepare Tails for memory erasure tests 0.392
When I start a process allocating 128 MiB of memory with a known pattern 1.269
Then patterns cover at least 128 MiB in the guest's memory 4.527

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

When I kill the allocating process 0.946
Then I find very few patterns in the guest's memory after 3 seconds 6.683

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

After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
28.408
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.597
And I prepare Tails for memory erasure tests 0.434
And I find very few patterns in the guest's memory 3.642

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

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

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

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

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

After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
49.227
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.447
And I prepare Tails for memory erasure tests 0.464
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.507
Then I find very few patterns in the guest's memory 3.272

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

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

Pattern coverage: 86.518% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 1.008
After features/support/hooks.rb:100 0.000
1:27.111
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.277
And I prepare Tails for memory erasure tests 0.413
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 44.265
Then I find very few patterns in the guest's memory 3.079

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.000
52.283
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.423
And I prepare Tails for memory erasure tests 0.474
When I fill a 128 MiB file with a known pattern on the root filesystem 17.262
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.083
Then patterns cover at least 128 MiB in the guest's memory 3.152

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

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

After features/support/hooks.rb:326 3.506
After features/support/hooks.rb:100 0.000
8:12.968
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:24.918
And I prepare Tails for memory erasure tests 0.480
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.127
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.428

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

After features/support/hooks.rb:326 3.564
After features/support/hooks.rb:100 0.013