Project Number Date
test_Tails_ISO_21014-htpdateerror 20 02 Jul 2025, 22:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 59 3 18 0 0 80 7 3 10 13:46.515 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
35.903
Scenario Clock with host's time
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Before features/support/hooks.rb:507 0.024
Steps
Given I have started Tails from DVD without network and logged in 11.612
When the network is plugged 12.072
And I successfully configure Tor 12.218
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:10:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
Hooks
After features/support/hooks.rb:515 0.038
After features/support/hooks.rb:330 9.534
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

SCENARIO FAILED: 'Clock with host's time' (at time 00:19:34)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:19:34_Clock_with_host_s_time.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:19:34_Clock_with_host_s_time.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:19:34_Clock_with_host_s_time.mkv

After features/support/hooks.rb:100 0.000
1:35.807
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 27.115
When the network is plugged 1.117
And the Tor Connection Assistant autostarts 10.292
And I configure some normal bridges in the Tor Connection Assistant 22.492
And I wait until Tor is ready 34.613
Then the system clock is less than 5 minutes incorrect 0.175
After features/support/hooks.rb:515 0.799
After features/support/hooks.rb:330 2.262
After features/support/hooks.rb:100 0.000
1:19.331
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:507 0.014
Given I have started Tails from DVD without network and logged in 28.045
When I bump the system time with "+1 day" 5.633
And I capture all network traffic 0.569
And the network is plugged 2.630
And the Tor Connection Assistant autostarts 5.342
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 22.529
And I wait until Tor is ready 13.402
Then the system clock is less than 5 minutes incorrect 0.150
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.029

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

After features/support/hooks.rb:515 0.582
After features/support/hooks.rb:330 1.059
After features/support/hooks.rb:100 0.065
2:41.560
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 27.847
When I bump the system time with "-15 days" 2.895
And I warm reboot the computer 0.230
And the computer reboots Tails 2:9.964
Then Tails' hardware clock is close to the host system's time 0.622
After features/support/hooks.rb:515 0.135
After features/support/hooks.rb:330 0.848
After features/support/hooks.rb:100 0.005
2:38.921
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.583
When I bump the hardware clock's time with "-15 days" 4.510
And I warm reboot the computer 0.378
And the computer reboots Tails 2:9.214
Then the hardware clock is still off by "-15 days" 0.233
After features/support/hooks.rb:515 0.245
After features/support/hooks.rb:330 1.012
After features/support/hooks.rb:100 0.018
1:50.690
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.005
Given a computer 0.269
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.047
And I start the computer 1.562
And the computer boots Tails 1:47.801
Then the system clock is just past Tails' source date 1.009
After features/support/hooks.rb:515 3.398
After features/support/hooks.rb:330 1.119
After features/support/hooks.rb:100 0.008
44.383
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 9.931
And I make sure time sync before Tor connects times out 4.920
When the network is plugged 0.949
And I successfully configure Tor 28.501
Then the system clock is less than 5 minutes incorrect 0.080
After features/support/hooks.rb:515 0.561
After features/support/hooks.rb:330 1.180
After features/support/hooks.rb:100 0.002
50.976
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.032
Before features/support/hooks.rb:507 0.010
Steps
Given I have started Tails from DVD without network and logged in 19.529
When I bump the system time with "+8 hours +15 minutes" 0.478
And all notifications have disappeared 12.891
And I capture all network traffic 0.148
And I make sure time sync before Tor connects fails 0.741
And the network is plugged 0.133
And the Tor Connection Assistant autostarts 3.536
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.349
And I click "Connect to Tor" 3.168
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
Hooks
After features/support/hooks.rb:515 0.059
After features/support/hooks.rb:330 5.540
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

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:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:31:37_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_21014-htpdateerror/20/artifact/build-artifacts/00:31:37_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_21014-htpdateerror/20/artifact/build-artifacts/00:31:37_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.mkv

After features/support/hooks.rb:100 0.054
47.091
Scenario I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.007
Steps
Given I have started Tails from DVD without network and logged in 24.790
When I bump the system time with "+8 hours +15 minutes" 1.652
And all notifications have disappeared 10.249
And I capture all network traffic 0.005
And the network is plugged 0.089
And the Tor Connection Assistant autostarts 5.145
# 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.159
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:637:in `block (2 levels) in <top (required)>'
./features/step_definitions/tor.rb:499:in `tca_configure'
./features/step_definitions/tor.rb:628:in `/^I configure (?:some|the) (persistent )?(\w+) bridges (from a QR code )?in the Tor Connection Assistant(?: in (easy|hide) mode)?( without connecting|)$/'
features/time_syncing.feature:90:in `And I configure some obfs4 bridges in the Tor Connection Assistant in hide mode without connecting'
And I click "Connect to Tor" 0.000
Then the Tor Connection Assistant reports that it failed to connect 0.000
# The "Fix Clock" button allows users to recover from this bug
When 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
# "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.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 configured bridges 0.000
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.000
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.000
Hooks
After features/support/hooks.rb:515 0.037
After features/support/hooks.rb:330 8.593
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

SCENARIO FAILED: 'I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor' (at time 00:32:33)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:32:33_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:32:33_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/20/artifact/build-artifacts/00:32:33_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.mkv

After features/support/hooks.rb:100 0.027
41.849
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 15.628
And I make sure time sync before Tor connects uses a fake connectivity check service 1.781
And the network is plugged 0.764
And Tor is ready 21.993
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.627
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.052
After features/support/hooks.rb:515 0.660
After features/support/hooks.rb:330 0.861
After features/support/hooks.rb:100 0.001