-
Notifications
You must be signed in to change notification settings - Fork 89
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
DASH libsai fails on remove() operations, wrong log message #158
Comments
chrispsommers
added a commit
to chrispsommers/DASH
that referenced
this issue
Jul 21, 2022
…test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method.
chrispsommers
added a commit
to chrispsommers/DASH
that referenced
this issue
Jul 22, 2022
…test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method.
chrispsommers
added a commit
to chrispsommers/DASH
that referenced
this issue
Jul 22, 2022
…sg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method." This reverts commit 820e08e.
chrispsommers
added a commit
to chrispsommers/DASH
that referenced
this issue
Jul 22, 2022
…test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method.
This was referenced Jul 22, 2022
Closed
chrispsommers
added a commit
that referenced
this issue
Aug 4, 2022
* Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method. * Revert "Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method." This reverts commit 820e08e. * Fixup perms after meta make to prevent perms issue with libsai Co-authored-by: Chris Sommers <[email protected]>
chrispsommers
added a commit
that referenced
this issue
Aug 7, 2022
* Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method. * Revert "Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method." This reverts commit 820e08e. * Fix init-switch target, had stale path. ADd back to CI file to catch regressions. * Change order of tests to defer saithrift steps, allowing earlier detection of failure of faster steps, e.g. run-switch, init-switch. Co-authored-by: Chris Sommers <[email protected]>
chrispsommers
added a commit
that referenced
this issue
Aug 8, 2022
* Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method. * Revert "Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method." This reverts commit 820e08e. * Switch SAI submodule to upstream repo containing fixes merged from dev branches which supported DASH. Co-authored-by: Chris Sommers <[email protected]>
chrispsommers
added a commit
that referenced
this issue
Aug 10, 2022
* Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method. * Revert "Fix #158 - libsai delete operation failure and log msg. THe test for error code was backwards and log message used same write updateType string for all operations. I fixed the compare and used a dynamic enum print method." This reverts commit 820e08e. * Document concise developer workflows. * Added details * More dev workflows. * README typos * More dev workflow text, diagram. * Workflow readmes. * Delete stray readme line * Clarify workflow - requires make init-switch. * Number the dev use-cases. Co-authored-by: Chris Sommers <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I modified vnet_out.cpp to delete items added in the test and revealed some problems. Here's the added SAI code:
Here's the output from bmv2 switch. We see three creates and one delete (which succeeded), there should be three deletes but the test aborted.
Here's the console output when running vnet_out:
Two issues:
libsai
treated it as a failurelibsai
is wrong, it says "Write::add_one_entry OK: Failed to remove ENI To VNI" when it is really a delete. This is just a logging message error.I'll post a PR to fix both.
The text was updated successfully, but these errors were encountered: