Project Number Date
test_Tails_ISO_ignore-private-backports 4 09 Jul 2025, 07:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 35 1 5 0 0 41 4 1 5 5:9.632 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
1:19.894
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 55.594
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 5.817
Then I see "CupsTestPage.png" after at most 40 seconds 3.394
And I can print the current document to "/home/amnesia/output.pdf" 15.089
After features/support/hooks.rb:330 1.689
After features/support/hooks.rb:100 0.000
Tags: @product
58.042
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails from DVD without network and logged in 34.391
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.427
When I open "/home/amnesia/default-testpage.pdf" with Evince 5.255
Then I see "CupsTestPage.png" after at most 40 seconds 2.447
And I can print the current document to "/home/amnesia/output.pdf" 15.521
After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.000
58.232
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 27.056
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 1.487
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.614
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.807
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.498
Given I start monitoring the AppArmor log of "/usr/bin/evince" 1.371
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 7.806
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.427
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.122
When I close Evince 0.497
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.296
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.425
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 1.076
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 1.174
When I close Evince 1.769
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 2.600
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 5.718
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 1.408
# 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.074
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.428
Scenario I can view and print a PDF file stored in persistent /home/amnesia/Persistent
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:16.428
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:98:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:81:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:104:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:81:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:104:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:81:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:104:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:81:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/evince.feature:45:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.000
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.000
When I open "/home/amnesia/Persistent/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/Persistent/output.pdf" 0.000
After features/support/hooks.rb:330 6.620

SCENARIO FAILED: 'I can view and print a PDF file stored in persistent /home/amnesia/Persistent' (at time 04:09:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/4/artifact/build-artifacts/04:09:00_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/4/artifact/build-artifacts/04:09:00_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/4/artifact/build-artifacts/04:09:00_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/4/artifact/build-artifacts/04:09:00_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.journal

After features/support/hooks.rb:100 0.000
37.034
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 20.117
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.295
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.097
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.248
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 14.386
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.853
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 1.034
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000