Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 3 26 Oct 2024, 06:40

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

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

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

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

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

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

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

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

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

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

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

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.471
Then patterns cover at least 75% of the test FS size in the guest's memory 3.297

Pattern coverage: 78.519% (100 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
1:16.970
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.006
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" 39.980
Then I find very few patterns in the guest's memory 2.579

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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