Closed Bug 1726912 Opened 4 years ago Closed 4 years ago

Permafailing [updatebot-cron] yaml.scanner.ScannerError: mapping values are not allowed here

Categories

(Firefox Build System :: Task Configuration, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox91 unaffected, firefox92 unaffected, firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox91 --- unaffected
firefox92 --- unaffected
firefox93 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [stockwell fixed:backout])

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=349129436&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Gjnqk-Z6T3qbpTgzIJfnMA/runs/1/artifacts/public/logs/live_backing.log


[task 2021-08-21T12:06:59.013Z] 
[task 2021-08-21T12:06:59.117Z] Traceback (most recent call last):
[task 2021-08-21T12:06:59.117Z]   File "./automation.py", line 301, in <module>
[task 2021-08-21T12:06:59.118Z]     u.run(library_filter=args.library_filter)
[task 2021-08-21T12:06:59.118Z]   File "./automation.py", line 230, in run
[task 2021-08-21T12:06:59.118Z]     raise(e)
[task 2021-08-21T12:06:59.118Z]   File "./automation.py", line 212, in run
[task 2021-08-21T12:06:59.118Z]     libraries = self.libraryProvider.get_libraries(self.config_dictionary['General']['gecko-path'])
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/updatebot/components/libraryprovider.py", line 117, in get_libraries
[task 2021-08-21T12:06:59.118Z]     new_library_obj = LibraryProvider.validate_library(mozyaml.read(), file.replace(gecko_path + "/", ""))
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/updatebot/components/libraryprovider.py", line 127, in validate_library
[task 2021-08-21T12:06:59.118Z]     library = yaml.safe_load(yaml_contents)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/__init__.py", line 162, in safe_load
[task 2021-08-21T12:06:59.118Z]     return load(stream, SafeLoader)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/__init__.py", line 114, in load
[task 2021-08-21T12:06:59.118Z]     return loader.get_single_data()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/constructor.py", line 49, in get_single_data
[task 2021-08-21T12:06:59.118Z]     node = self.get_single_node()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 36, in get_single_node
[task 2021-08-21T12:06:59.118Z]     document = self.compose_document()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 55, in compose_document
[task 2021-08-21T12:06:59.118Z]     node = self.compose_node(None, None)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
[task 2021-08-21T12:06:59.118Z]     node = self.compose_mapping_node(anchor)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
[task 2021-08-21T12:06:59.118Z]     item_value = self.compose_node(node, item_key)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
[task 2021-08-21T12:06:59.118Z]     node = self.compose_mapping_node(anchor)
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/composer.py", line 127, in compose_mapping_node
[task 2021-08-21T12:06:59.118Z]     while not self.check_event(MappingEndEvent):
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/parser.py", line 98, in check_event
[task 2021-08-21T12:06:59.118Z]     self.current_event = self.state()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
[task 2021-08-21T12:06:59.118Z]     if self.check_token(KeyToken):
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/scanner.py", line 116, in check_token
[task 2021-08-21T12:06:59.118Z]     self.fetch_more_tokens()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
[task 2021-08-21T12:06:59.118Z]     return self.fetch_value()
[task 2021-08-21T12:06:59.118Z]   File "/builds/worker/.cache/pypoetry/virtualenvs/updatebot-VFmGBxYp-py3.7/lib/python3.7/site-packages/yaml/scanner.py", line 579, in fetch_value
[task 2021-08-21T12:06:59.119Z]     self.get_mark())
[task 2021-08-21T12:06:59.119Z] yaml.scanner.ScannerError: mapping values are not allowed here
[task 2021-08-21T12:06:59.119Z]   in "<unicode string>", line 5, column 20:
[task 2021-08-21T12:06:59.119Z]       component: Canvas: WebGL
[task 2021-08-21T12:06:59.119Z]                        ^
[task 2021-08-21T12:06:59.219Z] Sentry is attempting to send 0 pending error messages
[task 2021-08-21T12:06:59.219Z] Waiting up to 2 seconds
[task 2021-08-21T12:06:59.219Z] Press Ctrl-C to quit
[task 2021-08-21T12:06:59.294Z] Traceback (most recent call last):
[task 2021-08-21T12:06:59.294Z]   File "/builds/worker/run.py", line 178, in <module>
[task 2021-08-21T12:06:59.294Z]     subprocess.check_call(["poetry", "run", "./automation.py"])
[task 2021-08-21T12:06:59.294Z]   File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
[task 2021-08-21T12:06:59.294Z]     raise CalledProcessError(retcode, cmd)
[task 2021-08-21T12:06:59.295Z] subprocess.CalledProcessError: Command '['poetry', 'run', './automation.py']' returned non-zero exit status 1.
[taskcluster 2021-08-21 12:07:01.662Z] === Task Finished ===
[taskcluster 2021-08-21 12:07:01.662Z] Unsuccessful task run with exit code: 1 completed in 41.455 seconds

:glandium could you possibly check this out?
Could it be caused by Bug 1726476?
Thank you!

Flags: needinfo?(mh+mozilla)

It's from bug 1724535 - the last modified file mentions the Canvas: WebGL from the error log.

This blocks updating dependencies and hence will likely get backed out.

Component: General → Task Configuration
Flags: needinfo?(mh+mozilla) → needinfo?(jgilbert)
Regressed by: webgl-cts-93
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: [stockwell fixed:backout]
Flags: needinfo?(jgilbert)
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.