Closed Bug 1536795 Opened 6 years ago Closed 5 years ago

Intermittent testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow

Categories

(Firefox for Android Graveyard :: Testing, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Assigned: tt)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 obsolete file)

#[markdown(off)]
Filed by: nerli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=234955563&repo=autoland

https://queue.taskcluster.net/v1/task/PwUVQUzSSPucTM6oAEXA6A/runs/0/artifacts/public/logs/live_backing.log

[task 2019-03-20T12:24:14.794Z] 12:24:14 INFO - TEST-PASS | testAudioFocus | waiting for add tab view - add tab view available
[task 2019-03-20T12:24:14.794Z] 12:24:14 INFO - Buffered messages finished
[task 2019-03-20T12:24:14.794Z] 12:24:14 WARNING - TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-03-20T12:24:14.794Z] 12:24:14 INFO - 0 ERROR Exception caught during test! - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-03-20T12:24:14.795Z] 12:24:14 INFO - at junit.framework.Assert.fail(Assert.java:50)
[task 2019-03-20T12:24:14.795Z] 12:24:14 INFO - at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:124)
[task 2019-03-20T12:24:14.795Z] 12:24:14 INFO - at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:145)
[task 2019-03-20T12:24:14.795Z] 12:24:14 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:113)
[task 2019-03-20T12:24:14.795Z] 12:24:14 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:97)
[task 2019-03-20T12:24:14.796Z] 12:24:14 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForBundle(FennecNativeActions.java:171)
[task 2019-03-20T12:24:14.796Z] 12:24:14 INFO - at org.mozilla.gecko.tests.OldBaseTest.addTab(OldBaseTest.java:615)
[task 2019-03-20T12:24:14.796Z] 12:24:14 INFO - at org.mozilla.gecko.tests.testAudioFocus.addTab(testAudioFocus.java:14)
[task 2019-03-20T12:24:14.796Z] 12:24:14 INFO - at org.mozilla.gecko.tests.OldBaseTest.addTab(OldBaseTest.java:630)
[task 2019-03-20T12:24:14.797Z] 12:24:14 INFO - at org.mozilla.gecko.tests.testAudioFocus.addTab(testAudioFocus.java:14)
[task 2019-03-20T12:24:14.797Z] 12:24:14 INFO - at org.mozilla.gecko.tests.testAudioFocus.testSwitchTab(testAudioFocus.java:145)
[task 2019-03-20T12:24:14.797Z] 12:24:14 INFO - at org.mozilla.gecko.tests.testAudioFocus.testAudioFocus(testAudioFocus.java:26)
[task 2019-03-20T12:24:14.797Z] 12:24:14 INFO - at java.lang.reflect.Method.invokeNative(Native Method)
[task 2019-03-20T12:24:14.797Z] 12:24:14 INFO - at java.lang.reflect.Method.invoke(Method.java:525)
[task 2019-03-20T12:24:14.798Z] 12:24:14 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
[task 2019-03-20T12:24:14.798Z] 12:24:14 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
[task 2019-03-20T12:24:14.798Z] 12:24:14 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
[task 2019-03-20T12:24:14.798Z] 12:24:14 INFO - at org.mozilla.gecko.tests.BaseRobocopTest.runTest(BaseRobocopTest.java:188)
[task 2019-03-20T12:24:14.798Z] 12:24:14 INFO - at junit.framework.TestCase.runBare(TestCase.java:134)
[task 2019-03-20T12:24:14.799Z] 12:24:14 INFO - at junit.framework.TestResult$1.protect(TestResult.java:115)
[task 2019-03-20T12:24:14.799Z] 12:24:14 INFO - at junit.framework.TestResult.runProtected(TestResult.java:133)
[task 2019-03-20T12:24:14.799Z] 12:24:14 INFO - at junit.framework.TestResult.run(TestResult.java:118)
[task 2019-03-20T12:24:14.799Z] 12:24:14 INFO - at junit.framework.TestCase.run(TestCase.java:124)
[task 2019-03-20T12:24:14.799Z] 12:24:14 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
[task 2019-03-20T12:24:14.800Z] 12:24:14 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
[task 2019-03-20T12:24:14.800Z] 12:24:14 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
[task 2019-03-20T12:24:14.800Z] 12:24:14 INFO - at org.mozilla.gecko.FennecInstrumentationTestRunner.onStart(FennecInstrumentationTestRunner.java:66)
[task 2019-03-20T12:24:14.800Z] 12:24:14 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
[task 2019-03-20T12:24:14.800Z] 12:24:14 WARNING - TEST-UNEXPECTED-FAIL | testAudioFocus | Exception caught - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - TEST-OK | testAudioFocus | took 254378ms
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - TEST-START | Shutdown
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - Passed: 28
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - Failed: 2
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - Todo: 0
[task 2019-03-20T12:24:14.801Z] 12:24:14 INFO - SimpleTest FINISHED
[task 2019-03-20T12:24:35.470Z] 12:24:35 INFO - wait for org.mozilla.fennec_aurora complete; top activity=com.android.launcher
[task 2019-03-20T12:24:35.675Z] 12:24:35 INFO - remoteautomation.py | Application ran for: 0:04:44.055754

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE

Recent failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=247169904&repo=autoland&lineNumber=1810

task 2019-05-18T08:54:26.181Z] 08:54:26 INFO - TEST-PASS | testAudioFocus | Audio focus state is correct. - OWN_FOCUS should equal OWN_FOCUS
[task 2019-05-18T08:54:26.181Z] 08:54:26 INFO - - switch to the another tab -
[task 2019-05-18T08:54:26.181Z] 08:54:26 INFO - Buffered messages logged at 08:51:18
[task 2019-05-18T08:54:26.182Z] 08:54:26 INFO - TEST-PASS | testAudioFocus | waiting for add tab view - add tab view available
[task 2019-05-18T08:54:26.182Z] 08:54:26 INFO - Buffered messages finished
[task 2019-05-18T08:54:26.182Z] 08:54:26 WARNING - TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - 0 ERROR Exception caught during test! - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - at junit.framework.Assert.fail(Assert.java:50)
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:124)
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:145)
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:113)
[task 2019-05-18T08:54:36.346Z] 08:54:36 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:97)
[task 2019-05-18T08:54:36.347Z] 08:54:36 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForBundle(FennecNativeActions.java:171)
[task 2019-05-18T08:54:36.347Z] 08:54:36 INFO - at org.mozilla.gecko.tests.OldBaseTest.addTab(OldBaseTest.java:615)
[task 2019-05-18T08:54:36.347Z] 08:54:36 INFO - at org.mozilla.gecko.tests.testAudioFocus.addTab(testAudioFocus.java:14)
[task 2019-05-18T08:54:36.348Z] 08:54:36 INFO - at org.mozilla.gecko.tests.OldBaseTest.addTab(OldBaseTest.java:630)
[task 2019-05-18T08:54:36.348Z] 08:54:36 INFO - at org.mozilla.gecko.tests.testAudioFocus.addTab(testAudioFocus.java:14)
[task 2019-05-18T08:54:36.348Z] 08:54:36 INFO - at org.mozilla.gecko.tests.testAudioFocus.testSwitchTab(testAudioFocus.java:145)
[task 2019-05-18T08:54:36.348Z] 08:54:36 INFO - at org.mozilla.gecko.tests.testAudioFocus.testAudioFocus(testAudioFocus.java:26)
[task 2019-05-18T08:54:36.348Z] 08:54:36 INFO - at java.lang.reflect.Method.invokeNative(Native Method)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at java.lang.reflect.Method.invoke(Method.java:525)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at org.mozilla.gecko.tests.BaseRobocopTest.runTest(BaseRobocopTest.java:188)
[task 2019-05-18T08:54:36.349Z] 08:54:36 INFO - at junit.framework.TestCase.runBare(TestCase.java:134)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at junit.framework.TestResult$1.protect(TestResult.java:115)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at junit.framework.TestResult.runProtected(TestResult.java:133)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at junit.framework.TestResult.run(TestResult.java:118)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at junit.framework.TestCase.run(TestCase.java:124)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
[task 2019-05-18T08:54:36.350Z] 08:54:36 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
[task 2019-05-18T08:54:36.351Z] 08:54:36 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
[task 2019-05-18T08:54:36.351Z] 08:54:36 INFO - at org.mozilla.gecko.FennecInstrumentationTestRunner.onStart(FennecInstrumentationTestRunner.java:66)
[task 2019-05-18T08:54:36.351Z] 08:54:36 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
[task 2019-05-18T08:54:36.351Z] 08:54:36 WARNING - TEST-UNEXPECTED-FAIL | testAudioFocus | Exception caught - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAudioFocus | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
[task 2019-05-18T08:54:36.352Z] 08:54:36 INFO - TEST-OK | testAudioFocus | took 260160ms

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE

In the Windows API, the maximum length for a path is MAX_PATH in general.
However, the Windows API has many functions that also have Unicode versions to
permit an extended-length path for a maximum total path length of 32,767
characters. To specify an extended-length path, use the "\?" prefix.

A path component which ends with a dot is not allowed for Windows API. However,
using the "\?" prefix can also resolved this issue.

This patch aims to fix the issues which are mentioned above by prepending the
prefix to the path of nsLocalFile if mDisableStringParsing is set to true.

Assignee: nobody → ttung

Comment on attachment 9135120 [details]
Bug 1536795 - P2 - Handle disable string paring in nsLocalFileWin;

Revision D67014 was moved to bug 1536796. Setting attachment 9135120 [details] to obsolete.

Attachment #9135120 - Attachment is obsolete: true
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: