canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
3k stars 885 forks source link

TestSchemaFuzz.test_validate_full_schema failed on `TypeError` #5869

Open stappersg opened 1 week ago

stappersg commented 1 week ago

From the logging of https://github.com/canonical/cloud-init/actions/runs/11818968969/job/32927786573

tests/unittests/config/test_schema.py::TestSchemaFuzz::test_validate_full_schema FAILED [100%]

=================================== FAILURES ===================================
___________________ TestSchemaFuzz.test_validate_full_schema ___________________

self = <tests.unittests.config.test_schema.TestSchemaFuzz object at 0x7f2dd6271990>

    @skipUnlessHypothesisJsonSchema()
>   @given(from_schema(SCHEMA))
E   TypeError: wrapped_lru_cache.<locals>.wrapper() missing 1 required positional argument: 'func'

tests/unittests/config/test_schema.py:2674: TypeError

This error showed up first time after commit https://github.com/canonical/cloud-init/commit/fad947594f860a2c2ac5f3cb18fb6470a1d54247

stappersg commented 5 days ago

For all the busy people, there is now https://github.com/canonical/cloud-init/pull/5884