Project Number Date
test_Tails_ISO_20267-webtunnel 2 09 Jul 2025, 09:45

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 73 1 6 0 0 80 9 1 10 10:14.878 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
37.103
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.024
Given I have started Tails from DVD without network and logged in 9.329
When the network is plugged 10.712
And I successfully configure Tor 16.988
Then the system clock is less than 5 minutes incorrect 0.072
After features/support/hooks.rb:515 0.440
After features/support/hooks.rb:330 0.702
After features/support/hooks.rb:100 0.000
38.925
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.007
Given I have started Tails from DVD without network and logged in 9.382
When the network is plugged 0.101
And the Tor Connection Assistant autostarts 3.794
And I configure some normal bridges in the Tor Connection Assistant 19.144
And I wait until Tor is ready 6.445
Then the system clock is less than 5 minutes incorrect 0.057
After features/support/hooks.rb:515 0.345
After features/support/hooks.rb:330 1.046
After features/support/hooks.rb:100 0.000
31.720
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 9.044
When I bump the system time with "+1 day" 0.248
And I capture all network traffic 0.003
And the network is plugged 0.079
And the Tor Connection Assistant autostarts 3.812
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 15.093
And I wait until Tor is ready 2.869
Then the system clock is less than 5 minutes incorrect 0.057
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.512

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

After features/support/hooks.rb:515 0.318
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.037
1:25.035
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.896
When I bump the system time with "-15 days" 0.409
And I warm reboot the computer 0.019
And the computer reboots Tails 1:14.960
Then Tails' hardware clock is close to the host system's time 0.748
After features/support/hooks.rb:515 0.139
After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.033
1:33.085
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Before features/support/hooks.rb:507 0.015
Given I have started Tails from DVD without network and logged in 8.899
When I bump the hardware clock's time with "-15 days" 1.189
And I warm reboot the computer 0.016
And the computer reboots Tails 1:21.963
Then the hardware clock is still off by "-15 days" 1.015
After features/support/hooks.rb:515 0.114
After features/support/hooks.rb:330 1.096
After features/support/hooks.rb:100 0.012
1:4.885
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.003
Given a computer 0.187
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.026
And I start the computer 1.104
And the computer boots Tails 1:3.312
Then the system clock is just past Tails' source date 0.254
After features/support/hooks.rb:515 0.153
After features/support/hooks.rb:330 0.952
After features/support/hooks.rb:100 0.006
33.445
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.045
Given I have started Tails from DVD without network and logged in 8.959
And I make sure time sync before Tor connects times out 1.183
When the network is plugged 0.080
And I successfully configure Tor 23.134
Then the system clock is less than 5 minutes incorrect 0.087
After features/support/hooks.rb:515 0.366
After features/support/hooks.rb:330 0.943
After features/support/hooks.rb:100 0.001
2:24.936
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:507 0.003
Steps
Given I have started Tails from DVD without network and logged in 9.532
When I bump the system time with "+8 hours +15 minutes" 0.347
And all notifications have disappeared 4.447
And I capture all network traffic 0.004
And I make sure time sync before Tor connects fails 0.129
And the network is plugged 0.134
And the Tor Connection Assistant autostarts 2.812
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 6.198
And I click "Connect to Tor" 1.228
And the Tor Connection Assistant fails to connect to Tor 2:0.101
Expected TCAConnectionFailure to be raised but got TCAConnectionTimeout: Timed out while waiting for TCA to connect to Tor (RuntimeError)
./features/step_definitions/tor.rb:427:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:422:in `/^the Tor Connection Assistant fails to connect to Tor$/'
features/time_syncing.feature:72:in `And the Tor Connection Assistant fails to connect to Tor'
# 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:515 0.036
After features/support/hooks.rb:330 5.040

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:20:48)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/2/artifact/build-artifacts/00:20:48_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_20267-webtunnel/2/artifact/build-artifacts/00:20:48_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_20267-webtunnel/2/artifact/build-artifacts/00:20:48_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_20267-webtunnel/2/artifact/build-artifacts/00:20:48_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.055
1:2.131
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.018
Given I have started Tails from DVD without network and logged in 8.748
When I bump the system time with "+8 hours +15 minutes" 0.232
And all notifications have disappeared 4.339
And I capture all network traffic 0.044
And the network is plugged 0.946
And the Tor Connection Assistant autostarts 3.460
# 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.761
And I click "Connect to Tor" 1.234
Then the Tor Connection Assistant reports that it failed to connect 11.909
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.978
Then the system clock is less than 20 minutes incorrect 0.433
# "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.395
When I click "Connect to Tor" 1.171
Then I wait until Tor is ready 8.448
And all Internet traffic has only flowed through the configured bridges 0.625
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.063
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.339
After features/support/hooks.rb:515 0.440
After features/support/hooks.rb:330 0.764
After features/support/hooks.rb:100 0.050
23.609
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.325
And I make sure time sync before Tor connects uses a fake connectivity check service 1.498
And the network is plugged 0.077
And Tor is ready 12.128
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.574
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.004
After features/support/hooks.rb:515 0.509
After features/support/hooks.rb:330 0.991
After features/support/hooks.rb:100 0.001