Project Number Date
test_Tails_ISO_21014-htpdateerror 15 27 Jun 2025, 23:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 69 1 10 0 0 80 9 1 10 13:33.862 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:5.279
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Before features/support/hooks.rb:507 0.027
Given I have started Tails from DVD without network and logged in 15.110
When the network is plugged 16.490
And I successfully configure Tor 32.477
Then the system clock is less than 5 minutes incorrect 1.201
After features/support/hooks.rb:515 0.933
After features/support/hooks.rb:330 0.859
After features/support/hooks.rb:100 0.000
1:1.596
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 28.121
When the network is plugged 4.744
And the Tor Connection Assistant autostarts 6.561
And I configure some normal bridges in the Tor Connection Assistant 20.363
And I wait until Tor is ready 1.707
Then the system clock is less than 5 minutes incorrect 0.097
After features/support/hooks.rb:515 0.423
After features/support/hooks.rb:330 1.176
After features/support/hooks.rb:100 0.000
1:9.565
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.010
Given I have started Tails from DVD without network and logged in 25.825
When I bump the system time with "+1 day" 3.662
And I capture all network traffic 0.244
And the network is plugged 1.925
And the Tor Connection Assistant autostarts 5.069
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 23.218
And I wait until Tor is ready 6.209
Then the system clock is less than 5 minutes incorrect 0.183
And all Internet traffic has only flowed through the configured bridges or connectivity check service 3.227

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

After features/support/hooks.rb:515 0.560
After features/support/hooks.rb:330 2.684
After features/support/hooks.rb:100 0.052
2:16.625
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:507 0.017
Given I have started Tails from DVD without network and logged in 10.382
When I bump the system time with "-15 days" 1.298
And I warm reboot the computer 0.561
And the computer reboots Tails 2:4.009
Then Tails' hardware clock is close to the host system's time 0.373
After features/support/hooks.rb:515 1.714
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.011
2:12.380
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.005
Given I have started Tails from DVD without network and logged in 11.488
When I bump the hardware clock's time with "-15 days" 3.875
And I warm reboot the computer 0.410
And the computer reboots Tails 1:55.228
Then the hardware clock is still off by "-15 days" 1.376
After features/support/hooks.rb:515 2.293
After features/support/hooks.rb:330 2.891
After features/support/hooks.rb:100 0.018
1:40.276
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 a computer 0.392
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.064
And I start the computer 2.854
And the computer boots Tails 1:35.048
Then the system clock is just past Tails' source date 1.916
After features/support/hooks.rb:515 1.318
After features/support/hooks.rb:330 2.055
After features/support/hooks.rb:100 0.016
46.520
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Before features/support/hooks.rb:507 0.015
Given I have started Tails from DVD without network and logged in 13.617
And I make sure time sync before Tor connects times out 4.886
When the network is plugged 1.400
And I successfully configure Tor 26.510
Then the system clock is less than 5 minutes incorrect 0.105
After features/support/hooks.rb:515 0.554
After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.000
1:39.633
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 20.131
When I bump the system time with "+8 hours +15 minutes" 0.235
And all notifications have disappeared 7.975
And I capture all network traffic 0.077
And I make sure time sync before Tor connects fails 0.541
And the network is plugged 0.190
And the Tor Connection Assistant autostarts 5.414
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.233
And I click "Connect to Tor" 1.187
And the Tor Connection Assistant fails to connect to Tor 19.224
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 24.853
Then the system clock is less than 20 minutes incorrect 1.769
When I click "Connect to Tor" 2.423
Then I wait until Tor is ready 9.596
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.713
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.063
After features/support/hooks.rb:515 0.340
After features/support/hooks.rb:330 2.057
After features/support/hooks.rb:100 0.036
41.298
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.080
Before features/support/hooks.rb:507 0.074
Steps
Given I have started Tails from DVD without network and logged in 18.200
When I bump the system time with "+8 hours +15 minutes" 2.029
And all notifications have disappeared 11.529
And I capture all network traffic 0.004
And the network is plugged 0.085
And the Tor Connection Assistant autostarts 4.205
# 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.242
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.054
After features/support/hooks.rb:330 8.615
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:30)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/15/artifact/build-artifacts/00:32: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/15/artifact/build-artifacts/00:32: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/15/artifact/build-artifacts/00:32: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.041
1:0.687
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:507 0.010
Given I have started Tails from DVD without network and logged in 30.091
And I make sure time sync before Tor connects uses a fake connectivity check service 3.013
And the network is plugged 0.255
And Tor is ready 25.352
Then the fake connectivity check service has received a new HTTP request 0.001
When I make NetworkManager perform a connectivity check 1.968
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.004
After features/support/hooks.rb:515 0.516
After features/support/hooks.rb:330 0.884
After features/support/hooks.rb:100 0.000