Green up wpt beacon directory on fennec

RESOLVED FIXED in Firefox 65

Status

defect
RESOLVED FIXED
10 months ago
10 months ago

People

(Reporter: KWierso, Assigned: KWierso)

Tracking

Version 3
mozilla65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

https://docs.google.com/spreadsheets/d/1Rybl6_O79f5txUSLjASNUbtIaPfRAp1lGjCFMOz5qvQ/edit?usp=sharing

At the moment, there's a crash in a single test causing this directory to fail.

During the test run, it just prints out:
 1:11.70 TEST_START: /beacon/beacon-navigate.html
 1:13.00 TEST_END: CRASH, expected OK
 1:13.57 INFO Browser exited with return code 0

And at the end of the test run, this is the list of unexpected failures:
Unexpected Results
------------------
/beacon/beacon-navigate.html
  CRASH /beacon/beacon-navigate.html

James, do you have any idea how to get the actual crash data out of this?
Flags: needinfo?(james)
I added --pause-on-unexpected to my command, just to see if that'd let us see the crash, and that resulted in this:

$ ./mach wpt testing/web-platform/tests/beacon/ --pause-on-unexpected
<SNIP>
 0:30.26 INFO Application command: /usr/local/bin/adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp --es args '-no-remote -profile /sdcard/tests/profile --marionette about:blank' --es env0 MOZ_CRASHREPORTER=1 --es env1 R_LOG_VERBOSE=1 --es env2 MOZ_HIDE_RESULTS_TABLE=1 --es env3 STYLO_THREADS=1 --es env4 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4,MediaPipelineFactory:4 --es env5 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env6 R_LOG_DESTINATION=stderr --es env7 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env8 MOZ_CRASHREPORTER_NO_REPORT=1 --es env9 MOZ_PROCESS_LOG=/var/folders/pr/6b26m2pd1zd33ft5v57yw7wr0000gp/T/tmpktpTvLpidlog --es env10 R_LOG_LEVEL=6
 0:30.61 pid:15039 Full command: /usr/local/bin/adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp --es args '-no-remote -profile /sdcard/tests/profile --marionette about:blank' --es env0 MOZ_CRASHREPORTER=1 --es env1 R_LOG_VERBOSE=1 --es env2 MOZ_HIDE_RESULTS_TABLE=1 --es env3 STYLO_THREADS=1 --es env4 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4,MediaPipelineFactory:4 --es env5 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env6 R_LOG_DESTINATION=stderr --es env7 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env8 MOZ_CRASHREPORTER_NO_REPORT=1 --es env9 MOZ_PROCESS_LOG=/var/folders/pr/6b26m2pd1zd33ft5v57yw7wr0000gp/T/tmpktpTvLpidlog --es env10 R_LOG_LEVEL=6
pid:15039 Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp (has extras) }
 0:30.61 INFO STDOUT: Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp (has extras) }
 0:32.59 INFO Starting runner
 0:34.58 TEST_START: /beacon/beacon-basic-blob.html
 0:35.36 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
 0:35.36 TEST_START: /beacon/beacon-basic-blobMax.html
 0:36.27 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 0:36.27 TEST_START: /beacon/beacon-basic-buffersource.html
 0:37.20 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
 0:37.20 TEST_START: /beacon/beacon-basic-buffersourceMax.html
 0:37.62 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 0:37.62 TEST_START: /beacon/beacon-basic-formdata.html
 0:38.54 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
 0:38.54 TEST_START: /beacon/beacon-basic-formdataMax.html
 0:39.31 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 0:39.31 TEST_START: /beacon/beacon-basic-string.html
 0:40.20 TEST_END: Test OK. Subtests passed 6/6. Unexpected 0
 0:40.20 TEST_START: /beacon/beacon-basic-stringMax.html
 0:40.95 TEST_END: Test OK. Subtests passed 1/1. Unexpected 0
 0:40.95 TEST_START: /beacon/beacon-cors.sub.window.html
 0:41.93 TEST_END: Test OK. Subtests passed 21/21. Unexpected 0
 0:41.93 TEST_START: /beacon/beacon-error.window.html
 0:42.40 TEST_END: Test OK. Subtests passed 2/4. Unexpected 0
 0:42.40 TEST_START: /beacon/beacon-navigate.html
 0:43.67 TEST_END: CRASH, expected OK
 0:43.67 INFO Pausing until the browser exits
 0:43.67 ERROR Error running command wait with arguments ():
Traceback (most recent call last):
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 93, in run
    rv = commands[command](*args)
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 113, in wait
    self.executor.wait()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 209, in wait
    self.protocol.base.wait()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 87, in wait
    self.marionette.timeout.script = socket_timeout / 2
  File "/Users/wkocher/mozilla/mozilla-central/testing/marionette/client/marionette_driver/timeout.py", line 57, in script
    self._set("script", sec)
  File "/Users/wkocher/mozilla/mozilla-central/testing/marionette/client/marionette_driver/timeout.py", line 33, in _set
    self._marionette._send_message("WebDriver:SetTimeouts", {name: ms})
  File "/Users/wkocher/mozilla/mozilla-central/testing/marionette/client/marionette_driver/decorators.py", line 26, in _
    return func(*args, **kwargs)
  File "/Users/wkocher/mozilla/mozilla-central/testing/marionette/client/marionette_driver/marionette.py", line 751, in _send_message
    raise errors.InvalidSessionIdException("Please start a session")
InvalidSessionIdException: Please start a session

 0:43.67 ERROR Traceback (most recent call last):
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 366, in run
    new_state = self.wait_event()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 441, in wait_event
    return f(*data)
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 661, in error
    self.restart_runner()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 652, in restart_runner
    assert isinstance(self.state, RunnerManagerState.restarting)
AssertionError

 0:44.25 INFO Closing logging queue
 0:44.25 INFO queue closed
<SNIP (see bug 1499900)>
 0:44.83 INFO Browser exited with return code 0
 0:44.83 INFO Got 1 unexpected results
 0:44.83 INFO STDERR: Exception in thread TestRunnerManager-1:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 366, in run
    new_state = self.wait_event()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 441, in wait_event
    return f(*data)
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 661, in error
    self.restart_runner()
  File "/Users/wkocher/mozilla/mozilla-central/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 652, in restart_runner
    assert isinstance(self.state, RunnerManagerState.restarting)
AssertionError
 0:44.83 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 58 checks (11 tests, 47 subtests)
Expected results: 57
Unexpected results: 1
  test: 1 (1 crash)

Unexpected Results
------------------
/beacon/beacon-navigate.html
  CRASH /beacon/beacon-navigate.html
 0:44.88 INFO Closing logging queue
 0:44.89 INFO queue closed
I'm not sure how mozcrash works on fennec; maybe gbrown has some idea. It definitely seems like it might not work since we are looking for minidump files that presumably don't exist on the host. 

I think the traceback you see is because we're trying to run a marionette command against a crashed browser; that doesn't work and we get into a bad state. That should be fixed but is unrelated to the original crash.
Flags: needinfo?(james) → needinfo?(gbrown)
We usually pull the minidumps and use mozcrash: https://dxr.mozilla.org/mozilla-central/rev/c291143e24019097d087f9307e59b49facaf90cb/build/mobile/remoteautomation.py#187-201

I don't know if there is any provision in wpt for that yet.

Sometimes logcat gives an indication of the crash cause: run 'adb logcat' in another terminal while running mach wpt.
Flags: needinfo?(gbrown)
Here's the end of a logcat when this test crashed:

10-19 03:13:08.067 11650 11650 D GeckoToolbar: onTabChanged: PAGE_SHOW
10-19 03:13:08.067 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 9: PAGE_SHOW
10-19 03:13:08.069 11650 11650 D GeckoToolbar: onTabChanged: FAVICON
10-19 03:13:08.069 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 9: FAVICON
10-19 03:13:08.072 11650 11650 I GeckoTabs: zerdatime 8897938 - page load stop
10-19 03:13:08.072 11650 11650 D GeckoToolbar: onTabChanged: STOP
10-19 03:13:08.076 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 9: STOP
10-19 03:13:08.353 11650 11681 W GeckoEventDispatcher: No listener for Session:DataWritten
10-19 03:13:08.544 11650 11650 D GeckoToolbar: onTabChanged: SELECTED
10-19 03:13:08.546 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 0: SELECTED
10-19 03:13:08.547 11650 11650 D GeckoToolbar: onTabChanged: UNSELECTED
10-19 03:13:08.547 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 9: UNSELECTED
10-19 03:13:08.548 11650 11650 W GeckoEventDispatcher: No listener for Tab:Selected
10-19 03:13:08.548 11650 11650 D GeckoToolbar: onTabChanged: CLOSED
10-19 03:13:08.548 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 9: CLOSED
10-19 03:13:08.550 11650 11681 D GeckoScreenOrientation: unlocking
10-19 03:13:08.556 11650 11681 D GeckoViewAutoFill: Clearing auto-fill
10-19 03:13:08.588 11650 11650 D GeckoNetworkManager: Incoming event disableNotifications for state OnWithListeners -> OnNoListeners
10-19 03:13:08.649 11650 11650 D GeckoToolbar: onTabChanged: ADDED
10-19 03:13:08.657 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: ADDED
10-19 03:13:08.657 11650 11681 D GeckoScreenOrientation: unlocking
10-19 03:13:08.658 11650 11650 D GeckoToolbar: onTabChanged: SELECTED
10-19 03:13:08.659 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: SELECTED
10-19 03:13:08.659 11650 11650 D GeckoToolbar: onTabChanged: UNSELECTED
10-19 03:13:08.659 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 0: UNSELECTED
10-19 03:13:08.660 11650 11650 W GeckoEventDispatcher: No listener for Tab:Selected
10-19 03:13:08.660 11650 11650 I GeckoTabs: zerdatime 8898526 - page load start
10-19 03:13:08.660 11650 11650 D GeckoToolbar: onTabChanged: START
10-19 03:13:08.660 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: START
10-19 03:13:08.663 11650 11681 D GeckoViewAutoFill: Clearing auto-fill
10-19 03:13:08.683 11650 11650 D GeckoToolbar: onTabChanged: MENU_UPDATED
10-19 03:13:08.683 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: MENU_UPDATED
10-19 03:13:08.683 11650 11650 I GeckoTabs: zerdatime 8898549 - page load stop
10-19 03:13:08.683 11650 11650 D GeckoToolbar: onTabChanged: STOP
10-19 03:13:08.684 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: STOP
10-19 03:13:08.685 11650 11650 D GeckoToolbar: onTabChanged: LOCATION_CHANGE
10-19 03:13:08.685 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: LOCATION_CHANGE
10-19 03:13:08.685 11650 11650 D GeckoToolbar: onTabChanged: SECURITY_CHANGE
10-19 03:13:08.685 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: SECURITY_CHANGE
10-19 03:13:08.688 11650 11681 W GeckoEventDispatcher: No listener for Website:AppLeft
10-19 03:13:08.727 11650 11681 D GeckoViewAutoFill: Clearing auto-fill
10-19 03:13:08.738 11650 11681 D GeckoViewAutoFill: Clearing auto-fill
10-19 03:13:08.759 11650 11681 W GeckoEventDispatcher: No listener for Website:AppLeft
10-19 03:13:08.759 11650 11650 I GeckoTabs: zerdatime 8898625 - page load start
10-19 03:13:08.759 11650 11650 D GeckoToolbar: onTabChanged: START
10-19 03:13:08.764 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: START
10-19 03:13:08.832 11650 11650 D GeckoNetworkManager: Incoming event enableNotifications for state OnNoListeners -> OnWithListeners
10-19 03:13:08.838 11650 11650 D GeckoNetworkManager: New network state: UP, CELLULAR, CELL_4G
10-19 03:13:08.842 11650 11650 D GeckoToolbar: onTabChanged: TITLE
10-19 03:13:08.845 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: TITLE
10-19 03:13:08.849 11650 11650 D GeckoToolbar: onTabChanged: LOCATION_CHANGE
10-19 03:13:08.852 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: LOCATION_CHANGE
10-19 03:13:08.853 11650 11650 D GeckoToolbar: onTabChanged: SECURITY_CHANGE
10-19 03:13:08.853 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: SECURITY_CHANGE
10-19 03:13:08.896 11650 11650 D GeckoNetworkManager: Incoming event receivedUpdate for state OnWithListeners -> OnWithListeners
10-19 03:13:08.907 11650 11650 D GeckoNetworkManager: New network state: UP, CELLULAR, CELL_4G
10-19 03:13:08.907 11650 11650 D GeckoToolbar: onTabChanged: MENU_UPDATED
10-19 03:13:08.907 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: MENU_UPDATED
10-19 03:13:09.019 11650 11650 D GeckoToolbar: onTabChanged: LOADED
10-19 03:13:09.019 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: LOADED
10-19 03:13:09.025 11650 11650 D GeckoToolbar: onTabChanged: PAGE_SHOW
10-19 03:13:09.025 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: PAGE_SHOW
10-19 03:13:09.028 11650 11650 D GeckoToolbar: onTabChanged: FAVICON
10-19 03:13:09.028 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: FAVICON
10-19 03:13:09.031 11650 11650 I GeckoTabs: zerdatime 8898897 - page load stop
10-19 03:13:09.032 11650 11650 D GeckoToolbar: onTabChanged: STOP
10-19 03:13:09.039 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: STOP
10-19 03:13:09.071 11650 11681 I GeckoConsole: ON PAINT WHEN WAITED FOR
10-19 03:13:09.114 11650 11650 D GeckoToolbar: onTabChanged: SELECTED
10-19 03:13:09.118 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 0: SELECTED
10-19 03:13:09.119 11650 11650 D GeckoToolbar: onTabChanged: UNSELECTED
10-19 03:13:09.119 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: UNSELECTED
10-19 03:13:09.119 11650 11650 W GeckoEventDispatcher: No listener for Tab:Selected
10-19 03:13:09.119 11650 11650 D GeckoToolbar: onTabChanged: CLOSED
10-19 03:13:09.119 11650 11650 D GeckoBrowserApp: BrowserApp.onTabChanged: 10: CLOSED
10-19 03:13:09.170 11650 11719 I Gecko   : FATAL ERROR: Non-local network connections are disabled and a connection attempt to doesnotmatter (198.105.254.114) was made.
10-19 03:13:09.170 11650 11719 I Gecko   : You should only access hostnames available via the test networking proxy (if running mochitests) or from a test-specific httpd.js server (if running xpcshell tests). Browser services should be disabled or redirected to a local server.
10-19 03:13:09.172 11650 11681 D GeckoScreenOrientation: unlocking
10-19 03:13:09.178 11650 11681 D GeckoViewAutoFill: Clearing auto-fill
10-19 03:13:09.192 11650 11719 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 11719 (Socket Thread)
10-19 03:13:09.193  1291  1291 W         : debuggerd: handling request: pid=11650 uid=10063 gid=10063 tid=11719
10-19 03:13:09.191 11806 11806 I debuggerd: type=1400 audit(0.0:25): avc: denied { read } for name="libnssckbi.so" dev="vdc" ino=14582 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=1
10-19 03:13:09.256 11806 11806 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-19 03:13:09.257 11806 11806 F DEBUG   : Build fingerprint: 'Android/sdk_phone_x86_64/generic_x86_64:7.0/NYC/4174735:userdebug/test-keys'
10-19 03:13:09.257 11806 11806 F DEBUG   : Revision: '0'
10-19 03:13:09.257 11806 11806 F DEBUG   : ABI: 'x86'
10-19 03:13:09.257 11806 11806 F DEBUG   : pid: 11650, tid: 11719, name: Socket Thread  >>> org.mozilla.fennec_wkocher <<<
10-19 03:13:09.257 11806 11806 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
10-19 03:13:09.257 11806 11806 F DEBUG   :     eax cc54bc68  ebx ce2eeff4  ecx d1a506cc  edx 00000004
10-19 03:13:09.257 11806 11806 F DEBUG   :     esi cf7c2888  edi cf7c2a48
10-19 03:13:09.257 11806 11806 F DEBUG   :     xcs 00000023  xds 0000002b  xes 0000002b  xfs 0000006b  xss 0000002b
10-19 03:13:09.257 11806 11806 F DEBUG   :     eip c94ddc2d  ebp cf7c2b68  esp cf7c2880  flags 00200282
10-19 03:13:09.257 11806 11806 F DEBUG   : 
10-19 03:13:09.257 11806 11806 F DEBUG   : backtrace:
10-19 03:13:09.257 11806 11806 F DEBUG   :     #00 pc 00144c2d  /data/data/org.mozilla.fennec_wkocher/cache/libxul.so (offset 0x112000)
10-19 03:13:09.191 11806 11806 I debuggerd: type=1400 audit(0.0:26): avc: denied { open } for path="/data/data/org.mozilla.fennec_wkocher/cache/libnssckbi.so" dev="vdc" ino=14582 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=1
10-19 03:13:09.191 11806 11806 I debuggerd: type=1400 audit(0.0:27): avc: denied { getattr } for path="/data/data/org.mozilla.fennec_wkocher/cache/libnssckbi.so" dev="vdc" ino=14582 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=1
10-19 03:13:09.951  1616 11811 W ActivityManager:   Force finishing activity org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp
10-19 03:13:09.960  1616  1636 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
10-19 03:13:09.987  1291  1291 W         : debuggerd: resuming target 11650
10-19 03:13:09.991 11650 11758 I Choreographer: Skipped 45 frames!  The application may be doing too much work on its main thread.
10-19 03:13:10.141  1616  1657 W InputDispatcher: channel '411b655 org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
10-19 03:13:10.142  1616  1657 E InputDispatcher: channel '411b655 org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp (server)' ~ Channel is unrecoverably broken and will be disposed!
10-19 03:13:10.149  1340  1340 I Zygote  : Process 11650 exited due to signal (11)
10-19 03:13:10.240  1616  2117 I ActivityManager: Process org.mozilla.fennec_wkocher (pid 11650) has died
10-19 03:13:10.240  1616  2117 D ActivityManager: cleanUpApplicationRecord -- 11650
10-19 03:13:10.240  1616  6735 D GraphicsStats: Buffer count: 4
10-19 03:13:10.242  1616  1854 I WindowManager: WIN DEATH: Window{411b655 u0 org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp}
10-19 03:13:10.242  1616  1854 W InputDispatcher: Attempted to unregister already unregistered input channel '411b655 org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp (server)'
10-19 03:13:10.242  1616  1854 W WindowManager: Force-removing child win Window{cc1c891 u0 SurfaceView - org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp} from container Window{411b655 u0 org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp}
10-19 03:13:10.243  1616  1854 I WindowManager: Destroying surface Surface(name=SurfaceView - org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2457 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 
10-19 03:13:10.249  1616  1854 I WindowManager: Destroying surface Surface(name=org.mozilla.fennec_wkocher/org.mozilla.gecko.BrowserApp) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack> 
10-19 03:13:10.253  1616  2115 W WindowManager: Failed looking up window
10-19 03:13:10.253  1616  2115 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@39ff136 does not exist
10-19 03:13:10.253  1616  2115 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
10-19 03:13:10.253  1616  2115 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
10-19 03:13:10.253  1616  2115 W WindowManager: 	at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
10-19 03:13:10.253  1616  2115 W WindowManager: 	at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
10-19 03:13:10.253  1616  2115 I WindowManager: WIN DEATH: null
10-19 03:13:10.260  1616  8283 I OpenGLRenderer: Initialized EGL, version 1.4
10-19 03:13:10.260  1616  8283 D OpenGLRenderer: Swap behavior 1
10-19 03:13:10.261  1616  8283 D EGL_emulation: eglCreateContext: 0x7afa7e60f160: maj 2 min 0 rcv 2
10-19 03:13:10.288  1616  8283 D EGL_emulation: eglMakeCurrent: 0x7afa7e60f160: ver 2 0 (tinfo 0x7afa7daf83c0)
10-19 03:13:10.329  1616  8283 D EGL_emulation: eglMakeCurrent: 0x7afa7e60f160: ver 2 0 (tinfo 0x7afa7daf83c0)
10-19 03:13:10.461  2128  2231 D EGL_emulation: eglMakeCurrent: 0x7afa99e7bb80: ver 2 0 (tinfo 0x7afa82bee0c0)
10-19 03:13:10.966  2128  2231 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
10-19 03:13:11.024  1616  1633 I Choreographer: Skipped 41 frames!  The application may be doing too much work on its main thread.







How are we hitting the non-local network? And why would this fail for android but pass for desktop?
Flags: needinfo?(james)
So it looks like https://searchfox.org/mozilla-central/source/testing/web-platform/tests/beacon/beacon-error.window.js#10 tries to access http://doesnotmatter which it expects to not resolve. But it also looks like your network is configured to resolve local domains, since the IP address ends up at http://search.frontier.com/ So I think that this problem is local to you.

That said, the test is buggy because it ought to use http://nonexistent.web-platform.test I think we should fix the test to use that, but I expect it will still break locally for you because we don't have a good way of ensuring that a domain doesn't resolve.
Flags: needinfo?(james)
Actually, it runs locally just fine for me with that change. Patch incoming.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13714 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
https://hg.mozilla.org/mozilla-central/rev/dae5b4b90a42
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Assignee: nobody → wkocher
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.