8000 test: add test rolling update docker by JoanFM · Pull Request #2999 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test: add test rolling update docker #2999

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

Merged
merged 2 commits into from
Jul 23, 2021
Merged

Conversation

JoanFM
Copy link
Contributor
@JoanFM JoanFM commented Jul 23, 2021

No description provided.

@jina-bot jina-bot added size/S area/testing This issue/PR affects testing labels Jul 23, 2021
@codecov
8000 Copy link
codecov bot commented Jul 23, 2021

Codecov Report

Merging #2999 (a3bf7c8) into master (f02f2e8) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2999      +/-   ##
==========================================
+ Coverage   89.94%   89.97%   +0.02%     
==========================================
  Files         139      139              
  Lines        9479     9483       +4     
==========================================
+ Hits         8526     8532       +6     
+ Misses        953      951       -2     
Flag Coverage Δ
daemon 44.11% <0.00%> (+<0.01%) ⬆️
jina 89.96% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
jina/peapods/pods/compound.py 90.41% <100.00%> (+0.27%) ⬆️
jina/helper.py 80.45% <0.00%> (-0.38%) ⬇️
jina/peapods/peas/__init__.py 92.81% <0.00%> (+0.55%) ⬆️
jina/peapods/runtimes/jinad/client.py 91.71% <0.00%> (+1.18%) ⬆️
jina/peapods/runtimes/jinad/__init__.py 97.05% <0.00%> (+1.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f02f2e8...a3bf7c8. Read the comment docs.

@github-actions
Copy link
github-actions bot commented Jul 23, 2021

Latency summary

Current PR yields:

  • 😶 index QPS at 1564, delta to last 2 avg.: +1%
  • 😶 query QPS at 18, delta to last 2 avg.: -1%
  • 😶 dam extend QPS at 58652, delta to last 2 avg.: +0%
  • 😶 avg flow time within 1.8517 seconds, delta to last 2 avg.: +6%
  • 😶 import jina within 0.3413 seconds, delta to last 2 avg.: -2%

Breakdown

Version Index QPS Query QPS DAM Extend QPS Avg Flow Time (s) Import Time (s)
current 1564 18 58652 1.8517 0.3413
2.0.10 1546 17 57944 1.7199 0.3591
2.0.9 1543 18 60463 1.7516 0.338

Backed by latency-tracking. Further commits will update this comment.

@JoanFM JoanFM marked this pull request as ready for review July 23, 2021 12:33
@JoanFM JoanFM requested a review from a team as a code owner July 23, 2021 12:33
@JoanFM JoanFM requested review from deepankarm and jakobkruse1 July 23, 2021 12:33
@JoanFM JoanFM linked an issue Jul 23, 2021 that may be closed by this pull request
@jina-bot jina-bot added area/core This issue/PR affects the core codebase area/network This issue/PR affects network functionality component/peapod labels Jul 23, 2021
@JoanFM JoanFM requested review from bwanglzu and cristianmtr July 23, 2021 12:33
def update_rolling(flow, pod_name):
with reraise:
flow.rolling_update(pod_name)

error_mock = mocker.Mock()
with Flow().add(
uses=uses,
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this test actually fail without your changes?

The assert down

    error_mock.assert_not_called()

seems weak. Can u check?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this test hangs without these changes

@JoanFM JoanFM requested a review from cristianmtr July 23, 2021 13:18
@JoanFM JoanFM force-pushed the fix-rolling-update-containerrt branch from 994df97 to a3bf7c8 Compare July 23, 2021 13:24
@JoanFM JoanFM merged commit a493cf0 into master Jul 23, 2021
@JoanFM JoanFM deleted the fix-rolling-update-containerrt branch July 23, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core This issue/PR affects the core codebase area/network This issue/PR affects network functionality area/testing This issue/PR affects testing component/peapod size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rolling update does not work with docker runtimes
3 participants
0