Project Number Date
test_Tails_ISO_feature-arti 107 05 Jul 2025, 18:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Totem 39 1 10 0 0 50 2 1 3 4:8.980 Failed
Tags: @product
Feature Using Totem
As a Tails user I want to watch local and remote videos in Totem And AppArmor should prevent Totem from doing dangerous things And all Internet traffic should flow only through Tor
0.293
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I create sample videos 0.293
Tags: @product
1:48.493
Given I have started Tails from DVD without network and logged in 31.472
And I plug and mount a USB drive containing sample videos 32.191
And I copy the sample videos to "/home/amnesia" as user "amnesia" 0.194
And the file "/home/amnesia/video.mp4" exists 0.096
Given I start monitoring the AppArmor log of "/usr/bin/totem" 0.252
When I open "/home/amnesia/video.mp4" with Totem 7.318
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 8.671
And AppArmor has not denied "/usr/bin/totem" from opening "/home/amnesia/video.mp4" 0.932
Given I close Totem 0.336
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.171
And the file "/home/amnesia/.gnupg/video.mp4" exists 0.145
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.162
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 2.457
Then Totem tells me it is not allowed to open this file 3.534
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.562
Given I close Totem 1.159
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 1.812
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.855
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 3.837
Then Totem tells me it is not allowed to open this file 1.479
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.121
Given I close Totem 0.142
And the file "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.060
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.160
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 2.286
Then Totem tells me it is not allowed to open this file 1.056
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.063
Given I close Totem 0.235
And I copy "/home/amnesia/video.mp4" to "/home/amnesia/.purple/otr.private_key" as user "amnesia" 0.128
And the file "/home/amnesia/.purple/otr.private_key" exists 0.079
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.157
When I try to open "/home/amnesia/.purple/otr.private_key" with Totem 2.589
Then Totem tells me it is not allowed to open this file 2.981
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.purple/otr.private_key" 0.784
After features/support/hooks.rb:330 5.881
After features/support/hooks.rb:100 0.023
2.360
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.085
Before features/support/hooks.rb:509 0.077
Given I create sample videos 2.360
1:0.945
Given I have started Tails from DVD and logged in and the network is connected 42.191
Then I can watch a WebM video over HTTPs 18.753
After features/support/hooks.rb:517 0.867
After features/support/hooks.rb:330 1.253
After features/support/hooks.rb:100 0.000
0.341
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I create sample videos 0.341
Tags: @product
1:16.546
Scenario Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:16.546
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74: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/totem.feature:55:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I plug and mount a USB drive containing sample videos 0.000
And I copy the sample videos to "/home/amnesia/Persistent" as user "amnesia" 0.000
When I open "/home/amnesia/Persistent/video.mp4" with Totem 0.000
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 0.000
Given I close Totem 0.000
And I start monitoring the AppArmor log of "/usr/bin/totem" 0.000
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.000
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 0.000
Then Totem tells me it is not allowed to open this file 0.000
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.000
After features/support/hooks.rb:330 8.819

SCENARIO FAILED: 'Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement' (at time 07:18:15)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/107/artifact/build-artifacts/07:18:15_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/107/artifact/build-artifacts/07:18:15_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/107/artifact/build-artifacts/07:18:15_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/107/artifact/build-artifacts/07:18:15_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.journal

After features/support/hooks.rb:100 0.000