Bug #14771

Retrying mechanism for the "I open the address" step is buggy in the Unsafe Browser

Added by intrigeri 2017-10-04 08:44:20 . Updated 2018-09-05 16:23:30 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2017-10-04
Due date:
% Done:

100%

Feature Branch:
feature/15023-tor-browser-8
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Unsafe Browser
Deliverable for:

Description

    When I successfully start the Unsafe Browser                                                   # features/step_definitions/browser.rb:9
02:15:15.336157969: calling as root: . /usr/local/lib/tails-shell-library/tor-browser.sh && echo ${TBB_INSTALL}/firefox
02:15:15.544600665: call returned: [0, "/usr/local/lib/tor-browser/firefox\n", ""]
02:15:16.484769323: [log] CLICK on L(243,80)@S(0)[0,0 1024x768]
02:15:17.284026264: calling as root: . /usr/local/lib/tails-shell-library/tor-browser.sh && echo ${TBB_INSTALL}/firefox
02:15:17.802127293: call returned: [0, "/usr/local/lib/tor-browser/firefox\n", ""]
02:15:18.592541657: [log] CLICK on L(147,114)@S(0)[0,0 1024x768]
02:15:23.592553473: calling as amnesia: echo -n 'https://tails.boum.org' | xsel --input --clipboard
02:15:23.772854397: call returned: [0, "", ""]
02:15:23.880371021: [log] ( Ctrl )  TYPE "v"
[log]  TYPE "#ENTER."
02:17:23.974624891: Operation failed (Try 1 of 10) with:
FindFailed: can not find BrowserReloadButton.png in S(0)[0,0 1024x768]
02:17:24.016760770: [log]  TYPE "#ESC."
    And I open Tails homepage in the Unsafe Browser                                                # features/step_definitions/browser.rb:201
      FindFailed: can not find BrowserAddressBar.png in S(0)[0,0 1024x768]
        Line 2171, in file Region.java
       (RuntimeError)
      features/tor_enforcement.feature:19:in `And I open Tails homepage in the Unsafe Browser'
    And Tails homepage loads in the Unsafe Browser                                                 # features/step_definitions/browser.rb:210
    Then the firewall leak detector has detected leaks                                             # features/step_definitions/firewall_leaks.rb:1
      Scenario failed at time 02:17:30

I think that the reload button is not found due to the different background color, which is one first bug that should be trivial to fix. And then apparently (didn’t look at the code) we have another fallback mechanism (BrowserAddressBar.png) that fails too, which might be a second (probably less important) bug.

I’m going to flag the affected tests as fragile. They are already fragile anyway, except “Scenario: Anti test: Detecting TCP leaks from the Unsafe Browser with the firewall leak detector”.


Files


Subtasks


Related issues

Blocked by Tails - Feature #15023: Upgrade to Tor Browser based on Firefox ESR60 Resolved 2017-08-30 2018-08-09

History

#1 Updated by intrigeri 2017-10-04 08:51:38

  • Status changed from Confirmed to In Progress

Applied in changeset commit:9d4ddd21ae8749666fa1b1fd2429a85dd03a38ac.

#2 Updated by intrigeri 2017-10-04 08:52:33

  • Status changed from In Progress to Confirmed
  • Assignee deleted (intrigeri)

#3 Updated by intrigeri 2018-07-07 07:34:14

  • Description updated

#4 Updated by intrigeri 2018-07-07 07:43:49

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • Target version set to Tails_3.9
  • % Done changed from 0 to 100
  • Feature Branch set to feature/15023-tor-browser-8

Fixed on that topic branch.

#5 Updated by intrigeri 2018-07-07 07:44:00

  • blocked by Feature #15023: Upgrade to Tor Browser based on Firefox ESR60 added

#6 Updated by intrigeri 2018-07-08 00:29:44

  • Status changed from In Progress to Resolved

Applied in changeset commit:ef12bcf07425c9a521bad340c57c9bc4cdf8c85e.

#7 Updated by intrigeri 2018-07-08 06:34:09

  • Status changed from Resolved to In Progress

#8 Updated by intrigeri 2018-07-08 07:35:03

  • QA Check set to Pass

#9 Updated by intrigeri 2018-08-14 06:02:10

  • Status changed from In Progress to Fix committed
  • Assignee deleted (intrigeri)

#10 Updated by intrigeri 2018-09-05 16:23:30

  • Status changed from Fix committed to Resolved