cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

TestSchemaFuzz.test_validate_full_schema failed on `TypeError`

Open stappersg opened this issue 1 year ago • 1 comments

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 avatar Nov 13 '24 17:11 stappersg

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

stappersg avatar Nov 18 '24 20:11 stappersg