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

"Testing port forwarding rules using netcat" hangs on a local machine (not on CI) #2708

Open
AkihiroSuda opened this issue Oct 9, 2024 · 0 comments
Labels
area/test Tests and CI bug Something isn't working

Comments

@AkihiroSuda
Copy link
Member

$ LIMACTL_CREATE_ARGS="--vm-type=qemu" ./hack/test-templates.sh ./examples/default.yaml
[...]
TEST| [INFO] Testing port forwarding rules using netcat
+ '[' default = archlinux ']'
+ '[' default = debian ']'
+ '[' default == fedora ']'
+ '[' default = opensuse ']'
+ /Users/suda/gopath/src/github.com/lima-vm/lima/hack/test-port-forwarding.pl default
[hangs here]

pstree:

 |-+= 39074 suda tmux                                                                                                                                                                                              
 | |-+= 39075 suda bash -l                                                                               
 | | \-+= 50432 suda bash ./hack/test-templates.sh ./examples/default.yaml                                                                                                                                         
 | |   \-+- 50563 suda perl /Users/suda/gopath/src/github.com/lima-vm/lima/hack/test-port-forwarding.pl default                                                                                                   
 | |     |--- 50568 suda <defunct>
 | |     |-+- 50569 suda limactl shell --workdir / default
 | |     | \--- 50571 suda /usr/bin/ssh -F /dev/null -o IdentityFile="/Users/suda/.lima/_config/user" [...]
 | |     \--- 50573 suda nc -w 1 127.0.0.1 2001

Lima version: tried v0.23.2 and master (7ab02dc)
Host: macOS 15.0.1 Intel
Firewall: enabled but "Block all incoming connections" is disabled

@AkihiroSuda AkihiroSuda added bug Something isn't working area/test Tests and CI labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Tests and CI bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant