owncloud / owncloud/ocis

load testing ocis tag handling causes 90% failed requests

Open
#9,821 8 comments 0 reactions 0 assignees View on GitHub
Priority:p3-medium Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

when running k6 tests against a kubernetes deployment I see tons of requests failing in the add-remove-tag scenario:
```
# VUS=10 k6 run ~/cdperf/packages/k6-tests/artifacts/koko-platform-100-add-remove-tag-simple-k6.js --vus 10 --duration 30s

/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io

WARN[0000] Couldn't load source map for file:///[...]/cdperf/packages/k6-tests/artifacts/koko-platform-100-add-remove-tag-simple-k6.js error="sourcemap: mappings are empty"
execution: local
script: [...]/cdperf/packages/k6-tests/artifacts/koko-platform-100-add-remove-tag-simple-k6.js
output: -

scenarios: (100.00%) 1 scenario, 10 max VUs, 1m0s max duration (incl. graceful stop):
* default: 10 looping VUs for 30s (gracefulStop: 30s)

✓ authn -> loginPageResponse - status
✓ authn -> authorizationResponse - status
✓ authn -> accessTokenResponse - status
✓ client -> role.getMyDrives - status
✓ client -> resource.getResourceProperties - status
✗ client -> tag.addTagToResource - status
↳ 9% — ✓ 2 / ✗ 20
✓ client -> tag.getTagForResource - status
✗ test -> resource.getTags - name - match
↳ 9% — ✓ 2 / ✗ 20
✗ client -> tag.removeTagToResource - status
↳ 9% — ✓ 2 / ✗ 20

checks.........................: 60.00% ✓ 90 ✗ 60
data_received..................: 387 kB 10 kB/s
data_sent......................: 91 kB 2.4 kB/s
http_req_blocked...............: avg=7.79ms min=281ns med=441ns max=86.87ms p(90)=52.03ms p(95)=68.94ms
http_req_connecting............: avg=2.99ms min=0s med=0s max=33.69ms p(90)=16.62ms p(95)=29.69ms
http_req_duration..............: avg=1.97s min=13.38ms med=377.49ms max=13.07s p(90)=7.81s p(95)=11.39s
{ expected_response:true }...: avg=2.49s min=13.38ms med=303.56ms max=13.07s p(90)=7.94s p(95)=12.37s
http_req_failed................: 25.31% ✓ 40 ✗ 118
http_req_receiving.............: avg=93.43µs min=27.76µs med=79.2µs max=386.42µs p(90)=153.87µs p(95)=201.4µs
http_req_sending...............: avg=85.78µs min=30.49µs med=73.65µs max=285.45µs p(90)=145.71µs p(95)=182.22µs
http_req_tls_handshaking.......: avg=3.78ms min=0s med=0s max=42.71ms p(90)=20.96ms p(95)=36.86ms
http_req_waiting...............: avg=1.97s min=13.26ms med=377.34ms max=13.07s p(90)=7.81s p(95)=11.39s
http_reqs......................: 158 4.131202/s
iteration_duration.............: avg=16.73s min=6.16s med=11.31s max=26.69s p(90)=25.91s p(95)=25.95s
iterations.....................: 22 0.575231/s
vus............................: 1 min=1 max=10
vus_max........................: 10 min=10 max=10

running (0m38.2s), 00/10 VUs, 22 complete and 0 interrupted iterations
default ✓ [======================================] 10 VUs 30s
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.