Project Number Date
test_Tails_ISO_devel 3659 23 Jan 2025, 17:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 78 1 1 0 0 80 9 1 10 9:46.908 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
26.315
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 8.170
When the network is plugged 0.222
And I successfully configure Tor 17.882
Then the system clock is less than 5 minutes incorrect 0.040
After features/support/hooks.rb:515 0.342
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
27.528
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.162
When the network is plugged 0.068
And the Tor Connection Assistant autostarts 3.442
And I configure some normal bridges in the Tor Connection Assistant 13.596
And I wait until Tor is ready 2.209
Then the system clock is less than 5 minutes incorrect 0.047
After features/support/hooks.rb:515 0.237
After features/support/hooks.rb:326 0.802
After features/support/hooks.rb:100 0.000
58.685
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.120
When I bump the system time with "+1 day" 0.332
And I capture all network traffic 0.002
And the network is plugged 0.086
And the Tor Connection Assistant autostarts 4.628
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 11.808
And I wait until Tor is ready 32.962
Then the system clock is less than 5 minutes incorrect 0.061
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.681

Warning: these queries were allowed but not needed: ["fedoraproject.org."]

After features/support/hooks.rb:515 0.321
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.036
1:21.830
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.245
When I bump the system time with "-15 days" 0.246
And I warm reboot the computer 0.016
And the computer reboots Tails 1:13.052
Then Tails' hardware clock is close to the host system's time 0.268
After features/support/hooks.rb:515 0.134
After features/support/hooks.rb:326 0.574
After features/support/hooks.rb:100 0.006
2:3.639
Scenario Anti-test: Changes to the hardware clock are kept when rebooting
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.320
When I bump the hardware clock's time with "-15 days" 1.921
And I warm reboot the computer 0.014
And the computer reboots Tails 1:53.383
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:450:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
features/time_syncing.feature:45:in `And the computer reboots Tails'
Then the hardware clock is still off by "-15 days" 0.000
After features/support/hooks.rb:515 0.033
After features/support/hooks.rb:326 5.245

SCENARIO FAILED: 'Anti-test: Changes to the hardware clock are kept when rebooting' (at time 00:15:54)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/00:15:54_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/00:15:54_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/00:15:54_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/00:15:54_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.journal

After features/support/hooks.rb:100 0.006
56.166
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.175
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.033
And I start the computer 0.982
And the computer boots Tails 54.800
Then the system clock is just past Tails' source date 0.174
After features/support/hooks.rb:515 0.120
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.006
32.476
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.219
And I make sure time sync before Tor connects times out 1.186
When the network is plugged 0.078
And I successfully configure Tor 22.926
Then the system clock is less than 5 minutes incorrect 0.065
After features/support/hooks.rb:515 0.286
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
1:4.036
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.145
When I bump the system time with "+8 hours +15 minutes" 0.198
And all notifications have disappeared 3.942
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.132
And the network is plugged 0.494
And the Tor Connection Assistant autostarts 3.923
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.194
And I click "Connect to Tor" 1.203
And the Tor Connection Assistant fails to connect to Tor 15.976
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 15.070
Then the system clock is less than 20 minutes incorrect 0.250
When I click "Connect to Tor" 1.177
Then I wait until Tor is ready 7.734
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.515
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.075
After features/support/hooks.rb:515 0.336
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.042
1:1.108
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 9.213
When I bump the system time with "+8 hours +15 minutes" 0.226
And all notifications have disappeared 3.940
And I capture all network traffic 0.003
And the network is plugged 0.091
And the Tor Connection Assistant autostarts 3.361
# Anti-test: Users east of UTC can't connect to obfs4 bridges
And I configure some obfs4 bridges in the Tor Connection Assistant in hide mode without connecting 4.777
And I click "Connect to Tor" 1.175
Then the Tor Connection Assistant reports that it failed to connect 11.790
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 15.163
Then the system clock is less than 20 minutes incorrect 0.230
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 0.371
When I click "Connect to Tor" 1.142
Then I wait until Tor is ready 8.760
And all Internet traffic has only flowed through the configured bridges 0.466
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.084
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.308
After features/support/hooks.rb:515 0.306
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.064
55.122
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.031
And I make sure time sync before Tor connects uses a fake connectivity check service 1.190
And the network is plugged 0.065
And Tor is ready 44.281
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.549
Then the fake connectivity check service has received a new HTTP request 0.000
And the HTTP requests received by the fake connectivity check service are identical 0.002
After features/support/hooks.rb:515 0.470
After features/support/hooks.rb:326 0.719
After features/support/hooks.rb:100 0.000