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

query unhealth instance #971

Merged

Conversation

movebean
Copy link
Contributor

@movebean movebean commented Mar 1, 2023

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

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 Mar 1, 2023

2023-03-01 18:08:43: =========TEST START==========
2023-03-01 18:09:10: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-02 13:09:05: =========TEST START==========
2023-03-02 13:09:32: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-02 14:54:16: =========TEST START==========
2023-03-02 14:54:45: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-02 15:08:07: [STANDALONE VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/sta/qta-report.html
2023-03-02 15:08:11: [CLUSTER VERSION] PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/clu/qta-report.html
2023-03-02 15:08:15: [KUBENETES VERSION]PR autotest FAILED! We executed 20 test cases and 0 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/k8s/qta-report.html
2023-03-03 14:15:47: =========TEST START==========
2023-03-03 14:16:12: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-03 14:16:38: 构建失败 !本次自动化测试将终止!失败原因:bash ./release/build.sh v1.14.0
2023-03-03 14:17:27: =========TEST START==========
2023-03-03 14:17:52: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-03 14:26:34: =========TEST START==========
2023-03-03 14:27:00: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-03 14:42:26: [STANDALONE VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/sta/qta-report.html
2023-03-03 14:42:30: [CLUSTER VERSION] PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/clu/qta-report.html
2023-03-03 14:42:33: [KUBENETES VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/k8s/qta-report.html
2023-03-03 16:04:33: =========TEST START==========
2023-03-03 16:04:59: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-03 16:19:10: [STANDALONE VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/sta/qta-report.html
2023-03-03 16:19:13: [CLUSTER VERSION] PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/clu/qta-report.html
2023-03-03 16:19:17: [KUBENETES VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/k8s/qta-report.html
2023-03-06 16:03:42: =========TEST START==========
2023-03-06 16:04:14: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-06 16:11:13: =========TEST START==========
2023-03-06 16:11:42: Pre-Merge check success! Now we will perform a full automated test which is expected to take 2 hours, thank you for your patience.
2023-03-06 16:26:20: [STANDALONE VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/sta/qta-report.html
2023-03-06 16:26:24: [CLUSTER VERSION] PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/clu/qta-report.html
2023-03-06 16:26:27: [KUBENETES VERSION]PR autotest PASSED! We executed 20 test cases and 20 were passed. You can see test report in https://polaris-opentest-1306863770.cos.ap-guangzhou.myqcloud.com/pr1258549126/k8s/qta-report.html

@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Merging #971 (2924d8e) into main (ba22dfc) will decrease coverage by 0.10%.
The diff coverage is 59.21%.

@@            Coverage Diff             @@
##             main     #971      +/-   ##
==========================================
- Coverage   57.95%   57.85%   -0.10%     
==========================================
  Files         187      187              
  Lines       35211    35287      +76     
==========================================
+ Hits        20405    20414       +9     
- Misses      12113    12191      +78     
+ Partials     2693     2682      -11     
Impacted Files Coverage Δ
service/healthcheck/server.go 29.58% <21.21%> (+14.87%) ⬆️
service/test_common.go 63.57% <85.71%> (+0.33%) ⬆️
service/healthcheck/check.go 79.04% <86.66%> (+0.26%) ⬆️
service/healthcheck/test_export.go 69.23% <100.00%> (+4.78%) ⬆️
cache/faultdetect.go 18.05% <0.00%> (-27.78%) ⬇️
common/model/naming.go 67.88% <0.00%> (-10.22%) ⬇️
store/mysql/fault_detect_config.go 22.22% <0.00%> (-4.22%) ⬇️
store/mysql/maintain.go 47.44% <0.00%> (-3.65%) ⬇️
cache/instance.go 75.15% <0.00%> (+0.90%) ⬆️
cache/strategy.go 90.28% <0.00%> (+4.07%) ⬆️
... and 3 more

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

@chuntaojun chuntaojun linked an issue Mar 3, 2023 that may be closed by this pull request
Copy link
Member

@andrewshan andrewshan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewshan andrewshan merged commit a1fbd69 into polarismesh:main Mar 6, 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.

GetLastHeartBeat 支持查询不健康时间最后一次心跳时间
4 participants