Project Number Date
test_Tails_ISO_devel 3232 11 Jan 2024, 21:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 13 3 25 0 0 41 2 3 5 10:43.192 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
3:11.729
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:245 0.008
Steps
Given I have started Tails from DVD without network and logged in 3:11.729
cannot find GnomeApplicationsMenu.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:499:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:454:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:10:in `Given I have started Tails from DVD without network and logged in'
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 0.000
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:291 4.070

SCENARIO FAILED: 'I can view and print a PDF file stored in /usr/share' (at time 03:35:14)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:35:14_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:35:14_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:35:14_I_can_view_and_print_a_PDF_file_stored_in__usr_share.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:35:14_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:75 0.000
Tags: @product
3:12.546
Scenario I can view and print a PDF file stored in non-persistent /home/amnesia
Before features/support/hooks.rb:245 0.016
Steps
Given I have started Tails from DVD without network and logged in 3:12.546
cannot find GnomeApplicationsMenu.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:499:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:454:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:16:in `Given I have started Tails from DVD without network and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.000
When I open "/home/amnesia/default-testpage.pdf" with Evince 0.000
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:291 4.033

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:38:31_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_devel/3232/artifact/build-artifacts/03:38:31_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_devel/3232/artifact/build-artifacts/03:38:31_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_devel/3232/artifact/build-artifacts/03:38:31_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.journal

After features/support/hooks.rb:75 0.000
3:12.121
Scenario I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:245 0.006
Steps
Given I have started Tails from DVD without network and logged in 3:12.121
cannot find GnomeApplicationsMenu.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:499:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:454:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:24:in `Given I have started Tails from DVD without network and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.000
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.000
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.000
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.000
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
When I close Evince 0.000
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
When I close Evince 0.000
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 /lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/evince" from opening "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
After features/support/hooks.rb:291 4.123

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:41:47_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:41:47_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:41:47_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3232/artifact/build-artifacts/03:41:47_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:75 0.000
Tags: @product
37.267
Before features/support/hooks.rb:245 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.330
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.143
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.062
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 17.366
Then I see "CupsTestPage.png" after at most 40 seconds 1.711
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 8.653
After features/support/hooks.rb:291 0.830
After features/support/hooks.rb:75 0.000
29.527
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.817
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.207
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.046
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.173
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 18.167
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.674
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.438
After features/support/hooks.rb:291 1.053
After features/support/hooks.rb:75 0.000