Project Number Date
test_Tails_ISO_devel 3897 05 Jul 2025, 14:27

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 11:8.113 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
45.167
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 14.353
When the network is plugged 10.635
And I successfully configure Tor 20.128
Then the system clock is less than 5 minutes incorrect 0.049
After features/support/hooks.rb:515 0.342
After features/support/hooks.rb:330 1.563
After features/support/hooks.rb:100 0.000
43.023
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.060
Before features/support/hooks.rb:507 0.086
Given I have started Tails from DVD without network and logged in 14.046
When the network is plugged 0.328
And the Tor Connection Assistant autostarts 5.268
And I configure some normal bridges in the Tor Connection Assistant 16.198
And I wait until Tor is ready 6.943
Then the system clock is less than 5 minutes incorrect 0.239
After features/support/hooks.rb:515 1.415
After features/support/hooks.rb:330 1.135
After features/support/hooks.rb:100 0.000
1:6.038
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 9.819
When I bump the system time with "+1 day" 0.357
And I capture all network traffic 0.015
And the network is plugged 0.203
And the Tor Connection Assistant autostarts 6.973
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 16.335
And I wait until Tor is ready 31.562
Then the system clock is less than 5 minutes incorrect 0.051
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.718

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

After features/support/hooks.rb:515 0.393
After features/support/hooks.rb:330 0.642
After features/support/hooks.rb:100 0.049
2:12.104
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 24.001
When I bump the system time with "-15 days" 0.555
And I warm reboot the computer 0.014
And the computer reboots Tails 1:46.674
Then Tails' hardware clock is close to the host system's time 0.857
After features/support/hooks.rb:515 0.230
After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.009
1:54.289
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 10.378
When I bump the hardware clock's time with "-15 days" 2.059
And I warm reboot the computer 0.524
And the computer reboots Tails 1:40.398
Then the hardware clock is still off by "-15 days" 0.928
After features/support/hooks.rb:515 0.636
After features/support/hooks.rb:330 2.348
After features/support/hooks.rb:100 0.035
1:14.312
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:507 0.011
Given a computer 0.461
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.075
And I start the computer 1.642
And the computer boots Tails 1:11.953
Then the system clock is just past Tails' source date 0.180
After features/support/hooks.rb:515 0.115
After features/support/hooks.rb:330 3.260
After features/support/hooks.rb:100 0.013
45.517
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.007
Given I have started Tails from DVD without network and logged in 11.199
And I make sure time sync before Tor connects times out 1.257
When the network is plugged 0.090
And I successfully configure Tor 32.823
Then the system clock is less than 5 minutes incorrect 0.145
After features/support/hooks.rb:515 0.677
After features/support/hooks.rb:330 1.071
After features/support/hooks.rb:100 0.001
33.085
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.003
Before features/support/hooks.rb:507 0.003
Steps
Given I have started Tails from DVD without network and logged in 9.236
When I bump the system time with "+8 hours +15 minutes" 0.265
And all notifications have disappeared 10.348
And I capture all network traffic 0.005
And I make sure time sync before Tor connects fails 0.387
And the network is plugged 0.132
And the Tor Connection Assistant autostarts 4.225
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.371
And I click "Connect to Tor" 3.112
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.073
After features/support/hooks.rb:330 6.977

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:22:32)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3897/artifact/build-artifacts/00:22:32_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/3897/artifact/build-artifacts/00:22:32_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/3897/artifact/build-artifacts/00:22:32_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/3897/artifact/build-artifacts/00:22:32_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.047
1:19.869
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 10.954
When I bump the system time with "+8 hours +15 minutes" 1.510
And all notifications have disappeared 6.929
And I capture all network traffic 0.012
And the network is plugged 0.105
And the Tor Connection Assistant autostarts 4.972
# 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 8.414
And I click "Connect to Tor" 1.345
Then the Tor Connection Assistant reports that it failed to connect 12.108
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 18.129
Then the system clock is less than 20 minutes incorrect 0.698
# "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.498
When I click "Connect to Tor" 1.328
Then I wait until Tor is ready 10.847
And all Internet traffic has only flowed through the configured bridges 1.497
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.066
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.449
After features/support/hooks.rb:515 0.363
After features/support/hooks.rb:330 0.707
After features/support/hooks.rb:100 0.052
34.703
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 10.556
And I make sure time sync before Tor connects uses a fake connectivity check service 4.334
And the network is plugged 0.207
And Tor is ready 17.633
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.840
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.130
After features/support/hooks.rb:515 2.463
After features/support/hooks.rb:330 0.982
After features/support/hooks.rb:100 0.001