Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 28 18 Dec 2024, 21:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
The Tor enforcement is effective 39 1 3 0 0 43 8 1 9 2:21.009 Failed
Tags: @product
Feature The Tor enforcement is effective
As a Tails user I want all direct Internet connections I do by mistake or applications do by misconfiguration or buggy leaks to be blocked And as a Tails developer I want to ensure that the automated test suite detects firewall leaks reliably
Tags: @product
13.048
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in and the network is connected 12.350
Then the firewall's policy is to drop all IPv4 traffic 0.250
And the firewall is configured to only allow the clearnet and debian-tor users to connect directly to the Internet over IPv4 0.242
And the firewall's NAT rules only redirect traffic for the Unsafe Browser, Tor's TransPort, and DNSPort 0.084
And the firewall is configured to block all external IPv6 traffic 0.120
After features/support/hooks.rb:326 0.807
After features/support/hooks.rb:100 0.000
Tags: @product
13.228
Scenario Anti test: Detecting TCP leaks from the Unsafe Browser with the firewall leak detector
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails from DVD and logged in and the network is connected 13.222
And I capture all network traffic 0.005
When I successfully start the Unsafe Browser 0.001
undefined local variable or method `options' for #<Object+RSpec::Matchers+Cucumber::RbSupport::RbWorld+PCAPRUB+Test::Unit::Assertions+PP::ObjectMixin+JSON::Ext::Generator::GeneratorMethods::Object+Kernel:0x3c208> (NameError)
./features/step_definitions/common_steps.rb:1109:in `launch_unsafe_browser'
./features/step_definitions/browser.rb:61:in `/^I (try to )?start the Unsafe Browser$/'
./features/step_definitions/browser.rb:65:in `/^I successfully start the Unsafe Browser(?: in "([^"]+)")?$/'
features/tor_enforcement.feature:18:in `When I successfully start the Unsafe Browser'
And I open the Tails homepage in the Unsafe Browser 0.000
And the Tails homepage loads in the Unsafe Browser 0.000
Then the firewall leak detector has detected leaks 0.000
After features/support/hooks.rb:326 5.144

SCENARIO FAILED: 'Anti test: Detecting TCP leaks from the Unsafe Browser with the firewall leak detector' (at time 03:46:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/28/artifact/build-artifacts/03:46:56_Anti_test:_Detecting_TCP_leaks_from_the_Unsafe_Browser_with_the_firewall_leak_detector.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/28/artifact/build-artifacts/03:46:56_Anti_test:_Detecting_TCP_leaks_from_the_Unsafe_Browser_with_the_firewall_leak_detector.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/28/artifact/build-artifacts/03:46:56_Anti_test:_Detecting_TCP_leaks_from_the_Unsafe_Browser_with_the_firewall_leak_detector.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/28/artifact/build-artifacts/03:46:56_Anti_test:_Detecting_TCP_leaks_from_the_Unsafe_Browser_with_the_firewall_leak_detector.journal

After features/support/hooks.rb:100 0.055
Tags: @product
13.998
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in and the network is connected 12.922
And I capture all network traffic 0.007
And I disable Tails' firewall 0.260
When I do a TCP DNS lookup of "torproject.org" 0.720
Then the firewall leak detector has detected leaks 0.087
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.039
Tags: @product
13.735
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in and the network is connected 12.631
And I capture all network traffic 0.006
And I disable Tails' firewall 0.238
When I do a UDP DNS lookup of "torproject.org" 0.759
Then the firewall leak detector has detected leaks 0.099
After features/support/hooks.rb:326 0.618
After features/support/hooks.rb:100 0.038
Tags: @product
16.999
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in and the network is connected 12.490
And I capture all network traffic 0.006
And I disable Tails' firewall 0.238
When I send some ICMP pings 4.147
Then the firewall leak detector has detected leaks 0.116
After features/support/hooks.rb:326 0.653
After features/support/hooks.rb:100 0.036
13.898
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given I have started Tails from DVD and logged in and the network is connected 12.477
When I open an untorified TCP connection to 1.2.3.4 on port 42 1.352
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.068
After features/support/hooks.rb:515 0.239
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.000
14.122
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.007
Given I have started Tails from DVD and logged in and the network is connected 12.706
When I open an untorified UDP connection to 1.2.3.4 on port 42 1.342
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.073
After features/support/hooks.rb:515 0.215
After features/support/hooks.rb:326 0.620
After features/support/hooks.rb:100 0.000
18.164
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.058
Given I have started Tails from DVD and logged in and the network is connected 12.708
When I open an untorified ICMP connection to 1.2.3.4 5.392
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.063
After features/support/hooks.rb:515 0.259
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
23.813
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 9.050
And the system DNS is using the local DNS resolver 0.023
And the network is plugged 0.071
And I successfully configure Tor 14.637
Then the system DNS is still using the local DNS resolver 0.030
After features/support/hooks.rb:326 0.887
After features/support/hooks.rb:100 0.000