Closed Bug 1792904 Opened 3 years ago Closed 3 years ago

Intermittent Frame specs Frame.evaluate should throw for detached frames (frame.spec.js) | expected TIMEOUT

Categories

(Remote Protocol :: Agent, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=391817748&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DyVWg7lGTA2m_jfj81PzEA/runs/0/artifacts/public/logs/live_backing.log


[task 2022-09-29T20:55:42.132Z] PID 431 | 1664484942129	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Page.lifecycleEvent","params":{"frameId":"10737418241","loaderId":"15476914651139","name":"init","timestamp":1664484942.129},"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42"}
[task 2022-09-29T20:55:42.132Z] PID 431 | 1664484942129	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42","message":"{\"method\":\"Page.lifecycleEvent\",\"params\":{\"frameId\":\"10737418241\",\"loaderId\":\"15476914651139\",\"name\":\"init\",\"timestamp\":1664484942.129}}"}}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942129	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"id":57,"result":{"result":{"type":"undefined"}},"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42"}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942129	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42","message":"{\"id\":57,\"result\":{\"result\":{\"type\":\"undefined\"}}}"}}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942131	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Runtime.executionContextDestroyed","params":{"executionContextId":3},"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42"}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942131	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42","message":"{\"method\":\"Runtime.executionContextDestroyed\",\"params\":{\"executionContextId\":3}}"}}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942131	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Runtime.executionContextDestroyed","params":{"executionContextId":4},"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42"}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942131	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42","message":"{\"method\":\"Runtime.executionContextDestroyed\",\"params\":{\"executionContextId\":4}}"}}
[task 2022-09-29T20:55:42.133Z] PID 431 | 1664484942132	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f -> {"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42","method":"Runtime.callFunctionOn","params":{"functionDeclaration":"() => {\n                return 7 * 8;\n            }\n//# sourceURL=pptr://__puppeteer_evaluation_script__\n","executionContextId":3,"arguments":[],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":58}
[task 2022-09-29T20:55:42.134Z] PID 431 | 1664484942133	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"id":58,"error":{"message":"Cannot find context with specified id","data":"callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:231:15\nexecute@chrome://remote/content/cdp/domains/DomainCache.jsm:103:25\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:86:45\n"},"sessionId":"a8de3e05-5780-45d4-ae9b-9d0f35bbde42"}
[task 2022-09-29T20:55:42.181Z] TEST-UNEXPECTED-FAIL | Frame specs Frame.evaluate should throw for detached frames (frame.spec.js) | expected TIMEOUT
[task 2022-09-29T20:55:42.181Z] TEST-INFO expected TIMEOUT | took 406ms
[task 2022-09-29T20:55:42.181Z] PID 431 | ["fail",{"title":"should throw for detached frames","fullTitle":"Frame specs Frame.evaluate should throw for detached frames","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/frame.spec.js","duration":140,"currentRetry":0,"err":"expect(received).toContain(expected) // indexOf\n\nExpected substring: \"Execution context is not available in detached frame\"\nReceived string:    \"Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:231:15\nexecute@chrome://remote/content/cdp/domains/DomainCache.jsm:103:25\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:86:45\n\"","stack":"Error: expect(received).toContain(expected) // indexOf\n\nExpected substring: \"Execution context is not available in detached frame\"\nReceived string:    \"Protocol error (Runtime.callFunctionOn): Cannot find context with specified id callFunctionOn@chrome://remote/content/cdp/domains/content/Runtime.jsm:231:15\nexecute@chrome://remote/content/cdp/domains/DomainCache.jsm:103:25\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:86:45\n\"\n    at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/frame.spec.ts:99:29)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}]
[task 2022-09-29T20:55:42.182Z] PID 431 | 1664484942181	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f -> {"method":"Target.disposeBrowserContext","params":{"browserContextId":8},"id":59}
[task 2022-09-29T20:55:42.188Z] PID 431 | 1664484942188	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"method":"Target.targetDestroyed","params":{"targetId":"7cf619fa-234e-4b76-995d-12de1580dbfb"}}
[task 2022-09-29T20:55:42.196Z] PID 431 | 1664484942195	RemoteAgent	TRACE	CDPConnection 6255ad05-1762-499c-a0e1-4111a2ab326f <- {"id":59,"result":{}}
[task 2022-09-29T20:55:42.227Z] TEST-START | Frame specs Frame.evaluate allows readonly array to be an argument (frame.spec.js)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.