Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 37 19 Nov 2024, 07:19

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 10:25.932 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.
19.610
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.073
And I prepare Tails for memory erasure tests 0.734
When I start a process allocating 128 MiB of memory with a known pattern 1.261
Then patterns cover at least 128 MiB in the guest's memory 3.420

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.000
25.362
Scenario Erasure of read and write disk caches on unmount: vfat
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 7.940
And I prepare Tails for memory erasure tests 0.432
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.175
Then I find very few patterns in the guest's memory 2.948

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

# write cache
When I fill the USB drive with a known pattern 2.037
Then patterns cover at least 75% of the test FS size in the guest's memory 2.828
74.490% of the test FS size (127.599609375 MiB) has the pattern, but more than 75.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:37:in `Then patterns cover at least 75% of the test FS size in the guest's memory'
Output 1

Pattern coverage: 74.490% (95 MiB out of 127 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:326 4.857

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: vfat' (at time 00:29:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/37/artifact/build-artifacts/00:29:51_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/37/artifact/build-artifacts/00:29:51_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/37/artifact/build-artifacts/00:29:51_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/37/artifact/build-artifacts/00:29:51_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.journal

After features/support/hooks.rb:100 0.000
1:15.373
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.982
And I prepare Tails for memory erasure tests 0.384
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.645
Then I find very few patterns in the guest's memory 2.397

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.481
After features/support/hooks.rb:100 0.000
7:16.900
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:34.394
And I prepare Tails for memory erasure tests 0.545
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.729
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.218

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

After features/support/hooks.rb:326 3.487
After features/support/hooks.rb:100 0.010