Project Number Date
test_Tails_ISO_stable 4939 14 Jul 2024, 12:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 77 1 2 0 0 80 9 1 10 9:47.810 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.526
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.037
Given I have started Tails from DVD without network and logged in 8.153
When the network is plugged 0.148
And I successfully configure Tor 16.166
Then the system clock is less than 5 minutes incorrect 0.057
After features/support/hooks.rb:515 0.544
After features/support/hooks.rb:326 0.893
After features/support/hooks.rb:100 0.000
27.482
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 7.976
When the network is plugged 0.036
And the Tor Connection Assistant autostarts 4.580
And I configure some normal bridges in the Tor Connection Assistant 12.912
And I wait until Tor is ready 1.883
Then the system clock is less than 5 minutes incorrect 0.092
After features/support/hooks.rb:515 0.416
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
30.843
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 7.825
When I bump the system time with "+1 day" 0.344
And I capture all network traffic 0.003
And the network is plugged 0.045
And the Tor Connection Assistant autostarts 4.412
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.488
And I wait until Tor is ready 4.907
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.764
After features/support/hooks.rb:515 0.425
After features/support/hooks.rb:326 1.059
After features/support/hooks.rb:100 0.041
1:25.571
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 7.932
When I bump the system time with "-15 days" 0.310
And I warm reboot the computer 0.019
And the computer reboots Tails 1:16.703
Then Tails' hardware clock is close to the host system's time 0.606
After features/support/hooks.rb:515 0.102
After features/support/hooks.rb:326 0.599
After features/support/hooks.rb:100 0.005
1:42.278
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 10.602
When I bump the hardware clock's time with "-15 days" 1.680
And I warm reboot the computer 0.012
And the computer reboots Tails 1:29.836
Then the hardware clock is still off by "-15 days" 0.146
After features/support/hooks.rb:515 0.122
After features/support/hooks.rb:326 0.615
After features/support/hooks.rb:100 0.007
55.067
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.151
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.025
And I start the computer 0.956
And the computer boots Tails 53.773
Then the system clock is just past Tails' source date 0.159
After features/support/hooks.rb:515 0.096
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.007
34.130
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 9.073
And I make sure time sync before Tor connects times out 1.178
When the network is plugged 0.037
And I successfully configure Tor 23.754
Then the system clock is less than 5 minutes incorrect 0.087
After features/support/hooks.rb:515 0.494
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.000
1:53.947
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:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 29.549
When I bump the system time with "+8 hours +15 minutes" 0.420
And all notifications have disappeared 4.095
And I capture all network traffic 0.002
And I make sure time sync before Tor connects fails 0.135
And the network is plugged 0.042
And the Tor Connection Assistant autostarts 3.413
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 6.216
And I click "Connect to Tor" 1.179
And the Tor Connection Assistant fails to connect to Tor 15.732
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 14.686
Then the system clock is less than 20 minutes incorrect 0.290
When I click "Connect to Tor" 1.145
Then I wait until Tor is ready 37.037
The
The system is not fully running yet:
No jobs running.

  UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
● systemd-hostnamed.service loaded failed failed Hostname Service

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
 (RuntimeError)
./features/step_definitions/common_steps.rb:680:in `rescue in block in <top (required)>'
./features/step_definitions/common_steps.rb:675:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:77:in `Then I wait until Tor is ready'
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.031
After features/support/hooks.rb:326 4.842

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:18:32)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4939/artifact/build-artifacts/00:18:32_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_stable/4939/artifact/build-artifacts/00:18:32_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_stable/4939/artifact/build-artifacts/00:18:32_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_stable/4939/artifact/build-artifacts/00:18:32_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.035
1:27.485
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.272
When I bump the system time with "+8 hours +15 minutes" 0.249
And all notifications have disappeared 4.104
And I capture all network traffic 0.002
And the network is plugged 0.044
And the Tor Connection Assistant autostarts 3.386
# 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.585
And I click "Connect to Tor" 1.158
Then the Tor Connection Assistant reports that it failed to connect 11.574
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.919
Then the system clock is less than 20 minutes incorrect 0.187
# "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.345
When I click "Connect to Tor" 1.158
Then I wait until Tor is ready 34.870
And all Internet traffic has only flowed through the configured bridges 1.136
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.068
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.420
After features/support/hooks.rb:515 0.670
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.046
26.477
Before features/support/hooks.rb:269 0.014
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.144
And I make sure time sync before Tor connects uses a fake connectivity check service 1.189
And the network is plugged 0.064
And Tor is ready 15.562
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.512
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.598
After features/support/hooks.rb:326 0.627
After features/support/hooks.rb:100 0.000