Opened 2 years ago

Last modified 6 months ago

#27120 assigned defect

tbb-testsuite: marionette tests are failing when using strace

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


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/", line 92, in cli
    failed =

  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/", line 72, in 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/runner/", 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/", line 621, in __init__

  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/", line 633, in start_binary

  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/", line 710, in raise_for_port, 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 (14)

comment:1 Changed 2 years ago by boklm

Commit 2407d36e4f34cf9df3e334a8179db51e397e9adc is temporarily disabling the use_strace option.

comment:2 Changed 2 years ago by boklm

Keywords: boklm201809 added; boklm201808 removed

boklm201808 -> boklm201809

comment:3 Changed 2 years ago by gk

Keywords: TorBrowserTeam201809 added; TorBrowserTeam201808 removed

Moving our tickets to September 2018

comment:4 Changed 2 years ago by gk

Keywords: TorBrowserTeam201810 added; TorBrowserTeam201809 removed

Moving tickets to October

comment:5 Changed 2 years ago by gk

Keywords: TorBrowserTeam201811 added; TorBrowserTeam201810 removed

Moving our tickets to November.

comment:6 Changed 2 years ago by boklm

Keywords: boklm201811 added; boklm201809 removed

boklm201809 -> boklm201811

comment:7 Changed 23 months ago by gk

Keywords: TorBrowserTeam201812 added; TorBrowserTeam201811 removed

Moving our tickets to December.

comment:8 Changed 22 months ago by gk

Keywords: TorBrowserTeam201901 added; TorBrowserTeam201812 removed

Moving tickets to Jan 2019.

comment:9 Changed 21 months ago by gk

Keywords: TorBrowserTeam201902 added; TorBrowserTeam201901 removed

Moving tickets to February.

comment:10 Changed 20 months ago by gk

Keywords: TorBrowserTeam201903 added; TorBrowserTeam201902 removed

Moving remaining tickets to March.

comment:11 Changed 19 months ago by gk

Keywords: TorBrowserTeam201904 added; TorBrowserTeam201903 removed

Moving tickets to April.

comment:12 Changed 9 months ago by sysrqb

Keywords: ReleaseTrainMigration added

Release Train Migration.

comment:13 Changed 7 months ago by sysrqb

Sponsor: Sponsor58

Adding S58 on testsuite tickets.

comment:14 Changed 6 months ago by gaba

Owner: changed from boklm to tbb-team

Release all this tickets back into tbb-team.

Note: See TracTickets for help on using tickets.