Thanks to visit codestin.com
Credit goes to github.com

Skip to content

flake: enterprise/wsproxy TestDERPMesh/Proxy9: packet came from wrong source #278

Closed
coder/coder
#18522
@johnstcn

Description

@johnstcn

Seen here: https://github.com/coder/coder/actions/runs/12810577955/job/35717978750#step:8:629

=== FAIL: enterprise/wsproxy TestDERPMesh/Proxy9 (0.01s)
    wsproxy_test.go:548: derp1=http://localhost:59979/derp, derp2=http://localhost:60028/derp
    wsproxy_test.go:1088: client1: derphttp.Client.Connect: connecting to http://localhost:59979/derp
    wsproxy_test.go:1088: client1: derphttp.Client.Connect: not using fast start
    wsproxy_test.go:1088: client1: derphttp.Client.Connect: DERP server returned status 101
    wsproxy_test.go:1088: client2: derphttp.Client.Connect: connecting to http://localhost:60028/derp
    wsproxy_test.go:1103: Recv error: derp.Recv: read tcp 127.0.0.1:61087->127.0.0.1:59979: wsarecv: An existing connection was forcibly closed by the remote host.
    wsproxy_test.go:1088: client2: derphttp.Client.Connect: not using fast start
    wsproxy_test.go:1088: client2: derphttp.Client.Connect: DERP server returned status 101
    wsproxy_test.go:1088: client1: derphttp.Client.Send: connecting to http://localhost:59979/derp
    wsproxy_test.go:1088: client1: derphttp.Client.Send: not using fast start
    wsproxy_test.go:1088: client1: derphttp.Client.Send: DERP server returned status 101
    wsproxy_test.go:557: 
        	Error Trace:	C:/a/coder/coder/enterprise/wsproxy/wsproxy_test.go:1144
        	            				C:/a/coder/coder/enterprise/wsproxy/wsproxy_test.go:557
        	Error:      	Not equal: 
        	            	expected: key.NodePublic{k:[32]uint8{0xd2, 0x1b, 0x48, 0x3e, 0xed, 0x75, 0x18, 0x5c, 0xd3, 0x68, 0x46, 0xb6, 0x72, 0x75, 0x7c, 0xa, 0xca, 0xd1, 0xd3, 0xad, 0xaa, 0xf2, 0x2b, 0xde, 0x43, 0x7e, 0xc3, 0x27, 0x56, 0x6, 0x3, 0x1b}}
        	            	actual  : key.NodePublic{k:[32]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,4 +2,4 @@
        	            	  k: ([32]uint8) (len=32) {
        	            	-  00000000  d2 1b 48 3e ed 75 18 5c  d3 68 46 b6 72 75 7c 0a  |..H>.u.\.hF.ru|.|
        	            	-  00000010  ca d1 d3 ad aa f2 2b de  43 7e c3 27 56 06 03 1b  |......+.C~.'V...|
        	            	+  00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
        	            	+  00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
        	            	  }
        	Test:       	TestDERPMesh/Proxy9
        	Messages:   	packet came from wrong source
    --- FAIL: TestDERPMesh/Proxy9 (0.01s)

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions