-
Notifications
You must be signed in to change notification settings - Fork 72
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
[swsscommon] Add VS tests to swss-common build jobs #148
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Danny Allen <daall@microsoft.com>
looks like there is an issue: https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/jenkins_testing/job/swss-test/17/console investigating |
There is one point here .. So there are intermodular dependencies between sonic-swss and sonic-swss-common now. For eg: redefinition on DBConnector constructor in sonic-swss/tests/mock_tests/mock_dbconnector.cpp. |
We do. I added this check here so that Jenkins can publish the latest swss-common package without the VS tests passing 100%:
I'm not sure if this is enough. Let's discuss more tomorrow before going forward with this. |
e187ae2
to
7f37a26
Compare
bde8e6c
to
2295d0e
Compare
Signed-off-by: Danny Allen daall@microsoft.com
It is possible for changes in swss-common to have unexpected side effects that impact sairedis and swss. The best way to avoid merging such changes is to 1) build sairedis and swss against swss-common, and 2) run the virtual switch tests to make sure that swss-common is still operating as expected with the change.
This PR adds 1) and 2) to the build process for swss-common. This should help avoid merging breaking changes to the swss-common repo and keep the upstream PR tests behaving normally.
Blocked: discussions/testing ongoing.