Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 3 10 Mar 2025, 03:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 39 1 1 0 0 41 4 1 5 2:22.459 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
52.821
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.516
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 4.175
Then I see "CupsTestPage.png" after at most 40 seconds 40.130
cannot find CupsTestPage.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:713:in `/^I (do not )?see "([^"]*)" after at most (\d+) seconds$/'
features/evince.feature:10:in `Then I see "CupsTestPage.png" after at most 40 seconds'
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:330 5.097

SCENARIO FAILED: 'I can view and print a PDF file stored in /usr/share' (at time 02:28:59)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/3/artifact/build-artifacts/02:28:59_I_can_view_and_print_a_PDF_file_stored_in__usr_share.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/3/artifact/build-artifacts/02:28:59_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/3/artifact/build-artifacts/02:28:59_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/3/artifact/build-artifacts/02:28:59_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:100 0.000
Tags: @product
22.989
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.764
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.302
When I open "/home/amnesia/default-testpage.pdf" with Evince 4.677
Then I see "CupsTestPage.png" after at most 40 seconds 4.284
And I can print the current document to "/home/amnesia/output.pdf" 4.960
After features/support/hooks.rb:330 0.735
After features/support/hooks.rb:100 0.000
22.891
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.147
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.350
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.045
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.053
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.067
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.137
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.506
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.159
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.104
When I close Evince 0.214
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.110
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.203
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.944
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.070
When I close Evince 0.178
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.121
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.147
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.258
# 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.069
After features/support/hooks.rb:330 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
25.969
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.725
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.593
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.114
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 5.327
Then I see "CupsTestPage.png" after at most 40 seconds 4.049
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 6.159
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.000
17.787
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.332
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.267
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.238
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.270
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.951
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.618
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.108
After features/support/hooks.rb:330 2.040
After features/support/hooks.rb:100 0.000