Project Number Date
test_Tails_ISO_21014-htpdateerror 23 05 Jul 2025, 23:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 68 2 10 0 0 80 8 2 10 17:30.622 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:17.432
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:507 0.012
Given I have started Tails from DVD without network and logged in 33.227
When the network is plugged 13.814
And I successfully configure Tor 30.321
Then the system clock is less than 5 minutes incorrect 0.069
After features/support/hooks.rb:515 0.464
After features/support/hooks.rb:330 0.972
After features/support/hooks.rb:100 0.000
1:18.412
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.006
Given I have started Tails from DVD without network and logged in 45.925
When the network is plugged 1.793
And the Tor Connection Assistant autostarts 9.063
And I configure some normal bridges in the Tor Connection Assistant 19.559
And I wait until Tor is ready 2.004
Then the system clock is less than 5 minutes incorrect 0.065
After features/support/hooks.rb:515 0.281
After features/support/hooks.rb:330 0.794
After features/support/hooks.rb:100 0.000
54.977
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.004
Before features/support/hooks.rb:507 0.003
Steps
Given I have started Tails from DVD without network and logged in 26.438
When I bump the system time with "+1 day" 3.582
And I capture all network traffic 0.156
And the network is plugged 0.870
And the Tor Connection Assistant autostarts 8.030
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 15.899
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: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.038
After features/support/hooks.rb:330 5.715
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:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/23/artifact/build-artifacts/00:22:01_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/23/artifact/build-artifacts/00:22:01_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

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

After features/support/hooks.rb:100 0.035
2:57.154
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.005
Given I have started Tails from DVD without network and logged in 43.796
When I bump the system time with "-15 days" 3.275
And I warm reboot the computer 0.749
And the computer reboots Tails 2:8.559
Then Tails' hardware clock is close to the host system's time 0.774
After features/support/hooks.rb:515 0.135
After features/support/hooks.rb:330 1.012
After features/support/hooks.rb:100 0.005
2:55.865
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 33.257
When I bump the hardware clock's time with "-15 days" 2.575
And I warm reboot the computer 0.037
And the computer reboots Tails 2:17.711
Then the hardware clock is still off by "-15 days" 2.282
After features/support/hooks.rb:515 0.741
After features/support/hooks.rb:330 0.925
After features/support/hooks.rb:100 0.014
1:34.494
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 a computer 0.194
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.026
And I start the computer 1.024
And the computer boots Tails 1:31.944
Then the system clock is just past Tails' source date 1.305
After features/support/hooks.rb:515 3.655
After features/support/hooks.rb:330 1.069
After features/support/hooks.rb:100 0.008
1:23.874
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 51.878
And I make sure time sync before Tor connects times out 4.685
When the network is plugged 0.708
And I successfully configure Tor 26.529
Then the system clock is less than 5 minutes incorrect 0.072
After features/support/hooks.rb:515 0.752
After features/support/hooks.rb:330 1.038
After features/support/hooks.rb:100 0.001
2:14.593
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 44.379
When I bump the system time with "+8 hours +15 minutes" 4.902
And all notifications have disappeared 8.061
And I capture all network traffic 0.029
And I make sure time sync before Tor connects fails 0.112
And the network is plugged 0.071
And the Tor Connection Assistant autostarts 9.735
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 11.071
And I click "Connect to Tor" 1.371
And the Tor Connection Assistant fails to connect to Tor 17.185
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 17.244
Then the system clock is less than 20 minutes incorrect 0.498
When I click "Connect to Tor" 1.156
Then I wait until Tor is ready 16.599
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 2.096
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.075
After features/support/hooks.rb:515 0.550
After features/support/hooks.rb:330 1.060
After features/support/hooks.rb:100 0.045
1:36.229
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.008
Given I have started Tails from DVD without network and logged in 16.218
When I bump the system time with "+8 hours +15 minutes" 0.538
And all notifications have disappeared 4.799
And I capture all network traffic 0.021
And the network is plugged 0.337
And the Tor Connection Assistant autostarts 5.822
# 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.006
And I click "Connect to Tor" 1.222
Then the Tor Connection Assistant reports that it failed to connect 14.068
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 16.376
Then the system clock is less than 20 minutes incorrect 1.820
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 1.828
When I click "Connect to Tor" 2.064
Then I wait until Tor is ready 10.540
And all Internet traffic has only flowed through the configured bridges 7.432
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.170
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.959
After features/support/hooks.rb:515 0.536
After features/support/hooks.rb:330 1.068
After features/support/hooks.rb:100 0.034
1:17.587
Scenario Time sync before Tor connects sets the same headers as the NetworkManager connectivity check
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 1:17.587
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:106:in `Given I have started Tails from DVD without network and logged in'
And I make sure time sync before Tor connects uses a fake connectivity check service 0.000
And the network is plugged 0.000
And Tor is ready 0.000
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 0.000
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.000
Hooks
After features/support/hooks.rb:515 0.059
After features/support/hooks.rb:330 5.741
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: 'Time sync before Tor connects sets the same headers as the NetworkManager connectivity check' (at time 00:36:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/23/artifact/build-artifacts/00:36:21_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/23/artifact/build-artifacts/00:36:21_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/23/artifact/build-artifacts/00:36:21_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.mkv

After features/support/hooks.rb:100 0.000