Project Number Date
test_Tails_ISO_devel 3462 14 Jul 2024, 12:31

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 42 1 10 0 0 53 5 1 6 11:47.281 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.
24.031
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.940
And I prepare Tails for memory erasure tests 0.415
When I start a process allocating 128 MiB of memory with a known pattern 3.970
Then patterns cover at least 128 MiB in the guest's memory 3.783

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

When I kill the allocating process 1.857
Then I find very few patterns in the guest's memory 4.063

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

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

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

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

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

When I umount "/mnt" 1.321
Then I find very few patterns in the guest's memory 4.915

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

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

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

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

Pattern coverage: 89.775% (114 MiB out of 127 MiB reference memory)

When I umount the USB drive 2.262
Then I find very few patterns in the guest's memory 5.007

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

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

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

When I umount the USB drive 0.891
Then I find very few patterns in the guest's memory 4.592

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

After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
56.319
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.425
And I prepare Tails for memory erasure tests 0.400
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 47.494
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:778:in `deal_with_polkit_prompt'
./features/step_definitions/common_steps.rb:1479:in `/^I plug and mount a (\d+) MiB USB drive with an? (.*)$/'
features/erase_memory.feature:50:in `When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf"'
Then I find very few patterns in the guest's memory 0.000
# write cache
When I fill the USB drive with a known pattern 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 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 0.000
After features/support/hooks.rb:326 5.687

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: LUKS-encrypted ext4' (at time 00:37:07)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3462/artifact/build-artifacts/00:37:07_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_devel/3462/artifact/build-artifacts/00:37:07_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3462/artifact/build-artifacts/00:37:07_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3462/artifact/build-artifacts/00:37:07_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

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

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

When I trigger shutdown 0.018
And I wait 20 seconds 20.010

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.916

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

After features/support/hooks.rb:326 3.577
After features/support/hooks.rb:100 0.000
7:54.573
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:8.721
And I prepare Tails for memory erasure tests 0.397
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.216
When I trigger shutdown 0.018
And I wait 20 seconds 20.017

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.202

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

After features/support/hooks.rb:326 3.495
After features/support/hooks.rb:100 0.015