Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 13 11 Dec 2024, 15:32

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 36 1 4 0 0 41 4 1 5 2:6.480 Failed
Tags: @product
Feature Using Evince
As a Tails user I want to view and print PDF files in Evince And AppArmor should prevent Evince from doing dangerous things
Tags: @product
22.077
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.283
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.372
Then I see "CupsTestPage.png" after at most 40 seconds 3.419
And I can print the current document to "/home/amnesia/output.pdf" 7.001
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
22.978
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.321
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.146
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.370
Then I see "CupsTestPage.png" after at most 40 seconds 3.667
And I can print the current document to "/home/amnesia/output.pdf" 7.472
After features/support/hooks.rb:326 0.818
After features/support/hooks.rb:100 0.000
38.424
Scenario I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 8.114
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.159
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.107
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.069
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.088
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.171
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.799
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.642
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.078
When I close Evince 0.192
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.150
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.185
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.348
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.067
When I close Evince 20.249
Process 'evince' is still running after waiting for 20 seconds (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:823:in `/^process "([^"]+)" has stopped running after at most (\d+) seconds$/'
./features/step_definitions/evince.rb:34:in `/^I close Evince$/'
features/evince.feature:36:in `When I close Evince'
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
After features/support/hooks.rb:326 5.506

SCENARIO FAILED: 'I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg' (at time 02:04:43)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/13/artifact/build-artifacts/02:04:43_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/13/artifact/build-artifacts/02:04:43_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/13/artifact/build-artifacts/02:04:43_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/13/artifact/build-artifacts/02:04:43_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000
Tags: @product
25.384
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.919
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.407
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.101
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 5.030
Then I see "CupsTestPage.png" after at most 40 seconds 3.591
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 5.335
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.000
17.616
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.191
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.538
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.052
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.161
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.276
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.225
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.170
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000