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

[VM Agent] e2e failed with the ToT code #6747

Closed
wenyingd opened this issue Oct 16, 2024 · 0 comments
Closed

[VM Agent] e2e failed with the ToT code #6747

wenyingd opened this issue Oct 16, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@wenyingd
Copy link
Contributor

Describe the bug

The vm e2e cases are failed on the ToT code, with these error output,

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x385249e]

goroutine 1 [running]:
main.run(0xc00051f5c0)
        antrea.io/antrea/cmd/antrea-agent/agent.go:243 +0x171e
main.newAgentCommand.func1(0xc0001b8900?, {0xc000890de0, 0x0, 0x6})
        antrea.io/antrea/cmd/antrea-agent/main.go:52 +0x21f
github.com/spf13/cobra.(*Command).execute(0xc0008a4308, {0xc0000f6010, 0x6, 0x7})
        github.com/spf13/cobra@v1.8.1/command.go:989 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0xc0008a4308)
        github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.8.1/command.go:1041
main.main()
        antrea.io/antrea/cmd/antrea-agent/main.go:32 +0x18

To Reproduce

Expected

Actual behavior

Versions:

Antrea version : main

Additional context

@wenyingd wenyingd added the kind/bug Categorizes issue or PR as related to a bug. label Oct 16, 2024
hangyan pushed a commit to hangyan/antrea that referenced this issue Oct 29, 2024
…o#6748)

Set default value on config.Egress.SNATFullyRandomPorts with VM Agent scenario
to avoid agent crash, although routeClient is not really consumed.

Fixes antrea-io#6747 

Signed-off-by: Wenying Dong <wenyingd@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant