Project Number Date
test_Tails_ISO_21014-htpdateerror 9 21 Jun 2025, 23:45

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 66 2 12 0 0 80 8 2 10 13:41.031 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:31.629
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 18.783
When the network is plugged 11.925
And I successfully configure Tor 1:0.619
Then the system clock is less than 5 minutes incorrect 0.300
After features/support/hooks.rb:515 1.167
After features/support/hooks.rb:330 0.711
After features/support/hooks.rb:100 0.000
43.615
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 14.995
When the network is plugged 1.344
And the Tor Connection Assistant autostarts 5.280
And I configure some normal bridges in the Tor Connection Assistant 18.153
And I wait until Tor is ready 3.734
Then the system clock is less than 5 minutes incorrect 0.106
After features/support/hooks.rb:515 0.264
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
1:33.538
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 50.837
When I bump the system time with "+1 day" 1.592
And I capture all network traffic 0.064
And the network is plugged 0.230
And the Tor Connection Assistant autostarts 5.036
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 22.558
And I wait until Tor is ready 11.409
Then the system clock is less than 5 minutes incorrect 0.271
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.536

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

After features/support/hooks.rb:515 0.458
After features/support/hooks.rb:330 0.786
After features/support/hooks.rb:100 0.035
2:32.317
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 28.638
When I bump the system time with "-15 days" 2.243
And I warm reboot the computer 0.396
And the computer reboots Tails 1:59.545
Then Tails' hardware clock is close to the host system's time 1.494
After features/support/hooks.rb:515 6.146
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.013
1:18.815
Scenario Anti-test: Changes to the hardware clock are kept when rebooting
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.004
Steps
Given I have started Tails from DVD without network and logged in 1:18.815
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/time_syncing.feature:42:in `Given I have started Tails from DVD without network and logged in'
When I bump the hardware clock's time with "-15 days" 0.000
And I warm reboot the computer 0.000
And the computer reboots Tails 0.000
Then the hardware clock is still off by "-15 days" 0.000
Hooks
After features/support/hooks.rb:515 0.044
After features/support/hooks.rb:330 5.579
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: 'Anti-test: Changes to the hardware clock are kept when rebooting' (at time 00:27:33)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/9/artifact/build-artifacts/00:27:33_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/9/artifact/build-artifacts/00:27:33_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/9/artifact/build-artifacts/00:27:33_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.mkv

After features/support/hooks.rb:100 0.000
1:43.525
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 a computer 0.187
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.026
And I start the computer 1.332
And the computer boots Tails 1:41.514
Then the system clock is just past Tails' source date 0.465
After features/support/hooks.rb:515 4.877
After features/support/hooks.rb:330 2.449
After features/support/hooks.rb:100 0.049
47.361
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Before features/support/hooks.rb:507 0.013
Given I have started Tails from DVD without network and logged in 13.385
And I make sure time sync before Tor connects times out 3.700
When the network is plugged 0.274
And I successfully configure Tor 29.907
Then the system clock is less than 5 minutes incorrect 0.093
After features/support/hooks.rb:515 0.609
After features/support/hooks.rb:330 0.889
After features/support/hooks.rb:100 0.001
1:12.248
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.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 44.383
When I bump the system time with "+8 hours +15 minutes" 2.741
And all notifications have disappeared 9.879
And I capture all network traffic 0.004
And I make sure time sync before Tor connects fails 0.274
And the network is plugged 0.078
And the Tor Connection Assistant autostarts 4.359
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.527
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:70:in `When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting'
And I click "Connect to Tor" 0.000
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.047
After features/support/hooks.rb:330 5.426
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:31)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/9/artifact/build-artifacts/00:31:31_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/9/artifact/build-artifacts/00:31:31_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/9/artifact/build-artifacts/00:31:31_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.038
1:37.005
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 14.372
When I bump the system time with "+8 hours +15 minutes" 1.767
And all notifications have disappeared 4.447
And I capture all network traffic 0.003
And the network is plugged 0.081
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 14.842
And I click "Connect to Tor" 1.306
Then the Tor Connection Assistant reports that it failed to connect 11.427
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 18.488
Then the system clock is less than 20 minutes incorrect 1.860
# "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.172
When I click "Connect to Tor" 1.967
Then I wait until Tor is ready 14.683
And all Internet traffic has only flowed through the configured bridges 4.192
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.119
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.401
After features/support/hooks.rb:515 0.330
After features/support/hooks.rb:330 0.652
After features/support/hooks.rb:100 0.042
40.972
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 14.320
And I make sure time sync before Tor connects uses a fake connectivity check service 1.626
And the network is plugged 0.445
And Tor is ready 22.894
Then the fake connectivity check service has received a new HTTP request 0.001
When I make NetworkManager perform a connectivity check 1.681
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.003
After features/support/hooks.rb:515 0.570
After features/support/hooks.rb:330 1.087
After features/support/hooks.rb:100 0.000