Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Validation Reports and New UDMI Version - named "state.out" #718

Open
dheeju143 opened this issue Aug 22, 2023 · 2 comments
Open

Comments

@dheeju143
Copy link

Hi Team,

I am facing an issue with validation reports using the new UDMI version. I encountered the following "state.out" error message. Could you please assist me in resolving this?

Payload Sent from the controller:

{
"version": "1",
"timestamp": "2023-08-21T08:47:52.470Z",
"system": {
"serial_no": "",
"last_config": "2022-06-02T09:00:43Z",
"operational": true,
"hardware": {
"make": "LLBMS",
"model": "Exhaust Fans",
"sku": "",
"rev": ""
},
"software": {
"firmware": "",
"os": ""
}
}
}

Validation Report at State.out

{
"timestamp" : "2023-08-21T11:39:58Z",
"version" : "1.4.1",
"sub_folder" : "update"
"sub_type" : "state",
"status" : {
"message" : "missing pointset subblock",
"detail" : "state_update: missing pointset subblock",
"category" : "validation.device.schema",
"timestamp" : "2023-08-21T11:39:58Z",
"level" : 500
},
"errors" : [ {
"message" : "missing pointset subblock",
"detail" : "state_update: missing pointset subblock",
"category" : "validation.device.schema",
"timestamp" : "2023-08-21T11:39:58Z",
"level" : 500
} ]
}

@noursaidi
Copy link
Collaborator

Hello,

The error here is that the devices metadata here has a pointset, therefore it is required that the state message also includes the pointset blocks with the points the device is publishing data for. If the device does not have data points, then either add an emptoy pointsetblock or remove the pointset block from the metadata.json file.

This is not new UDMI behaviour, there was a bug in one version of the UDMI validator which did not raise this error

@dheeju143
Copy link
Author

@noursaidi Hi Thanks for the Reply i will look into it and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants