Project Number Date
test_Tails_ISO_devel 3877 19 Jun 2025, 15:00

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 16:18.813 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
1:6.243
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Before features/support/hooks.rb:507 0.026
Given I have started Tails from DVD without network and logged in 16.472
When the network is plugged 14.696
And I successfully configure Tor 34.944
Then the system clock is less than 5 minutes incorrect 0.130
After features/support/hooks.rb:515 0.698
After features/support/hooks.rb:330 0.859
After features/support/hooks.rb:100 0.000
1:1.205
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 29.896
When the network is plugged 2.723
And the Tor Connection Assistant autostarts 7.980
And I configure some normal bridges in the Tor Connection Assistant 18.579
And I wait until Tor is ready 1.959
Then the system clock is less than 5 minutes incorrect 0.065
After features/support/hooks.rb:515 0.321
After features/support/hooks.rb:330 0.749
After features/support/hooks.rb:100 0.000
1:36.700
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 46.901
When I bump the system time with "+1 day" 3.997
And I capture all network traffic 0.292
And the network is plugged 2.853
And the Tor Connection Assistant autostarts 5.332
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 21.908
And I wait until Tor is ready 7.264
Then the system clock is less than 5 minutes incorrect 0.907
And all Internet traffic has only flowed through the configured bridges or connectivity check service 7.242

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

After features/support/hooks.rb:515 0.772
After features/support/hooks.rb:330 0.866
After features/support/hooks.rb:100 0.042
2:35.513
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 28.359
When I bump the system time with "-15 days" 1.667
And I warm reboot the computer 0.396
And the computer reboots Tails 2:3.856
Then Tails' hardware clock is close to the host system's time 1.233
After features/support/hooks.rb:515 2.295
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.007
3:20.699
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.005
Given I have started Tails from DVD without network and logged in 1:8.139
When I bump the hardware clock's time with "-15 days" 4.720
And I warm reboot the computer 0.973
And the computer reboots Tails 2:6.487
Then the hardware clock is still off by "-15 days" 0.377
After features/support/hooks.rb:515 0.148
After features/support/hooks.rb:330 0.887
After features/support/hooks.rb:100 0.008
1:52.997
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.218
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.047
And I start the computer 1.861
And the computer boots Tails 1:49.813
Then the system clock is just past Tails' source date 1.056
After features/support/hooks.rb:515 2.629
After features/support/hooks.rb:330 0.994
After features/support/hooks.rb:100 0.028
1:5.069
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.009
Given I have started Tails from DVD without network and logged in 31.637
And I make sure time sync before Tor connects times out 6.071
When the network is plugged 0.925
And I successfully configure Tor 26.358
Then the system clock is less than 5 minutes incorrect 0.077
After features/support/hooks.rb:515 0.538
After features/support/hooks.rb:330 0.918
After features/support/hooks.rb:100 0.000
51.661
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 19.716
When I bump the system time with "+8 hours +15 minutes" 0.224
And all notifications have disappeared 13.458
And I capture all network traffic 0.012
And I make sure time sync before Tor connects fails 0.428
And the network is plugged 0.098
And the Tor Connection Assistant autostarts 3.834
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.841
And I click "Connect to Tor" 3.047
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:515 0.034
After features/support/hooks.rb:330 5.971

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3877/artifact/build-artifacts/00:31: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_devel/3877/artifact/build-artifacts/00:31: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_devel/3877/artifact/build-artifacts/00:31: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_devel/3877/artifact/build-artifacts/00:31: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.049
2:5.886
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.006
Given I have started Tails from DVD without network and logged in 45.815
When I bump the system time with "+8 hours +15 minutes" 3.844
And all notifications have disappeared 8.504
And I capture all network traffic 0.004
And the network is plugged 0.150
And the Tor Connection Assistant autostarts 5.111
# 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 13.329
And I click "Connect to Tor" 1.172
Then the Tor Connection Assistant reports that it failed to connect 12.684
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 17.729
Then the system clock is less than 20 minutes incorrect 1.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" 2.098
When I click "Connect to Tor" 1.601
Then I wait until Tor is ready 8.765
And all Internet traffic has only flowed through the configured bridges 0.571
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.085
And the displayed clock is less than 5 minutes incorrect in "+08:00" 3.187
After features/support/hooks.rb:515 6.745
After features/support/hooks.rb:330 2.192
After features/support/hooks.rb:100 0.042
42.834
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:507 0.009
Given I have started Tails from DVD without network and logged in 11.124
And I make sure time sync before Tor connects uses a fake connectivity check service 2.053
And the network is plugged 1.227
And Tor is ready 26.897
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.525
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:515 0.689
After features/support/hooks.rb:330 0.949
After features/support/hooks.rb:100 0.002