[tor-bugs] #27137 [Applications/Quality Assurance and Testing]: tbb-testsuite: fix the navigation-timing test

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 14 12:35:39 UTC 2018


#27137: tbb-testsuite: fix the navigation-timing test
-------------------------------------+-------------------------------------
     Reporter:  boklm                |      Owner:  boklm
         Type:  task                 |     Status:  assigned
     Priority:  Medium               |  Milestone:
    Component:                       |    Version:
  Applications/Quality Assurance     |
  and Testing                        |   Keywords:  boklm201808,
     Severity:  Normal               |  TorBrowserTeam201808, tbb-testsuite
Actual Points:                       |  Parent ID:  #27105
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 The navigation-timing test is currently failing with the following error:
 {{{
 test_navigation-timing.py test_navigation-
 timing.Test.test_navigation_timing
 SUITE-END | took 0s
 Using workspace for temporary data: "/home/user/tbb-
 testsuite/reports/r/aXFkPjw0CG/results-tor-browser-linux64-8.0a9_es-
 ES.tar.xz/navigation-timing_ws"
 mozversion application_buildid: 20180204020101
 mozversion application_display_name: Tor Browser
 mozversion application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
 mozversion application_name: Firefox
 mozversion application_remotingname: firefox
 mozversion application_vendor: Mozilla
 mozversion application_version: 60.1.0
 mozversion platform_buildid: 20180204020101
 mozversion platform_version: 60.1.0
 Application command: /home/user/tbb-testsuite/tmp/w2gSJZPwUj/tor-
 browser_es-ES/Browser/ff_wrapper -no-remote -marionette -profile
 /home/user/tbb-testsuite/reports/r/aXFkPjw0CG/results-tor-browser-
 linux64-8.0a9_es-ES.tar.xz/navigation-timing_ws/profile.default-1534249749
 Profile path is /home/user/tbb-testsuite/reports/r/aXFkPjw0CG/results-tor-
 browser-linux64-8.0a9_es-ES.tar.xz/navigation-
 timing_ws/profile.default-1534249749
 Starting fixture servers
 Fixture server listening on http://127.0.0.1:35413/
 Fixture server listening on https://127.0.0.1:32829/
 e10s is enabled
 mozversion application_buildid: 20180204020101
 mozversion application_display_name: Tor Browser
 mozversion application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
 mozversion application_name: Firefox
 mozversion application_remotingname: firefox
 mozversion application_vendor: Mozilla
 mozversion application_version: 60.1.0
 mozversion platform_buildid: 20180204020101
 mozversion platform_version: 60.1.0
 SUITE-START | Running 1 tests
 TEST-START | test_navigation-timing.py Test.test_navigation_timing
 Failed to gather test failure debug:
 stacktrace:
         WebDriverError at chrome://marionette/content/error.js:178:5
 UnexpectedAlertOpenError at chrome://marionette/content/error.js:507:5
         assert.that/<@chrome://marionette/content/assert.js:405:13
         assert.noUserPrompt at chrome://marionette/content/assert.js:178:3
 GeckoDriver.prototype._assertAndDismissModal at chrome://marionette/content/driver.js:3203:5
 GeckoDriver.prototype.getPageSource at chrome://marionette/content/driver.js:1154:3
         despatch at chrome://marionette/content/server.js:293:20
         execute at chrome://marionette/content/server.js:267:11
         onPacket/<@chrome://marionette/content/server.js:242:15
         onPacket at chrome://marionette/content/server.js:241:8
 _onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9
         openModalWindow at jar:file:///home/user/tbb-testsuite/tmp/w2gSJZPwUj
 /tor-browser_es-ES/Browser/omni.ja!/components/nsPrompter.js:353:5
         openPrompt at jar:file:///home/user/tbb-testsuite/tmp/w2gSJZPwUj/tor-
 browser_es-ES/Browser/omni.ja!/components/nsPrompter.js:563:9
         confirmEx at jar:file:///home/user/tbb-testsuite/tmp/w2gSJZPwUj/tor-
 browser_es-ES/Browser/omni.ja!/components/nsPrompter.js:704:9
         confirmEx at jar:file:///home/user/tbb-testsuite/tmp/w2gSJZPwUj/tor-
 browser_es-ES/Browser/omni.ja!/components/nsPrompter.js:74:16
 _promptForLanguagePreference at resource://gre/modules/LanguagePrompt.jsm:177:20
 _handleHttpOnModifyRequest at resource://gre/modules/LanguagePrompt.jsm:156:5
         observe at resource://gre/modules/LanguagePrompt.jsm:47:9

 TEST-UNEXPECTED-FAIL | test_navigation-timing.py
 Test.test_navigation_timing | AssertionError: secureConnectionStart !=
 None
 Traceback (most recent call last):
   File "/home/user/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py",
 line 156, in run
     testMethod()
   File "/home/user/tbb-testsuite/marionette/tor_browser_tests
 /test_navigation-timing.py", line 52, in test_navigation_timing
     script_args=[name, val]), msg=err_msg)
 TEST-INFO took 451ms

 SUMMARY
 -------
 passed: 0
 failed: 1
 todo: 0

 FAILED TESTS
 -------
 test_navigation-timing.py test_navigation-
 timing.Test.test_navigation_timing
 SUITE-END | took 0s
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27137>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list