Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 20 05 Nov 2024, 07:08

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 80.554% (102 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.000
7:21.979
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:40.179
And I prepare Tails for memory erasure tests 0.589
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.100
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.098

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

After features/support/hooks.rb:326 3.523
After features/support/hooks.rb:100 0.011