Skip to content

checkenumlock.sh fails with SAI v1.11 #2018

@aparkhomenko-xsight

Description

@aparkhomenko-xsight

SAI repo on tag v1.11 can't be built anymore
it fails with checkenumlock.sh
./checkenumlock.sh

Cloning into 'temp'...                                                                  
remote: Enumerating objects: 11068, done.                                                      
remote: Counting objects: 100% (65/65), done.                                                 
remote: Compressing objects: 100% (53/53), done.                                             
remote: Total 11068 (delta 30), reused 27 (delta 12), pack-reused 11003                
Receiving objects: 100% (11068/11068), 71.98 MiB | 3.88 MiB/s, done.                              
Resolving deltas: 100% (7823/7823), done.                                                                
Checking for possible enum values shift (current branch vs origin/master) ...                             
ERROR: value of SAI_PORT_BREAKOUT_MODE_TYPE_MAX differ: ../inc//saiport.h:146 vs temp/inc//saiport.h:186 => (3 != 4)
enum SAI_ACL_ACTION_TYPE_CHAIN_REDIRECT only defined in temp/inc//saiacl.h:208                     
enum SAI_ACL_ACTION_TYPE_DISABLE_ARS_FORWARDING only defined in temp/inc//saiacl.h:206            
enum SAI_ACL_ACTION_TYPE_SET_ARS_MONITORING only defined in temp/inc//saiacl.h:202                      
enum SAI_ACL_ACTION_TYPE_SET_ARS_OBJECT only defined in temp/inc//saiacl.h:204

It seems like this commit
767c325
causes it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions