-
Notifications
You must be signed in to change notification settings - Fork 480
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
checkenumlock.sh fails with SAI v1.11 #2018
Comments
Each commit is checked before merge to pass build, this what you are referring to should not be possible, unless that was cherry picked somehow |
steps to reproduce
|
reproduced, as i thought it was cherrypicked the commit, problem is taht we dont have pipeline setup on other branches only master, so only master is checked, I fixed it here #2019 |
interesting, we have automatic builds setup on sonic branches which would fail build if this is happening, not sure how we build sonic now XD |
|
can you elaborate more ? |
As I understand, when we build SONiC (e.g. syncd) we don't validate SAI headers (don't run ./checkenumlock.sh, etc). We just generate saimetadata.c and saimetadata.h. I'm not sure if it's expected behaviour or not, but it's the main reason why we don't catch this error with SONiC builds. |
thats intended, i put it there, since all validation checks should be done on SAI repo on each commit, this issue actually has no impact on sonic, build error on v1.11 is because value MAX is not excluded from backward compatybility check |
Any plan to fix this issue? This issue is annoying when I want to build SAI only. |
You can exclude MAX value from script to pass this
pt., 27 wrz 2024, 23:39 użytkownik Changrong Wu ***@***.***>
napisał:
… Any plan to fix this issue? This issue is annoying when I want to build
SAI only.
—
Reply to this email directly, view it on GitHub
<#2018 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECDE57CZOMGMTKHE6WXEIDZYXGAJAVCNFSM6AAAAABIMLBK6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQGA4TQNJRGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
SAI repo on tag v1.11 can't be built anymore
it fails with checkenumlock.sh
./checkenumlock.sh
It seems like this commit
767c325
causes it
The text was updated successfully, but these errors were encountered: