Project Number Date
test_Tails_ISO_21014-htpdateerror 18 30 Jun 2025, 23:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 61 3 16 0 0 80 7 3 10 16:54.186 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:37.952
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 27.442
When the network is plugged 25.309
And I successfully configure Tor 45.132
Then the system clock is less than 5 minutes incorrect 0.068
After features/support/hooks.rb:515 0.455
After features/support/hooks.rb:330 0.637
After features/support/hooks.rb:100 0.000
1:4.221
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 26.299
When the network is plugged 1.383
And the Tor Connection Assistant autostarts 9.200
And I configure some normal bridges in the Tor Connection Assistant 20.959
And I wait until Tor is ready 6.285
Then the system clock is less than 5 minutes incorrect 0.092
After features/support/hooks.rb:515 0.393
After features/support/hooks.rb:330 0.885
After features/support/hooks.rb:100 0.000
1:12.727
Scenario Clock is one day in the future while using obfs4 bridges
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:507 0.007
Steps
Given I have started Tails from DVD without network and logged in 19.995
When I bump the system time with "+1 day" 1.217
And I capture all network traffic 0.062
And the network is plugged 3.072
And the Tor Connection Assistant autostarts 6.828
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 41.550
TCA
TCA failed to connect to Tor (TCAConnectionFailure)
./features/step_definitions/tor.rb:418:in `/^the Tor Connection Assistant connects to Tor$/'
./features/step_definitions/tor.rb:503: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:27:in `And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode'
And I wait until Tor is ready 0.000
Then the system clock is less than 5 minutes incorrect 0.000
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.000
Hooks
After features/support/hooks.rb:515 0.042
After features/support/hooks.rb:330 6.230
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 is one day in the future while using obfs4 bridges' (at time 00:22:40)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:22:40_Clock_is_one_day_in_the_future_while_using_obfs4_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:22:40_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:22:40_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:22:40_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:22:40_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.mkv

After features/support/hooks.rb:100 0.043
2:26.652
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 18.480
When I bump the system time with "-15 days" 0.505
And I warm reboot the computer 0.060
And the computer reboots Tails 2:5.762
Then Tails' hardware clock is close to the host system's time 1.843
After features/support/hooks.rb:515 5.644
After features/support/hooks.rb:330 0.763
After features/support/hooks.rb:100 0.012
2:30.396
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 11.205
When I bump the hardware clock's time with "-15 days" 8.111
And I warm reboot the computer 0.026
And the computer reboots Tails 2:9.949
Then the hardware clock is still off by "-15 days" 1.104
After features/support/hooks.rb:515 1.582
After features/support/hooks.rb:330 2.787
After features/support/hooks.rb:100 0.079
1:40.350
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:507 0.014
Given a computer 1.035
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.125
And I start the computer 3.744
And the computer boots Tails 1:34.175
Then the system clock is just past Tails' source date 1.270
After features/support/hooks.rb:515 1.632
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.033
45.022
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Before features/support/hooks.rb:507 0.016
Given I have started Tails from DVD without network and logged in 10.872
And I make sure time sync before Tor connects times out 3.063
When the network is plugged 1.115
And I successfully configure Tor 29.906
Then the system clock is less than 5 minutes incorrect 0.064
After features/support/hooks.rb:515 0.439
After features/support/hooks.rb:330 0.938
After features/support/hooks.rb:100 0.005
3:15.142
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.006
Before features/support/hooks.rb:507 0.011
Steps
Given I have started Tails from DVD without network and logged in 45.900
When I bump the system time with "+8 hours +15 minutes" 1.369
And all notifications have disappeared 8.614
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.116
And the network is plugged 0.078
And the Tor Connection Assistant autostarts 5.084
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.693
And I click "Connect to Tor" 3.175
And the Tor Connection Assistant fails to connect to Tor 2:0.105
Expected TCAConnectionFailure to be raised but got TCAConnectionTimeout: Timed out while waiting for TCA to connect to Tor (RuntimeError)
./features/step_definitions/tor.rb:427:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:422:in `/^the Tor Connection Assistant fails to connect to Tor$/'
features/time_syncing.feature:72:in `And the Tor Connection Assistant fails to connect to Tor'
# 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.041
After features/support/hooks.rb:330 5.641
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:33:40)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:33:40_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/18/artifact/build-artifacts/00:33:40_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/18/artifact/build-artifacts/00:33:40_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.030
1:41.477
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.003
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 40.290
When I bump the system time with "+8 hours +15 minutes" 0.284
And all notifications have disappeared 13.424
And I capture all network traffic 0.007
And the network is plugged 0.118
And the Tor Connection Assistant autostarts 4.208
# 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 12.733
And I click "Connect to Tor" 1.794
Then the Tor Connection Assistant reports that it failed to connect 13.669
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.945
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:867:in `/^I set the time zone in Tor Connection to "([^"]*)"$/'
features/time_syncing.feature:94:in `When I set the time zone in Tor Connection to "Asia/Shanghai"'
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.036
After features/support/hooks.rb:330 10.993
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:35:30)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/18/artifact/build-artifacts/00:35:30_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/18/artifact/build-artifacts/00:35:30_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/18/artifact/build-artifacts/00:35:30_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.051
40.243
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Before features/support/hooks.rb:507 0.012
Given I have started Tails from DVD without network and logged in 10.560
And I make sure time sync before Tor connects uses a fake connectivity check service 5.517
And the network is plugged 0.348
And Tor is ready 21.139
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 2.652
Then the fake connectivity check service has received a new HTTP request 0.003
And the HTTP requests received by the fake connectivity check service are identical 0.020
After features/support/hooks.rb:515 1.037
After features/support/hooks.rb:330 1.102
After features/support/hooks.rb:100 0.002