I get the following exception using Marshmallow nested types, it's like 50/50% that the exception is thrown, so not everytime I start the program.
Traceback (most recent call last):
File "/srv/unicontrol/repos/cloud-api2/src/api2/rest/application.py", line 80, in init_app
api_instance.register_api(api)
File "/srv/unicontrol/repos/cloud-api2/plugins/global-search/src/UC_Search/api/global_search.py", line 110, in register_api
api.register_blueprint(self.blp)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/flask_smorest/__init__.py", line 88, in register_blueprint
blp.register_views_in_doc(self, self._app, self.spec, name=blp_name)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/flask_smorest/blueprint.py", line 241, in register_views_in_doc
spec.path(rule=rule, operations=doc, parameters=parameters)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/core.py", line 452, in path
plugin.operation_helper(path=path, operations=operations, **kwargs)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__init__.py", line 201, in operation_helper
self.resolver.resolve_operations(operations)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 34, in resolve_operations
self.resolve_response(response)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 182, in resolve_response
self.resolve_schema(response)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 230, in resolve_schema
content["schema"] = self.resolve_schema_dict(content["schema"])
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 294, in resolve_schema_dict
return self.converter.resolve_nested_schema(schema)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/openapi.py", line 94, in resolve_nested_schema
self.spec.components.schema(name, schema=schema)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/core.py", line 132, in schema
ret.update(plugin.schema_helper(component_id, ret, **kwargs) or {})
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__init__.py", line 166, in schema_helper
json_schema = self.converter.schema2jsonschema(schema_instance)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/openapi.py", line 182, in schema2jsonschema
jsonschema = self.fields2jsonschema(fields, partial=partial, ordered=ordered)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/openapi.py", line 208, in fields2jsonschema
prop = self.field2property(field_obj)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/field_converter.py", line 172, in field2property
ret.update(attr_func(field, ret=ret))
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/field_converter.py", line 451, in list2properties
ret["items"] = self.field2property(field.inner)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/field_converter.py", line 172, in field2property
ret.update(attr_func(field, ret=ret))
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/field_converter.py", line 419, in nested2properties
schema_dict = self.resolve_nested_schema(field.schema)
File "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/fields.py", line 591, in schema
raise ValueError(
ValueError: `Nested` fields must be passed a `Schema`, not <class 'marshmallow.schema.SchemaMeta'>
In global_search.py
there are the following schemas defined:
class GlobalSearchArgsSchema(ma.Schema):
"""Schema for global search arguments."""
phrase = ma.fields.String()
class MatchEntrySchema(ma.Schema):
title = ma.fields.String()
url = ma.fields.String()
class MachineMatchEntrySchema(MatchEntrySchema):
title = ma.fields.String()
url = ma.fields.String()
serial_number = ma.fields.String()
class GlobalSearchResultSchema(ma.Schema):
"""Schema for global search response."""
users = ma.fields.List(ma.fields.Nested(MatchEntrySchema))
machines = ma.fields.List(ma.fields.Nested(MachineMatchEntrySchema))
projects = ma.fields.List(ma.fields.Nested(MatchEntrySchema))
customers = ma.fields.List(ma.fields.Nested(MatchEntrySchema))
distributors = ma.fields.List(ma.fields.Nested(MatchEntrySchema))
So GlobalSearchResultSchema
is nesting the types defined before. Since I experience this unpredictable situation I am thinking is it a race-condition?
Any ideas?
EDIT (extra info)
Just to make everything more spooky, I added the following lines of inline debugging code into the marshmallow fields.py module where the final exception is thrown - in the schema() property function (around line 570):
# WTF?
from inspect import getmro, getfile
print('Use inspect to probe nested subclasses:', SchemaABC in getmro(nested))
for i in getmro(nested):
if i == object:
continue
print('\n - Schema subclass is SchemaABC:', i==SchemaABC)
print(' - Schena subclass name: ', i)
print(' - Schema subclass path: ', getfile(i))
print(' - Compare to SchemaABC: ', SchemaABC)
print(' - Compare to SchemaABC path: ', getfile(SchemaABC))
# End WTF?
This produces the following output when execution goes fine:
Use inspect to probe nested subclasses: True
- Schema subclass is SchemaABC: False
- Schena subclass name: <class 'UC_Search.api.global_search.MatchEntrySchema'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/plugins/global-search/src/UC_Search/api/global_search.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Schema subclass is SchemaABC: False
- Schena subclass name: <class 'marshmallow.schema.Schema'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/schema.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Schema subclass is SchemaABC: True
- Schena subclass name: <class 'marshmallow.base.SchemaABC'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
And this when the execution fails:
Use inspect to probe nested subclasses: False
- Schema subclass is SchemaABC: False
- Schena subclass name: <class 'UC_Search.api.global_search.MachineMatchEntrySchema'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/plugins/global-search/src/UC_Search/api/global_search.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Schema subclass is SchemaABC: False
- Schena subclass name: <class 'marshmallow.schema.Schema'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/schema.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Schema subclass is SchemaABC: False
- Schena subclass name: <class 'marshmallow.base.SchemaABC'>
- Schema subclass path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
- Compare to SchemaABC: <class 'marshmallow.base.SchemaABC'>
- Compare to SchemaABC path: /srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/base.py
Notice the last compare with SchemaABC. Python seems to fail to see that these classes are the same, even though they from the exact same module files.
More clues
If I run gunicorn with only one worker probing file-opens with strace
I see that there is a funny python behavior when it fails. It loads both the byte-compiled and the normal python versions of field_converter:
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow-3.13.0.dist-info", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow-3.13.0.dist-info", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/schema.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/base.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/fields.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/validate.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/types.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/exceptions.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/utils.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/warnings.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/class_registry.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/error_store.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/orderedset.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/decorators.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/common.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/openapi.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/field_converter.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/schema_resolver.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/base.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/class_registry.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/decorators.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/error_store.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/exceptions.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/fields.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/types.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/utils.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/validate.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/orderedset.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/schema.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/warnings.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/field_converter.py", O_RDONLY|O_CLOEXEC) = 10
Where as when it loads well it doesn't:
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow-3.13.0.dist-info", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow-3.13.0.dist-info", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/schema.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/base.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/fields.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/validate.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/types.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/exceptions.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/utils.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/warnings.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/class_registry.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/error_store.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/orderedset.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/decorators.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/common.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/openapi.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/field_converter.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/apispec/ext/marshmallow/__pycache__/schema_resolver.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 9
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/__init__.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/base.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/class_registry.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/decorators.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/error_store.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/exceptions.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/fields.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/types.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/utils.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/validate.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/orderedset.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/schema.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/srv/unicontrol/repos/cloud-api2/venv/lib/python3.9/site-packages/marshmallow/__pycache__/warnings.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 10