-
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
[sonic-py-swsssdk][sonic-snmpagent][sonic-utilities] Update submodules #5849
Conversation
looks like test failure, please check. |
@qiluo-msft: It looks like a problem in swsssdk. Can you please take a look?
|
Could you also advance sonic-snmpagent/sonic-utilities? Recent code should fixed it. |
@madhanmellanox: When updating the sonic-utilities submodule here,
|
@jleveque Looks like the workspace is not created afresh so the /sonic/src/sonic-utilities/tests/sku_create_input/Mellanox-SN2700-D48C8_NEW/ is already created during previous run of this test script and it has to be removed first. Since this is test Python script to test Sku Creator tool, I can remove this folder first, if it already exists. |
@madhanmellanox: I think it makes sense for the test script to first remove the new SKU directory, if it exists, before running the tests. Can you please open a PR to take care of this? |
@jleveque I pulled a new sonic-utilities repo and trying to address the "folder already exists issue" while running sku creator tool pytest. But, when I try to run the pytest myself and verify I am getting the following error. Is it because of tests folder instead of sonic-utilities-tests folder. I have never seen this before. It is reporting sonic-py-common cannot be imported. Do you see this issue also? madhan@arc-build-server:/builds2/madhan/skuremoveoutdir1108/sonic-utilities$ sudo pytest -v sku_create_test.py -s |
@madhanmellanox: I do not see this issue. Is your build environment set up properly? sonic_py_common is a dependency, and will get build and installed in the build environment (like the slave container) when you attempt to build the sonic-utilities target. |
Retest this please |
Retest mellanox please |
@qiluo-msft: vsimage build is failing. Sanity check reports snmp-subagent is exited. Can you please take a look?
|
Retest mellanox please |
sonic-net#5849) Submodule updates include the following commits. Also adding sonic-swsscommon build dependencies where necessary. * src/sonic-py-swsssdk 1ea30d2...9d9f0c6 (1): > [SonicV2Connector] make decode_responses=True as default, so python2 application need no code change when migrated to python3(sonic-net#93) * src/sonic-snmpagent 6e4a796...57e54d9 (3): > Interact with Redis by str instead of bytes, migrate to SonicV2Connector with `decode_responses=True` (sonic-net#171) > Add a test case for LLDP_LOC_CHASSIS.lldp_loc_man_addr has only one IPv6 address (sonic-net#167) > [LLDP]: Update init_db to load global database config (sonic-net#166) * src/sonic-utilities acfa824...b693cf6 (11): > Remove SKU create pytest output directory before execution of the script (sonic-net#1226) > [show][techsupport][multi-ASIC] Add support to collect tech support on multi ASIC platform (sonic-net#1193) > [show] Fix `show ip bgp sum` (sonic-net#1194) > [sonic_sku_create] Move tests from sonic-utilities-tests/ folder to tests/ folder (sonic-net#1222) > Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (sonic-net#1217) > Copy missing values from INIT_CFG to config_db as part of db_migration task (sonic-net#1209) > [connect][clear] Support --devicename option for connect/clear line commands (sonic-net#1214) > [consutil][show] Remove root need from show line command (sonic-net#1218) > [Mellanox] SKU creator Tool (sonic-net#1163) > SONiC installer - fix string formatting during image type check (sonic-net#1197) > [show/fgnhg.py] Fix whitespace issues (sonic-net#1211)
Submodule updates include the following commits. Also adding sonic-swsscommon build dependencies where necessary.
src/sonic-py-swsssdk 1ea30d2...9d9f0c6 (1):
src/sonic-snmpagent 6e4a796...6b94ec3 (4):src/sonic-snmpagent 6e4a796...57e54d9 (3):
src/sonic-utilities acfa824...b693cf6 (11):