Project Number Date
test_Tails_ISO_21014-htpdateerror 2 14 Jun 2025, 00:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 78 1 1 0 0 80 9 1 10 11:18.139 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
54.186
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.829
When the network is plugged 10.706
And I successfully configure Tor 20.587
Then the system clock is less than 5 minutes incorrect 0.062
After features/support/hooks.rb:515 0.473
After features/support/hooks.rb:330 0.692
After features/support/hooks.rb:100 0.000
37.491
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 9.236
When the network is plugged 1.683
And the Tor Connection Assistant autostarts 6.055
And I configure some normal bridges in the Tor Connection Assistant 13.940
And I wait until Tor is ready 6.452
Then the system clock is less than 5 minutes incorrect 0.123
After features/support/hooks.rb:515 0.473
After features/support/hooks.rb:330 0.904
After features/support/hooks.rb:100 0.000
39.564
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 9.046
When I bump the system time with "+1 day" 2.109
And I capture all network traffic 0.150
And the network is plugged 1.793
And the Tor Connection Assistant autostarts 6.228
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 14.352
And I wait until Tor is ready 5.130
Then the system clock is less than 5 minutes incorrect 0.119
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.632

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

After features/support/hooks.rb:515 0.367
After features/support/hooks.rb:330 0.641
After features/support/hooks.rb:100 0.052
2:5.357
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.030
When I bump the system time with "-15 days" 2.130
And I warm reboot the computer 0.294
And the computer reboots Tails 1:51.748
Then Tails' hardware clock is close to the host system's time 1.153
After features/support/hooks.rb:515 0.198
After features/support/hooks.rb:330 0.851
After features/support/hooks.rb:100 0.005
2:14.918
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Before features/support/hooks.rb:507 0.001
Given I have started Tails from DVD without network and logged in 16.946
When I bump the hardware clock's time with "-15 days" 1.993
And I warm reboot the computer 0.018
And the computer reboots Tails 1:55.273
Then the hardware clock is still off by "-15 days" 0.685
After features/support/hooks.rb:515 0.135
After features/support/hooks.rb:330 0.679
After features/support/hooks.rb:100 0.007
1:24.153
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.001
Given a computer 0.162
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 1.196
And the computer boots Tails 1:22.664
Then the system clock is just past Tails' source date 0.102
After features/support/hooks.rb:515 0.150
After features/support/hooks.rb:330 0.645
After features/support/hooks.rb:100 0.006
24.650
Scenario On a clock with host's time, Tor Connection works even if time sync fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 13.658
And I make sure time sync before Tor connects times out 1.147
When the network is plugged 0.081
And I successfully configure Tor 9.762
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:502:in `tca_configure'
./features/step_definitions/tor.rb:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:653:in `/^I successfully configure Tor$/'
features/time_syncing.feature:59:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.076
After features/support/hooks.rb:330 5.387

SCENARIO FAILED: 'On a clock with host's time, Tor Connection works even if time sync fails' (at time 00:23:35)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/2/artifact/build-artifacts/00:23:35_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/2/artifact/build-artifacts/00:23:35_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/2/artifact/build-artifacts/00:23:35_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/2/artifact/build-artifacts/00:23:35_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.journal

After features/support/hooks.rb:100 0.002
1:9.140
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 8.898
When I bump the system time with "+8 hours +15 minutes" 0.480
And all notifications have disappeared 7.180
And I capture all network traffic 0.006
And I make sure time sync before Tor connects fails 0.124
And the network is plugged 0.067
And the Tor Connection Assistant autostarts 5.176
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.612
And I click "Connect to Tor" 1.286
And the Tor Connection Assistant fails to connect to Tor 16.478
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 15.541
Then the system clock is less than 20 minutes incorrect 0.273
When I click "Connect to Tor" 1.178
Then I wait until Tor is ready 6.198
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.586
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.049
After features/support/hooks.rb:515 0.295
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.039
1:16.160
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 15.754
When I bump the system time with "+8 hours +15 minutes" 0.351
And all notifications have disappeared 5.067
And I capture all network traffic 0.135
And the network is plugged 0.756
And the Tor Connection Assistant autostarts 4.872
# 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 5.589
And I click "Connect to Tor" 1.180
Then the Tor Connection Assistant reports that it failed to connect 12.186
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 15.317
Then the system clock is less than 20 minutes incorrect 1.944
# "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.874
When I click "Connect to Tor" 1.518
Then I wait until Tor is ready 7.183
And all Internet traffic has only flowed through the configured bridges 0.671
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.094
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.662
After features/support/hooks.rb:515 0.402
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.044
32.516
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 12.580
And I make sure time sync before Tor connects uses a fake connectivity check service 1.136
And the network is plugged 0.067
And Tor is ready 16.810
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.876
Then the fake connectivity check service has received a new HTTP request 0.010
And the HTTP requests received by the fake connectivity check service are identical 0.031
After features/support/hooks.rb:515 0.510
After features/support/hooks.rb:330 0.837
After features/support/hooks.rb:100 0.001