Project Number Date
test_Tails_ISO_feature-arti 27 12 Dec 2024, 16:51

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:0.635 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
23.848
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.734
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 4.203
Then I see "CupsTestPage.png" after at most 40 seconds 3.389
And I can print the current document to "/home/amnesia/output.pdf" 7.520
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.000
Tags: @product
20.041
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.469
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.169
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.260
Then I see "CupsTestPage.png" after at most 40 seconds 2.830
And I can print the current document to "/home/amnesia/output.pdf" 5.311
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.000
37.391
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.105
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.171
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.053
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.109
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.047
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.149
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.235
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.330
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.070
When I close Evince 0.181
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.137
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.166
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.425
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.071
When I close Evince 20.135
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:834: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 4.926

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/27/artifact/build-artifacts/02:57:36_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_feature-arti/27/artifact/build-artifacts/02:57:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/27/artifact/build-artifacts/02:57:36_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_feature-arti/27/artifact/build-artifacts/02:57:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000
Tags: @product
22.435
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.899
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.343
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.060
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.515
Then I see "CupsTestPage.png" after at most 40 seconds 3.623
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.994
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
16.917
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.562
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.203
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.049
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.163
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.838
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.016
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.083
After features/support/hooks.rb:326 0.685
After features/support/hooks.rb:100 0.000