[dockers]: Upgrade SNMP docker to stretch build#2620
[dockers]: Upgrade SNMP docker to stretch build#2620qiluo-msft merged 14 commits intosonic-net:masterfrom
Conversation
|
mistakenly closed it. #Closed |
|
Why include src/sonic-platform-common? #Closed |
@qiluo-msft , I made some changes in src/sonic-platform-common. Those are merged in azure/master. I need those changes during build to test. #Closed |
|
@lguohan , I reverted back the snmpd version to 5.7.3+dfsg-1.5 as discussed.However, I am unable to build to libsnmp-base_5.7.3+dfsg-1.5_all.deb as libssl1.0-dev got removed during "sonic-slave-stretch" build. Need your help here. |
|
Could you resolve the conflict first? #Closed |
resolved. |
|
In reply to: 479689169 [](ancestors = 479689169) |
@qiluo-msft , Yes, I already raised the PR and it got merged into sonic-platform-common master branch. |
|
@qiluo-msft @lguohan kindly review it and let me know if I have to do anything else from my side. |
|
retest this please |
@lguohan, As per log in test case below, docker-snmp-sv2 got built successfully on buildimage-brcm-all-pr. But it got failed for vs test pr build. I believe vs test pr build is based on debian jessie as per DockerFile. So, It's trying to build libsnmp-base_5.7.3+dfsg-1.7+deb9u1_all.deb on debian jessie. Do you think we should have a separate Dockerfile for docker-sonic-vs stretch build? |
qiluo-msft
left a comment
There was a problem hiding this comment.
Please also fix the build checkers.
|
please upgrade vs docker to stretch. |
|
Offline discussed with @zhenggen-xu , the solution should be use the same version of snmpd as Jessie, and hopefully pass all the build checkers. |
* [dockers]: Upgrade SNMP docker to stretch build * Removed patch-> 0003-CHANGES-BUG-2743-snmpd-crashes-when-receiving-a-GetN.patch * update platform-common submodule * adding PyYAML package to stretch dockerfile * Installing redis package via pip in stretch dockerfile * again updating platform-common submodule * revert back the snmpd version to 5.7.3+dfsg-1.5 * upgrading the snmpd version to 5.7.3+dfsg-1.7+deb9u1 with openssl backport support * update sonic-snmpagent submodule * purge libdpkg-perl package in Dockerfile * revert back the snmpd version to 5.7.3+dfsg-1.5 * minor change in series file
Signed-off-by: Sangita Maity samaity@linkedin.com
- What I did
Move SNMP to stretch based. Requires below two pull requests to build SNMP Docker successfully.
- How I did it
Docker moved to stretch build.
- How to verify it
BUILD SERVER
And all the debian packages of the stretch version required for snmp->
Sonic Switch