Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 71 31 Dec 2024, 20:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 74 1 5 0 0 80 9 1 10 8:59.670 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
24.274
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.077
When the network is plugged 0.223
And I successfully configure Tor 15.918
Then the system clock is less than 5 minutes incorrect 0.055
After features/support/hooks.rb:515 0.387
After features/support/hooks.rb:326 1.071
After features/support/hooks.rb:100 0.000
27.295
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.152
When the network is plugged 0.069
And the Tor Connection Assistant autostarts 4.355
And I configure some normal bridges in the Tor Connection Assistant 11.509
And I wait until Tor is ready 3.146
Then the system clock is less than 5 minutes incorrect 0.062
After features/support/hooks.rb:515 0.254
After features/support/hooks.rb:326 0.558
After features/support/hooks.rb:100 0.000
1:2.769
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.073
When I bump the system time with "+1 day" 0.310
And I capture all network traffic 0.003
And the network is plugged 0.083
And the Tor Connection Assistant autostarts 7.851
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 14.415
And I wait until Tor is ready 31.321
Then the system clock is less than 5 minutes incorrect 0.064
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.645

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

After features/support/hooks.rb:515 0.373
After features/support/hooks.rb:326 0.626
After features/support/hooks.rb:100 0.035
1:24.458
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.076
When I bump the system time with "-15 days" 0.280
And I warm reboot the computer 0.015
And the computer reboots Tails 1:15.747
Then Tails' hardware clock is close to the host system's time 0.338
After features/support/hooks.rb:515 0.114
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.006
1:24.222
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.001
Given I have started Tails from DVD without network and logged in 8.446
When I bump the hardware clock's time with "-15 days" 1.783
And I warm reboot the computer 0.012
And the computer reboots Tails 1:13.765
Then the hardware clock is still off by "-15 days" 0.215
After features/support/hooks.rb:515 0.150
After features/support/hooks.rb:326 0.577
After features/support/hooks.rb:100 0.006
57.324
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.160
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.023
And I start the computer 0.992
And the computer boots Tails 55.971
Then the system clock is just past Tails' source date 0.175
After features/support/hooks.rb:515 0.115
After features/support/hooks.rb:326 0.584
After features/support/hooks.rb:100 0.006
1:1.498
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.215
And I make sure time sync before Tor connects times out 1.147
When the network is plugged 0.068
And I successfully configure Tor 51.987
Then the system clock is less than 5 minutes incorrect 0.079
After features/support/hooks.rb:515 0.373
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
1:5.904
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.403
When I bump the system time with "+8 hours +15 minutes" 0.331
And all notifications have disappeared 3.893
And I capture all network traffic 0.010
And I make sure time sync before Tor connects fails 0.323
And the network is plugged 0.156
And the Tor Connection Assistant autostarts 4.126
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.270
And I click "Connect to Tor" 1.193
And the Tor Connection Assistant fails to connect to Tor 15.949
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 15.110
Then the system clock is less than 20 minutes incorrect 0.225
When I click "Connect to Tor" 1.157
Then I wait until Tor is ready 9.165
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.543
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.043
After features/support/hooks.rb:515 0.295
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.050
49.434
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:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.479
When I bump the system time with "+8 hours +15 minutes" 0.288
And all notifications have disappeared 3.920
And I capture all network traffic 0.003
And the network is plugged 0.083
And the Tor Connection Assistant autostarts 3.276
# 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 4.970
And I click "Connect to Tor" 1.185
Then the Tor Connection Assistant reports that it failed to connect 11.725
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.907
Then the system clock is less than 20 minutes incorrect 0.217
# "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.375
The
The displayed clock is off by 31621544.836839903 seconds (2024-01-01 00:40:00 +0800).
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/time_syncing.rb:82:in `assert_time_diff_smaller_than'
./features/step_definitions/time_syncing.rb:108:in `/^the displayed clock is less than (\d+) minutes incorrect in "([^"]*)"/'
features/time_syncing.feature:97:in `And the displayed clock is less than 20 minutes incorrect in "+08:00"'
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:515 0.041
After features/support/hooks.rb:326 4.796

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/71/artifact/build-artifacts/00:19:34_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_20530-tca-controls-tor-flag-file/71/artifact/build-artifacts/00:19:34_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_20530-tca-controls-tor-flag-file/71/artifact/build-artifacts/00:19:34_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_20530-tca-controls-tor-flag-file/71/artifact/build-artifacts/00:19:34_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.053
22.487
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.074
And I make sure time sync before Tor connects uses a fake connectivity check service 1.171
And the network is plugged 0.092
And Tor is ready 11.531
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.612
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.468
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.000