Open RolandMa1986 opened 3 years ago
Thanks for reaching out.
IMO, the unstable test may be introduced by https://github.com/kubesphere/kubesphere/pull/3944, but I'm not sure. You were supposed to debug the test with your changed codes.
@JohnNiang First of all, It not related to kubesphere/kubesphere#3944. When checking the details, you can found that we upgraded protobuf in kubesphere/kubesphere#3944. but the UT won't call any protobuf related functions. All the UT is using fake clients. Secondly, It's only happened one time in the pipeline. The same commit triggers 2 builds, but one successfully and another fails. When I force to push the commit again with the same changes. Both Go kubesphere/kubesphere#2605 and BuildMultiArch kubesphere/kubesphere#81 build successfully .
BTW, I never reproduced locally.
It looks more like an environmental issue or race condition. rather than a new issue introduced by kubesphere/kubesphere#3944.
Regards, Roland
@RolandMa1986
Thanks for your correction. We will pay attention to this issue later.
/cc @kubesphere/sig-devops
@RolandMa1986: The label(s) area/devops
cannot be applied, because the repository doesn't have them.
Describe the Bug
TestAddCredentialFinalizers UT randomly fails.
ref: https://github.com/kubesphere/kubesphere/runs/2771946724?check_suite_focus=true
Versions Used KubeSphere: 3.1.0 Kubernetes: (If KubeSphere installer used, you can skip this)
Environment How many nodes and their hardware configuration:
For example: CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g (and other info are welcomed to help us debugging)
How To Reproduce
Expected behavior UT test should always pass.
/kind bug /area devops /cc @kubesphere/devops-admin