Bug 16183

Summary: yocto-supported-distros: unmatched ']'
Product: [Infrastructure] AutoBuilder Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: autobuilderAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: antonin.godard, infras.ab.watcher, Infras.watcher, paul, randy.macleod
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-02-27 10:26:01 UTC
We had a few of these failures, starting yesterday. It might be linked with various merges in yocto-autobuilder-helper.


Poky - The Yocto Project testing distribution
Running '. ./init-build-env; ${SCRIPTSDIR}/yocto-supported-distros --config-from-web --release-from-env --compare --check-worker-statuses' with output to /srv/pokybuild/yocto-worker/a-full/build/build/command-2-cmds.log in /srv/pokybuild/yocto-worker/a-full/build/build
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/yocto-supported-distros", line 459, in <module>
    main()
    ~~~~^^
  File "/srv/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/yocto-supported-distros", line 370, in main
    import config
  File "/tmp/tmpdsqkofze/config.py", line 99
    ]
    ^
SyntaxError: unmatched ']'

I tried to look for the tmp/tmpdsqkofze/config.py file, but it's gone.
Comment 1 Mathieu Dubois-Briand 2026-02-27 10:26:46 UTC
a-full opensuse156-vk-1 master completed at 2026-02-27 06:29:10+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3292/steps/23/logs/stdio

a-full debian12-vk-8 mathieu/master-next&mathieu/master-next-tests completed at 2026-02-26 17:17:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3288/steps/22/logs/stdio

a-full alma8-vk-1 mathieu/master-next completed at 2026-02-26 22:30:28+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3289/steps/23/logs/stdio

a-full fedora40-vk-3 mathieu/master-next&mathieu/master-next-tests completed at 2026-02-26 18:19:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3290/steps/22/logs/stdio

a-full rocky9-vk-2 mathieu/master-next&mathieu/master-next-tests completed at 2026-02-27 01:28:45+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3291/steps/22/logs/stdio
Comment 2 Antonin Godard 2026-02-27 10:37:36 UTC
This happened because of a typo in yocto-autobuilder2's config.py introduced by 9b7a38d657887713a1e9a4cfacabcb48334dcee3:
https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py?id=9b7a38d657887713a1e9a4cfacabcb48334dcee3#n98

And was fixed with https://git.yoctoproject.org/yocto-autobuilder2/commit/?id=b1976a16e8cfb265ddaf950395f3e76a049d7ff2.

Since the yocto-supported-distros script fetches the config.py file from master, this error happened while the typo was there, but shouldn't occur anymore now. Recent builds do not have the error anymore: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3295

I think we can close
Comment 3 Randy MacLeod 2026-03-05 15:36:27 UTC
waiting for upstream.
Comment 4 Randy MacLeod 2026-03-05 15:36:43 UTC
Typo fixed.