-
Notifications
You must be signed in to change notification settings - Fork 209
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
[connectivity-tests] - Throws segmentation violation -> "invalid memory address or nil pointer dereference" #2859
Labels
kind/bug
Something isn't working
Comments
Same problem on different test
|
tchellomello
changed the title
Test [pod-to-pod-encryption] - Throws segmentation violation -> "invalid memory address or nil pointer dereference"
Throws segmentation violation -> "invalid memory address or nil pointer dereference"
Nov 11, 2024
tchellomello
changed the title
Throws segmentation violation -> "invalid memory address or nil pointer dereference"
[connectivity-tests] - Throws segmentation violation -> "invalid memory address or nil pointer dereference"
Nov 11, 2024
Added a few comments on the code and it seems the
42 func getInterNodeIface(ctx context.Context, t *check.Test,
43 client, clientHost, server, serverHost *check.Pod, ipFam features.IPFamily,
44 wgEncap bool) string {
45
46 tunnelEnabled := false
47 tunnelMode := ""
48 if tunnelFeat, ok := t.Context().Feature(features.Tunnel); ok && tunnelFeat.Enabled {
49 tunnelEnabled = true
50 tunnelMode = tunnelFeat.Mode
51 }
52
53 srcIP, dstIP := client.Address(ipFam), server.Address(ipFam)
54 t.Debugf("mmello -> srcIP: %s", srcIP)
55 t.Debugf("mmello -> dstIP: %s", dstIP)
56
57 //ipRouteGetCmd := fmt.Sprintf("ip -o route get %s from %s", dstIP, srcIP)
58 ipRouteGetCmd := fmt.Sprintf("ip -o route get %s from %s iif cilium_host", dstIP, srcIP)
59 t.Debugf("mmello -> ipRouteGetCmd(1): %s", ipRouteGetCmd)
60
61 spew.Printf("%s", serverHost) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
General Information
Running the
cilium connectivity test
traceback with invalid memory address:Implementation details:
cilium version
)kubectl version
, ...)cilium sysdump
How to reproduce the issue
cilium connectivty test
The text was updated successfully, but these errors were encountered: