Project Number Date
test_Tails_ISO_20671-electrum-campaign-2024 1 21 Nov 2024, 00:16

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

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

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

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

After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
31.516
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.553
And I prepare Tails for memory erasure tests 0.447
And I find very few patterns in the guest's memory 3.689

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

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

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

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

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

After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
51.571
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.847
And I prepare Tails for memory erasure tests 0.396
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.446
Then I find very few patterns in the guest's memory 3.707

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

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

Pattern coverage: 92.126% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.868

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

After features/support/hooks.rb:326 3.549
After features/support/hooks.rb:100 0.000
7:40.855
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 6:48.916
And I prepare Tails for memory erasure tests 1.815
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.688
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.422

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

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