Open Bug 1806204 Opened 2 years ago Updated 2 years ago

Android gtest run spends 7 minutes hanging before starting to run the tests

Categories

(Testing :: GTest, defect, P3)

Firefox 110
defect

Tracking

(Not tracked)

People

(Reporter: botond, Unassigned)

Details

Attachments

(2 files)

Attached file Output of `mach gtest`

Steps to run

  1. Do an Android device (armv7) build of mozilla-central
  2. Run ./mach gtest <testname>, for example ./mach gtest APZEventResultTester.ScrollableDirections

Actual results

The test run hangs for about ~7 minutes before starting to run the tests.

I attached the complete output, but see in particular the following lines that show the 7-minute hang:

 1:08.80 adb INFO Setting run_as_package to org.mozilla.geckoview.test_runner
gtest INFO | Running Android gtest
 8:03.97 adb INFO Granting important runtime permissions to org.mozilla.geckoview.test_runner

Expected results

The test starts running more quickly.

Doesn't seem to happen in an emulator build, the interval between those two log messages is more like ~40 seconds there which seems more reasonable.

Also attaching the contents of adb logcat during the period of the hang (around 18:29 to 18:36 in the timestamps).

The severity field is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
Severity: -- → S3
Flags: needinfo?(ahal)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: