Closed Bug 1889494 Opened 10 months ago Closed 6 days ago

Intermittent Wd ElementHandle specs ElementHandle.click should return Point data (elementhandle.spec.js) | single tracking bug

Categories

(Remote Protocol :: WebDriver BiDi, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2024-04-03T21:11:06.781Z] TEST-PASS | ElementHandle specs ElementHandle.click should work (elementhandle.spec.js) | took 542ms
[task 2024-04-03T21:11:06.781Z] PID 748 | ["pass",{"title":"should work","fullTitle":"ElementHandle specs ElementHandle.click should work","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/elementhandle.spec.js","duration":542,"currentRetry":0}]
[task 2024-04-03T21:11:06.781Z] TEST-START | ElementHandle specs ElementHandle.click should return Point data (elementhandle.spec.js)
[task 2024-04-03T21:11:06.781Z] PID 748 | ["test-start",{"title":"should return Point data","fullTitle":"ElementHandle specs ElementHandle.click should return Point data","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/elementhandle.spec.js","currentRetry":0}]
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666780	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2340,"method":"script.disown","params":{"target":{"context":"fa76de74-3823-46c4-a24c-0e00e9b0bb83"},"handles":["af871d38-589b-4136-a9e2-d67845ee52f9"]}}
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666780	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666780	RemoteAgent	TRACE	Received command script.disown for destination ROOT
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666780	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	TRACE	Received command script.disownHandles for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2341,"method":"browser.removeUserContext","params":{"userContext":"23ef3e82-de80-4a14-9761-48f778a1acd2"}}
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	TRACE	Module root/browser.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	TRACE	Received command browser.removeUserContext for destination ROOT
[task 2024-04-03T21:11:06.781Z] PID 748 | 1712178666781	RemoteAgent	TRACE	Module root/browser.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.791Z] PID 748 | 1712178666789	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"event","method":"browsingContext.contextDestroyed","params":{"children":null,"context":"fa76de74-3823-46c4-a24c-0e00e9b0bb83","url":"http://localhost:33047/input/button.html","userContext":"23ef3e82-de80-4a14-9761-48f778a1acd2","parent":null}}
[task 2024-04-03T21:11:06.793Z] PID 748 | 1712178666793	RemoteAgent	TRACE	MessageHandler WINDOW_GLOBAL for session f712711b-edaa-4aca-8968-39b54d273ac2 is being destroyed
[task 2024-04-03T21:11:06.794Z] PID 748 | 1712178666793	RemoteAgent	TRACE	Unregistered MessageHandler WINDOW_GLOBAL for session f712711b-edaa-4aca-8968-39b54d273ac2
[task 2024-04-03T21:11:06.797Z] PID 748 | 1712178666796	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2341,"result":{}}
[task 2024-04-03T21:11:06.800Z] PID 748 | 1712178666799	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2340,"result":{}}
[task 2024-04-03T21:11:06.802Z] PID 748 | 1712178666802	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"event","method":"script.realmDestroyed","params":{"realm":"fc71ed83-8e5d-4f90-b621-aac6c5ee723e"}}
[task 2024-04-03T21:11:06.803Z] PID 748 | 1712178666802	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"event","method":"script.realmDestroyed","params":{"realm":"2c6e1199-f641-4725-8301-b040a9fb51ad"}}
[task 2024-04-03T21:11:06.833Z] PID 748 | 1712178666833	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2342,"method":"browser.createUserContext","params":{}}
[task 2024-04-03T21:11:06.835Z] PID 748 | 1712178666833	RemoteAgent	TRACE	Module root/browser.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.836Z] PID 748 | 1712178666833	RemoteAgent	TRACE	Received command browser.createUserContext for destination ROOT
[task 2024-04-03T21:11:06.836Z] PID 748 | 1712178666833	RemoteAgent	TRACE	Module root/browser.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.837Z] PID 748 | 1712178666835	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2342,"result":{"userContext":"b154ae15-eb89-46b5-852c-0b75b5964d3a"}}
[task 2024-04-03T21:11:06.839Z] PID 748 | 1712178666839	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2343,"method":"browsingContext.create","params":{"type":"tab","userContext":"b154ae15-eb89-46b5-852c-0b75b5964d3a"}}
[task 2024-04-03T21:11:06.839Z] PID 748 | 1712178666839	RemoteAgent	TRACE	Module root/browsingContext.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.839Z] PID 748 | 1712178666839	RemoteAgent	TRACE	Received command browsingContext.create for destination ROOT
[task 2024-04-03T21:11:06.839Z] PID 748 | 1712178666839	RemoteAgent	TRACE	Module root/browsingContext.sys.mjs found for ROOT
[task 2024-04-03T21:11:06.840Z] PID 748 | 1712178666840	RemoteAgent	TRACE	Received command browsingContext._awaitVisibilityState for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:06.840Z] PID 748 | 1712178666840	RemoteAgent	TRACE	Module windowglobal/browsingContext.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:06.853Z] PID 748 | 1712178666852	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"event","method":"browsingContext.contextCreated","params":{"children":null,"context":"09fbc4b1-e78e-483b-b882-a057126316e7","url":"about:blank","userContext":"b154ae15-eb89-46b5-852c-0b75b5964d3a","parent":null}}
[task 2024-04-03T21:11:06.866Z] PID 748 | 1712178666866	RemoteAgent	TRACE	Module windowglobal/browsingContext.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:06.866Z] PID 748 | 1712178666866	RemoteAgent	TRACE	Module windowglobal/network.sys.mjs not found for WINDOW_GLOBAL
[task 2024-04-03T21:11:06.867Z] PID 748 | 1712178666866	RemoteAgent	TRACE	Module windowglobal/network.sys.mjs not found for WINDOW_GLOBAL
<...>
[task 2024-04-03T21:11:07.501Z] PID 748 | 1712178667500	RemoteAgent	TRACE	Received command script.callFunction for destination ROOT
[task 2024-04-03T21:11:07.501Z] PID 748 | 1712178667500	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	TRACE	Received command script.callFunctionDeclaration for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2389,"method":"script.callFunction","params":{"functionDeclaration":"(object, propertyName) => {\n                return object[propertyName];\n            }\n//# sourceURL=pptr:evaluateHandle;Bidi ... outs%2Fgecko%2Fremote%2Ftest%2Fpuppeteer%2Fpackages%2Fpuppeteer-core%2Flib%2Fcjs%2Fpuppeteer%2Fapi%2FJSHandle.js%3A156%3A31)\n","awaitPromise":true,"target":{"context":"09fbc4b1-e78e-483b-b882-a057126316e7"},"arguments":[{"type":"array","handle":"b496f217-f647-49ed-922b-b32db3e91ac9"},{"type":"string","value":"1"}],"resultOwnership":"root","userActivation":true,"serializationOptions":{"maxObjectDepth":0,"maxDomDepth":0}}}
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	TRACE	Received command script.callFunction for destination ROOT
[task 2024-04-03T21:11:07.503Z] PID 748 | 1712178667501	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.504Z] PID 748 | 1712178667502	RemoteAgent	TRACE	Received command script.callFunctionDeclaration for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.504Z] PID 748 | 1712178667502	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.504Z] PID 748 | 1712178667502	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2388,"result":{"realm":"0fa90c14-7a91-4c26-a4f8-d945d7e2ccd2","type":"success","result":{"type":"number","value":40}}}
[task 2024-04-03T21:11:07.505Z] PID 748 | 1712178667505	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2389,"result":{"realm":"0fa90c14-7a91-4c26-a4f8-d945d7e2ccd2","type":"success","result":{"type":"number","value":45}}}
[task 2024-04-03T21:11:07.545Z] PID 748 | 1712178667545	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2390,"method":"script.callFunction","params":{"functionDeclaration":"value => {\n            return value;\n        }\n//# sourceURL=pptr:evaluate;BidiJSHandle.jsonValue%20(%2Fbuilds%2Fworker%2Fche ... outs%2Fgecko%2Fremote%2Ftest%2Fpuppeteer%2Fpackages%2Fpuppeteer-core%2Flib%2Fcjs%2Fpuppeteer%2Fbidi%2FJSHandle.js%3A31%3A27)\n","awaitPromise":true,"target":{"context":"09fbc4b1-e78e-483b-b882-a057126316e7"},"arguments":[{"type":"number","value":40}],"resultOwnership":"none","userActivation":true,"serializationOptions":{}}}
[task 2024-04-03T21:11:07.545Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.545Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Received command script.callFunction for destination ROOT
[task 2024-04-03T21:11:07.546Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2391,"method":"script.callFunction","params":{"functionDeclaration":"value => {\n            return value;\n        }\n//# sourceURL=pptr:evaluate;BidiJSHandle.jsonValue%20(%2Fbuilds%2Fworker%2Fche ... outs%2Fgecko%2Fremote%2Ftest%2Fpuppeteer%2Fpackages%2Fpuppeteer-core%2Flib%2Fcjs%2Fpuppeteer%2Fbidi%2FJSHandle.js%3A31%3A27)\n","awaitPromise":true,"target":{"context":"09fbc4b1-e78e-483b-b882-a057126316e7"},"arguments":[{"type":"number","value":45}],"resultOwnership":"none","userActivation":true,"serializationOptions":{}}}
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Received command script.callFunction for destination ROOT
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Received command script.callFunctionDeclaration for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667545	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667546	RemoteAgent	TRACE	Received command script.callFunctionDeclaration for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667546	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.547Z] PID 748 | 1712178667546	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2390,"result":{"realm":"0fa90c14-7a91-4c26-a4f8-d945d7e2ccd2","type":"success","result":{"type":"number","value":40}}}
[task 2024-04-03T21:11:07.551Z] PID 748 | 1712178667551	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2391,"result":{"realm":"0fa90c14-7a91-4c26-a4f8-d945d7e2ccd2","type":"success","result":{"type":"number","value":45}}}
[task 2024-04-03T21:11:07.593Z] TEST-UNEXPECTED-FAIL | ElementHandle specs ElementHandle.click should return Point data (elementhandle.spec.js) | expected PASS
[task 2024-04-03T21:11:07.593Z] TEST-INFO took 812ms
[task 2024-04-03T21:11:07.593Z] PID 748 | ["fail",{"title":"should return Point data","fullTitle":"ElementHandle specs ElementHandle.click should return Point data","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/elementhandle.spec.js","duration":806,"currentRetry":0,"err":"expect(received).toEqual(expected) // deep equality\n\n- Expected  - 4\n+ Received  + 0\n\n  Array [\n    Array [\n      105,\n      75,\n    ],\n-   Array [\n-     40,\n-     45,\n-   ],\n  ]","stack":"Error: expect(received).toEqual(expected) // deep equality\n\n- Expected  - 4\n+ Received  + 0\n\n  Array [\n    Array [\n      105,\n      75,\n    ],\n-   Array [\n-     40,\n-     45,\n-   ],\n  ]\n    at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/elementhandle.spec.ts:221:22)"}]
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667586	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2392,"method":"script.disown","params":{"target":{"context":"09fbc4b1-e78e-483b-b882-a057126316e7"},"handles":["a76d6254-cfc3-4146-bbf2-7ea5c8338333"]}}
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	TRACE	Received command script.disown for destination ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	TRACE	Received command script.disownHandles for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667587	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2392,"result":{}}
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667593	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 -> {"id":2393,"method":"script.callFunction","params":{"functionDeclaration":"([resolve], result) => {\n                    resolve(result);\n                }\n//# sourceURL=pptr:evaluate;%23handleMessage% ... ecko%2Fremote%2Ftest%2Fpuppeteer%2Fpackages%2Fpuppeteer-core%2Flib%2Fcjs%2Fpuppeteer%2Fbidi%2FExposedFunction.js%3A211%3A34)\n","awaitPromise":true,"target":{"context":"09fbc4b1-e78e-483b-b882-a057126316e7"},"arguments":[{"type":"array","handle":"e8a0ac58-9e6b-44dc-bf19-99262283021a","value":[{"type":"undefined"},{"type":"undefined"},{"type":"array","value":[{"type":"number","value":40},{"type":"number","value":45}]}]},{"type":"undefined"}],"resultOwnership":"none","userActivation":true,"serializationOptions":{}}}
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667593	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667593	RemoteAgent	TRACE	Received command script.callFunction for destination ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667593	RemoteAgent	TRACE	Module root/script.sys.mjs found for ROOT
[task 2024-04-03T21:11:07.595Z] PID 748 | 1712178667594	RemoteAgent	TRACE	Received command script.callFunctionDeclaration for destination WINDOW_GLOBAL
[task 2024-04-03T21:11:07.596Z] PID 748 | 1712178667594	RemoteAgent	TRACE	Module windowglobal/script.sys.mjs found for WINDOW_GLOBAL
[task 2024-04-03T21:11:07.596Z] PID 748 | 1712178667594	RemoteAgent	DEBUG	WebDriverBiDiConnection ae2182cb-bf6c-4a71-815c-1b2ceea5cb71 <- {"type":"success","id":2393,"result":{"realm":"0fa90c14-7a91-4c26-a4f8-d945d7e2ccd2","type":"success","result":{"type":"undefined"}}}
[task 2024-04-03T21:11:07.596Z] TEST-START | ElementHandle specs ElementHandle.click should work for Shadow DOM v1 (elementhandle.spec.js)

Here the failure line from Puppeteer:

[task 2024-04-03T21:11:07.593Z] PID 748 | ["fail",{"title":"should return Point data","fullTitle":"ElementHandle specs ElementHandle.click should return Point data","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/build/elementhandle.spec.js","duration":806,"currentRetry":0,"err":"expect(received).toEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n Array [\n Array [\n 105,\n 75,\n ],\n- Array [\n- 40,\n- 45,\n- ],\n ]","stack":"Error: expect(received).toEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n Array [\n Array [\n 105,\n 75,\n ],\n- Array [\n- 40,\n- 45,\n- ],\n ]\n at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/src/elementhandle.spec.ts:221:22)"}]

It should be around these lines of code:
https://searchfox.org/mozilla-central/rev/8340afd1fb3e7b2727d2efb47df1bd3112db7213/remote/test/puppeteer/test/src/elementhandle.spec.ts#214-224

Component: Agent → WebDriver BiDi
Summary: Intermittent ElementHandle specs ElementHandle.click should return Point data (elementhandle.spec.js) | single tracking bug → Intermittent Wd ElementHandle specs ElementHandle.click should return Point data (elementhandle.spec.js) | single tracking bug
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 8 months ago6 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.