Project Number Date
test_Tails_ISO_ignore-private-backports 2 08 Jul 2025, 06:19

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Totem 27 2 21 0 0 50 1 2 3 4:21.455 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.377
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I create sample videos 0.377
Tags: @product
1:52.772
Scenario Watching a MP4 video stored on the non-persistent filesystem
Steps
Given I have started Tails from DVD without network and logged in 19.151
And I plug and mount a USB drive containing sample videos 54.925
And I copy the sample videos to "/home/amnesia" as user "amnesia" 0.115
And the file "/home/amnesia/video.mp4" exists 0.116
Given I start monitoring the AppArmor log of "/usr/bin/totem" 0.178
When I open "/home/amnesia/video.mp4" with Totem 4.177
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 17.112
And AppArmor has not denied "/usr/bin/totem" from opening "/home/amnesia/video.mp4" 1.259
Given I close Totem 0.384
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.189
And the file "/home/amnesia/.gnupg/video.mp4" exists 0.147
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.179
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 2.769
Then Totem tells me it is not allowed to open this file 12.065
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: 'totem' application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/totem.rb:59:in `new'
./features/step_definitions/totem.rb:59:in `/^Totem tells me it is not allowed to open this file$/'
features/totem.feature:25:in `Then Totem tells me it is not allowed to open this file'
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.000
Given I close Totem 0.000
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.000
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.000
When I try to open "/lib/live/mount/overlay/rw/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 "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.000
Given I close Totem 0.000
And the file "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.000
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.000
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 0.000
Then Totem tells me it is not allowed to open this file 0.000
# 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.000
Given I close Totem 0.000
And I copy "/home/amnesia/video.mp4" to "/home/amnesia/.purple/otr.private_key" as user "amnesia" 0.000
And the file "/home/amnesia/.purple/otr.private_key" exists 0.000
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.000
When I try to open "/home/amnesia/.purple/otr.private_key" 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/.purple/otr.private_key" 0.000
After features/support/hooks.rb:330 6.458

SCENARIO FAILED: 'Watching a MP4 video stored on the non-persistent filesystem' (at time 11:07:42)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/2/artifact/build-artifacts/11:07:42_Watching_a_MP4_video_stored_on_the_non-persistent_filesystem.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/2/artifact/build-artifacts/11:07:42_Watching_a_MP4_video_stored_on_the_non-persistent_filesystem.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/2/artifact/build-artifacts/11:07:42_Watching_a_MP4_video_stored_on_the_non-persistent_filesystem.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/2/artifact/build-artifacts/11:07:42_Watching_a_MP4_video_stored_on_the_non-persistent_filesystem.journal

After features/support/hooks.rb:100 0.001
0.534
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Before features/support/hooks.rb:507 0.015
Given I create sample videos 0.534
54.473
Given I have started Tails from DVD and logged in and the network is connected 26.247
Then I can watch a WebM video over HTTPs 28.226
After features/support/hooks.rb:515 0.511
After features/support/hooks.rb:330 2.959
After features/support/hooks.rb:100 0.000
0.308
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I create sample videos 0.308
Tags: @product
1:32.988
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 22.111
And I plug and mount a USB drive containing sample videos 37.940
And I copy the sample videos to "/home/amnesia/Persistent" as user "amnesia" 0.177
When I open "/home/amnesia/Persistent/video.mp4" with Totem 5.521
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 10.861
Given I close Totem 1.432
And I start monitoring the AppArmor log of "/usr/bin/totem" 0.257
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.071
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 2.345
Then Totem tells me it is not allowed to open this file 12.269
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: 'totem' application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/totem.rb:59:in `new'
./features/step_definitions/totem.rb:59:in `/^Totem tells me it is not allowed to open this file$/'
features/totem.feature:64:in `Then Totem tells me it is not allowed to open this file'
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.000
After features/support/hooks.rb:330 8.094

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_ignore-private-backports/2/artifact/build-artifacts/11:10:21_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_ignore-private-backports/2/artifact/build-artifacts/11:10:21_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_ignore-private-backports/2/artifact/build-artifacts/11:10:21_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_ignore-private-backports/2/artifact/build-artifacts/11:10:21_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