Project Number Date
test_Tails_ISO_devel 3907 15 Jul 2025, 17:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 72 1 7 0 0 80 9 1 10 9:16.111 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
39.578
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 11.063
When the network is plugged 10.818
And I successfully configure Tor 17.639
Then the system clock is less than 5 minutes incorrect 0.055
After features/support/hooks.rb:517 0.396
After features/support/hooks.rb:330 0.594
After features/support/hooks.rb:100 0.000
32.050
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 10.570
When the network is plugged 0.211
And the Tor Connection Assistant autostarts 3.786
And I configure some normal bridges in the Tor Connection Assistant 15.362
And I wait until Tor is ready 1.990
Then the system clock is less than 5 minutes incorrect 0.129
After features/support/hooks.rb:517 0.295
After features/support/hooks.rb:330 1.218
After features/support/hooks.rb:100 0.000
35.993
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.005
Given I have started Tails from DVD without network and logged in 9.067
When I bump the system time with "+1 day" 0.287
And I capture all network traffic 0.003
And the network is plugged 0.139
And the Tor Connection Assistant autostarts 5.661
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 15.073
And I wait until Tor is ready 4.906
Then the system clock is less than 5 minutes incorrect 0.055
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.798

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

After features/support/hooks.rb:517 0.478
After features/support/hooks.rb:330 1.277
After features/support/hooks.rb:100 0.036
1:29.994
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 9.248
When I bump the system time with "-15 days" 0.267
And I warm reboot the computer 0.012
And the computer reboots Tails 1:20.056
Then Tails' hardware clock is close to the host system's time 0.408
After features/support/hooks.rb:517 0.137
After features/support/hooks.rb:330 0.662
After features/support/hooks.rb:100 0.009
1:35.165
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.002
Given I have started Tails from DVD without network and logged in 8.979
When I bump the hardware clock's time with "-15 days" 1.262
And I warm reboot the computer 0.053
And the computer reboots Tails 1:24.119
Then the hardware clock is still off by "-15 days" 0.750
After features/support/hooks.rb:517 0.136
After features/support/hooks.rb:330 0.665
After features/support/hooks.rb:100 0.036
1:11.038
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given a computer 0.168
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 0.951
And the computer boots Tails 1:9.235
Then the system clock is just past Tails' source date 0.654
After features/support/hooks.rb:517 0.121
After features/support/hooks.rb:330 0.678
After features/support/hooks.rb:100 0.006
49.930
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 9.947
And I make sure time sync before Tor connects times out 2.390
When the network is plugged 11.915
And I successfully configure Tor 25.621
Then the system clock is less than 5 minutes incorrect 0.056
After features/support/hooks.rb:517 1.898
After features/support/hooks.rb:330 0.956
After features/support/hooks.rb:100 0.000
26.586
Scenario I can manually recover from time sync failure when connecting automatically to obfs4 bridges with a clock East of UTC
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.880
When I bump the system time with "+8 hours +15 minutes" 0.608
And all notifications have disappeared 5.051
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.152
And the network is plugged 0.097
And the Tor Connection Assistant autostarts 3.424
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.229
And I click "Connect to Tor" 3.138
try_for() timeout expired (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/tor.rb:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:840:in `/^(?:I click "Connect to Tor"|I retry connecting to Tor)$/'
features/time_syncing.feature:71:in `And I click "Connect to Tor"'
And the Tor Connection Assistant fails to connect to Tor 0.000
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 0.000
Then the system clock is less than 20 minutes incorrect 0.000
When I click "Connect to Tor" 0.000
Then I wait until Tor is ready 0.000
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.000
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:517 0.062
After features/support/hooks.rb:330 5.485

SCENARIO FAILED: 'I can manually recover from time sync failure when connecting automatically to obfs4 bridges with a clock East of UTC' (at time 00:19:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3907/artifact/build-artifacts/00:19:56_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3907/artifact/build-artifacts/00:19:56_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3907/artifact/build-artifacts/00:19:56_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3907/artifact/build-artifacts/00:19:56_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.journal

After features/support/hooks.rb:100 0.048
1:14.860
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 8.666
When I bump the system time with "+8 hours +15 minutes" 0.282
And all notifications have disappeared 5.963
And I capture all network traffic 0.019
And the network is plugged 0.177
And the Tor Connection Assistant autostarts 3.983
# 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.305
And I click "Connect to Tor" 1.169
Then the Tor Connection Assistant reports that it failed to connect 14.288
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 21.708
Then the system clock is less than 20 minutes incorrect 0.498
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 2.587
When I click "Connect to Tor" 1.160
Then I wait until Tor is ready 9.257
And all Internet traffic has only flowed through the configured bridges 0.357
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.054
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.379
After features/support/hooks.rb:517 3.458
After features/support/hooks.rb:330 3.610
After features/support/hooks.rb:100 0.029
40.914
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 12.625
And I make sure time sync before Tor connects uses a fake connectivity check service 1.667
And the network is plugged 9.155
And Tor is ready 14.938
Then the fake connectivity check service has received a new HTTP request 0.002
When I make NetworkManager perform a connectivity check 2.519
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.003
After features/support/hooks.rb:517 0.504
After features/support/hooks.rb:330 11.928
After features/support/hooks.rb:100 0.099