Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 6 10 Mar 2025, 06:27

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:30.120 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.
26.347
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.738
And I prepare Tails for memory erasure tests 0.428
When I start a process allocating 128 MiB of memory with a known pattern 2.342
Then patterns cover at least 128 MiB in the guest's memory 5.039

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

When I kill the allocating process 1.540
Then I find very few patterns in the guest's memory after 5 seconds 8.259

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

After features/support/hooks.rb:330 0.667
After features/support/hooks.rb:100 0.000
27.676
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.899
And I prepare Tails for memory erasure tests 0.598
And I find very few patterns in the guest's memory 3.982

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

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

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

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

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

After features/support/hooks.rb:330 1.094
After features/support/hooks.rb:100 0.000
1:8.599
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.992
And I prepare Tails for memory erasure tests 0.621
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.367
Then I find very few patterns in the guest's memory 5.187

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

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

Pattern coverage: 86.347% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.000
1:37.045
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 10.070
And I prepare Tails for memory erasure tests 0.493
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.301
Then I find very few patterns in the guest's memory 5.950

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.107
After features/support/hooks.rb:100 0.000
49.462
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.400
And I prepare Tails for memory erasure tests 0.402
When I fill a 128 MiB file with a known pattern on the root filesystem 14.788
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.850
Then patterns cover at least 128 MiB in the guest's memory 3.099

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

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

After features/support/hooks.rb:330 3.765
After features/support/hooks.rb:100 0.000
8:0.988
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:13.640
And I prepare Tails for memory erasure tests 0.921
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.977
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.436

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

After features/support/hooks.rb:330 3.633
After features/support/hooks.rb:100 0.012