Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 35 24 Jun 2025, 17:01

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:52.952 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:13.429
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 22.817
When the network is plugged 15.758
And I successfully configure Tor 34.741
Then the system clock is less than 5 minutes incorrect 0.112
After features/support/hooks.rb:515 0.681
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
1:16.083
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 28.425
When the network is plugged 4.290
And the Tor Connection Assistant autostarts 6.934
And I configure some normal bridges in the Tor Connection Assistant 23.783
And I wait until Tor is ready 12.473
Then the system clock is less than 5 minutes incorrect 0.176
After features/support/hooks.rb:515 1.550
After features/support/hooks.rb:330 1.123
After features/support/hooks.rb:100 0.000
1:19.281
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 28.286
When I bump the system time with "+1 day" 2.504
And I capture all network traffic 0.360
And the network is plugged 3.889
And the Tor Connection Assistant autostarts 5.026
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 23.686
And I wait until Tor is ready 14.516
Then the system clock is less than 5 minutes incorrect 0.108
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.902

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

After features/support/hooks.rb:515 0.348
After features/support/hooks.rb:330 0.815
After features/support/hooks.rb:100 0.039
3:1.610
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 48.494
When I bump the system time with "-15 days" 3.110
And I warm reboot the computer 0.357
And the computer reboots Tails 2:8.755
Then Tails' hardware clock is close to the host system's time 0.894
After features/support/hooks.rb:515 0.224
After features/support/hooks.rb:330 1.106
After features/support/hooks.rb:100 0.011
3:20.596
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 45.480
When I bump the hardware clock's time with "-15 days" 3.233
And I warm reboot the computer 0.221
And the computer reboots Tails 2:30.794
Then the hardware clock is still off by "-15 days" 0.865
After features/support/hooks.rb:515 0.171
After features/support/hooks.rb:330 1.124
After features/support/hooks.rb:100 0.012
1:51.793
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 a computer 0.200
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.033
And I start the computer 7.743
And the computer boots Tails 1:43.111
Then the system clock is just past Tails' source date 0.703
After features/support/hooks.rb:515 0.571
After features/support/hooks.rb:330 0.946
After features/support/hooks.rb:100 0.007
1:3.380
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 32.886
And I make sure time sync before Tor connects times out 4.573
When the network is plugged 0.795
And I successfully configure Tor 25.066
Then the system clock is less than 5 minutes incorrect 0.057
After features/support/hooks.rb:515 0.488
After features/support/hooks.rb:330 1.479
After features/support/hooks.rb:100 0.000
53.165
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 20.767
When I bump the system time with "+8 hours +15 minutes" 0.230
And all notifications have disappeared 11.338
And I capture all network traffic 0.035
And I make sure time sync before Tor connects fails 0.744
And the network is plugged 0.148
And the Tor Connection Assistant autostarts 4.197
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 12.420
And I click "Connect to Tor" 3.282
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.069
After features/support/hooks.rb:330 6.336

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:34:35)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/35/artifact/build-artifacts/00:34:35_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_5501-plaintext-locale-greeter/35/artifact/build-artifacts/00:34:35_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_5501-plaintext-locale-greeter/35/artifact/build-artifacts/00:34:35_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_5501-plaintext-locale-greeter/35/artifact/build-artifacts/00:34:35_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.056
1:55.086
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Before features/support/hooks.rb:507 0.029
Given I have started Tails from DVD without network and logged in 20.825
When I bump the system time with "+8 hours +15 minutes" 0.215
And all notifications have disappeared 10.915
And I capture all network traffic 0.173
And the network is plugged 0.744
And the Tor Connection Assistant autostarts 5.486
# 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 10.046
And I click "Connect to Tor" 3.112
Then the Tor Connection Assistant reports that it failed to connect 13.910
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 18.928
Then the system clock is less than 20 minutes incorrect 2.109
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 4.006
When I click "Connect to Tor" 2.505
Then I wait until Tor is ready 14.161
And all Internet traffic has only flowed through the configured bridges 7.389
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.119
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.435
After features/support/hooks.rb:515 0.371
After features/support/hooks.rb:330 0.800
After features/support/hooks.rb:100 0.033
58.525
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 27.955
And I make sure time sync before Tor connects uses a fake connectivity check service 5.751
And the network is plugged 0.321
And Tor is ready 22.754
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.737
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.500
After features/support/hooks.rb:330 0.685
After features/support/hooks.rb:100 0.001