Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 9 24 Jun 2025, 22:29

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 18:3.112 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.897
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.004
Given I have started Tails from DVD without network and logged in 45.153
When the network is plugged 14.975
And I successfully configure Tor 37.692
Then the system clock is less than 5 minutes incorrect 0.076
After features/support/hooks.rb:517 0.528
After features/support/hooks.rb:330 1.861
After features/support/hooks.rb:100 0.000
1:20.576
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:509 0.009
Given I have started Tails from DVD without network and logged in 44.140
When the network is plugged 3.832
And the Tor Connection Assistant autostarts 8.272
And I configure some normal bridges in the Tor Connection Assistant 21.001
And I wait until Tor is ready 3.269
Then the system clock is less than 5 minutes incorrect 0.059
After features/support/hooks.rb:517 0.410
After features/support/hooks.rb:330 0.818
After features/support/hooks.rb:100 0.000
1:0.468
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 20.523
When I bump the system time with "+1 day" 0.239
And I capture all network traffic 0.003
And the network is plugged 0.157
And the Tor Connection Assistant autostarts 11.570
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 21.934
And I wait until Tor is ready 5.468
Then the system clock is less than 5 minutes incorrect 0.051
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.519

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

After features/support/hooks.rb:517 0.287
After features/support/hooks.rb:330 6.406
After features/support/hooks.rb:100 0.039
2:27.226
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.181
Before features/support/hooks.rb:509 0.155
Given I have started Tails from DVD without network and logged in 14.029
When I bump the system time with "-15 days" 4.220
And I warm reboot the computer 0.849
And the computer reboots Tails 2:7.271
Then Tails' hardware clock is close to the host system's time 0.856
After features/support/hooks.rb:517 0.127
After features/support/hooks.rb:330 1.018
After features/support/hooks.rb:100 0.008
3:23.494
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 1:9.022
When I bump the hardware clock's time with "-15 days" 3.604
And I warm reboot the computer 0.868
And the computer reboots Tails 2:9.459
Then the hardware clock is still off by "-15 days" 0.540
After features/support/hooks.rb:517 0.125
After features/support/hooks.rb:330 2.383
After features/support/hooks.rb:100 0.175
1:49.641
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.065
Before features/support/hooks.rb:509 0.038
Given a computer 0.893
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.176
And I start the computer 4.797
And the computer boots Tails 1:42.930
Then the system clock is just past Tails' source date 0.843
After features/support/hooks.rb:517 0.529
After features/support/hooks.rb:330 1.031
After features/support/hooks.rb:100 0.014
1:24.058
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.006
Given I have started Tails from DVD without network and logged in 46.205
And I make sure time sync before Tor connects times out 4.345
When the network is plugged 0.982
And I successfully configure Tor 32.444
Then the system clock is less than 5 minutes incorrect 0.080
After features/support/hooks.rb:517 0.660
After features/support/hooks.rb:330 3.653
After features/support/hooks.rb:100 0.003
2:10.539
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.270
Before features/support/hooks.rb:509 0.202
Given I have started Tails from DVD without network and logged in 17.301
When I bump the system time with "+8 hours +15 minutes" 1.550
And all notifications have disappeared 12.095
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.343
And the network is plugged 0.074
And the Tor Connection Assistant autostarts 4.536
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 13.272
And I click "Connect to Tor" 1.222
And the Tor Connection Assistant fails to connect to Tor 18.710
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 16.415
Then the system clock is less than 20 minutes incorrect 1.957
When I click "Connect to Tor" 1.826
Then I wait until Tor is ready 40.305
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.852
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.069
After features/support/hooks.rb:517 0.482
After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.047
1:9.526
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.002
Before features/support/hooks.rb:509 0.002
Steps
Given I have started Tails from DVD without network and logged in 49.112
When I bump the system time with "+8 hours +15 minutes" 2.590
And all notifications have disappeared 7.601
And I capture all network traffic 0.004
And the network is plugged 0.121
And the Tor Connection Assistant autostarts 4.554
# 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.542
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
After features/support/hooks.rb:517 0.163
After features/support/hooks.rb:330 8.617

SCENARIO FAILED: 'I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor' (at time 00:36:36)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/00:36:36_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/00:36:36_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_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/00:36:36_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/00:36:36_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.journal

After features/support/hooks.rb:100 0.038
1:39.683
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.004
Given I have started Tails from DVD without network and logged in 1:9.063
And I make sure time sync before Tor connects uses a fake connectivity check service 4.175
And the network is plugged 0.528
And Tor is ready 24.356
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.554
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:517 0.590
After features/support/hooks.rb:330 1.037
After features/support/hooks.rb:100 0.001