Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 9 19 Mar 2024, 23:03

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:5.556 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
18.525
Before features/support/hooks.rb:245 0.007
Given I have started Tails from DVD without network and logged in 7.989
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.128
Then I see "CupsTestPage.png" after at most 40 seconds 2.817
And I can print the current document to "/home/amnesia/output.pdf" 4.590
After features/support/hooks.rb:291 0.671
After features/support/hooks.rb:75 0.000
Tags: @product
51.154
Scenario I can view and print a PDF file stored in non-persistent /home/amnesia
Before features/support/hooks.rb:245 0.007
Steps
Given I have started Tails from DVD without network and logged in 7.914
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.130
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.054
Then I see "CupsTestPage.png" after at most 40 seconds 40.054
cannot find CupsTestPage.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:753:in `/^I (do not )?see "([^"]*)" after at most (\d+) seconds$/'
features/evince.feature:17: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:291 4.107

SCENARIO FAILED: 'I can view and print a PDF file stored in non-persistent /home/amnesia' (at time 01:51:18)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/9/artifact/build-artifacts/01:51:18_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/9/artifact/build-artifacts/01:51:18_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/9/artifact/build-artifacts/01:51:18_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/9/artifact/build-artifacts/01:51:18_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.journal

After features/support/hooks.rb:75 0.000
20.172
Before features/support/hooks.rb:245 0.007
Given I have started Tails from DVD without network and logged in 7.971
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.143
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.042
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.054
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.052
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.200
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.899
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.086
When I close Evince 0.208
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.103
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.133
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.349
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.082
When I close Evince 0.191
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.094
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.109
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.239
# 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.072
After features/support/hooks.rb:291 1.427
After features/support/hooks.rb:75 0.000
Tags: @product
20.781
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.003
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.211
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.142
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.201
Then I see "CupsTestPage.png" after at most 40 seconds 3.306
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.915
After features/support/hooks.rb:291 0.969
After features/support/hooks.rb:75 0.000
14.922
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.993
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.217
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.056
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.146
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.273
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.091
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.144
After features/support/hooks.rb:291 1.004
After features/support/hooks.rb:75 0.000