Intermittent CDP Launcher specs Puppeteer Puppeteer.launch can launch multiple instances without node warnings (launcher.spec.js) | expected PASS
Categories
(Remote Protocol :: CDP, defect, P5)
Tracking
(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox130 unaffected, firefox131 disabled, firefox132 disabled)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox130 | --- | unaffected |
firefox131 | --- | disabled |
firefox132 | --- | disabled |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, test-disabled)
Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=466442930&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CO3yol7XS0Kimw2CuCqRLA/runs/0/artifacts/public/logs/live_backing.log
[task 2024-07-15T22:58:09.890Z] PID 744 | 1721084289889 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Page.createIsolatedWorld","params":{"frameId":"12","worldName":"__puppeteer_utility_world__","grantUniveralAccess":true},"id":11,"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.892Z] PID 744 | 1721084289891 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Runtime.executionContextCreated","params":{"context":{"id":2,"origin":"null","name":"__puppeteer_utility_world__","auxData":{"isDefault":false,"frameId":"12","type":"isolated"}}},"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.893Z] PID 744 | 1721084289892 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602","message":"{\"method\":\"Runtime.executionContextCreated\",\"params\":{\"context\":{\"id\":2,\"origin\":\"null\",\"name\":\"__puppeteer_utility_world__\",\"auxData\":{\"isDefault\":false,\"frameId\":\"12\",\"type\":\"isolated\"}}}}"}}
[task 2024-07-15T22:58:09.893Z] PID 744 | 1721084289892 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":11,"result":{"executionContextId":2},"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.894Z] PID 744 | 1721084289893 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602","message":"{\"id\":11,\"result\":{\"executionContextId\":2}}"}}
[task 2024-07-15T22:58:09.930Z] PID 744 | 1721084289929 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Emulation.setDeviceMetricsOverride","params":{"mobile":false,"width":800,"height":600,"deviceScaleFactor":1,"screenOrientation":{"angle":0,"type":"portraitPrimary"}},"id":12,"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.933Z] PID 744 | 1721084289932 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Emulation.setTouchEmulationEnabled","params":{"enabled":false},"id":13,"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.933Z] PID 744 | 1721084289932 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":13,"result":{},"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.933Z] PID 744 | 1721084289932 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602","message":"{\"id\":13,\"result\":{}}"}}
[task 2024-07-15T22:58:09.964Z] PID 744 | 1721084289963 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":12,"result":{},"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602"}
[task 2024-07-15T22:58:09.966Z] PID 744 | 1721084289965 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"fe223889-ea84-4e61-b219-bd9e3c8ba602","message":"{\"id\":12,\"result\":{}}"}}
[task 2024-07-15T22:58:09.973Z] PID 744 | 1721084289973 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Target.disposeBrowserContext","params":{"browserContextId":6},"id":5}
[task 2024-07-15T22:58:09.991Z] PID 744 | 1721084289990 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.targetDestroyed","params":{"targetId":"8797f649-0f77-45b1-ad52-2dcb829f9613"}}
[task 2024-07-15T22:58:09.998Z] PID 744 | 1721084289996 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":5,"result":{}}
[task 2024-07-15T22:58:10.001Z] PID 744 | 1721084290001 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Target.closeTarget","params":{"targetId":"8797f649-0f77-45b1-ad52-2dcb829f9613"},"id":6}
[task 2024-07-15T22:58:10.003Z] PID 744 | 1721084290001 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":6,"error":{"message":"Unable to find target with id '8797f649-0f77-45b1-ad52-2dcb829f9613'","data":"closeTarget@chrome://remote/content/cdp/domains/parent/Target.sys.mjs:162:13\nexecute@chrome://remote/content/cdp/domains/Doma ... ontent/server/WebSocketTransport.sys.mjs:127:18\nhandleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14\n"}}
[task 2024-07-15T22:58:10.010Z] PID 744 | [Parent 11141, IPC I/O Parent] WARNING: process 11576 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
[task 2024-07-15T22:58:10.043Z] TEST-UNEXPECTED-FAIL | Launcher specs Puppeteer Puppeteer.launch can launch multiple instances without node warnings (launcher.spec.js) | expected PASS
[task 2024-07-15T22:58:10.043Z] TEST-INFO took 2474ms
[task 2024-07-15T22:58:10.043Z] PID 744 | ["fail",{"title":"can launch multiple instances without node warnings","fullTitle":"Launcher specs Puppeteer Puppeteer.launch can launch multiple instances without node warnings","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/launcher.spec.js","duration":2460,"currentRetry":0,"err":"Protocol error (Target.closeTarget): Unable to find target with id '8797f649-0f77-45b1-ad52-2dcb829f9613' closeTarget@chrome://remote/content/cdp/domains/parent/Target.sys.mjs:162:13\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:95:25\nexecute@chrome://remote/content/cdp/sessions/Session.sys.mjs:59:25\nonPacket@chrome://remote/content/cdp/CDPConnection.sys.mjs:257:36\nonMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:127:18\nhandleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14\n","stack":"ProtocolError: Protocol error (Target.closeTarget): Unable to find target with id '8797f649-0f77-45b1-ad52-2dcb829f9613' closeTarget@chrome://remote/content/cdp/domains/parent/Target.sys.mjs:162:13\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:95:25\nexecute@chrome://remote/content/cdp/sessions/Session.sys.mjs:59:25\nonPacket@chrome://remote/content/cdp/CDPConnection.sys.mjs:257:36\nonMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:127:18\nhandleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14\n\n at Callback.<instance_members_initializer> (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/common/CallbackRegistry.ts:114:12)\n at new Callback (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/common/CallbackRegistry.ts:119:3)\n at CallbackRegistry.create (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/common/CallbackRegistry.ts:27:22)\n at Connection._rawSend (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/cdp/Connection.ts:125:22)\n at Connection.send (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/cdp/Connection.ts:109:17)\n at CdpPage.close (/builds/worker/checkouts/gecko/remote/test/puppeteer/packages/puppeteer-core/src/cdp/Page.ts:1153:24)\n at Object.close (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/mocha-utils.ts:448:9)\n at async Promise.all (index 0)\n at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/launcher.spec.ts:134:11)"}]
[task 2024-07-15T22:58:10.043Z] PID 744 | 1721084290029 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 -> {"method":"Browser.close","id":7}
[task 2024-07-15T22:58:10.045Z] PID 744 | 1721084290043 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de -> {"method":"Target.closeTarget","params":{"targetId":"ed96fb2d-0020-4c88-b0fe-f31e81ded1dc"},"id":5}
[task 2024-07-15T22:58:10.055Z] PID 744 | 1721084290051 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de <- {"method":"Target.targetDestroyed","params":{"targetId":"ed96fb2d-0020-4c88-b0fe-f31e81ded1dc"}}
[task 2024-07-15T22:58:10.060Z] PID 744 | 1721084290057 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de <- {"id":5,"result":{}}
[task 2024-07-15T22:58:10.065Z] PID 744 | 1721084290065 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de -> {"method":"Target.disposeBrowserContext","params":{"browserContextId":6},"id":6}
[task 2024-07-15T22:58:10.088Z] PID 744 | 1721084290087 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de <- {"id":6,"result":{}}
[task 2024-07-15T22:58:10.093Z] PID 744 | 1721084290092 RemoteAgent DEBUG CDPConnection 1d6dedc6-c7f5-4435-9f18-af703e45b3de -> {"method":"Browser.close","id":7}
[task 2024-07-15T22:58:10.128Z] PID 744 | [Parent 11144, IPC I/O Parent] WARNING: process 11510 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
[task 2024-07-15T22:58:10.498Z] PID 744 | 1721084290497 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"id":7,"result":{}}
[task 2024-07-15T22:58:10.508Z] PID 744 | 1721084290507 RemoteAgent DEBUG CDPConnection 8b88432f-ed74-445d-858c-753da0f3a915 <- {"method":"Target.targetDestroyed","params":{"targetId":"2a0414dd-202e-44ec-b90d-7e1514135533"}}
[task 2024-07-15T22:58:10.531Z] PID 744 | 1721084290530 RemoteAgent DEBUG Resetting recommended pref browser.contentblocking.introCount
[task 2024-07-15T22:58:10.531Z] PID 744 | 1721084290530 RemoteAgent DEBUG Resetting recommended pref browser.download.panel.shown
[task 2024-07-15T22:58:10.532Z] PID 744 | 1721084290530 RemoteAgent DEBUG Resetting recommended pref browser.newtabpage.activity-stream.discoverystream.region-weather-config
[task 2024-07-15T22:58:10.532Z] PID 744 | 1721084290530 RemoteAgent DEBUG Resetting recommended pref browser.newtabpage.activity-stream.newtabWallpapers.enabled
Updated•4 months ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 6•3 months ago
|
||
This seems to almost permafail since last week
Comment 8•3 months ago
|
||
For the record I plan to flag this as intermittent in https://bugzilla.mozilla.org/show_bug.cgi?id=1912239 so it won't show up in try builds anymore. I investigated a bit the failure and I think it's not a recent regression, the test has always been racy, but it's just much more frequent now.
Comment 9•3 months ago
|
||
Puppeteer != Puppet in this case. These failing jobs are running on running on gecko-t/t-linux-xlarge-source-gcp
.
We haven't changed anything on these hosts recently as far as I know.
:jdescottes, do you know who owns Puppeteer tests?
Updated•3 months ago
|
Comment 10•3 months ago
|
||
I didn't notice that this was filed in the wrong component. This should be in Remote Protocol > Agent
Comment 11•3 months ago
|
||
I assume this is a regression from the Puppeteer 23.1.0 vendoring patch?
Comment 12•3 months ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #11)
I assume this is a regression from the Puppeteer 23.1.0 vendoring patch?
No this was permafailing before my patch, I noticed it when doing the vendoring (that's when I commented here).
So during the vendoring I skipped the test on CDP but we should investigate it.
Updated•3 months ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 14•2 months ago
|
||
The landing of the patch on bug 1906260 should have caused it. Marking it as a regression. As discussed with Julian this is not of high priority for us given that the same test works with BiDi and CDP is already marked as deprecated.
Comment 15•2 months ago
|
||
:mossop, since you are the author of the regressor, bug 1906260, could you take a look?
For more information, please visit BugBot documentation.
Comment 16•2 months ago
|
||
Given that this is a low priority I am not going to be working on this.
Comment 17•2 months ago
|
||
Set release status flags based on info from the regressing bug 1906260
Comment hidden (Intermittent Failures Robot) |
Description
•