Project Number Date
test_Tails_ISO_feature-arti 18 04 Apr 2025, 16:33

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

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

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

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

After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.000
28.735
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 8.445
And I prepare Tails for memory erasure tests 0.440
And I find very few patterns in the guest's memory 4.265

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

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

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

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

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

After features/support/hooks.rb:330 0.952
After features/support/hooks.rb:100 0.000
55.138
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 8.535
And I prepare Tails for memory erasure tests 0.495
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.085
Then I find very few patterns in the guest's memory 4.287

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 0.873
After features/support/hooks.rb:100 0.000
1:18.144
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.658
And I prepare Tails for memory erasure tests 0.468
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.205
Then I find very few patterns in the guest's memory 4.539

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.374
After features/support/hooks.rb:100 0.000
53.639
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 9.069
And I prepare Tails for memory erasure tests 0.520
When I fill a 128 MiB file with a known pattern on the root filesystem 17.363
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.122
Then patterns cover at least 128 MiB in the guest's memory 3.500

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

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

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

After features/support/hooks.rb:330 3.538
After features/support/hooks.rb:100 0.000
7:58.849
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.985
And I prepare Tails for memory erasure tests 0.699
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.636
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.509

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

After features/support/hooks.rb:330 3.572
After features/support/hooks.rb:100 0.013