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

Kmesh with waypoint doesn't work fine for istio 1.24 #984

Open
YaoZengzeng opened this issue Oct 26, 2024 · 0 comments
Open

Kmesh with waypoint doesn't work fine for istio 1.24 #984

YaoZengzeng opened this issue Oct 26, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@YaoZengzeng
Copy link
Member

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)
FAIL
@YaoZengzeng YaoZengzeng added the kind/enhancement New feature or request label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant