-
Notifications
You must be signed in to change notification settings - Fork 174
Kmesh with waypoint doesn't work fine for istio 1.24 #984
Copy link
Copy link
Closed
Labels
kind/enhancementNew feature or requestNew feature or request
Description
What would you like to be added:
The mechanism for using waypoints has changed in istio 1.24 and Kmesh need to adapt.
Why is this needed:
I deploy istio 1.24.0-alpha.0 and run some E2E tests and all waypoint related test failed.
KMESH_WAYPOINT_IMAGE="ghcr.io/yaozengzeng/waypoint:latest" ./test/e2e/run_test.sh --only-run-tests -run "TestTrafficSplit"
Switched to context "kind-kmesh-testing".
Running tests in cluster 'kmesh-testing'
....
=== RUN TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v1
2024-10-26T06:55:57.745043Z info tf === BEGIN: Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v1]' ===
baseline_test.go:232: 2 errors occurred:
* failed calling service-with-waypoint-at-service-granularity (cluster=cluster-0)->'http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80': call failed from service-with-waypoint-at-service-granularity (cluster=cluster-0) to http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80 (using http): expected no error, but encountered rpc error: code = Unknown desc = 5/5 requests had errors; first error: Get "http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80": dial tcp 10.96.88.35:80: connect: connection refused
* failed calling service-with-waypoint-at-service-granularity (cluster=cluster-0)->'http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80': call failed from service-with-waypoint-at-service-granularity (cluster=cluster-0) to http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80 (using http): expected no error, but encountered rpc error: code = Unknown desc = 5/5 requests had errors; first error: Get "http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80": dial tcp 10.96.88.35:80: connect: connection refused
2024-10-26T06:56:57.745980Z info tf === DONE (failed): Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v1] (1m0.00092066s)' ===
=== RUN TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v2
2024-10-26T06:56:57.746454Z info tf === BEGIN: Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v2]' ===
baseline_test.go:254: 2 errors occurred:
* failed calling service-with-waypoint-at-service-granularity (cluster=cluster-0)->'http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80': call failed from service-with-waypoint-at-service-granularity (cluster=cluster-0) to http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80 (using http): expected no error, but encountered rpc error: code = Unknown desc = 5/5 requests had errors; first error: Get "http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80": dial tcp 10.96.88.35:80: connect: connection refused
* failed calling service-with-waypoint-at-service-granularity (cluster=cluster-0)->'http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80': call failed from service-with-waypoint-at-service-granularity (cluster=cluster-0) to http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80 (using http): expected no error, but encountered rpc error: code = Unknown desc = 5/5 requests had errors; first error: Get "http://service-with-waypoint-at-service-granularity.echo-1-87305.svc.cluster.local:80": dial tcp 10.96.88.35:80: connect: connection refused
2024-10-26T06:57:57.748534Z info tf === DONE (failed): Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v2] (1m0.002073873s)' ===
2024-10-26T06:57:57.748656Z info tf === DONE (failed): Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http] (2m0.032532301s)' ===
=== RUN TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/tcp
2024-10-26T06:57:57.763161Z info tf === BEGIN: Test: '_root_kmesh_test_e2e[TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/tcp]' ===
...
--- FAIL: TestTrafficSplit (240.10s)
--- FAIL: TestTrafficSplit/from_service-with-waypoint-at-service-granularity (120.05s)
--- FAIL: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity (120.05s)
--- FAIL: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http (120.05s)
--- FAIL: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v1 (60.00s)
--- FAIL: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/http/v2 (60.00s)
--- PASS: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_service-with-waypoint-at-service-granularity/tcp (0.00s)
--- PASS: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_enrolled-to-kmesh (0.00s)
--- PASS: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_enrolled-to-kmesh/http (0.00s)
--- PASS: TestTrafficSplit/from_service-with-waypoint-at-service-granularity/to_enrolled-to-kmesh/tcp (0.00s)
--- FAIL: TestTrafficSplit/from_enrolled-to-kmesh (120.05s)
--- FAIL: TestTrafficSplit/from_enrolled-to-kmesh/to_service-with-waypoint-at-service-granularity (120.04s)
--- FAIL: TestTrafficSplit/from_enrolled-to-kmesh/to_service-with-waypoint-at-service-granularity/http (120.04s)
--- FAIL: TestTrafficSplit/from_enrolled-to-kmesh/to_service-with-waypoint-at-service-granularity/http/v1 (60.00s)
--- FAIL: TestTrafficSplit/from_enrolled-to-kmesh/to_service-with-waypoint-at-service-granularity/http/v2 (60.00s)
--- PASS: TestTrafficSplit/from_enrolled-to-kmesh/to_service-with-waypoint-at-service-granularity/tcp (0.00s)
--- PASS: TestTrafficSplit/from_enrolled-to-kmesh/to_enrolled-to-kmesh (0.00s)
--- PASS: TestTrafficSplit/from_enrolled-to-kmesh/to_enrolled-to-kmesh/http (0.00s)
--- PASS: TestTrafficSplit/from_enrolled-to-kmesh/to_enrolled-to-kmesh/tcp (0.00s)
FAILReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/enhancementNew feature or requestNew feature or request