Project Number Date
test_Tails_ISO_20267-webtunnel 1 09 Jul 2025, 03:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 54 3 23 0 0 80 7 3 10 18:37.875 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:36.886
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Before features/support/hooks.rb:507 0.037
Given I have started Tails from DVD without network and logged in 47.948
When the network is plugged 24.029
And I successfully configure Tor 24.849
Then the system clock is less than 5 minutes incorrect 0.059
After features/support/hooks.rb:515 0.450
After features/support/hooks.rb:330 0.957
After features/support/hooks.rb:100 0.000
1:37.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 52.261
When the network is plugged 2.482
And the Tor Connection Assistant autostarts 4.662
And I configure some normal bridges in the Tor Connection Assistant 31.697
And I wait until Tor is ready 6.338
Then the system clock is less than 5 minutes incorrect 0.057
After features/support/hooks.rb:515 0.279
After features/support/hooks.rb:330 0.617
After features/support/hooks.rb:100 0.000
1:22.503
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 31.146
When I bump the system time with "+1 day" 2.710
And I capture all network traffic 0.215
And the network is plugged 1.888
And the Tor Connection Assistant autostarts 5.058
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 37.579
And I wait until Tor is ready 2.329
Then the system clock is less than 5 minutes incorrect 0.060
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.514

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

After features/support/hooks.rb:515 0.477
After features/support/hooks.rb:330 1.912
After features/support/hooks.rb:100 0.049
2:40.109
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 23.204
When I bump the system time with "-15 days" 3.925
And I warm reboot the computer 0.352
And the computer reboots Tails 2:11.580
Then Tails' hardware clock is close to the host system's time 1.046
After features/support/hooks.rb:515 0.142
After features/support/hooks.rb:330 2.730
After features/support/hooks.rb:100 0.087
2:51.432
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.104
Before features/support/hooks.rb:507 0.226
Given I have started Tails from DVD without network and logged in 18.408
When I bump the hardware clock's time with "-15 days" 6.305
And I warm reboot the computer 0.723
And the computer reboots Tails 2:25.018
Then the hardware clock is still off by "-15 days" 0.977
After features/support/hooks.rb:515 0.137
After features/support/hooks.rb:330 1.338
After features/support/hooks.rb:100 0.109
2:3.520
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Before features/support/hooks.rb:507 0.048
Given a computer 0.487
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 1.771
And the computer boots Tails 2:1.019
Then the system clock is just past Tails' source date 0.215
After features/support/hooks.rb:515 0.126
After features/support/hooks.rb:330 7.763
After features/support/hooks.rb:100 0.047
1:35.749
Scenario On a clock with host's time, Tor Connection works even if time sync fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Before features/support/hooks.rb:507 0.041
Steps
Given I have started Tails from DVD without network and logged in 1:20.592
And I make sure time sync before Tor connects times out 4.932
When the network is plugged 0.096
And I successfully configure Tor 10.128
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:59:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.126
After features/support/hooks.rb:330 9.774

SCENARIO FAILED: 'On a clock with host's time, Tor Connection works even if time sync fails' (at time 00:34:48)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:34:48_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:34:48_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:34:48_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:34:48_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.journal

After features/support/hooks.rb:100 0.001
1:15.282
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 1:15.282
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:63:in `Given I have started Tails from DVD without network and logged in'
When I bump the system time with "+8 hours +15 minutes" 0.000
And all notifications have disappeared 0.000
And I capture all network traffic 0.000
And I make sure time sync before Tor connects fails 0.000
And the network is plugged 0.000
And the Tor Connection Assistant autostarts 0.000
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 0.000
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
After features/support/hooks.rb:515 0.054
After features/support/hooks.rb:330 5.766

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:36:09)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:36:09_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_20267-webtunnel/1/artifact/build-artifacts/00:36:09_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_20267-webtunnel/1/artifact/build-artifacts/00:36:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:36:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.journal

After features/support/hooks.rb:100 0.000
2:17.993
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 49.238
When I bump the system time with "+8 hours +15 minutes" 2.580
And all notifications have disappeared 9.372
And I capture all network traffic 0.002
And the network is plugged 0.080
And the Tor Connection Assistant autostarts 9.390
# 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 9.684
And I click "Connect to Tor" 1.287
Then the Tor Connection Assistant reports that it failed to connect 11.088
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 17.720
Then the system clock is less than 20 minutes incorrect 1.338
# "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.082
When I click "Connect to Tor" 2.594
Then I wait until Tor is ready 15.618
And all Internet traffic has only flowed through the configured bridges 5.048
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.124
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.740
After features/support/hooks.rb:515 0.412
After features/support/hooks.rb:330 0.839
After features/support/hooks.rb:100 0.056
1:16.899
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.003
Steps
Given I have started Tails from DVD without network and logged in 1:16.899
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
After features/support/hooks.rb:515 0.038
After features/support/hooks.rb:330 5.836

SCENARIO FAILED: 'Time sync before Tor connects sets the same headers as the NetworkManager connectivity check' (at time 00:39:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:39:51_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_20267-webtunnel/1/artifact/build-artifacts/00:39:51_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_20267-webtunnel/1/artifact/build-artifacts/00:39:51_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20267-webtunnel/1/artifact/build-artifacts/00:39:51_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.journal

After features/support/hooks.rb:100 0.000