Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 71 17 Dec 2024, 07:20

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:2.590 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.
20.531
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.110
And I prepare Tails for memory erasure tests 0.485
When I start a process allocating 128 MiB of memory with a known pattern 1.248
Then patterns cover at least 128 MiB in the guest's memory 3.733

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 2.494
After features/support/hooks.rb:100 0.000
49.597
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.882
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 15.169
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.413
Then patterns cover at least 128 MiB in the guest's memory 2.845

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

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

After features/support/hooks.rb:326 3.585
After features/support/hooks.rb:100 0.000
8:19.440
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:30.618
And I prepare Tails for memory erasure tests 0.469
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.023
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 22.313

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

After features/support/hooks.rb:326 3.776
After features/support/hooks.rb:100 0.010