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

[Refactor] Optimize store layer error code return and instance query cache #1137

Merged
merged 37 commits into from Jun 1, 2023

Conversation

chuntaojun
Copy link
Member

@chuntaojun chuntaojun commented May 24, 2023

Please provide issue(s) of this PR:
Fixes #

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • ApiServer
  • Auth
  • Configuration
  • Naming
  • HealthCheck
  • Metrics
  • Docs
  • Installation
  • Performance and Scalability
  • Test and Release

Please check any characteristics that apply to this pull request.

  • Does not have any user-facing changes. This may include API changes, behavior changes, performance improvements, etc.

@polaris-test-bot
Copy link

polaris-test-bot commented May 24, 2023

2023-05-24 23:02:00: =========TEST START==========
2023-05-24 23:04:34: =========TEST START==========
2023-05-24 23:38:36: [STANDALONE VERSION]PR autotest FAILED! We executed 33 test cases and 30 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-24 23:38:40: [CLUSTER VERSION] PR autotest FAILED! We executed 21 test cases and 18 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-24 23:38:43: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-25 10:19:35: =========TEST START==========
2023-05-25 10:46:44: [STANDALONE VERSION]PR autotest FAILED! We executed 29 test cases and 25 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-25 10:46:47: [CLUSTER VERSION] PR autotest FAILED! We executed 21 test cases and 18 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-25 10:46:51: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-25 17:27:27: =========TEST START==========
2023-05-25 17:59:29: [STANDALONE VERSION]PR autotest FAILED! We executed 27 test cases and 23 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-25 17:59:33: [CLUSTER VERSION] PR autotest FAILED! We executed 21 test cases and 18 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-25 17:59:36: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-25 22:17:48: =========TEST START==========
2023-05-25 22:46:04: [STANDALONE VERSION]PR autotest FAILED! We executed 29 test cases and 25 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-25 22:46:08: [CLUSTER VERSION] PR autotest FAILED! We executed 21 test cases and 18 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-25 22:46:13: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-26 09:20:12: =========TEST START==========
2023-05-26 09:21:02: 构建失败 !本次自动化测试将终止!失败原因:bash ./release/build.sh v1.17.2
2023-05-26 10:40:22: =========TEST START==========
2023-05-26 12:26:54: =========TEST START==========
2023-05-26 12:53:10: [STANDALONE VERSION]PR autotest FAILED! We executed 33 test cases and 31 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-26 12:53:14: [CLUSTER VERSION] PR autotest FAILED! We executed 21 test cases and 18 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-26 12:53:17: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-26 16:47:44: =========TEST START==========
2023-05-26 17:08:57: [STANDALONE VERSION]PR autotest FAILED! We executed 26 test cases and 23 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-26 17:09:00: [CLUSTER VERSION] PR autotest FAILED! We executed 20 test cases and 17 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-26 17:09:04: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-26 18:22:55: =========TEST START==========
2023-05-26 18:25:06: =========TEST START==========
2023-05-26 20:47:21: =========TEST START==========
2023-05-26 20:52:02: =========TEST START==========
2023-05-26 21:03:24: [STANDALONE VERSION]PR autotest FAILED! We executed 0 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-26 21:03:28: [CLUSTER VERSION] PR autotest FAILED! We executed 0 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-26 21:03:32: [KUBENETES VERSION]PR autotest FAILED! We executed 0 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-27 00:14:01: =========TEST START==========
2023-05-27 00:42:06: [STANDALONE VERSION]PR autotest FAILED! We executed 13 test cases and 7 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-27 00:42:09: [CLUSTER VERSION] PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-27 00:42:13: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-27 23:48:56: =========TEST START==========
2023-05-28 00:13:14: [STANDALONE VERSION]PR autotest FAILED! We executed 13 test cases and 8 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-28 00:13:17: [CLUSTER VERSION] PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-28 00:13:21: [KUBENETES VERSION]PR autotest FAILED! We executed 5 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 10:21:09: =========TEST START==========
2023-05-31 10:21:49: =========TEST START==========
2023-05-31 10:32:40: =========TEST START==========
2023-05-31 11:02:37: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 42 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-31 11:02:41: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-31 11:02:44: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 11:13:10: =========TEST START==========
2023-05-31 11:47:22: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 43 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-31 11:47:26: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-31 11:47:30: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 12:07:08: =========TEST START==========
2023-05-31 12:35:03: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 42 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-31 12:35:07: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 34 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-31 12:35:10: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 16:50:06: =========TEST START==========
2023-05-31 17:18:26: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 42 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-31 17:18:30: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-31 17:18:34: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 18:00:39: =========TEST START==========
2023-05-31 22:38:13: =========TEST START==========
2023-05-31 23:07:56: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 42 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-05-31 23:08:00: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-05-31 23:08:04: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 36 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-05-31 23:33:31: =========TEST START==========
2023-05-31 23:55:34: =========TEST START==========
2023-06-01 00:24:26: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 41 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-06-01 00:24:29: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 34 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-06-01 00:24:33: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-06-01 09:24:58: =========TEST START==========
2023-06-01 10:55:31: =========TEST START==========
2023-06-01 11:08:36: =========TEST START==========
2023-06-01 11:37:48: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 42 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-06-01 11:37:52: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 38 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-06-01 11:37:55: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 38 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-06-01 14:58:25: =========TEST START==========
2023-06-01 17:06:53: =========TEST START==========
2023-06-01 17:39:05: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 43 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-06-01 17:39:08: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-06-01 17:39:12: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 36 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html
2023-06-01 18:13:30: =========TEST START==========
2023-06-01 18:54:14: [STANDALONE VERSION]PR autotest FAILED! We executed 47 test cases and 44 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/qta-report.html and https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/sta/ratelimit/qta-report.html
2023-06-01 18:54:18: [CLUSTER VERSION] PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/clu/qta-report.html
2023-06-01 18:54:22: [KUBENETES VERSION]PR autotest FAILED! We executed 39 test cases and 35 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1363316169/k8s/qta-report.html

@chuntaojun chuntaojun changed the title Feat xds rls [Refactor] Optimize store layer error code return and instance query cache May 24, 2023
@chuntaojun chuntaojun linked an issue May 26, 2023 that may be closed by this pull request
@chuntaojun chuntaojun closed this May 26, 2023
@chuntaojun chuntaojun reopened this May 26, 2023
@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Merging #1137 (b8699fd) into main (90b39c8) will decrease coverage by 0.22%.
The diff coverage is 50.32%.

@@            Coverage Diff             @@
##             main    #1137      +/-   ##
==========================================
- Coverage   57.42%   57.21%   -0.22%     
==========================================
  Files         211      211              
  Lines       38393    38595     +202     
==========================================
+ Hits        22048    22082      +34     
- Misses      13722    13869     +147     
- Partials     2623     2644      +21     
Impacted Files Coverage Δ
auth/defaultauth/default.go 100.00% <ø> (ø)
auth/defaultauth/group.go 72.63% <0.00%> (ø)
auth/defaultauth/strategy.go 67.23% <0.00%> (+0.08%) ⬆️
auth/defaultauth/user.go 61.63% <0.00%> (-0.25%) ⬇️
auth/defaultauth/utils.go 70.70% <ø> (+3.39%) ⬆️
common/batchjob/config.go 0.00% <ø> (ø)
config/config_file_group.go 38.41% <0.00%> (ø)
config/config_file_release.go 40.05% <0.00%> (ø)
config/config_file_release_history.go 52.46% <0.00%> (ø)
service/batch/client.go 74.26% <0.00%> (ø)
... and 28 more

... and 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@chuntaojun chuntaojun merged commit 258b853 into polarismesh:main Jun 1, 2023
6 of 9 checks passed
@chuntaojun chuntaojun added this to the v1.17.2 milestone Jun 14, 2023
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.

北极星配置中心文件内容2W字符限制
2 participants