Skip to content

macOS tests fail from time to time #126

@gavv

Description

@gavv
  cd roc
  go build && go test -count=1 -race
  shell: /bin/bash -e {0}
# github.com/roc-streaming/roc-go/roc.test
ld: warning: '/private/var/folders/dm/88b38gj92jj53dgxdsm12qf00000gn/T/go-link-3854732118/000023.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
panic: test timed out after 10m0s
running tests:
	TestSender_WriteFloats (9m57s)
	TestSender_WriteFloats/nil_frame (9m57s)

goroutine 196 [running]:
testing.(*M).startAlarm.func1()
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:2366 +0x1dc
created by time.goFunc
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/time/sleep.go:177 +0x44

goroutine 1 [chan receive, 9 minutes]:
testing.(*T).Run(0xc0000b2680, {0x10245b96c, 0x16}, 0x102529ca0)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1750 +0x604
testing.runTests.func1(0xc0000b2680)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:2161 +0x84
testing.tRunner(0xc0000b2680, 0xc00002da98)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1689 +0x184
testing.runTests(0xc00009e210, {0x10265c680, 0x23, 0x23}, {0xc00002db18?, 0x1022092c8?, 0x1026946e0?})
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:2159 +0x6e4
testing.(*M).Run(0xc0000a4be0)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:2027 +0xb78
github.com/roc-streaming/roc-go/roc.TestMain(0xc0000a4be0)
	/Users/runner/work/roc-go/roc-go/roc/main_test.go:13 +0x70
main.main()
	_testmain.go:117 +0x298

goroutine 19 [chan receive, 9 minutes]:
github.com/roc-streaming/roc-go/roc.logRoutine()
	/Users/runner/work/roc-go/roc-go/roc/log.go:239 +0x6c
created by github.com/roc-streaming/roc-go/roc.init.0 in goroutine 1
	/Users/runner/work/roc-go/roc-go/roc/log.go:257 +0x5c

goroutine 193 [chan receive, 9 minutes]:
testing.(*T).Run(0xc000383ba0, {0x102457378, 0x9}, 0xc0003882a0)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1750 +0x604
github.com/roc-streaming/roc-go/roc.TestSender_WriteFloats(0xc000383ba0)
	/Users/runner/work/roc-go/roc-go/roc/sender_test.go:397 +0x27c
testing.tRunner(0xc000383ba0, 0x102529ca0)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1689 +0x184
created by testing.(*T).Run in goroutine 1
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1742 +0x5e8

goroutine 195 [syscall, 9 minutes]:
github.com/roc-streaming/roc-go/roc._Cfunc_roc_context_close(0x14d808218)
	_cgo_gotypes.go:274 +0x34
github.com/roc-streaming/roc-go/roc.(*Context).Close.func2(0xc00038e040)
	/Users/runner/work/roc-go/roc-go/roc/context.go:141 +0x68
github.com/roc-streaming/roc-go/roc.(*Context).Close(0xc00038e040)
	/Users/runner/work/roc-go/roc-go/roc/context.go:141 +0x130
github.com/roc-streaming/roc-go/roc.TestSender_WriteFloats.func1(0xc000392000)
	/Users/runner/work/roc-go/roc-go/roc/sender_test.go:415 +0x230
testing.tRunner(0xc000392000, 0xc0003882a0)
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1689 +0x184
created by testing.(*T).Run in goroutine 193
	/Users/runner/hostedtoolcache/go/1.22.4/arm64/src/testing/testing.go:1742 +0x5e8
exit status 2
FAIL	github.com/roc-streaming/roc-go/roc	600.084s
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions