Closed trathod1 closed 9 months ago
Assigned to @wenovus since the issue manifested after https://github.com/openconfig/ygnmi/commit/c32508090ccc133d87048801a4a320427f2e430d
Sorry was away, taking a look now.
Thanks @sachendras for pinpointing the culprit PR.
gnmi_set_test
was depending on a very particular and non-intuitive marshal behaviour for schemaless
queries that was changed in the most recent ygnmi release.
https://github.com/openconfig/featureprofiles/pull/2475 should fix the issue.
What's the best way to test these changes and unblock progress?
Describe the bug After commit of https://github.com/openconfig/featureprofiles/pull/2366, it is observed that
gnmi.Replace
at the container level is sendingstate
information also in config.@greg-dennis Do we need to modify featureprofiles script to accomodate PR-2366 changes ?
To eloborate, here is the output of following 2 modified lines from the script to debug -
Output -
To Reproduce Executing script
feature/system/gnmi/set/tests/gnmi_set_test/gnmi_set_test.go
shows the failure.Expected behavior Expecting ygnmi not to alter the config during replace like it was working before https://github.com/openconfig/featureprofiles/pull/2366.
Logs https://gist.github.com/trathod1/3a9b9b0dd20f39f870535dc9a2e6dbad