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

[Enhancement][Java Client] Unit Tests fails sometimes #2843

Open
junw-33455432 opened this issue Nov 21, 2023 · 4 comments
Open

[Enhancement][Java Client] Unit Tests fails sometimes #2843

junw-33455432 opened this issue Nov 21, 2023 · 4 comments
Assignees
Labels

Comments

@junw-33455432
Copy link
Contributor

Java Client Unit Test is not stable, it fails on any ubuntu environment which GItHub Actions provided and may fail sometimes in Microsoft Windows enviroment.

@InaSong InaSong changed the title Java Client Unit Tests fails sometimes [Enhancement][Java Client] Unit Tests fails sometimes Nov 21, 2023
@huihuiw01
Copy link
Contributor

@junw-33455432 Please provide the failure details, which cases fail.

@junw-33455432
Copy link
Contributor Author

@huihuiw01 Please refer to https://github.com/vmware/singleton/actions/runs/6938616428/job/18874632916 , most time the following test case fails
com.vmware.vip.i18n.TranslationMessageTest > testNamedArgs FAILED

@huihuiw01
Copy link
Contributor

huihuiw01 commented Jan 3, 2024

I reviewed the failed case, looks like no problem, and can run successfully at my local. Looks like there is something wrong with the ut run environment on github, because the failed case is not fixed, please refer to below link about the same PR's ut result:

https://github.com/vmware/singleton/actions/runs/7329156012/job/19958431397?pr=2940

https://github.com/vmware/singleton/actions/runs/7329156012/job/20117919603?pr=2940

And sometimes the smoke test failed:
https://github.com/huihuiw01/singleton/actions/runs/7329051478/job/19958213989

This issue blocks java client PR merge, @junw-33455432 Could you help take a look again?

@junw-33455432
Copy link
Contributor Author

I reviewed the failed case, looks like no problem, and can run successfully at my local. Looks like there is something wrong with the ut run environment on github, because the failed case is not fixed, please refer to below link about the same PR's ut result: https://github.com/vmware/singleton/actions/runs/7329156012/job/19958431397?pr=2940

https://github.com/vmware/singleton/actions/runs/7329156012/job/20117919603?pr=2940

And sometimes the smoke test failed: https://github.com/huihuiw01/singleton/actions/runs/7329051478/job/19958213989

The Unit Test/Smoke Test running result seems not stable, to resolve these Unit Test/Smoke Test failures, you just re-run the failure step, it will pass after some re-run. I also tried different type JDK and OS, they have same behavior. If nothing we can do for now, let's leave it as current status as it's not a blocking issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants