Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 29 19 Dec 2024, 00:34

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.363% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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