Closed
Bug 1921275
Opened 2 months ago
Closed 11 days ago
Intermittent CDP Prerender with network requests can receive requests from the prerendered page (prerender.spec.js) | expected PASS
Categories
(Remote Protocol :: Agent, defect, P5)
Remote Protocol
Agent
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=475910114&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SWvo8BWEScWjYwAOBP_XDw/runs/0/artifacts/public/logs/live_backing.log
[task 2024-09-26T15:05:22.987Z] PID 736 | 1727363122987 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Network.responseReceived","params":{"requestId":"85899345926","timestamp":1727363122.987,"type":"Img","response":{"url":"http://localhost:39075/favicon.ico","status":200,"statusText":"OK","headers":{"cache-control":"no-cache, no-store","content-type":"image/vnd.microsoft.icon","date":"Thu, 26 Sep 2024 15:05:22 GMT","connection":"keep-alive","content-length":"70"},"mimeType":"image/vnd.microsoft.icon","requestHeaders":{"host":"localhost:39075","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0","accept":"image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"http://localhost:39075/prerender/index.html","connection":"keep-alive","sec-fetch-dest":"image","sec-fetch-mode":"no-cors","sec-fetch-site":"same-origin","priority":"u=6"},"remoteIPAddress":"127.0.0.1","remotePort":39075,"fromDiskCache":false,"protocol":"http/1.1","securityDetails":null,"securityState":"unknown"},"frameId":"46"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:22.987Z] PID 736 | 1727363122987 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9","message":"{\"method\":\"Network.responseReceived\",\"params\":{\"requestId\":\"85899345926\",\"timestamp\":1727363122.987,\"type\":\"Img\",\"response\":{ ... otePort\":39075,\"fromDiskCache\":false,\"protocol\":\"http/1.1\",\"securityDetails\":null,\"securityState\":\"unknown\"},\"frameId\":\"46\"}}"}}
[task 2024-09-26T15:05:23.002Z] PID 736 | 1727363123001 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.addBinding","params":{"name":"puppeteer___ariaQuerySelector","executionContextName":"__puppeteer_utility_world__23.1.0"},"id":15,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.003Z] PID 736 | 1727363123003 CDP ERROR UnknownMethodError: Runtime.addBinding:
[task 2024-09-26T15:05:23.003Z] PID 736 | RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:18:5
[task 2024-09-26T15:05:23.003Z] PID 736 | UnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs:101:7
[task 2024-09-26T15:05:23.003Z] PID 736 | execute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:92:13
[task 2024-09-26T15:05:23.003Z] PID 736 | receiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45
[task 2024-09-26T15:05:23.003Z] PID 736 | caused by:
[task 2024-09-26T15:05:23.004Z] PID 736 | 1727363123003 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":15,"error":{"message":"Runtime.addBinding","data":"RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:18:5\nUnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs: ... dp/domains/DomainCache.sys.mjs:92:13\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.004Z] PID 736 | 1727363123004 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.addBinding","params":{"name":"puppeteer___ariaQuerySelectorAll","executionContextName":"__puppeteer_utility_world__23.1.0"},"id":16,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.005Z] PID 736 | 1727363123005 CDP ERROR UnknownMethodError: Runtime.addBinding:
[task 2024-09-26T15:05:23.005Z] PID 736 | RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:18:5
[task 2024-09-26T15:05:23.005Z] PID 736 | UnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs:101:7
[task 2024-09-26T15:05:23.006Z] PID 736 | execute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:92:13
[task 2024-09-26T15:05:23.006Z] PID 736 | receiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45
[task 2024-09-26T15:05:23.006Z] PID 736 | caused by:
[task 2024-09-26T15:05:23.006Z] PID 736 | 1727363123005 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":16,"error":{"message":"Runtime.addBinding","data":"RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:18:5\nUnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs: ... dp/domains/DomainCache.sys.mjs:92:13\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.008Z] PID 736 | 1727363123007 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.evaluate","params":{"expression":"(() => {\n const module = {};\n \"use strict\";var g=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var B= ... ng:f,MutationPoller:y,RAFPoller:w}),he=me;\n\n \n return module.exports.default;\n })()\n//# sourceURL=pptr:internal\n","contextId":4,"returnByValue":false,"awaitPromise":true,"userGesture":true},"id":17,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
<...>
[task 2024-09-26T15:05:23.313Z] PID 736 | 1727363123313 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"() => {\n return document.body.innerText;\n }\n//# sourceURL=pptr:;CdpFrame.%3Canonymous%3E%20 ... ts%2Fgecko%2Fremote%2Ftest%2Fpuppeteer%2Fpackages%2Fpuppeteer-core%2Flib%2Fcjs%2Fpuppeteer%2Futil%2Fdecorators.js%3A98%3A27)\n","executionContextId":5,"arguments":[],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":54,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.315Z] PID 736 | 1727363123314 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":54,"result":{"result":{"type":"string","value":"target","description":"target"}},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.315Z] PID 736 | 1727363123314 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9","message":"{\"id\":54,\"result\":{\"result\":{\"type\":\"string\",\"value\":\"target\",\"description\":\"target\"}}}"}}
[task 2024-09-26T15:05:23.320Z] PID 736 | 1727363123315 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Network.requestWillBeSent","params":{"requestId":"85899345929","documentURL":"http://localhost:39075/prerender/target.html","request":{"url":"http://localhost:39075/prerender/target.html?fromPrerendered","method":"GET","headers":{"host":"localhost:39075","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"http://localhost:39075/prerender/target.html","connection":"keep-alive"},"hasPostData":false,"isLinkPreload":false},"timestamp":1727363123.315,"type":"Fetch","frameId":"46"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.320Z] PID 736 | 1727363123315 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9","message":"{\"method\":\"Network.requestWillBeSent\",\"params\":{\"requestId\":\"85899345929\",\"documentURL\":\"http://localhost:39075/prerender/tar ... nnection\":\"keep-alive\"},\"hasPostData\":false,\"isLinkPreload\":false},\"timestamp\":1727363123.315,\"type\":\"Fetch\",\"frameId\":\"46\"}}"}}
[task 2024-09-26T15:05:23.320Z] TEST-UNEXPECTED-FAIL | Prerender with network requests can receive requests from the prerendered page (prerender.spec.js) | expected PASS
[task 2024-09-26T15:05:23.321Z] TEST-INFO took 568ms
[task 2024-09-26T15:05:23.321Z] PID 736 | ["fail",{"title":"can receive requests from the prerendered page","fullTitle":"Prerender with network requests can receive requests from the prerendered page","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/cdp/prerender.spec.js","duration":565,"currentRetry":0,"err":"expect(received).toBeTruthy()\n\nReceived: undefined","stack":"Error: expect(received).toBeTruthy()\n\nReceived: undefined\n at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/cdp/prerender.spec.ts:149:9)"}]
[task 2024-09-26T15:05:23.321Z] PID 736 | 1727363123318 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.releaseObject","params":{"objectId":"6331aa66-9d12-46bd-b241-18164891749e"},"id":55,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.321Z] PID 736 | 1727363123318 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Runtime.releaseObject","params":{"objectId":"bc03dbc7-fd00-43db-be94-d8b8f4dc8a84"},"id":56,"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.321Z] PID 736 | 1727363123318 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":55,"error":{"message":"Cannot find context with specified id","data":"releaseObject@chrome://remote/content/cdp/domains/content/Runtime.sys.mjs:144:13\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:95:25\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.321Z] PID 736 | 1727363123319 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":56,"error":{"message":"Cannot find context with specified id","data":"releaseObject@chrome://remote/content/cdp/domains/content/Runtime.sys.mjs:144:13\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:95:25\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.322Z] PID 736 | 1727363123320 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Network.responseReceived","params":{"requestId":"85899345929","timestamp":1727363123.32,"type":"Fetch","response":{"url":"http://localhost:39075/prerender/target.html?fromPrerendered","status":404,"statusText":"Not Found","headers":{"cache-control":"no-cache, no-store","date":"Thu, 26 Sep 2024 15:05:23 GMT","connection":"keep-alive","content-length":"118"},"mimeType":"application/x-unknown-content-type","requestHeaders":{"host":"localhost:39075","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"http://localhost:39075/prerender/target.html","connection":"keep-alive","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","priority":"u=4"},"remoteIPAddress":"127.0.0.1","remotePort":39075,"fromDiskCache":false,"protocol":"http/1.1","securityDetails":null,"securityState":"unknown"},"frameId":"46"},"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9"}
[task 2024-09-26T15:05:23.322Z] PID 736 | 1727363123320 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"d338b969-7f56-48b8-a0b6-aedb454660a9","message":"{\"method\":\"Network.responseReceived\",\"params\":{\"requestId\":\"85899345929\",\"timestamp\":1727363123.32,\"type\":\"Fetch\",\"response\": ... otePort\":39075,\"fromDiskCache\":false,\"protocol\":\"http/1.1\",\"securityDetails\":null,\"securityState\":\"unknown\"},\"frameId\":\"46\"}}"}}
[task 2024-09-26T15:05:23.326Z] PID 736 | 1727363123325 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 -> {"method":"Target.disposeBrowserContext","params":{"browserContextId":43},"id":168}
[task 2024-09-26T15:05:23.336Z] PID 736 | 1727363123335 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"method":"Target.targetDestroyed","params":{"targetId":"a14e7a9d-f4b1-41a5-8a4c-9d139748fd36"}}
[task 2024-09-26T15:05:23.336Z] PID 736 | 1727363123335 RemoteAgent DEBUG CDPConnection 8b0205df-a5fb-4d0a-9e81-bcca446e948f <- {"method":"Target.targetDestroyed","params":{"targetId":"a14e7a9d-f4b1-41a5-8a4c-9d139748fd36"}}
[task 2024-09-26T15:05:23.336Z] PID 736 | 1727363123335 RemoteAgent DEBUG CDPConnection 2d02ac13-36b0-4d4b-a10a-b27deb55203e <- {"method":"Target.targetDestroyed","params":{"targetId":"a14e7a9d-f4b1-41a5-8a4c-9d139748fd36"}}
[task 2024-09-26T15:05:23.336Z] PID 736 | 1727363123336 RemoteAgent DEBUG CDPConnection 03483915-78a5-4ef9-abe9-80c4b327db58 <- {"method":"Target.targetDestroyed","params":{"targetId":"a14e7a9d-f4b1-41a5-8a4c-9d139748fd36"}}
[task 2024-09-26T15:05:23.342Z] PID 736 | 1727363123340 RemoteAgent DEBUG CDPConnection 3e512c5e-7d04-4276-876a-28314c9f62f0 <- {"id":168,"result":{}}
[task 2024-09-26T15:05:23.361Z] TEST-START | Prerender with emulation can configure viewport for prerendered pages (prerender.spec.js)
Updated•2 months ago
|
Summary: Intermittent [tier 2] Prerender with network requests can receive requests from the prerendered page (prerender.spec.js) | expected PASS → Intermittent CDP Prerender with network requests can receive requests from the prerendered page (prerender.spec.js) | expected PASS
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•11 days ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: NEW → RESOLVED
Closed: 11 days ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•