good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jrpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
jrpc
Commits
ac1a7dc5
Commit
ac1a7dc5
authored
1 year ago
by
Garet Halliday
Browse files
Options
Downloads
Patches
Plain Diff
remove
parent
bed9bbf7
No related branches found
No related tags found
1 merge request
!35
fix tests
Pipeline
#33254
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fail.txt
+0
-162
0 additions, 162 deletions
fail.txt
with
0 additions
and
162 deletions
fail.txt
deleted
100644 → 0
+
0
−
162
View file @
bed9bbf7
panic: test timed out after 10m0s
running tests:
TestSubscription (10m0s)
goroutine 39 [running]:
testing.(*M).startAlarm.func1()
/usr/local/go/src/testing/testing.go:2259 +0x1fc
created by time.goFunc
/usr/local/go/src/time/sleep.go:176 +0x45
goroutine 1 [chan receive]:
testing.(*T).Run(0xc00016a820, {0xad6e15, 0x10}, 0xb0b088)
/usr/local/go/src/testing/testing.go:1649 +0x856
testing.runTests.func1(0x0?)
/usr/local/go/src/testing/testing.go:2054 +0x85
testing.tRunner(0xc00016a820, 0xc000187b08)
/usr/local/go/src/testing/testing.go:1595 +0x239
testing.runTests(0xc0001a68c0?, {0xe72280, 0x3, 0x3}, {0x1c?, 0x4a8b99?, 0xe7b660?})
/usr/local/go/src/testing/testing.go:2052 +0x897
testing.(*M).Run(0xc0001a68c0)
/usr/local/go/src/testing/testing.go:1925 +0xb58
main.main()
_testmain.go:51 +0x2be
goroutine 6 [chan receive]:
gfx.cafe/open/jrpc/contrib/extension/subscription.TestSubscription(0xc00016a9c0)
/builds/open/jrpc/contrib/extension/subscription/client_test.go:65 +0xb93
testing.tRunner(0xc00016a9c0, 0xb0b088)
/usr/local/go/src/testing/testing.go:1595 +0x239
created by testing.(*T).Run in goroutine 1
/usr/local/go/src/testing/testing.go:1648 +0x82b
goroutine 7 [IO wait]:
internal/poll.runtime_pollWait(0x7fe5bda26370, 0x72)
/usr/local/go/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc000171120, 0xc000204a01?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0xb1
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000171100)
/usr/local/go/src/internal/poll/fd_unix.go:611 +0x405
net.(*netFD).accept(0xc000171100)
/usr/local/go/src/net/fd_unix.go:172 +0x3e
net.(*TCPListener).accept(0xc00007a860)
/usr/local/go/src/net/tcpsock_posix.go:152 +0x3e
net.(*TCPListener).Accept(0xc00007a860)
/usr/local/go/src/net/tcpsock.go:315 +0x65
net/http.(*Server).Serve(0xc0001d4000, {0xb9d4e0, 0xc00007a860})
/usr/local/go/src/net/http/server.go:3056 +0x57f
net/http/httptest.(*Server).goServe.func1()
/usr/local/go/src/net/http/httptest/server.go:310 +0xab
created by net/http/httptest.(*Server).goServe in goroutine 6
/usr/local/go/src/net/http/httptest/server.go:308 +0xa6
goroutine 37 [IO wait]:
internal/poll.runtime_pollWait(0x7fe5bda26278, 0x72)
/usr/local/go/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc0000be020, 0xc000234000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0xb1
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000be000, {0xc000234000, 0x1000, 0x1000})
/usr/local/go/src/internal/poll/fd_unix.go:164 +0x3e5
net.(*netFD).Read(0xc0000be000, {0xc000234000, 0x1000, 0x1000})
/usr/local/go/src/net/fd_posix.go:55 +0x4b
net.(*conn).Read(0xc00020c010, {0xc000234000, 0x1000, 0x1000})
/usr/local/go/src/net/net.go:179 +0xad
net/http.(*readWriteCloserBody).Read(0xc000230000, {0xc000234000, 0x1000, 0x1000})
/usr/local/go/src/net/http/transport.go:2406 +0x1d5
bufio.(*Reader).fill(0xc000218120)
/usr/local/go/src/bufio/bufio.go:113 +0x29a
bufio.(*Reader).ReadByte(0xc000218120)
/usr/local/go/src/bufio/bufio.go:272 +0x4c
gfx.cafe/open/websocket.readFrameHeader(0x9f3bea?, {0xc000210540, 0x8, 0x8})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/frame.go:54 +0xb5
gfx.cafe/open/websocket.(*Conn).readFrameHeader(0xc0002104e0, {0xb9dca8, 0xc00020e190})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:188 +0x191
gfx.cafe/open/websocket.(*Conn).readLoop(0xc0002104e0, {0xb9dca8, 0xc00020e190})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:146 +0x6e
gfx.cafe/open/websocket.(*Conn).reader(0xc0002104e0, {0xb9dca8, 0xc00020e190})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:315 +0x1db
gfx.cafe/open/websocket.(*Conn).Reader(...)
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:30
gfx.cafe/open/websocket.(*netConn).Read(0xc0002181e0, {0xc000238000, 0x1000, 0x1000})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/netconn.go:100 +0x165
bufio.(*Reader).Read(0xc000218240, {0xc000048600, 0x600, 0x600})
/usr/local/go/src/bufio/bufio.go:244 +0x4be
encoding/json.(*Decoder).refill(0xc000244000)
/usr/local/go/src/encoding/json/stream.go:165 +0x412
encoding/json.(*Decoder).readValue(0xc000244000)
/usr/local/go/src/encoding/json/stream.go:140 +0x18d
encoding/json.(*Decoder).Decode(0xc000244000, {0xa57480, 0xc000230078})
/usr/local/go/src/encoding/json/stream.go:63 +0xd5
gfx.cafe/open/jrpc/contrib/codecs/rdwr.(*Client).listen(0xc00023a000)
/builds/open/jrpc/contrib/codecs/rdwr/client.go:72 +0x369
created by gfx.cafe/open/jrpc/contrib/codecs/rdwr.NewClient in goroutine 6
/builds/open/jrpc/contrib/codecs/rdwr/client.go:46 +0x592
goroutine 19 [IO wait]:
internal/poll.runtime_pollWait(0x7fe5bda26180, 0x72)
/usr/local/go/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc0000be0a0, 0xc0000d0000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0xb1
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000be080, {0xc0000d0000, 0x1000, 0x1000})
/usr/local/go/src/internal/poll/fd_unix.go:164 +0x3e5
net.(*netFD).Read(0xc0000be080, {0xc0000d0000, 0x1000, 0x1000})
/usr/local/go/src/net/fd_posix.go:55 +0x4b
net.(*conn).Read(0xc0000b8008, {0xc0000d0000, 0x1000, 0x1000})
/usr/local/go/src/net/net.go:179 +0xad
io.(*multiReader).Read(0xc0000ac030, {0xc0000d0000, 0x1000, 0x1000})
/usr/local/go/src/io/multi.go:26 +0xfd
bufio.(*Reader).fill(0xc0000a81e0)
/usr/local/go/src/bufio/bufio.go:113 +0x29a
bufio.(*Reader).ReadByte(0xc0000a81e0)
/usr/local/go/src/bufio/bufio.go:272 +0x4c
gfx.cafe/open/websocket.readFrameHeader(0x9f38ec?, {0xc00009a880, 0x8, 0x8})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/frame.go:54 +0xb5
gfx.cafe/open/websocket.(*Conn).readFrameHeader(0xc00009a820, {0xb9dca8, 0xc0000a6280})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:188 +0x191
gfx.cafe/open/websocket.(*Conn).readLoop(0xc00009a820, {0xb9dca8, 0xc0000a6280})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:146 +0x6e
gfx.cafe/open/websocket.(*Conn).reader(0xc00009a820, {0xb9dca8, 0xc0000a6280})
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:315 +0x1db
gfx.cafe/open/websocket.(*Conn).Reader(...)
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/read.go:30
gfx.cafe/open/jrpc/contrib/codecs/websocket.(*Codec).decodeSingleMessage(0xc0000b4070, {0xb9dca8, 0xc0000a6280})
/builds/open/jrpc/contrib/codecs/websocket/codec.go:71 +0x16f
gfx.cafe/open/jrpc/contrib/codecs/websocket.(*Codec).ReadBatch(0xc0000ba100?, {0xb9dca8, 0xc0000a6280})
/builds/open/jrpc/contrib/codecs/websocket/codec.go:84 +0x3f
gfx.cafe/open/jrpc/pkg/server.(*Server).ServeCodec.func1({0xb9ec70?, 0xc0000b4070}, {0xb9dca8?, 0xc0000a6280}, 0xc0000ba100, 0xc0000ac048, 0xc00019f920, 0xc0000ba0f8, 0xc0000ac060)
/builds/open/jrpc/pkg/server/server.go:50 +0xaa
gfx.cafe/open/jrpc/pkg/server.(*Server).ServeCodec(0xb9dca8?, {0xb9dca8, 0xc0000a6140}, {0xb9ec70?, 0xc0000b4070})
/builds/open/jrpc/pkg/server/server.go:70 +0x3f5
gfx.cafe/open/jrpc/contrib/codecs/websocket.WebsocketHandler.func1({0xb9d450, 0xc0000da000}, 0xc0000d2000)
/builds/open/jrpc/contrib/codecs/websocket/handler.go:47 +0x214
net/http.HandlerFunc.ServeHTTP(0xc00019f950, {0xb9d450, 0xc0000da000}, 0xc0000cc000?)
/usr/local/go/src/net/http/server.go:2136 +0x48
net/http.serverHandler.ServeHTTP({0xc0000aa180?}, {0xb9d450, 0xc0000da000}, 0xc0000d2000)
/usr/local/go/src/net/http/server.go:2938 +0x2a2
net/http.(*conn).serve(0xc0000cc000, {0xb9dc70, 0xc00020a0f0})
/usr/local/go/src/net/http/server.go:2009 +0xc25
created by net/http.(*Server).Serve in goroutine 7
/usr/local/go/src/net/http/server.go:3086 +0x80d
goroutine 36 [select]:
gfx.cafe/open/websocket.(*Conn).timeoutLoop(0xc0002104e0)
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/conn_notjs.go:153 +0x21d
created by gfx.cafe/open/websocket.newConn in goroutine 6
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/conn_notjs.go:114 +0xca5
goroutine 21 [select]:
gfx.cafe/open/websocket.(*Conn).timeoutLoop(0xc00009a820)
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/conn_notjs.go:153 +0x21d
created by gfx.cafe/open/websocket.newConn in goroutine 19
/builds/open/jrpc/.go/pkg/mod/gfx.cafe/open/websocket@v1.9.2/conn_notjs.go:114 +0xca5
goroutine 22 [select]:
gfx.cafe/open/jrpc/contrib/codecs/websocket.heartbeat({0xb9dca8, 0xc0000a6140}, 0x0?, 0xc00004c070?)
/builds/open/jrpc/contrib/codecs/websocket/codec.go:52 +0x16b
created by gfx.cafe/open/jrpc/contrib/codecs/websocket.newWebsocketCodec in goroutine 19
/builds/open/jrpc/contrib/codecs/websocket/codec.go:44 +0x3d2
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment