Perma tier2 WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::RTCRtpScriptTransformer'., /builds/worker/checkouts/gecko/dom/webidl/RTCTransformEvent.webidl line 15:22
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox115 | --- | unaffected |
| firefox116 | --- | unaffected |
| firefox117 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: bwc)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=423171969&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bfXm7nPfShW0VGycNHS3AA/runs/0/artifacts/public/logs/live_backing.log
[task 2023-07-19T16:31:48.876Z] 16:31:48 ERROR - Traceback (most recent call last):
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - File "/builds/worker/fetches/python/lib/python3.8/runpy.py", line 194, in _run_module_as_main
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - return _run_code(code, main_globals, None,
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - File "/builds/worker/fetches/python/lib/python3.8/runpy.py", line 87, in _run_code
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - exec(code, run_globals)
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/webidl.py", line 19, in <module>
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - sys.exit(log_build_task(main, sys.argv[1:]))
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/util.py", line 16, in log_build_task
[task 2023-07-19T16:31:48.876Z] 16:31:48 INFO - return f(*args, **kwargs)
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/webidl.py", line 15, in main
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - manager.generate_build_files()
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/mozwebidlcodegen/__init__.py", line 288, in generate_build_files
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - self._parse_webidl()
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/mozwebidlcodegen/__init__.py", line 403, in _parse_webidl
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - self._parser_results = parser.finish()
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py", line 9074, in finish
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - production.finish(self.globalScope())
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py", line 1263, in finish
[task 2023-07-19T16:31:48.877Z] 16:31:48 INFO - self.finishMembers(scope)
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py", line 894, in finishMembers
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - member.finish(scope)
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py", line 5275, in finish
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - t = self.type.complete(scope)
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - File "/builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py", line 2695, in complete
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - raise WebIDLError("Unresolved type '%s'." % self.name, [self.location])
[task 2023-07-19T16:31:48.878Z] 16:31:48 ERROR - WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::RTCRtpScriptTransformer'., /builds/worker/checkouts/gecko/dom/webidl/RTCTransformEvent.webidl line 15:22
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - readonly attribute RTCRtpScriptTransformer transformer;
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - ^
[task 2023-07-19T16:31:48.878Z] 16:31:48 ERROR - gmake[4]: *** [Makefile:54: webidl.stub] Error 1
[task 2023-07-19T16:31:48.878Z] 16:31:48 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/dom/bindings'
[task 2023-07-19T16:31:48.879Z] 16:31:48 INFO - gmake[4]: Target 'export' not remade because of errors.
[task 2023-07-19T16:31:48.879Z] 16:31:48 ERROR - gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:94: dom/bindings/export] Error 2
[task 2023-07-19T16:31:59.744Z] 16:31:59 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/ipc/ipdl'
Updated•3 years ago
|
Comment 1•3 years ago
|
||
:bwc, since you are the author of the regressor, bug 1631263, could you take a look?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•3 years ago
|
||
I guess this is a build with media.peerconnection.enabled==false, do we just need to add a pref wrapper around the RTCTransformEventInit dictionary, or maybe around the |transform| attribute? Let me see...
| Assignee | ||
Comment 3•3 years ago
|
||
Hmm. While I do see places where we use Pref= on a dictionary attribute, we cannot do so on a required attribute, and we also cannot use Pref= on a dictionary. Is there no way to deal with the case where a dictionary type contains a required attribute that is some webidl interface that is wrapped in Pref=?
Comment 4•3 years ago
|
||
I can't recall on top of my head.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Set release status flags based on info from the regressing bug 1631263
Comment 6•3 years ago
•
|
||
The error stems from the webidl parser not recognizing RTCRtpScriptTransformer, it should be a build configuration issue, (where RTCTransformEvent.webidl is included but RTCRtpScriptTransformer.webidl is not?), nothing to do with Pref= I think.
Would adding RTCTransformEvent.webidl to GENERATED_EVENTS_WEBIDL_FILES only when MOZ_WEBRTC is defined in dom/webidl/moz.build fix this?
| Comment hidden (Intermittent Failures Robot) |
Comment 8•3 years ago
|
||
I see the same on Solaris:
3:00.72 WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::RTCRtpScriptTransformer'., /builds/psumbera/mozilla-central-build/dom/webidl/RTCTransformEvent.webidl line 15:22
3:00.72 readonly attribute RTCRtpScriptTransformer transformer;
(In reply to Edgar Chen [:edgar] from comment #6)
The error stems from the webidl parser not recognizing
RTCRtpScriptTransformer, it should be a build configuration issue, (whereRTCTransformEvent.webidlis included butRTCRtpScriptTransformer.webidlis not?), nothing to do withPref=I think.Would adding
RTCTransformEvent.webidltoGENERATED_EVENTS_WEBIDL_FILESonly whenMOZ_WEBRTCis defined indom/webidl/moz.buildfix this?
This DID NOT fix it for me.
Comment 10•3 years ago
|
||
(In reply to mac198442 from comment #9)
(In reply to Edgar Chen [:edgar] from comment #6)
The error stems from the webidl parser not recognizing
RTCRtpScriptTransformer, it should be a build configuration issue, (whereRTCTransformEvent.webidlis included butRTCRtpScriptTransformer.webidlis not?), nothing to do withPref=I think.Would adding
RTCTransformEvent.webidltoGENERATED_EVENTS_WEBIDL_FILESonly whenMOZ_WEBRTCis defined indom/webidl/moz.buildfix this?This DID NOT fix it for me.
OOPs upon re-reading I think the idea was to move from the GENERATED files to only if webrtc is enabled
| Assignee | ||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
(In reply to Edgar Chen [:edgar] from comment #6)
The error stems from the webidl parser not recognizing
RTCRtpScriptTransformer, it should be a build configuration issue, (whereRTCTransformEvent.webidlis included butRTCRtpScriptTransformer.webidlis not?), nothing to do withPref=I think.Would adding
RTCTransformEvent.webidltoGENERATED_EVENTS_WEBIDL_FILESonly whenMOZ_WEBRTCis defined indom/webidl/moz.buildfix this?
OK now after re-reading what you said, yes that fixes the issue for me.
| Assignee | ||
Comment 13•3 years ago
|
||
Updated•3 years ago
|
Comment 14•3 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 16•3 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•3 years ago
|
Description
•