Project Number Date
test_Tails_ISO_stable 5051 27 Aug 2024, 16:22

Feature Report

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

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

When I kill the allocating process 1.733
Then I find very few patterns in the guest's memory after 3 seconds 6.396

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

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

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

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

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

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

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

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

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.801
Then patterns cover at least 75% of the test FS size in the guest's memory 3.726

Pattern coverage: 88.912% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.000
59.648
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.414
And I prepare Tails for memory erasure tests 0.392
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 50.841
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:787:in `deal_with_polkit_prompt'
./features/step_definitions/common_steps.rb:1488: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 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:326 5.686

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5051/artifact/build-artifacts/00:31:04_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_stable/5051/artifact/build-artifacts/00:31:04_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5051/artifact/build-artifacts/00:31:04_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5051/artifact/build-artifacts/00:31:04_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

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

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

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

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

After features/support/hooks.rb:326 3.507
After features/support/hooks.rb:100 0.000
7:10.346
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 6:27.410
And I prepare Tails for memory erasure tests 0.426
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.217
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.276

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

After features/support/hooks.rb:326 3.513
After features/support/hooks.rb:100 0.013