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

flaky-test: TestWalTrimUpToCommitOffset #580

Open
mattisonchao opened this issue Nov 16, 2024 · 0 comments
Open

flaky-test: TestWalTrimUpToCommitOffset #580

mattisonchao opened this issue Nov 16, 2024 · 0 comments

Comments

@mattisonchao
Copy link
Member

panic: test timed out after 10m0s
	running tests:
		TestWalTrimUpToCommitOffset (10m0s)
		TestWalTrimUpToCommitOffset/test-70 (9m58s)

goroutine 378 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:2373 +0x265
created by time.goFunc
	/opt/hostedtoolcache/go/1.23.3/x64/src/time/sleep.go:[215](https://github.com/streamnative/oxia/actions/runs/11866692701/job/33073940897?pr=579#step:9:216) +0x45

goroutine 1 [chan receive, 9 minutes]:
testing.(*T).Run(0xc00010c680, {0x10f3c22, 0x1b}, 0x1133d38)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1751 +0x851
testing.runTests.func1(0xc00010c680)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:[216](https://github.com/streamnative/oxia/actions/runs/11866692701/job/33073940897?pr=579#step:9:217)8 +0x86
testing.tRunner(0xc00010c680, 0xc0001e9ae0)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1690 +0x227
testing.runTests(0xc000110480, {0x17bf340, 0x23, 0x23}, {0x7f9b2dac3a68?, 0x40?, 0x17ccc80?})
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:2166 +0x8bf
testing.(*M).Run(0xc0003401e0)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:2034 +0xf18
main.main()
	_testmain.go:129 +0x165

goroutine 90 [chan receive, 9 minutes]:
testing.(*T).Run(0xc000382340, {0xc0004cdc99, 0x7}, 0x1133ea8)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1751 +0x851
github.com/streamnative/oxia/server/wal.TestWalTrimUpToCommitOffset(0xc000382340)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer_test.go:98 +0x93
testing.tRunner(0xc000382340, 0x1133d38)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1690 +0x227
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1743 +0x826

goroutine 386 [chan receive, 9 minutes]:
github.com/streamnative/oxia/server/wal.(*trimmer).Close(0xc000601680)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer.go:96 +0x158
github.com/streamnative/oxia/server/wal.(*wal).closeWithoutLock(0xc0001b46e0)
	/home/runner/work/oxia/oxia/server/wal/wal_impl.go:242 +0x199
github.com/streamnative/oxia/server/wal.(*wal).Close(0xc0001b46e0)
	/home/runner/work/oxia/oxia/server/wal/wal_impl.go:230 +0xe5
github.com/streamnative/oxia/server/wal.TestWalTrimUpToCommitOffset.func1(0xc000194000)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer_test.go:158 +0x6a6
testing.tRunner(0xc000194000, 0x1133ea8)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1690 +0x227
created by testing.(*T).Run in goroutine 90
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1743 +0x826

goroutine 387 [sync.RWMutex.RLock, 9 minutes]:
sync.runtime_SemacquireRWMutexR(0xc0001b46f0?, 0x1?, 0x272d9ec?)
	/opt/hostedtoolcache/go/1.23.3/x64/src/runtime/sema.go:100 +0x25
sync.(*RWMutex).RLock(0xc0001b46e0)
	/opt/hostedtoolcache/go/1.23.3/x64/src/sync/rwmutex.go:72 +0x65
github.com/streamnative/oxia/server/wal.(*wal).readAtIndex(0xc0001b46e0, 0x57)
	/home/runner/work/oxia/oxia/server/wal/wal_impl.go:166 +0xb6
github.com/streamnative/oxia/server/wal.(*forwardReader).ReadNext(0xc00013e440)
	/home/runner/work/oxia/oxia/server/wal/wal_reader.go:94 +0x2a6
github.com/streamnative/oxia/server/wal.(*trimmer).readAtOffset(0xc000601680, 0x57)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer.go:205 +0xf0
github.com/streamnative/oxia/server/wal.(*trimmer).doTrim(0xc000601680)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer.go:133 +0x515
github.com/streamnative/oxia/server/wal.(*trimmer).run(0xc000601680)
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer.go:105 +0x1a7
github.com/streamnative/oxia/common.DoWithLabels.func1({0x1[220](https://github.com/streamnative/oxia/actions/runs/11866692701/job/33073940897?pr=579#step:9:221)a40?, 0xc000174330?})
	/home/runner/work/oxia/oxia/common/pprof.go:46 +0x2f
runtime/pprof.Do({0x1220a78, 0xc000036460}, {{0xc000393ac0?, 0x35?, 0x4bc0f6?}}, 0xc000082f10)
	/opt/hostedtoolcache/go/1.23.3/x64/src/runtime/pprof/runtime.go:51 +0x118
github.com/streamnative/oxia/common.DoWithLabels({0x1220a78, 0xc000036460}, 0xc0004d9350, 0xc000280930)
	/home/runner/work/oxia/oxia/common/pprof.go:42 +0x585
created by github.com/streamnative/oxia/server/wal.newTrimmer in goroutine 386
	/home/runner/work/oxia/oxia/server/wal/wal_trimmer.go:63 +0x8f9
FAIL	github.com/streamnative/oxia/server/wal	600.050s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant