Project Number Date
test_Tails_ISO_feature-arti 97 24 Jun 2025, 21:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 43 1 7 0 0 51 5 1 6 22:5.407 Failed
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.
37.800
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 11.428
And I prepare Tails for memory erasure tests 1.781
When I start a process allocating 128 MiB of memory with a known pattern 2.785
Then patterns cover at least 128 MiB in the guest's memory 4.132

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

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

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

After features/support/hooks.rb:330 0.905
After features/support/hooks.rb:100 0.000
41.045
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 14.803
And I prepare Tails for memory erasure tests 3.210
And I find very few patterns in the guest's memory 3.351

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

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

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

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

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

After features/support/hooks.rb:330 0.881
After features/support/hooks.rb:100 0.000
1:14.418
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 12.691
And I prepare Tails for memory erasure tests 0.815
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.560
Then I find very few patterns in the guest's memory 11.062

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.535
After features/support/hooks.rb:100 0.000
1:16.510
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given I have started Tails from DVD without network and logged in 9.460
And I prepare Tails for memory erasure tests 3.009
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 48.186
Then I find very few patterns in the guest's memory 2.779

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

# write cache
When I fill the USB drive with a known pattern 2.619
Then patterns cover at least 99% of the test FS size in the guest's memory 10.455
92.510% of the test FS size (91.490234375 MiB) has the pattern, but more than 99.000% was expected.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/erase_memory.rb:170:in `/^patterns cover at least (\d+)% of the test FS size in the guest's memory$/'
features/erase_memory.feature:54:in `Then patterns cover at least 99% of the test FS size in the guest's memory'
Output 1

Pattern coverage: 92.510% (84 MiB out of 91 MiB reference memory)

When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
# read cache
When I mount the USB drive again 0.000
And I read the content of the test FS 0.000
Then patterns cover at least 99% of the test FS size in the guest's memory 0.000
When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
After features/support/hooks.rb:330 5.832

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: LUKS-encrypted ext4' (at time 01:26:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/01:26:21_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/01:26:21_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/01:26:21_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/01:26:21_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

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

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

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

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

After features/support/hooks.rb:330 3.753
After features/support/hooks.rb:100 0.000
16:56.680
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16:4.555
And I prepare Tails for memory erasure tests 3.445
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.439
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.221

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

After features/support/hooks.rb:330 3.592
After features/support/hooks.rb:100 0.023