executor: Error found while training a machine in my farm
The following error was caught while training a machine in my farm:
Oct 17 06:54:48 mupuf-gateway executor[1165]: Traceback (most recent call last):
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
Oct 17 06:54:48 mupuf-gateway executor[1165]: rv = self.dispatch_request()
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
Oct 17 06:54:48 mupuf-gateway executor[1165]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/valve_gfx_ci/executor/server/app.py", line 428, in post_job
Oct 17 06:54:48 mupuf-gateway executor[1165]: parsed = JobRequest.parse(flask.request)
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/valve_gfx_ci/executor/server/dut.py", line 93, in parse
Oct 17 06:54:48 mupuf-gateway executor[1165]: return MultipartJobRequest(request)
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/valve_gfx_ci/executor/server/dut.py", line 131, in __init__
Oct 17 06:54:48 mupuf-gateway executor[1165]: self.parse_v1(request, metadata)
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "/usr/lib/python3.10/site-packages/valve_gfx_ci/executor/server/dut.py", line 183, in parse_v1
Oct 17 06:54:48 mupuf-gateway executor[1165]: super().__init__(http_headers=request.headers, version=1, raw_job=raw_job,
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "pydantic/dataclasses.py", line 313, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init
Oct 17 06:54:48 mupuf-gateway executor[1165]: File "pydantic/dataclasses.py", line 416, in pydantic.dataclasses._dataclass_validate_values
Oct 17 06:54:48 mupuf-gateway executor[1165]: pydantic.error_wrappers.ValidationError: 1 validation error for MultipartJobRequest
Oct 17 06:54:48 mupuf-gateway executor[1165]: target
Oct 17 06:54:48 mupuf-gateway executor[1165]: instance of Target, tuple or dict expected (type=type_error.dataclass; class_name=Target)
Edited by Martin Roukala