Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 45 25 Nov 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 11:52.639 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.
21.854
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.514
And I prepare Tails for memory erasure tests 0.579
When I start a process allocating 128 MiB of memory with a known pattern 1.354
Then patterns cover at least 128 MiB in the guest's memory 4.598

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
56.016
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.350
And I prepare Tails for memory erasure tests 0.413
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.711
Then I find very few patterns in the guest's memory 5.810

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

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

Pattern coverage: 84.464% (107 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.538
After features/support/hooks.rb:100 0.017