Skip to content

Instantly share code, notes, and snippets.

@ldemailly
Created September 4, 2017 01:46
Show Gist options
  • Save ldemailly/3389eeb217ad6433702a30b7638bcb92 to your computer and use it in GitHub Desktop.
Save ldemailly/3389eeb217ad6433702a30b7638bcb92 to your computer and use it in GitHub Desktop.
example of 503 block
I0904 01:29:57.664] === RUN TestGlobalCheckAndReport
W0904 01:29:57.809] I0904 01:29:57.807874 4404 mixer_test.go:427] Get from page: 503
W0904 01:29:57.809] E0904 01:29:57.807911 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 5 second
W0904 01:30:02.948] I0904 01:30:02.946754 4404 mixer_test.go:427] Get from page: 503
W0904 01:30:02.948] E0904 01:30:02.946781 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 10 second
W0904 01:30:13.093] I0904 01:30:13.092262 4404 mixer_test.go:427] Get from page: 503
W0904 01:30:13.093] E0904 01:30:13.092288 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 15 second
W0904 01:30:28.235] I0904 01:30:28.233932 4404 mixer_test.go:427] Get from page: 503
W0904 01:30:28.235] E0904 01:30:28.233960 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 20 second
W0904 01:30:48.379] I0904 01:30:48.377627 4404 mixer_test.go:427] Get from page: 503
W0904 01:30:48.379] E0904 01:30:48.377659 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 25 second
W0904 01:31:13.524] I0904 01:31:13.523113 4404 mixer_test.go:427] Get from page: 503
W0904 01:31:13.525] I0904 01:31:13.523286 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global productpage.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-additional-telemetry.yaml
I0904 01:31:13.625] --- FAIL: TestGlobalCheckAndReport (75.96s)
I0904 01:31:13.625] mixer_test.go:164: Test app setup failure: could not retrieve product page: default route Failed
I0904 01:31:13.625] === RUN TestNewMetrics
W0904 01:31:19.025] I0904 01:31:19.024099 4404 mixer_test.go:427] Get from page: 503
W0904 01:31:19.025] E0904 01:31:19.024178 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 5 second
W0904 01:31:24.164] I0904 01:31:24.163061 4404 mixer_test.go:427] Get from page: 503
W0904 01:31:24.164] E0904 01:31:24.163099 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 10 second
W0904 01:31:34.305] I0904 01:31:34.304232 4404 mixer_test.go:427] Get from page: 503
W0904 01:31:34.305] E0904 01:31:34.304296 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 15 second
W0904 01:31:49.447] I0904 01:31:49.445257 4404 mixer_test.go:427] Get from page: 503
W0904 01:31:49.447] E0904 01:31:49.445286 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 20 second
W0904 01:32:09.589] I0904 01:32:09.588014 4404 mixer_test.go:427] Get from page: 503
W0904 01:32:09.589] E0904 01:32:09.588056 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 25 second
W0904 01:32:34.731] I0904 01:32:34.729322 4404 mixer_test.go:427] Get from page: 503
W0904 01:32:34.731] I0904 01:32:34.729389 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global productpage.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-empty-rule.yaml
I0904 01:32:35.188] --- FAIL: TestNewMetrics (81.66s)
I0904 01:32:35.188] mixer_test.go:208: Test app setup failure: could not retrieve product page: default route Failed
I0904 01:32:35.188] === RUN TestDenials
W0904 01:32:35.288] I0904 01:32:35.186840 4404 commonUtils.go:53] Running command kubectl apply -n mixer-test-0aafeea4b4114611bc1f3acfdb -f /tmp/mixer_test310993016/route-rule-reviews-v3.yaml
W0904 01:33:07.034] I0904 01:33:07.033092 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global ratings.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-ratings-denial.yaml
W0904 01:33:12.529] I0904 01:33:12.527941 4404 mixer_test.go:427] Get from page: 503
W0904 01:33:12.529] E0904 01:33:12.527984 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 5 second
W0904 01:33:17.667] I0904 01:33:17.666064 4404 mixer_test.go:427] Get from page: 503
... skipping 3 lines ...
W0904 01:33:42.952] I0904 01:33:42.951072 4404 mixer_test.go:427] Get from page: 503
W0904 01:33:42.952] E0904 01:33:42.951111 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 20 second
W0904 01:34:03.092] I0904 01:34:03.091603 4404 mixer_test.go:427] Get from page: 503
W0904 01:34:03.093] E0904 01:34:03.091648 4404 mixer_test.go:438] Couldn't get to the bookinfo product page, trying again in 25 second
W0904 01:34:28.234] I0904 01:34:28.232827 4404 mixer_test.go:427] Get from page: 503
W0904 01:34:28.234] I0904 01:34:28.232904 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global ratings.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-empty-rule.yaml
I0904 01:34:28.593] --- FAIL: TestDenials (113.40s)
I0904 01:34:28.593] mixer_test.go:260: Test app setup failure: could not retrieve product page: default route Failed
I0904 01:34:28.593] === RUN TestRateLimit
W0904 01:34:28.693] I0904 01:34:28.591718 4404 commonUtils.go:53] Running command kubectl apply -n mixer-test-0aafeea4b4114611bc1f3acfdb -f /tmp/mixer_test310993016/route-rule-reviews-v2-v3.yaml
W0904 01:35:00.492] I0904 01:35:00.489588 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global ratings.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-ratings-ratelimit.yaml
W0904 01:35:10.860] 01:35:10 I httprunner.go:75> Starting http test for http://10.142.0.3:31101/productpage with 8 threads at 100.0 qps
W0904 01:35:11.004] 01:35:11 W http.go:533> Parsed non ok code 503 (HTTP/1.1 503)
W0904 01:35:11.004] I0904 01:35:11.002308 4404 commonUtils.go:53] Running command /tmp/istio.e2e.522800701/istioctl -c /home/bootstrap/.kube/config -n mixer-test-0aafeea4b4114611bc1f3acfdb mixer rule create global ratings.mixer-test-0aafeea4b4114611bc1f3acfdb.svc.cluster.local -f /tmp/mixer_test310993016/mixer-rule-empty-rule.yaml
I0904 01:35:11.363] --- FAIL: TestRateLimit (42.77s)
I0904 01:35:11.363] mixer_test.go:318: Generating traffic via fortio failed: error 503 for http://10.142.0.3:31101/productpage: "HTTP/1.1 503 Service Unavailable\r\ncontent-length: 57\r\ncontent-type: text/plain\r\ndate: Mon, 04 Sep 2017 01:35:10 GMT\r\nserver: envoy\r\n\r\nupstream connect error or disconnect/reset before headers"
I0904 01:35:11.363] FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment