-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dpkg-query: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory #119
Comments
I wasn't able to repeat this issue. I have been always building with multiple jobs. Will take a look at the make file to see if there is anything obvious. |
I got the same issue when building iproute2 from source.
|
We've also been seeing the same issue when building the broadcom and vs platforms. In our case, we're using: The error is intermittent and occurs for different .deb packages, but is occurring more frequently as the overall build times have decreased. This seems to be a race condition within the dpkg tools, and while the name of the reported package info file varies (/var/lib/dpkg/update/0000, 0001, 0005, etc.), the subsequent dpkg-query error message for us is always the same (libc6:amd64 symbols):
At first, we thought this had something to do with the slave.mk dpkg_lock possibly not working in the SONIC_INSTALL_TARGETS rule, but the .deb packages where this is occurring are being built in the SONIC_MAKE_DEBS or SONIC_DPKG_DEBS rules where there is no external locking being used. Also, while we do share build servers among many developers and Jenkins jobs, we have seen this failure occur with a single SONiC build being run on a server, so the problem appears to be caused by building multiple .deb targets within a SONiC build (i.e. within a user's build container), rather than from multiple users building on the same server. A web search turned up this Debian bug from 2016 #848555 that seems like the same thing we're seeing. The status messages indicate it was combined ("merged") into an older existing bug #423866 that was discovered in 2007 in the dpkg utility, but has never been fixed in Debian (Severity: wishlist). Within the SONiC build container, the dpkg version is 1.18.25 (amd64). Reverting to non-parallel builds is not an option for us, since we're trying to drive down SONiC build times to enable a workable CI process internally. Whereas this error used to occur once in a great while, it's now happening several times per day and has reached the point where it can no longer be waved off as just a fluke. |
Looks like there are 2 proposed ways to fix this issue: https://ubuntuforums.org/showthread.php?t=872210 |
Looks like that's for a different issue related to /var/lib/dpkg/available, not /var/lib/dpkg/updates/nnnn. Also, the issue seen during a SONiC build occurs during the creation of any of the .deb files (i.e. executing debian/rules), therefore modifying the dpkg installation on a shared build host during the build is not the solution for this case. We're still seeing this particular error too often for comfort and do not know of a way to fix it short of serializing the .deb builds, which is not an option for us. We've added some external tooling to automatically retry (one time) a SONiC build that fails, in hopes that if this dpkg error occurred, it won't occur the second time around. Far from ideal, but it helps make our CI process a little more resilient to these transient errors. We've considered upgrading the dpkg version on our Ubuntu 16.04 build servers, but without a known fix identified by the dpkg maintainers, there's no guarantee this will help. |
@gpaussabrcm: We have occasionally seen both |
* Update src/sonic-mgmt-framework from branch 'broadcom_sonic' to d32b61e0ca8053233ea9a8a8b0038fc4e8ee5bed - Merge "[ JIRA SONIC-10470 ] merge dell_sonic --> broadcom_sonic 11062019" into broadcom_sonic - [ JIRA SONIC-10470 ] merge dell_sonic --> broadcom_sonic 11062019 Change-Id: I316bd5bd683572c579595e686db18d2f1f2487a8 - Merge pull request sonic-net#249 from project-arlo/brcm_poc1101 Merge brcm_poc1101 --> master correction - Merge broadcom_sonic --> brcm_poc1101 correction * The processUpdatePhyIntfLagAdd() function got added twice by the git merge on src/translib/phy_intf.go. Fixed this. - Merge pull request sonic-net#248 from project-arlo/brcm_poc1101 Brcm poc1101 - Merge remote-tracking branch 'broadcom/broadcom_sonic' into brcm_poc1101 - Merge pull request sonic-net#242 from project-arlo/transformer-phase2 Merge Transformer phase2 changes - Merge branch 'master' into transformer-phase2 - Take care of type convertion for ints - Merge pull request sonic-net#238 from project-arlo/fix-code fix member removal code, issue sonic-net#227 - Merge pull request sonic-net#237 from project-arlo/transformer-phase2 fix the annotation model error - fix member removal code Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - fix the annotation model error - Merge pull request sonic-net#236 from project-arlo/transformer-phase2 Merge Transformer phase2 to master - Merge branch 'master' into transformer-phase2 - added code to properly handle the yenum, yint64 and yuint64 - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - added data type handling for yang modules having tbl-xfmr and field-xfmr - Merge branch 'master' into transformer-phase2 - Add table name retrieved from extract function to create DbMap for Delete - Merge pull request sonic-net#232 from project-arlo/fix-code Remove not required log statement - Remove not required log.Error statement Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - sFlow code enhancements (sonic-net#228) * Use constant for sFlow default port. * Add tighter input restrictions on sFlow YANG. Signed-off-by: Garrick He <garrick_he@dell.com> - catch error in valiating annotation files - Merge pull request sonic-net#224 from project-arlo/sflow sFlow Support - Add CLI support for sFlow global configurations * Add CLI support for all sFlow global configurations Signed-off-by: Garrick He <garrick_he@dell.com> - Update sFlow YANG * Update sFlow YANG and annotations. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge pull request sonic-net#206 from project-arlo/sonic_host_service Add SONiC Host Service package and infrastructure - Add SONiC Host Service package and infrastructure This change adds infrastructure to create a host-side server that will respond to specific requests over D-Bus. The intention is to let clients that run within a container to query the host for the registered requests. This also includes infrastructure in Translib to request the host to perform some service. This is primarily used for implementing actions that must be done in the host system, such as image management, show techsupport, ZTP, etc. - Merge pull request sonic-net#192 from project-arlo/dell_fdb_cli FDB backend support - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Create transaction cache - added code to have tablename if the inner container or list is annotated with tablename and parent with tbl xfmr - Addressing comments - Merge pull request sonic-net#217 from project-arlo/portchannel Added config false statements in the containers just for Get support - Call subtree transformer for delete case - Added config false statements in the containers just for Get support Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - PortChannel Feature support (sonic-net#154) * Support for VLAN configuration (not complete) * Support for member addition to vlan(tagged & untagged) * Rearranging Interface app module code. * Working code for creating vlan, adding tagged/untagged port to vlan, and deletion of vlan. * Refactoring intf_app.go to accomodate all the interface types.wq * Support for access-vlan delete, working vlan create, tagged/untagged add, access/trunk mode config alone and removal of untagged. * XML coding for VLAN commands * CLI and python binding completion with testing and untagged vlan config validation. * Tested and working code for all the VLAN test cases except tagged VLAN delete, with validations added.x * Fixed the build failure. * Correcting the valid error message to be thrown to front-end. * Rearranging the get code, cleanup and add the support for vlan-info. * Tested the vlan-list get support for all the interfaces and specific interface * Working code for get-support for individual attributes. * Working code for config, add/remove member-ports, and get support. * Cleanup of the comments and logs. * Cleanup of the code. * Added the copyright header for new files. * Support for ignoring request for same config and for meaningful error for tagged/untagged configs to front-end. * Code change for Portchannel create and members add Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Support for CLI support-VLAN after merging with cleaned up CLI skeleton changes. * Support for #show vlan [<id>] command using sonic-yang. * Working delete PortChannel code Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Support for deletion of trunk-vlan instance, its associated CLI support and bug fix in #show vlan command. * Cleanup of the yang files in models/yang directory and cvl directory * Bugfixes for individual get and panic warnings. * Support for state container attribute get for VLAN * Code for adding and removing members from PortChannel Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Code changes for configuring PortChannel Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Fix code and augment data model Fix mtu config for PortChannel augment openconfig-if-aggregate.yang Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * CLI support code changes Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Added a note for initializing DS at the beginning. * Code changes for PortChannel attributes config Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Code changes for show command Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Changes in sonic YANG models Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Changes for Get commands Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Fix: IP config not reflecting on Linux Kernel Fix IP config not reflecting on Linux Kernel Fix indentations Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Add code for PortChannel REST UT Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Address review comments Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Address review comments Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - UPDATE case, leaflist handling - if existing entry does not have leaflist and incoming has, then instead of merge just add the leaflist as new field - Merge pull request sonic-net#208 from project-arlo/PVST_CLI Added CLI support for xSTP(PVST and RPVST) - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Support adding a table instance with empty field/value(NULL/NULL) only when no fields present under that instance - bug fixes and RPVST additional comands - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into PVST_CLI - add support for RPC callback using yang extension - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - GET case - Added Datatype conversion for key leaf, when ther is no key-transformer - Merge branch 'master' into transformer-phase2 - Add defaults only for non leaf case - Merge pull request sonic-net#202 from project-arlo/bsun-mgmt-vrf add xml and jinja template for mgmt vrf - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Support creating a table instance with no fields, when yang list doesn't have non-key(direct child) leaf that maps to a redis-field and all child containers map to a different table than the one annotated at parent list level - Ignore parent key if the keyXfmr or keyName is available - Resolving merge conflict - merge conflict - use ip vrf for configuration - address review comments - oc-yang default value fill support for models having table-xfmr - Merge pull request sonic-net#205 from project-arlo/transformer-phase2 enabled post-xfmr support for repalce and update operation and defaul… - enable field-xfmr support while filling yang default values - enabled post-xfmr support for repalce and update operation and default value fill for replace - Merge branch 'PVST_CLI' of https://github.com/project-arlo/sonic-mgmt-framework into PVST_CLI - Added CLI support for Spanning Tree Prtocol (PVST and RPVST) config and show commands - Added CLI support for PVST and RPVST config and show commands - Merge pull request sonic-net#204 from project-arlo/transformer-phase2 Merge Transformer phase2 changes - Remove stale files - Add missed out goyang.patch file - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Add goyang patch rule in Makefile - corrected a log message - Merge branch 'master' into transformer-phase2 - Handle deletion at sonic module level - Common app changes to use the CVL table ordering for CRUD operations - add xml and jinja template for mgmt vrf - Merge pull request sonic-net#199 from project-arlo/vlan_feature Added config false statements in the containers just for Get support - Integrate with CVL orderdered and dependency table list : 1.) Create a cache map of sonic module to oredered tables and tables to watch 2.) Provide APIs to lookup ordered tables and tables to watch on CRUD request for a given table and module name - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Corrections in the vlan yang for get only container - Addressing comments - Merge with latest changes for Unmarshall fix - Add default rule for ACL - Support get case for outerlist not associated with redis table but inner containers/lists mapped to global redis tables. - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Unmarshall related fixes for translib ygotTarget population covering : 1.)Leaf level Get 2.)List level Get without specifying any instance - sFlow CLI implementation * Update sFlow YANG to support only 2 collectors. * Update sFlow CLI actioner script to do proper functions. * Update .j2 templates to properly render sFlow information. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Yang default value fill support: for oc-yang having tablename annotations - Unmarshal fix for list instance level Get - clean up code - Merge branch 'brcm_license' - Unmarshal failure fix(partial) - GET query for inner conatiner and list with instance - Merge branch 'master' into dell_fdb_cli - FDB backend support - added code to support non-key based table entries but with yang-key - added code to call the subtree xfmr annotated at top level - Annotate sFlow YANG + update actioner script * Annotate sFlow YANG to query applDB for session information. * Update sFlow actioner script. Signed-off-by: Garrick He <garrick_he@dell.com> - container level GET - exit after processing subtree transformer - FDB backend - Merge pull request sonic-net#191 from project-arlo/brcm_poc Brcm poc - Merge remote-tracking branch 'broadcom/broadcom_sonic' into brcm_poc - Merge pull request sonic-net#190 from project-arlo/master sonic-mgmt-framework: master --> brcm_poc - Fixes for bugs sonic-net#180 and sonic-net#186 (sonic-net#188) - Fixes for bugs sonic-net#180 and sonic-net#186 - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Dell ztp dev (sonic-net#184) * cli without backend for ztp * cleaning up xml - fix for list key not being added to uri to list level get(no instance specified) - Fix subtree transformer nil map/crash issue(OC-Interface/counters issue) - Optimization for not building tree when the targetURI is not supported (sonic-net#182) * Optimization for avoiding the processing if the URI is not what we support - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Optimization for avoiding the processing if the URI is not what we support - Merge branch 'master' into sflow - Update sFlow YANG * Update sFlow YANG and Annotation file. Signed-off-by: Garrick He <garrick_he@dell.com> - Add module name to dbSpecMap - Support for VLAN feature. (sonic-net#162) * VLAN feature branch with changes for config and get support. * Resolved the conflicts and added the new changes wrt yang and tested, * Addressed the review comments. - added code to get the keyname from container - Merge pull request sonic-net#178 from project-arlo/transformer-phase2 Merge Transformer phase fixes to master - retrieve key value for annotated key entry in sonic yang - retrieve key value for annotated key entry in sonic yang - Addressed the review comments. - Merge branch 'master' into sflow - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into dell_fdb_cli - fixed yang leaf NONE to NULL field-value pair issue in return map. - Merge pull request sonic-net#176 from project-arlo/master syncing master to brcm_poc - Merge branch 'master' into transformer-phase2 - Handle Table transformer Get on list instance level - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Merge pull request sonic-net#171 from project-arlo/brcm_poc Brcm poc - Merge branch 'master' into brcm_poc - Merge broadcom/broadcom_sonic --> project-arlo/brcm_poc - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into dell_fdb_cli - CLI skeleton support for FDB Mac (sonic-net#141) - CLI support without backend (sonic-net#145) - Merge branch 'master' into sflow - Annotate sFlow YANG * Annotate sonic-sflow.yang Signed-off-by: Garrick He <garrick_he@dell.com> - Merge pull request sonic-net#167 from project-arlo/transformer-phase2 Exclude annotation file from generating ocbinds, fix Makefile - Fixed list instance level GET issue - add back the cv/schema/*yin - fix Makefile in installing yang files from cv/schema - exclude annotation file from generating ocbinds - Merge pull request sonic-net#160 from project-arlo/cvl_enhancement CVL enhancements - Merge pull request sonic-net#164 from project-arlo/transformer-phase2 merge transformer phase-2 to master : Clean up of files and add missed items during previous merge - Clean up of files and add missed items during merge - resolving merge conflict - Resolved the conflicts and added the new changes wrt yang and tested, - Merge branch 'master' into sflow - Move sonic-sflow.yang * Move sonic-sflow.yang file to proper location Signed-off-by: Garrick He <garrick_he@dell.com> - Merge pull request sonic-net#161 from project-arlo/master Syncing project-arlo/sonic-mgmt-framework master to brcm_poc - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Minor changes - Adding test cases for 'max-elements' - Adding max-elements check - Merge branch 'cvl_enhancement' of https://github.com/project-arlo/sonic-mgmt-framework into cvl_enhancement - CVL API for fetching dependent and ordered Redis table list - Fix for random UT failure - Merge pull request sonic-net#158 from project-arlo/transformer-phase2 Merge transformer phase 2 to arlo master - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Merge branch 'master' into transformer-phase2 - revert accidently added local changes in xspec.go - merge conflict resolution on xlate_to_db.go - Sonic yang restructuring fix terminal node leaf/leaf-list cases - Merge pull request sonic-net#157 from project-arlo/arlo_bug_fix Bug fix for showing G instead of GB - Add Copyright info - Bug fixed for not showing GB instead of Gx - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - VLAN feature branch with changes for config and get support. - Merge branch 'master' into transformer-phase2 - Use new xpathPredicate function that removes augmented module name in the uri - Get for sonic yang at instance level to return single instance data - support table transformer - GET case on leaf or nested container - Merge branch 'master' into sflow - Merge pull request sonic-net#155 from project-arlo/transformer-phase2 Restructured sonic yang changes - Make file changes to generate sonic yaml files - Merge branch 'master' into transformer-phase2 - Merge pull request sonic-net#143 from project-arlo/cvl_changes_sonic_yang CVL changes for SONiC YANG - Fix the leaf level get for restructured sonic yang - Handle delete for restructured sonic acl - Merge branch 'master' into sflow - Fix sFlow YANG error * Remove sonic-ext from sFlow YANG. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - transformer infra support for revised sonic-yang GET req - Strip augmented module names in xpath to reference xYangSpecMap - Handle delete for restructured sonic yang - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Fixed table transformer GET case issues : 1.) calling table-transformer for each leaf when doing a get on parent conatiner(OC-interface) 2.) dbMapData not getting filled for container query in dbDataToYangJsonCreate - rearranged the code to call the table transformer and collect data before calling the subtree-transformer overloaded method. - added code to support reading db data for get req per revised sonic-yang - sFlow CLI Template (sonic-net#147) * sFlow CLI template * Add XML skeleton for the sFlow CLI * Add actioner script * Add renderer template Signed-off-by: Garrick He <garrick_he@dell.com> - Management interface cli tree, actioner implementation and sonic yang for management port and interface config handling. (sonic-net#153) - xspec map and cru support in transformer infra per revised sonic-yang and changed the api-names from cvl to sonic - Merge pull request sonic-net#152 from project-arlo/transformer-phase2 Include unique namespace, Use the prefix of the including module - Merge branch 'master' into transformer-phase2 - Include unique namespace, Use the prefix of the including module - Merge pull request sonic-net#150 from project-arlo/transformer-phase2 Include the prefix for the module where the grouping is used in annotation template - Merge branch 'master' into transformer-phase2 - Include the prefix for the module where the grouping is used in annotation template - Merge branch 'master' into sflow - sFlow YANG extension * Add sonic-ext for sFlow YANG. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge pull request sonic-net#148 from project-arlo/transformer-phase2 Merge Transformer changes to master - Added table transformer extension - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Added table transformer method prototype. - Import module name of the annotated module in annotate template file - Merge branch 'master' into transformer-phase2 - Handle nested db-name annotations for oc - sonic yang get case handling for table instance level - fix for vlan get-req crash - Merge pull request sonic-net#134 from project-arlo/cli-portChannel CLI skeleton for Port channel - Changed processLeafList() function name to checkAndProcessLeafList() , added comments and removed unnecessary logs in common app - Correct naming convention for Interface commands Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Addressing commens - Add check for no xfmrFunc defined case - OC Yang Get case - DB type based key-delimiter support in transformer core - Merge branch 'master' into cvl_changes_sonic_yang - Updated Makefile - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - added key-name support for oc yang and support to create and push table with just the keys and no field-value data in to redis. - Addressing comments, correcting indentation and adding LAG_ID into sonic types for supporting port-channel ptype - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - workaround for VLAN_MEMBER_TABLE list level get due to translib.generateGetResponsePayload() failure - Chk for list type to create keySpec - Add checks for xpath entry in xYangSpecMap and xDbSpecMap - Changes in show port-channel command Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Data base specific key-delimiter support in transformer core - Sonic Get case - CLI skeleton support for FDB Mac - added support for sonic yang non-config db get request - added code to pass the current ygot node to the key xfmr function - added support to invoke container level key transformer - Fix table get in Traverse for App DB with ":" separator - Add sFlow YANG * Add SONiC sFlow YANG Signed-off-by: Garrick He <garrick_he@dell.com> - More changes for CVL YANG - Fill cvl KeySpec with DbName read from annotation - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - basic support for sonic-yang annotation - Enhanced transformer core to support user-defined key-delimiter/concatenater - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into cli-portChannel Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Merge pull request sonic-net#129 from project-arlo/vlan_cli_skeleton CLI skeletion for VLAN feature: config, show and its templates - Changes to remove dummy json file Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Merge branch 'transformer-phase1' into transformer-phase2 - changed the xSpecMap to xYangSpecMap for code clarity and added new file with transformer-constants - Merge pull request sonic-net#138 from project-arlo/transformer-phase2 Extend annotations for augmentations in oc-yang - Handle nested groupings for augmentation - Cleanup of the xml files - Fixed alignment of XML files - Addressing the comments mentioned - Extend annotations for augmentations in oc-yang - support for table transformer for crud and get operation - Merge pull request sonic-net#137 from project-arlo/transformer-phase2 Add the missing lines from merge conflicts - add missing lines from transforer-phase1 - CVL API for fetching dependent and ordered Redis table list - copy the misisng lines from transformer-phase1 - Fix issues in initial commit for table transformer - Initial support for table transformer - Merge pull request sonic-net#135 from project-arlo/transformer-phase1 Transformer phase1 - CVL changes for SONiC YANG - Merge remote-tracking branch 'remotes/origin/cvl_changes_sonic_yang' into cvl_enhancement - CVL changes for SONiC YANG - Add post transformer infra - sync from master into transformer-phase1 branch - CLI skeleton for Port channel Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Merge pull request sonic-net#133 from project-arlo/cvl_yang_cleanup Update Makefile - Update Makefile Add rule to compile test YANG schema - Fix for random UT failure - add the union type - Changes for supporting show command with dummy data - Updated the ygot patch file - Cleanup of unused code - Made changes to keep the patch files into single patch file - CLI skeletion for VLAN feature: config, show and its templates - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - table transformer support - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - For a Get req on individual terminal node- Fix overloaded function processing, data-type conversion and leaf-list check handling - fix the uint64 encoding, fix the ygot bug in handling the union type of leafref - Add error handling in xlate_utils.go - update broadcom license to the diff files which are created for patching ygot files - error handling and code clean-up - update broadcom license and made changes to keep the diff file in the ygot-modified directory - Merge pull request sonic-net#125 from project-arlo/cvl_yang_cleanup Cvl yang cleanup - Merge pull request sonic-net#124 from project-arlo/brcm_license Broadcom license changes - Update License statement - Updated License statement - Merge remote-tracking branch 'remotes/origin/cvl_yang_cleanup' into cvl_changes_sonic_yang - Updated new Makefile with license, copy schema from testdata/schema also. - Delete file checked in mistakenly. - Updated Makefiles - Moving unwanted CVL YANG to testdata - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - move json creation for sonic-yang to map - Add copyright/license headers (sonic-net#123) Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Add validate callback function support for acl. Children will inherit parent validate handler - DB Access Layer: Update Broadcom License - Update broadcom license - Updated License statement - update broadcom license for pyang plugin for openAPI - Update license header - Updated license statement for REST server sources - fix license header - Fixed variable scope issue while processing leaf data to redis DB format - Merge pull request sonic-net#122 from project-arlo/brcm_poc Merge BRCM fixes as of 13 Sep to master - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic Change-Id: Idd2530ddb4b875ee64cfd1755fb6f845b3a63aea - Merge branch 'broadcom_sonic' of ssh://gerrit-lvn-07.lvn.broadcom.net:29420/sonic/sonic-mgmt-framework into broadcom_sonic Change-Id: I7b885d5dbb4afe7b64162663ef9ea837ed738478 - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - provision to get data for sibling container from the module level - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Set case - leaf-list support in transformer core for OC yang - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - add the field transformer for forwarding-action - Get case - leaf-list support in Transformer core for Sonic and OC yang. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - added yang annotations - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Merge pull request sonic-net#118 from project-arlo/brcm_poc Bug Fixes from Broadcom as of 12th Sep - Merge pull request sonic-net#119 from project-arlo/master Dell Defect fixes - 13th Sep - Bugfix for creating 2 interface entries when IP is configured, and when interface comes up as L2. (sonic-net#116) - Fix: Incorrect LLDP neighbor TTL (sonic-net#117) * Remove the TTL information from CLI and GNMI output because LLDP neighbor TTL information is currently not stored in appDB. Signed-off-by: Garrick He <garrick_he@dell.com> - Fix top level delete - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic Change-Id: I1f4e8d1fb21d6460ce97ba92db0e4b3e7a2de9a4 - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Fix crash during update request to leaflist - add get-validate to validate a YANG node durin data translation back to YANG response - Adding Interface table entry with just name, before the one with ifname and IP. - Fis get leaf crash, remove unsed annotations - fix the build error - Merge pull request sonic-net#111 from project-arlo/master merge mgmt-framework bug fixes from Dell - 12th Sept - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - cleanup code to showcase overloaded methods - Fix crash for get leaf query - added unit8 yang data0type support for get-req - fix for show process not working (sonic-net#110) - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Fix for bugs 96, 97 and 107 (Speed is not displaying properly) (sonic-net#109) * Fix for not showing description when description is configured as part of #show interface command. * Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. * Fix for bugs 96, 97 and 107 * Addressed the comment to sort the speed * Change MAX_MTU to 9216 in platform_dummy file as well, since it overwrites it. - Change MAX_MTU to 9216 in platform_dummy file as well, since it overwrites it. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fix to exclude key-leaf data populating db-filed value and removed commented lines in xmfr_acl - Fix sonic get query failure - Addressed the comment to sort the speed - Fix for bugs 96, 97 and 107 - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - make common-app as default to handle acl, add the field-xfmr for acl type - modified acl-key xfmr to return integer and enhanced the get-req handling in common app. - Signature chnage for transformer functions - Merge pull request sonic-net#105 from project-arlo/master fix path in on-change subscribe code - Merge pull request sonic-net#104 from project-arlo/fix/on-change-subscribe fix path in on-change subscribe code - fix path in on-change subscribe code Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - removed mistakenly added CVL disabling in common_app.go - Initial leaf-list support - common app modifications - Merge pull request sonic-net#103 from project-arlo/master Bug-fix for crash when max mtu 9276 is configured. (sonic-net#93) - Merge pull request sonic-net#102 from project-arlo/brcm_poc CVL performance improvements and test code - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic - Initial Traverse multi DB support - enhanced transformer to handle leaf level get-req - Bug-fix for crash when max mtu 9276 is configured. (sonic-net#93) * Fix for not showing description when description is configured as part of #show interface command. * Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. - Addressed merge conflicts. - Added map-format output data for get-request - Merge pull request sonic-net#92 from project-arlo/master Display description in `show interface` command. (sonic-net#91) - For Get case added support to retrieve attributes in config conatainers that serve as the keys for list enclosing that config conatiner. eg acl-entry/config/sequenec-id - Resolved merge conflicts - Enhanced the xfmr functions, added flag for key leaf, updated get req apis to use enhanced xfmr handlers - Display description in `show interface` command. (sonic-net#91) - Fix for not showing description when description is configured as part of #show interface command. - removed commented put code for table order in xlate_from_db.go - In dbDataToYangJsonCreate() added support to fetch table order from schema ordered table list maintained per module in xDbSpecOrdTblMap - remove commented out code from transformer xfmrHandlerFunc - Fix ygot issue in transformer by propagating ygRoot from app to transformer core - Added API GetAndXlateFromDB() that clubs together genration of KeySpec and DB traversal for genric query(common app) - support to call transformer spl handler functions for get operation - Initial support for YANG extension to allow the Transformer to set the DB names - Update DB ordered map for oc yang - Modify list of tables to watch to be the list of all tables in a module/yang corresponding to incoming request, instead of just the subset of tables derived from incoming request. - Addressed issue in passing data to field transformer method, addresed issue in populating db entries in transformer methods. - Merge pull request sonic-net#85 from project-arlo/master Merge CLI pipe support from Dell - Merge pull request sonic-net#82 from project-arlo/pipe-support Pipe and Pagination support - Support to have common app registered as default/fallback app when no registration found from any other app in translib for a particular yang path - Revert "Delete klish_insert_pipe.py" This reverts commit 52aa907b1c0c2278133f4a5d9dde88680c2ddfd7. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Populate Yang model list based on models_list manifest file and sonic yang files in /usr/models/yang dir - Handle delete for top level oc acl xpath request - Really mv models models_list - Renamed file models to models_list - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added transformer config file to specify list of yang models needs to be loaded at startup - support leaf value delete for oc yang - Add missing change from master * Add missing change to fix a lldp bug from master Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'master' into pipe-support - Delete klish_insert_pipe.py src/CLI/clitree/scripts/klish_insert_pipe.py was not used. so deleting... - Added annotation for l2/config/ethertype attribute. - Remove debug flags * Remove debug flags from klish Makefile Signed-off-by: Garrick He <garrick_he@dell.com> - Undo all changes to klish-2.1.4.tgz file * Remove all changes made to klish-2.1.4.tgz file since we're using patches during buildtime. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'pipe-support' of https://github.com/project-arlo/sonic-mgmt-framework into pipe-support - Code clean-up and enhancements * Cleaned up and enhanced some code. * Add patch file to enable pipe support to klish. Signed-off-by: Garrick He <garrick_he@dell.com> - Code clean-up and enhancements * Cleaned up and enhanced some code. Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'master' into transformer-phase1 - Merge pull request sonic-net#81 from project-arlo/master sync Dell changes to broadcom - Merge pull request sonic-net#80 from project-arlo/brcm_poc Brcm bug fixes - corrected the uri for field transformer - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fixed leaf level get for oc-yang - Added error handling for system and platform components and commands. (sonic-net#78) - Update the correct input json file name for create test case - For delete case added support for deletion as per table ordering, restructured common app accordingly - Add pipe support for all show commands Signed-off-by: Garrick He <garrick_he@dell.com> - Support for pipe * Add support for pipe commands: grep, find, except Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'master' into pipe-support - Fix get request for top level container - Use "|" as delimited for CVL keys - Merge branch 'pipe-support' of https://github.com/project-arlo/sonic-mgmt-framework into pipe-support - Initial commit of pagination support in sonic CLI - Merge pull request sonic-net#79 from project-arlo/brcm_poc Sync BRCM changes to staging area - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Set case for Sonic yang - Added support for leaf-list handling in transformer - Send proper key formed for cvl yang delete case - xpath, tablename and key extraction for cvl yang - Initial commit of pagination support in sonic CLI - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fixed crash in update request - Added support for table level delete in common app - Delete case:: Handle db request create for CVL yang - Update klish code in tar file * update klish code in tar file to fix crash Signed-off-by: Garrick He <garrick_he@dell.com> - Fix: Klish crash * fix clish crash by updating Makefiles Signed-off-by: Garrick He <garrick_he@dell.com> - For CVL yang modified accessing yag entries to accessing them in yang yang schema order maintained in DirOKeys field of yang-entry generated by goyang-patch - Transformer Infra support to create a yang schema ordered DB table list for CVL yang - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - changed the value parsing in xfmr handler funtions - Merge pull request sonic-net#77 from project-arlo/rebased_intf_sort Fix for IP address validation - Bugfixes for IP validation - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into rebased_intf_sort - Fix data being overwritten to JSON response. Include print to file - Handle container level DbData creation for CVL yang to generate JSON response - Handle DB Spec creation for CVL yang case - Goyang patch to introduce "ordered by insertion" list entry in yang.Entry - Avoid using index values to identify the table and field names in cvl xpath parsing - Add support for cvl yang db KeySpec creation and filter dbData for json creation - fixed crash in app transformer special handling code, added code to create full uri with key name-value pair and enabled the field transformer handling part. - fix xpath build from uri - Initial support for leaf value retrieval in Get. Include only required field data in dbResponse - restructure acl_app.go - Get handling: Send DB data to transformer to form json response - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Modifed DB operations in common app : For CREATE operation if entry/row instance already exists then return error For UPDATE operation if entry/row instance does not exist then return error - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Enabled key, field and subtree overloaded-transformer-function exec from transformer infra - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - call transformer.XlateUriToKeySpec() from processGet instead of tranlateCreate() Reverted the siganture chnage of translateCreate() and processGet() due to above change - Modified Transformer method prototypes to pass operation type for xfmr methods. - Added db pointer argument to transformer.XlateToDb() - updated transformer function signature to include db, got and oper type. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - enabled oc yang to db map create creat request - Removed accidently added src/cvl/schema/allyangs_tree.html - Added support to pass in the operation type from apps to transformer XlatetoDB - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - common app - Added support for basic level DB operations - Add sonic-acl UT tests Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - updated cvl-yang handling for create request - XlateyangtoDB return sibilings as array of KeySpecs - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Fixed issue in handling interface binding if stage is not specified by the client in YangToDb_acl_port_bindings_xfmr xfmr method. - cvl yang get support from top-level container and added util functions - XlateUriToKeySpec: Use parent with empty table name and add children to it - corrected function siganature in common app for transformer.XlateUriToKeySpec - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - modified common app translateGet and processGet signatures - Integrate Translate yangpath to redisDB KeySpec (XlateUriToKeySpec) - part 1 - integrate translib with transformer - Added DbToYang_acl_port_bindings_xfmr method to handle db to OC conversion of port mapping to acl set - Delete duplicate XML files * Delete duplicate XML files that were moved to include directory Signed-off-by: Garrick He <garrick_he@dell.com> - Fix: Makefile * Update Makefile to add new xml files to debian package Signed-off-by: Garrick He <garrick_he@dell.com> - On change subscribe lldp (sonic-net#76) * on-change subscribe support for lldp neighbors Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Updated details of nested child table in xspec map. Support to convert top-level db-map data to output json file, for get request. - In common app added support to generate Tables to Watch dynamically - fix: LLDP CLI traceback (sonic-net#75) * Fix a traceback seen when using lldp show CLI and there are no LLDP neighbors configured. Signed-off-by: Garrick He <garrick_he@dell.com> - Modified acl xfmr methods prefix Read_/Write_ to YangToDb_/DbToYang_ - Added PathInfo to Common App structure - Updated xdbspec to include yang-xpath info and modified db-xpath creation only for valid types - Support for update, replace and delete request - Added support to get child table name and corrected the key gen from uri - Changing subscribe from default to on-change. (sonic-net#74) * Support for on-change subscribe instead of default sample. * Changing ptype as 1 to OnChange - Corrected the src/cvl/schema/Makefile and fixed a commented out line - Changing ptype as 1 to OnChange - Support for on-change subscribe instead of default sample. - Build tool chain changes to generate : 1.) Swagger end points for Sonic/CVL yangs 2.) ocbindings/ygot bindings for Sonic/CVL yang - Initial changes for transformer methods prototypes and ACL transformer method implementation. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Changed the function names and file name - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Validating Interface for on-change subscribe and cleanup. (sonic-net#73) * Validating interface for on-change subscribe. * Cleanup of the code, - Extend goyang to generate template annotation file - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Transformer spec enhancement, oc yang & cvl yang incoming request handler. - Initial commit - Common app registration - Get support for interface state counters (sonic-net#70) - Initial Commit * Add all pipe related xml files into clitree * Add executable permission to build script for pipe support Signed-off-by: Garrick He <garrick_he@dell.com> - Merge branch 'master' into transformer-phase1 - Merge pull request sonic-net#72 from project-arlo/brcm_poc sync brcm changes to staging area - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Excluded annotations directory from ocbindings Corrected path in acl annotations - Fixed issue in passing the yang files list to transformer LoadYangModules method. - Moved openconfig-acl-annot.yang to annotations directory and added Makefile rule to have it installed on target - Added initial version of deviations for openconfig-acl covering Set cases. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added sonic-extensions Applied sonic-extensions to openconfig-acl.yang - Addressed compilation error. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Imported required packages and changed the package name. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added check in XlateFuncBind function to avoid updating the existing entry. - Removed dbg print and renames the filename. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added infrastructure to populate xlate function map and invoke xfmr functions defined by applications using single interface. - Added code to dynamically create tranformer-spec-map having yang to db translation table. - Update yang files path on target, Defined yang path in transformer package. - Merge branch 'master' into transformer-phase1 - Adding yang models as part of installer. - add xslate code, yang extension etc. - load the yang to dynamically build in-memory metadata tree
* orchagent: Changing select time out to 1s * Add define SELECT_TIMEOUT
following PR's : Implement cbgpPeer2State in CiscoBgp4MIB (#119) Fix index nodes in LLDP tables whose access right is not-accessible. (#112) Fix quagga/FRR parser on IPv6 BGP sessions (#122) [lint] Fix some syntax errors or warnings (#127) Update README.md: Add lgtm badges (#128) [Multi-asic]: Support multi-asic platform (#126) Simplify test code (#132) [Multi-asic]: Namespace support for LLDP and Sensor tables (#131) Fix undefined variable and warning message (#134) Fix SNMP AgentX socket connection timeout when using Namespace.get_all() (#140) [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (#141) Fix LGTM reported alert of PR#141 (#142)
* [brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (sonic-net#4916) Fix for Copp Rules not having Policer Rate-Limit applied. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com> * [nephos]: upgrade Nephos SAI version to c749df (sonic-net#4814) Verified with Nephos nps8365 based platform Accton AS7116-54x. * "[config]: Multi ASIC loopback changes (sonic-net#4895) Resubmitting the changes for (sonic-net#4825) with fixes for sonic-bgpcdgd test failures Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com> * [mellanox]: Support warm reboot on MSN4700 (sonic-net#4910) * [Submodule Update] Sonic-platform-common [sfp_base] Update return value documentation of channel-specific methods (sonic-net#98) [SfpBase] Fix key name typo in docstring (sonic-net#99) [sfp] Tweak key names of some transceiver info fields (sonic-net#97) [sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as in SfpUtilBase (sonic-net#96) * [Submodule update] sonic-platform-daemons [xcvrd] Update key names in 'get_media_settings_value()' (sonic-net#63) [xcvrd] Tweak some transceiver info key names (sonic-net#62) * [Submodule update] sonic-utilities [sfpshow][mock_state_db] Tweak key names of some transceiver info fields (sonic-net#958) [config] Fix syntax error (sonic-net#966) [config] Fix indentation level in _get_disabled_services_list() (sonic-net#965) * [Submodule Update] sonic-swss [aclorch] Use IPv6 Next Header internally for protocol number on MLNX platform (sonic-net#1343) * [Submodule Update] Add support for attribute capability query in lua script (sonic-net#362) * Cherry-pick was not clean. Fixing it. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com> * [telemetry] Call sonic-cfggen Once (sonic-net#4901) sonic-cfggen call is slow and this is taking place in the SONiC boot up process. The change uses templates to assemble all required vars into single template file. With this change, telemetry now calls once into sonic-cfggen. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> * [mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917) * [mgmt docker] move pycryptodome installation to the end of the docker building Signed-off-by: Ying Xie <ying.xie@microsoft.com> * pin down the version to current: 3.9.8 * comment * Add support for bcmsh and bcmcmd utlitites in multi ASIC devices (sonic-net#4926) Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com> This PR has changes to support accessing the bcmsh and bcmcmd utilities on multi ASIC devices Changes done - move the link of /var/run/sswsyncd from docker-syncd-brcm.mk to docker_image_ctl.j2 - update the bcmsh and bcmcmd scripts to take -n [ASIC_ID] as an argument on multi ASIC platforms * [caclmgrd] Improve code reuse (sonic-net#4931) Improve code reuse in `generate_block_ip2me_traffic_iptables_commands()` function. * [Submodule Update] sonic-utilities Intf table migration for APP_DB entries during warmboot (sonic-net#980) [Multi NPU] Time Improvements to the config reload/load_minigraph commands (sonic-net#917) * [Submodule Update] sonic-py-swssdk [MultiDB]: use python class composition to avoid confusion in base class (sonic-net#74) * [Submodule update] sonic-snmpagent. Movent to 201911 Branch with with following PR's : Implement cbgpPeer2State in CiscoBgp4MIB (sonic-net#119) Fix index nodes in LLDP tables whose access right is not-accessible. (sonic-net#112) Fix quagga/FRR parser on IPv6 BGP sessions (sonic-net#122) [lint] Fix some syntax errors or warnings (sonic-net#127) Update README.md: Add lgtm badges (sonic-net#128) [Multi-asic]: Support multi-asic platform (sonic-net#126) Simplify test code (sonic-net#132) [Multi-asic]: Namespace support for LLDP and Sensor tables (sonic-net#131) Fix undefined variable and warning message (sonic-net#134) Fix SNMP AgentX socket connection timeout when using Namespace.get_all() (sonic-net#140) [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (sonic-net#141) Fix LGTM reported alert of PR#141 (sonic-net#142) * [bgpcfgd] - Fix a key error during delete (sonic-net#4946) * [Submodule Update] sonic-utilities Fix the None Type Exception when Interface Table does not exist (cold boot) as part of db migration (sonic-net#986) * Fix the below frr start.sh jija2 exception in 201911 image syslog: (sonic-net#4958) File "/usr/local/bin/sonic-cfggen", line 380, in <module> main() File "/usr/local/bin/sonic-cfggen", line 354, in main print(template.render(data)) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in render self.environment.handle_exception() File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "<template>", line 1, in top-level template code File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 471, in getattr return getattr(obj, attribute) jinja2.exceptions.UndefinedError: 'WARM_RESTART' is undefined Signed-off-by: Abhishek Dosi <abdosi@microsoft.com> * [Submodule update] sonic-snmpagent [201911] Fix interface counters in RFC1213 (sonic-net#144) * [docker-ptf] Add support for spytest to ptf container (sonic-net#4410) - Install apt and pip dependencies - Define traffic generator service Signed-off-by: Danny Allen <daall@microsoft.com> * [arista] update Arista drivers submodules (sonic-net#4967) Merge most of the changes that recently made it to master. This will be the last such merge operation and future commits will only cherry-pick fixes and targeted features. Major fixes and features, - reboot cause enhancement with more hardware reboot cause reporting - fix reboot cause parsing issue with 201811 release - fix get_change_event logic - fix error message on missing sysfs entry by our plugins - final piece of the platform refactors for fan and sensor reporting through the platform API * [201911][devices] Update SFP keys to align with new standard (sonic-net#4976) Align SFP key names with new standard defined in sonic-net/sonic-platform-common#97 - hardwarerev -> hardware_rev - serialnum -> serial - manufacturename -> manufacturer - modelname -> model - Connector -> connector * [201911][sonic-telemetry] Update submodule (sonic-net#4987) Point submodule to new 201911 branch of sonic-telemetry and update pointer to the current HEAD of the 201911 branch * src/sonic-telemetry aaa9188...01b5365 (1): > [testdata] Update SFP keys to align with new standard (sonic-net#39) * [201911][sudoers] Add `sonic_installer list` to read-only commands (sonic-net#4997) `sonic_installer list` is a read-only command. Specify it as such in the sudoers file. This will also ensure the new `show boot` command, which calls `sudo sonic_installer list` under the hood doesn't fail due to permissions. * [caclmgrd] Filter DHCP packets based on dest port only (sonic-net#4995) Co-authored-by: abdosi <58047199+abdosi@users.noreply.github.com> Co-authored-by: gracelicd <39251567+gracelicd@users.noreply.github.com> Co-authored-by: arlakshm <55814491+arlakshm@users.noreply.github.com> Co-authored-by: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Co-authored-by: Abhishek Dosi <abdosi@microsoft.com> Co-authored-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Co-authored-by: Ying Xie <yxieca@users.noreply.github.com> Co-authored-by: Joe LeVeque <jleveque@users.noreply.github.com> Co-authored-by: Prince Sunny <prince.sunny@microsoft.com> Co-authored-by: Danny Allen <daall@microsoft.com> Co-authored-by: Samuel Angebault <staphylo@arista.com>
* src/sonic-platform-daemons 73e6ddd...4da0bfc (3): > Align style with PEP8 standards (#128) > Support python3 for xcvrd, psud, thermalctld and syseepromd (#132) > Import mock psu object for testing LED (#119)
Fix #119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Fix #119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
…net#6408) Fix sonic-net#119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
…net#6408) Fix sonic-net#119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Fix #119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
still seeing https://dev.azure.com/sonicswitch/be1b070f-be15-4154-aade-b1d3bfb17054/_apis/build/builds/1790/logs/33 however, it seems admindir is not changed, not sure if it is dpkg-buildpackage specific. |
Fix #119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
looks like dpkg-buildpackage is calling dpkg-shlibdeps, and the admindir is not proprogated to the sub-process. |
Signed-off-by: Danny Allen <daall@microsoft.com>
Is this issue fixed? @lguohan |
Updating for completeness on how mock objects need to be imported ``` mprabhu@565bc0455e84:/sonic/src/sonic-platform-daemons/sonic-psud$ python2 setup.py test running pytest running egg_info writing sonic_psud.egg-info/PKG-INFO writing top-level names to sonic_psud.egg-info/top_level.txt writing dependency_links to sonic_psud.egg-info/dependency_links.txt reading manifest file 'sonic_psud.egg-info/SOURCES.txt' writing manifest file 'sonic_psud.egg-info/SOURCES.txt' running build_ext ==================================================================================== test session starts ===================================================================================== platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 rootdir: /sonic/src/sonic-platform-daemons/sonic-psud, inifile: pytest.ini plugins: cov-2.6.0 collected 3 items tests/test_psud.py ... [100%] ---------- coverage: platform linux2, python 2.7.16-final-0 ---------- Name Stmts Miss Cover ---------------------------------- scripts/psud 355 216 39% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================================================================================== 3 passed in 0.16 seconds ================================================================================== ```
* Use persistent socket for vtysh_helper Implement socket reconnection Refine password prompt handling harden the recv check Implement timeout * Handle unexpected recv data * Add new line * Implement for FRR * (refactor)
Update sonic-py-swsssdk submodule to include below commits: 96c0590 [port_util] Fix issue: port_util.get_vlan_interface_oid_map should not raise exception when DB has not RIF data (#117) 96da8b9 [build] pin pytest-azurepipelines version (#119) Signed-off-by: Suvarna Meenakshi <sumeenak@microsoft.com>
Getting this when building vs: Any ideas? |
Change error message when conflicting Vlan ID is used (#119) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
* init * fix
…atically (#15522) src/sonic-telemetry * a4bfafe - (HEAD -> 202205, origin/202205) Merge pull request #119 from zbud-msft/202205_gnmi_get_log (5 hours ago) [Ying Xie] * 1b49409 - Merge branch '202205' into 202205_gnmi_get_log (7 days ago) [Zain Budhwani] * b478159 - Cherry pick commit 4a8964a (#104) (7 days ago) [Zain Budhwani]
…utomatically (#18475) #### Why I did it src/sonic-host-services ``` * e93494c - (HEAD -> master, origin/master, origin/HEAD) Update sonic-host-services-data.determine-reboot-cause.service (#119) (2 days ago) [Xincun Li] * 15762a5 - Fix UT test data due to timestamp break. (#117) (4 days ago) [Feng-msft] * d53f431 - [caclmgrd]Fix bfd and vxlan acl rules programming in acl table update scenario (#114) (13 days ago) [Sudharsan Dhamal Gopalarathnam] * f2dbf25 - Add unittest for caclmgrd default deny rule (#113) (2 weeks ago) [Zhijian Li] * bfa06c7 - Change dependency option to fix buildimage issue. (#110) (3 weeks ago) [Feng-msft] * ba78bdb - Fix hostcfgd crash when delete entire config table. (#106) (4 weeks ago) [Hua Liu] * 6130886 - Update ProcessStats query by using API instead of parsing ps command. (#103) (4 weeks ago) [Feng-msft] ``` #### How I did it #### How to verify it #### Description for the changelog
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
dh_perl -plibnl-3-200-udeb
dh_shlibdeps -plibnl-3-200-udeb
dpkg-query: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory
dpkg-shlibdeps: error: dpkg-query --control-path libc6:amd64 shlibs gave error exit status 2
dh_shlibdeps: dpkg-shlibdeps -Tdebian/libnl-3-200-udeb.substvars -tudeb debian/libnl-3-200-udeb/lib/libnl-3.so.200.22.0 returned exit code 2
/usr/share/cdbs/1/rules/debhelper.mk:277: recipe for target 'binary-predeb-IMPL/libnl-3-200-udeb' failed
make[2]: *** [binary-predeb-IMPL/libnl-3-200-udeb] Error 2
make[2]: Leaving directory '/var/build/workspace/mellanox/buildimage-mlnx-all-pr/src/libnl3/libnl3'
The text was updated successfully, but these errors were encountered: