https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3399/steps/14/logs/stdio Initialising tasks...WARNING: /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/images/core-image-minimal.bb:do_rootfs is tainted from a forced run ERROR: An uncaught exception occurred in runqueue Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/hashserv/__init__.py", line 86, in create_client(addr='wss://hashserv.yoctoproject.org/ws', username='pokybuild', password='vcUTSfqr3bACI9JKRfgIxxK3Z_8c04sqwhmjjc5R8CVzpJ18TxmAkIE35QOI9Ago'): c.close() > raise e File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/hashserv/__init__.py", line 80, in create_client(addr='wss://hashserv.yoctoproject.org/ws', username='pokybuild', password='vcUTSfqr3bACI9JKRfgIxxK3Z_8c04sqwhmjjc5R8CVzpJ18TxmAkIE35QOI9Ago'): elif typ == ADDR_TYPE_WS: > c.connect_websocket(*a) else: File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py", line 225, in wrapper: def wrapper(*args, **kwargs): > return self.loop.run_until_complete(downcall(*args, **kwargs)) File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in _UnixSelectorEventLoop.run_until_complete(future=<Task finished name='Task-1' coro=<AsyncClient.connect_websocket() done, defined at /home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py:92> exception=ImportError('Websockets version 9.1 is less than minimum required version 10.0')>): > return future.result() File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py", line 109, in AsyncClient.connect_websocket(uri='wss://hashserv.yoctoproject.org/ws'): min_ver_str = ".".join(str(v) for v in WEBSOCKETS_MIN_VERSION) > raise ImportError( f"Websockets version {websockets.__version__} is less than minimum required version {min_ver_str}" ImportError: Websockets version 9.1 is less than minimum required version 10.0 ERROR: Running idle function Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/hashserv/__init__.py", line 86, in create_client(addr='wss://hashserv.yoctoproject.org/ws', username='pokybuild', password='vcUTSfqr3bACI9JKRfgIxxK3Z_8c04sqwhmjjc5R8CVzpJ18TxmAkIE35QOI9Ago'): c.close() > raise e File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/hashserv/__init__.py", line 80, in create_client(addr='wss://hashserv.yoctoproject.org/ws', username='pokybuild', password='vcUTSfqr3bACI9JKRfgIxxK3Z_8c04sqwhmjjc5R8CVzpJ18TxmAkIE35QOI9Ago'): elif typ == ADDR_TYPE_WS: > c.connect_websocket(*a) else: File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py", line 225, in wrapper: def wrapper(*args, **kwargs): > return self.loop.run_until_complete(downcall(*args, **kwargs)) File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in _UnixSelectorEventLoop.run_until_complete(future=<Task finished name='Task-1' coro=<AsyncClient.connect_websocket() done, defined at /home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py:92> exception=ImportError('Websockets version 9.1 is less than minimum required version 10.0')>): > return future.result() File "/home/pokybuild/yocto-worker/oe-selftest-armhost/build/bitbake/lib/bb/asyncrpc/client.py", line 109, in AsyncClient.connect_websocket(uri='wss://hashserv.yoctoproject.org/ws'): min_ver_str = ".".join(str(v) for v in WEBSOCKETS_MIN_VERSION) > raise ImportError( f"Websockets version {websockets.__version__} is less than minimum required version {min_ver_str}" ImportError: Websockets version 9.1 is less than minimum required version 10.0
Some sort of environment escape that only happens on the ARM 22.04 worker.
Reliably failing on this worker when it runs the oe-selftest wic.Wic.test_permissions.
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3445/steps/14/logs/stdio
I couldn't make this break outside of the AB itself, even when logged in as pokybuild. The worker then crashed and fell out of the cluster for a few days... As this is limited to a single worker and it doesn't replicate on the same platform in the new cluster, I suspect the easiest way to resolve this would be to recreate the pokybuild venv to rule out subtle corruption.
Regenerating the Python venv on this worker resolved the problem, so it appears this was a corrupted or otherwise broken environment.
It seems this bug is back. oe-selftest-debian debian11-ty-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/7101/steps/14/logs/stdio oe-selftest-armhost ubuntu2204-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3368/steps/14/logs/stdio oe-selftest-armhost ubuntu2204-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3399/steps/14/logs/stdio
Fired https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/7130 to see if this reproduces reliably.
It does not.
oe-selftest-ubuntu ubuntu2204-vk-2 mathieu/master-next completed at 2025-01-16T12:51:59Z https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/770/steps/14/logs/stdio
oe-selftest-ubuntu ubuntu2204-vk-2 master-next completed at 2025-01-21T18:02:35Z https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/803/steps/14/logs/stdio
<shakes fist at Mathieu>
Found this old one in untriaged entries. A bit different as this one says "No module named 'websockets'" oe-selftest-ubuntu ubuntu2204-vk-1 master completed at 2025-03-20T03:14:09Z https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/1223/steps/14/logs/stdio
Setup scripts properly take care of installing websockets on all supported distros now.