Skip to content
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-slave]: Add gmock for sonic-swss-common tests #8950

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

donNewtonAlpha
Copy link
Contributor

Signed-off-by: Don Newton don@opennetworking.org

Why I did it

Sonic-swss-common requires gmock for staged unit tests

How I did it

Installed dependency in sonic-buster-build docker file

How to verify it

rebuild the build container

@donNewtonAlpha
Copy link
Contributor Author

@lguohan the 2 tests that are failing are unlikely caused by this change. Is there anyway to push this forward? It will ultimately block a PR that will go into sonic-swss-common for the PINs integration.

bocon13
bocon13 previously approved these changes Oct 22, 2021
@bocon13
Copy link
Contributor

bocon13 commented Oct 22, 2021

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 8950 in repo Azure/sonic-buildimage

yxieca
yxieca previously approved these changes Oct 27, 2021
@yxieca
Copy link
Contributor

yxieca commented Oct 28, 2021

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

Signed-off-by: Don Newton <don@opennetworking.org>
@bocon13
Copy link
Contributor

bocon13 commented Oct 28, 2021

Rebased to latest master to retrigger test run

@lguohan lguohan changed the title Add gmock for sonic-swss-common tests [sonic-slave]: Add gmock for sonic-swss-common tests Oct 28, 2021
@lguohan lguohan merged commit 51c9c98 into sonic-net:master Oct 28, 2021
@bocon13 bocon13 deleted the add-gtest branch October 28, 2021 19:15
@bocon13
Copy link
Contributor

bocon13 commented Nov 18, 2021

@lguohan @yxieca Please help us backport this to 202106 and 202012.

Currently all active branches share the same Docker tag:
sonicdev-microsoft.azurecr.io:443/sonic-slave-buster:latest

Longer term, we should fix this, but for now, this is causing trouble for PINS. Specifically, if the 202012 container is the most recently pushed, we are missing gmock.

There should be no harm/risk associated with backporting this change.

Thanks!

xumia pushed a commit to xumia/sonic-buildimage-1 that referenced this pull request Oct 20, 2022
Sonic-swss-common requires gmock for staged unit tests

Signed-off-by: Don Newton <don@opennetworking.org>
xumia added a commit that referenced this pull request Oct 25, 2022
Why I did it
Cherry-pick from #8950

Sonic-swss-common requires gmock for staged unit tests

How I did it
Installed dependency in sonic-buster-build docker file

How to verify it
rebuild the build container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants