Closed
Bug 1729561
Opened 3 years ago
Closed 3 years ago
Test process crash ignored in gv-junit
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox94 fixed)
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: agi, Assigned: agi)
References
Details
Attachments
(2 files)
Looks like every single gv-junit
run in CI crashes around WebExtensionTest#cancelInstall
and all subsequent tests are ignored. The run is reported as successful.
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - TEST-PASS | org.mozilla.geckoview.test.WebExtensionTest#cancelInstall | took 133ms
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=796
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=testBrowserTabsCreateWithCookieStoreId
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.WebExtensionTest
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=742
[task 2021-09-07T19:41:10.268Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1
[task 2021-09-07T19:41:10.269Z] 19:41:10 INFO - TEST-START | org.mozilla.geckoview.test.WebExtensionTest#testBrowserTabsCreateWithCookieStoreId
[task 2021-09-07T19:41:10.616Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[task 2021-09-07T19:41:10.616Z] 19:41:10 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_CODE: 0
[task 2021-09-07T19:41:10.630Z] 19:41:10 INFO - org.mozilla.geckoview.test | adb_returncode=0
[task 2021-09-07T19:41:10.632Z] 19:41:10 INFO - Passed: 667
Assignee | ||
Comment 1•3 years ago
•
|
||
Assignee | ||
Updated•3 years ago
|
Summary: Parent process crash ignored in gv-junit → Test process crash ignored in gv-junit
Assignee | ||
Comment 2•3 years ago
|
||
Looks like the test harness code is crashing:
08-31 21:44:54.329 3459 3476 E AndroidRuntime: FATAL EXCEPTION: AsyncServer
08-31 21:44:54.329 3459 3476 E AndroidRuntime: Process: org.mozilla.geckoview.test, PID: 3459
08-31 21:44:54.329 3459 3476 E AndroidRuntime: java.lang.AssertionError
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.http.server.AsyncHttpServerResponseImpl.write(AsyncHttpServerResponseImpl.java:56)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at org.mozilla.geckoview.test.util.TestServer._init_$lambda-12(TestServer.kt:148)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at org.mozilla.geckoview.test.util.TestServer.lambda$vfaYmH_8PnL68opAU927gFtT6GY(TestServer.kt)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at org.mozilla.geckoview.test.util.-$$Lambda$TestServer$vfaYmH_8PnL68opAU927gFtT6GY.onRequest(lambda)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.http.server.AsyncHttpServer.onRequest(AsyncHttpServer.java:62)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.http.server.AsyncHttpServer$1$1.onHeadersReceived(AsyncHttpServer.java:159)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.http.server.AsyncHttpServerRequestImpl$2.onStringAvailable(AsyncHttpServerRequestImpl.java:75)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.LineEmitter.onDataAvailable(LineEmitter.java:45)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.Util.emitAllData(Util.java:23)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.AsyncNetworkSocket.onReadable(AsyncNetworkSocket.java:152)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:821)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:658)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.AsyncServer.access$800(AsyncServer.java:44)
08-31 21:44:54.329 3459 3476 E AndroidRuntime: at com.koushikdutta.async.AsyncServer$14.run(AsyncServer.java:600)
08-31 21:44:54.330 3459 3476 I Process : Sending signal. PID: 3459 SIG: 9
Assignee | ||
Comment 3•3 years ago
|
||
We might be hitting this: https://github.com/koush/AndroidAsync/issues/685
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
This fixes a crash in our test harness, see
https://github.com/koush/AndroidAsync/issues/685.
Updated•3 years ago
|
Assignee: nobody → agi
Status: NEW → ASSIGNED
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa578b55073c Report error if not all junit tests run. r=jmaher https://hg.mozilla.org/integration/autoland/rev/0e17f798238c Update com.koushikdutta.async to 3.1.0. r=owlish
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aa578b55073c
https://hg.mozilla.org/mozilla-central/rev/0e17f798238c
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•