Opened 16 months ago

Last modified 8 months ago

#27120 assigned defect

tbb-testsuite: marionette tests are failing when using strace

Reported by: boklm Owned by: boklm
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords: tbb-testsuite, boklm201811, TorBrowserTeam201904
Cc: tbb-team Actual Points:
Parent ID: #27105 Points:
Reviewer: Sponsor:

Description

In the marionette tests that we run from the testsuite, we are running the browser with strace in order to check the system calls and detect possible files created outside the browser directory, and direct network connections.

When running the testsuite on an esr60 based Tor Browser, the browser window does not open and an strace process takes a lot of cpu, until we get the following timeout error:

Using workspace for temporary data: "/home/user/tbb-testsuite/reports/r/FmdSZphWEU/results-tor-browser-linux64-8.0a9_es-ES.tar.xz/slider_settings_1_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/_VycbfqfU2/tor-browser_es-ES/Browser/ff_slider_settings_1 -no-remote -marionette -profile /home/user/tbb-testsuite/reports/r/FmdSZphWEU/results-tor-browser-linux64-8.0a9_es-ES.tar.xz/slider_settings_1_ws/profile.default-1534170518
 2:00.17 LOG: MainThread ERROR Failure during harness execution
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/runtests.py", line 92, in cli
    failed = harness_instance.run()

  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/runtests.py", line 72, in run
    runner.run_tests(tests)

  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/runner/base.py", line 837, in run_tests
    self.marionette = self.driverclass(**self._build_kwargs())

  File "/home/user/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 621, in __init__
    self.start_binary(self.startup_timeout)

  File "/home/user/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 633, in start_binary
    self.raise_for_port(timeout=timeout)

  File "/home/user/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 710, in raise_for_port
    self.host, self.port))

IOError: Process killed after 120s because no connection to Marionette server could be established. Check gecko.log for errors

Disabling the use of strace is fixing the issue.

Child Tickets

Change History (11)

comment:1 Changed 16 months ago by boklm

Commit 2407d36e4f34cf9df3e334a8179db51e397e9adc is temporarily disabling the use_strace option.

comment:2 Changed 15 months ago by boklm

Keywords: boklm201809 added; boklm201808 removed

boklm201808 -> boklm201809

comment:3 Changed 15 months ago by gk

Keywords: TorBrowserTeam201809 added; TorBrowserTeam201808 removed

Moving our tickets to September 2018

comment:4 Changed 14 months ago by gk

Keywords: TorBrowserTeam201810 added; TorBrowserTeam201809 removed

Moving tickets to October

comment:5 Changed 13 months ago by gk

Keywords: TorBrowserTeam201811 added; TorBrowserTeam201810 removed

Moving our tickets to November.

comment:6 Changed 13 months ago by boklm

Keywords: boklm201811 added; boklm201809 removed

boklm201809 -> boklm201811

comment:7 Changed 12 months ago by gk

Keywords: TorBrowserTeam201812 added; TorBrowserTeam201811 removed

Moving our tickets to December.

comment:8 Changed 11 months ago by gk

Keywords: TorBrowserTeam201901 added; TorBrowserTeam201812 removed

Moving tickets to Jan 2019.

comment:9 Changed 10 months ago by gk

Keywords: TorBrowserTeam201902 added; TorBrowserTeam201901 removed

Moving tickets to February.

comment:10 Changed 9 months ago by gk

Keywords: TorBrowserTeam201903 added; TorBrowserTeam201902 removed

Moving remaining tickets to March.

comment:11 Changed 8 months ago by gk

Keywords: TorBrowserTeam201904 added; TorBrowserTeam201903 removed

Moving tickets to April.

Note: See TracTickets for help on using tickets.