Project Number Date
test_Tails_ISO_feature-arti 39 24 Apr 2025, 17: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 11:51.069 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.632
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.489
And I prepare Tails for memory erasure tests 0.628
When I start a process allocating 128 MiB of memory with a known pattern 1.206
Then patterns cover at least 128 MiB in the guest's memory 4.611

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

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

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

After features/support/hooks.rb:330 0.766
After features/support/hooks.rb:100 0.000
26.582
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.482
And I prepare Tails for memory erasure tests 0.677
And I find very few patterns in the guest's memory 3.766

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

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

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

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

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

After features/support/hooks.rb:330 0.953
After features/support/hooks.rb:100 0.000
51.477
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.441
And I prepare Tails for memory erasure tests 0.625
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.188
Then I find very few patterns in the guest's memory 3.539

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

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

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

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

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

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

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 6.877

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.542
After features/support/hooks.rb:100 0.000
7:57.713
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:11.750
And I prepare Tails for memory erasure tests 0.575
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.839
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.537

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

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