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

MM-54364: backport playbooks 1.36 -> mattermost 7.8 ESR #1883

Merged
merged 1 commit into from
Nov 10, 2023

MM-54364: Prevent garbage telemetry for invalid run ids (#1873)

c0c52b5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

MM-54364: backport playbooks 1.36 -> mattermost 7.8 ESR #1883

MM-54364: Prevent garbage telemetry for invalid run ids (#1873)
c0c52b5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Nov 10, 2023 in 0s

6 fail, 1 skipped, 532 pass in 21m 45s

539 tests   532 ✔️  21m 45s ⏱️
  17 suites      1 💤
    1 files        6

Results for commit c0c52b5.

Annotations

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestPlaybooksGuests (github.com/mattermost/mattermost-plugin-playbooks/server) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestPlaybooksGuests
Created temporary postgres database dbgj7q6q931fruucthg1w9ytripc
panic: test timed out after 10m0s

goroutine 147560 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:2036 +0x8e
created by time.goFunc
	/opt/hostedtoolcache/go/1.19.5/x64/src/time/sleep.go:176 +0x32

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000103520, {0x291f3d4?, 0x52e565?}, 0x2abcb20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1494 +0x37a
testing.runTests.func1(0xc000e91380?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1846 +0x6e
testing.tRunner(0xc000103520, 0xc000583c10)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1446 +0x10b
testing.runTests(0xc000c37ae0?, {0x45d0ce0, 0x33, 0x33}, {0x1000000000074?, 0x7ffa6c8636e8?, 0x4601b60?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1844 +0x456
testing.(*M).Run(0xc000c37ae0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1726 +0x5d9
github.com/mattermost/mattermost-plugin-playbooks/server.TestMain(0xffffffffffffffff?)
	/home/runner/work/mattermost-plugin-playbooks/mattermost-plugin-playbooks/server/main_test.go:47 +0x189
main.main()
	_testmain.go:149 +0x1d3

goroutine 20 [select, 10 minutes]:
github.com/blevesearch/bleve_index_api.AnalysisWorker({0xc000524cc0?, 0xc000524d20?})
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:46 +0x8f
created by github.com/blevesearch/bleve_index_api.NewAnalysisQueue
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:38 +0x92

goroutine 21 [select, 10 minutes]:
github.com/blevesearch/bleve_index_api.AnalysisWorker({0xc000524cc0?, 0xc000524d20?})
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:46 +0x8f
created by github.com/blevesearch/bleve_index_api.NewAnalysisQueue
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:38 +0x92

goroutine 22 [select, 10 minutes]:
github.com/blevesearch/bleve_index_api.AnalysisWorker({0xc000524cc0?, 0xc000524d20?})
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:46 +0x8f
created by github.com/blevesearch/bleve_index_api.NewAnalysisQueue
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:38 +0x92

goroutine 23 [select, 10 minutes]:
github.com/blevesearch/bleve_index_api.AnalysisWorker({0xc000524cc0?, 0xc000524d20?})
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:46 +0x8f
created by github.com/blevesearch/bleve_index_api.NewAnalysisQueue
	/home/runner/go/pkg/mod/github.com/blevesearch/bleve_index_api@v1.0.5/analysis.go:38 +0x92

goroutine 147535 [syscall]:
syscall.Syscall(0xc006c85b58?, 0x2fbc460?, 0xc001841668?, 0x40d6dd?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/syscall/syscall_linux.go:68 +0x27
syscall.Fsync(0x1000000000001?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/syscall/zsyscall_linux_amd64.go:423 +0x2a
internal/poll.(*FD).Fsync.func1(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_fsync_posix.go:18
internal/poll.ignoringEINTR(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_posix.go:74
internal/poll.(*FD).Fsync(0xc006c85bd8?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_fsync_posix.go:17 +0xf4
os.(*File).Sync(0xc001841670)
	/opt/hostedtoolcache/go/1.19.5/x64/src/os/file_posix.go:168 +0x4e
github.com/mattermost/mattermost-server/v6/utils.CopyFile({0xc006967ef0, 0x27}, {0xc0049fc6e0, 0x4f})
	/home/runner/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/utils/file.go:42 +0x1fe
github.com/mattermost/mattermost-plugin-playbooks/server.Setup(0xc0075ff520)
	/home/runner/work/mattermost-plugin-playbooks/mattermost-plugin-playbooks/server/main_test.go:152 +0x746
github.com/mattermost/mattermost-plugin-playbooks/server.TestPlaybooksGuests(0x2fcb9c8?)
	/home/runner/work/mattermost-plugin-playbooks/mattermost-plugin-playbooks/server/api_playbooks_test.go:1512 +0x25
testing.tRunner(0xc0075ff520, 0x2abcb20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1493 +0x35f

goroutine 9 [select, 9 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc000536420)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 49374 [select, 5 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0017b3c30)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 109147 [select, 2 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065cfe40)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 17849 [select, 8 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0026bfe40)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 13832 [select, 9 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc004794b00)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 19792 [select, 8 minutes]:
net/http.(*persistConn).readLoop(0xc000517d40)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:2213 +0xd85
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1751 +0x173e

goroutine 32346 [select, 7 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065ce420)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 23798 [select, 7 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc002f0e6e0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 90246 [select, 4 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006a5a8f0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 94042 [select, 3 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc00445b8c0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 5358 [IO wait]:
internal/poll.runtime_pollWait(0x7ffa440593d8, 0x72)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0xc000403000?, 0xc00001c000?, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000403000, {0xc00001c000, 0x3500, 0x3500})
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000403000, {0xc00001c000?, 0xc0020d4b60?, 0xc00001c005?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc0027bab40, {0xc00001c000?, 0xc0022d1810?, 0x419973?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/net.go:183 +0x45
crypto/tls.(*atLeastReader).Read(0xc00050bc80, {0xc00001c000?, 0x0?, 0x8?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/crypto/tls/conn.go:787 +0x3d
bytes.(*Buffer).ReadFrom(0xc000e9faf8, {0x2fb72e0, 0xc00050bc80})
	/opt/hostedtoolcache/go/1.19.5/x64/src/bytes/buffer.go:202 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000e9f880, {0x2fbc040?, 0xc0027bab40}, 0x203001?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/crypto/tls/conn.go:809 +0xe5
crypto/tls.(*Conn).readRecordOrCCS(0xc000e9f880, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/crypto/tls/conn.go:616 +0x116
crypto/tls.(*Conn).readRecord(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/crypto/tls/conn.go:582
crypto/tls.(*Conn).Read(0xc000e9f880, {0xc0022ef000, 0x1000, 0x40f77f?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/crypto/tls/conn.go:1287 +0x16f
bufio.(*Reader).Read(0xc0021f06c0, {0xc00210d1c0, 0x9, 0xc0022d1cd8?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/bufio/bufio.go:237 +0x1bb
io.ReadAtLeast({0x2fb6cc0, 0xc0021f06c0}, {0xc00210d1c0, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.19.5/x64/src/io/io.go:332 +0x9a
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/io/io.go:351
net/http.http2readFrameHeader({0xc00210d1c0?, 0x9?, 0xc0022d1da0?}, {0x2fb6cc0?, 0xc0021f06c0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/h2_bundle.go:1565 +0x6e
net/http.(*http2Framer).ReadFrame(0xc00210d180)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/h2_bundle.go:1829 +0x95
net/http.(*http2clientConnReadLoop).run(0xc0022d1f98)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/h2_bundle.go:8874 +0x130
net/http.(*http2ClientConn).readLoop(0xc0027a8900)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/h2_bundle.go:8770 +0x6f
created by net/http.(*http2Transport).newClientConn
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/h2_bundle.go:7477 +0xaaa

goroutine 9873 [select, 9 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc004795e40)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 28164 [select, 7 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc004795290)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 86433 [select, 4 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc00033aa50)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 81651 [select, 4 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0068ed6b0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 143578 [select]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006a5a0b0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 116941 [select, 2 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065cf4a0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 75531 [select, 4 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0005362c0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 100848 [select, 3 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0068ed760)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 19793 [select, 8 minutes]:
net/http.(*persistConn).writeLoop(0xc000517d40)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:2392 +0xf5
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1752 +0x1791

goroutine 105186 [select, 3 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065cf130)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 63764 [select, 5 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065cfc30)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 128869 [select, 1 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc004794370)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 136058 [select]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0026be4d0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 125796 [select, 1 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0068ec420)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 139216 [select]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0065cf340)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 21741 [select, 8 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc00445a0b0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 68717 [select, 5 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006a5b4a0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 40874 [select, 6 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc000537ce0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 121680 [select, 1 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006de3ad0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 36715 [select, 6 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc00275d600)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 44918 [select, 6 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc0026bfad0)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 132016 [select, 1 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006de2e70)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 96923 [select, 3 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc00033a000)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

goroutine 113758 [select, 2 minutes]:
github.com/mattermost/logr/v2.(*Logr).start(0xc006a5b080)
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:404 +0xc5
created by github.com/mattermost/logr/v2.New
	/home/runner/go/pkg/mod/github.com/mattermost/logr/v2@v2.0.15/logr.go:80 +0x3da

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGetSchemeRolesForChannel/channel_with_scheme#01 (github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestGetSchemeRolesForChannel/channel_with_scheme#01
panic: test timed out after 10m0s

goroutine 7420 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:2036 +0x8e
created by time.goFunc
	/opt/hostedtoolcache/go/1.19.5/x64/src/time/sleep.go:176 +0x32

goroutine 1 [chan receive]:
testing.(*T).Run(0xc00009d6c0, {0x10ddfc8?, 0x51ebe5?}, 0x1174a20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1494 +0x37a
testing.runTests.func1(0xc0003ba780?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1846 +0x6e
testing.tRunner(0xc00009d6c0, 0xc00053fcd8)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1446 +0x10b
testing.runTests(0xc0002d3360?, {0x1a451c0, 0x31, 0x31}, {0x7f4b5ad99108?, 0x40?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1844 +0x456
testing.(*M).Run(0xc0002d3360)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1726 +0x5d9
main.main()
	_testmain.go:143 +0x1aa

goroutine 7155 [IO wait]:
internal/poll.runtime_pollWait(0x7f4b316c9678, 0x72)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0xc0005ccd00?, 0xc000543000?, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0005ccd00, {0xc000543000, 0x1000, 0x1000})
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc0005ccd00, {0xc000543000?, 0xc0005ccd00?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000014a60, {0xc000543000?, 0x1a576a0?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/net.go:183 +0x45
github.com/go-sql-driver/mysql.(*buffer).fill(0xc00059b680, 0x4)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/buffer.go:90 +0x23a
github.com/go-sql-driver/mysql.(*buffer).readNext(0xc00059b680, 0x4)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/buffer.go:119 +0x2d
github.com/go-sql-driver/mysql.(*mysqlConn).readPacket(0xc00059b680)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/packets.go:32 +0x85
github.com/go-sql-driver/mysql.(*mysqlConn).readResultSetHeaderPacket(0xc00059b680?)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/packets.go:538 +0x25
github.com/go-sql-driver/mysql.(*mysqlConn).exec(0xc00059b680, {0xc00003fa40?, 0x40d6dd?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:334 +0x97
github.com/go-sql-driver/mysql.(*mysqlConn).Exec(0xc00059b680, {0xc00003fa40?, 0xc0000c8000?}, {0x1a88948?, 0x0?, 0xffffffffffffffff?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:316 +0x99
github.com/go-sql-driver/mysql.(*mysqlConn).ExecContext(0xc00059b680, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x1a88948, 0x0, 0x0?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:525 +0x172
database/sql.ctxDriverExec({0x12fdb10?, 0xc0000c8000?}, {0x7f4b305becb8?, 0xc00059b680?}, {0x0?, 0x0?}, {0xc00003fa40?, 0x203000?}, {0x1a88948, 0x0, ...})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/ctxutil.go:31 +0xe5
database/sql.(*DB).execDC.func2()
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1679 +0x175
database/sql.withLock({0x12f97e0, 0xc0003c5050}, 0xc0003dfb30)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:3439 +0x8c
database/sql.(*DB).execDC(0x5c8301?, {0x12fdb10, 0xc0000c8000}, 0xc0003c5050, 0xc0005ce5c0?, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1674 +0x266
database/sql.(*DB).exec(0x5c8526?, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0}, 0x48?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1659 +0xe8
database/sql.(*DB).ExecContext(0x10a7c47?, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1633 +0xe5
database/sql.(*DB).Exec(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1651
github.com/mattermost/mattermost-server/v6/store/storetest.execAsRoot(0xc000108120?, {0xc00003fa40, 0x2a})
	/home/runner/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/store/storetest/settings.go:179 +0x146
github.com/mattermost/mattermost-server/v6/store/storetest.CleanupSqlSettings(0xc000594460)
	/home/runner/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/store/storetest/settings.go:251 +0xc5
github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore.setupTestDB.func2()
	/home/runner/work/mattermost-plugin-playbooks/mattermost-plugin-playbooks/server/sqlstore/support_for_test.go:37 +0x85
testing.(*common).Cleanup.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1041 +0x11f
testing.(*common).runCleanup(0xc000700680, 0xc000700680?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1210 +0x95
testing.tRunner.func2()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1440 +0x29
testing.tRunner(0xc000700680, 0x1174a20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1452 +0x135
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1493 +0x35f

goroutine 7407 [select]:
github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1()
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:614 +0xaa
created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:611 +0x10a

goroutine 7170 [select]:
database/sql.(*DB).connectionOpener(0xc0005caea0, {0x12fdad8, 0xc0002b4a00})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1224 +0x8d
created by database/sql.OpenDB
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:792 +0x18d

goroutine 7415 [select]:
database/sql.(*DB).connectionOpener(0xc000589790, {0x12fdad8, 0xc0005ce5c0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1224 +0x8d
created by database/sql.OpenDB
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:792 +0x18d

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGetSchemeRolesForChannel (github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestGetSchemeRolesForChannel
Created temporary postgres database dbroocq3471bra8yw8otjrz4nzge
=== RUN   TestGetSchemeRolesForChannel/channel_with_no_scheme
=== RUN   TestGetSchemeRolesForChannel/channel_with_scheme
Created temporary mysql database dbtxmqp4fdtbd5uej31me6gnmkec
=== RUN   TestGetSchemeRolesForChannel/channel_with_no_scheme#01
=== RUN   TestGetSchemeRolesForChannel/channel_with_scheme#01
panic: test timed out after 10m0s

goroutine 7420 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:2036 +0x8e
created by time.goFunc
	/opt/hostedtoolcache/go/1.19.5/x64/src/time/sleep.go:176 +0x32

goroutine 1 [chan receive]:
testing.(*T).Run(0xc00009d6c0, {0x10ddfc8?, 0x51ebe5?}, 0x1174a20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1494 +0x37a
testing.runTests.func1(0xc0003ba780?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1846 +0x6e
testing.tRunner(0xc00009d6c0, 0xc00053fcd8)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1446 +0x10b
testing.runTests(0xc0002d3360?, {0x1a451c0, 0x31, 0x31}, {0x7f4b5ad99108?, 0x40?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1844 +0x456
testing.(*M).Run(0xc0002d3360)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1726 +0x5d9
main.main()
	_testmain.go:143 +0x1aa

goroutine 7155 [IO wait]:
internal/poll.runtime_pollWait(0x7f4b316c9678, 0x72)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0xc0005ccd00?, 0xc000543000?, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0005ccd00, {0xc000543000, 0x1000, 0x1000})
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc0005ccd00, {0xc000543000?, 0xc0005ccd00?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000014a60, {0xc000543000?, 0x1a576a0?, 0x1a576a0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/net.go:183 +0x45
github.com/go-sql-driver/mysql.(*buffer).fill(0xc00059b680, 0x4)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/buffer.go:90 +0x23a
github.com/go-sql-driver/mysql.(*buffer).readNext(0xc00059b680, 0x4)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/buffer.go:119 +0x2d
github.com/go-sql-driver/mysql.(*mysqlConn).readPacket(0xc00059b680)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/packets.go:32 +0x85
github.com/go-sql-driver/mysql.(*mysqlConn).readResultSetHeaderPacket(0xc00059b680?)
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/packets.go:538 +0x25
github.com/go-sql-driver/mysql.(*mysqlConn).exec(0xc00059b680, {0xc00003fa40?, 0x40d6dd?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:334 +0x97
github.com/go-sql-driver/mysql.(*mysqlConn).Exec(0xc00059b680, {0xc00003fa40?, 0xc0000c8000?}, {0x1a88948?, 0x0?, 0xffffffffffffffff?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:316 +0x99
github.com/go-sql-driver/mysql.(*mysqlConn).ExecContext(0xc00059b680, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x1a88948, 0x0, 0x0?})
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:525 +0x172
database/sql.ctxDriverExec({0x12fdb10?, 0xc0000c8000?}, {0x7f4b305becb8?, 0xc00059b680?}, {0x0?, 0x0?}, {0xc00003fa40?, 0x203000?}, {0x1a88948, 0x0, ...})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/ctxutil.go:31 +0xe5
database/sql.(*DB).execDC.func2()
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1679 +0x175
database/sql.withLock({0x12f97e0, 0xc0003c5050}, 0xc0003dfb30)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:3439 +0x8c
database/sql.(*DB).execDC(0x5c8301?, {0x12fdb10, 0xc0000c8000}, 0xc0003c5050, 0xc0005ce5c0?, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1674 +0x266
database/sql.(*DB).exec(0x5c8526?, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0}, 0x48?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1659 +0xe8
database/sql.(*DB).ExecContext(0x10a7c47?, {0x12fdb10, 0xc0000c8000}, {0xc00003fa40, 0x2a}, {0x0, 0x0, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1633 +0xe5
database/sql.(*DB).Exec(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1651
github.com/mattermost/mattermost-server/v6/store/storetest.execAsRoot(0xc000108120?, {0xc00003fa40, 0x2a})
	/home/runner/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/store/storetest/settings.go:179 +0x146
github.com/mattermost/mattermost-server/v6/store/storetest.CleanupSqlSettings(0xc000594460)
	/home/runner/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/store/storetest/settings.go:251 +0xc5
github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore.setupTestDB.func2()
	/home/runner/work/mattermost-plugin-playbooks/mattermost-plugin-playbooks/server/sqlstore/support_for_test.go:37 +0x85
testing.(*common).Cleanup.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1041 +0x11f
testing.(*common).runCleanup(0xc000700680, 0xc000700680?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1210 +0x95
testing.tRunner.func2()
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1440 +0x29
testing.tRunner(0xc000700680, 0x1174a20)
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1452 +0x135
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.5/x64/src/testing/testing.go:1493 +0x35f

goroutine 7407 [select]:
github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1()
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:614 +0xaa
created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher
	/home/runner/go/pkg/mod/github.com/go-sql-driver/mysql@v1.6.0/connection.go:611 +0x10a

goroutine 7170 [select]:
database/sql.(*DB).connectionOpener(0xc0005caea0, {0x12fdad8, 0xc0002b4a00})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1224 +0x8d
created by database/sql.OpenDB
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:792 +0x18d

goroutine 7415 [select]:
database/sql.(*DB).connectionOpener(0xc000589790, {0x12fdad8, 0xc0005ce5c0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:1224 +0x8d
created by database/sql.OpenDB
	/opt/hostedtoolcache/go/1.19.5/x64/src/database/sql/sql.go:792 +0x18d

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGetSchemeRolesForChannel/channel_with_scheme (github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestGetSchemeRolesForChannel/channel_with_scheme
Created temporary mysql database dbtxmqp4fdtbd5uej31me6gnmkec

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGetSchemeRolesForChannel/channel_with_no_scheme#01 (github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestGetSchemeRolesForChannel/channel_with_no_scheme#01

Check warning on line 0 in github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGetSchemeRolesForChannel/channel_with_no_scheme (github.com/mattermost/mattermost-plugin-playbooks/server/sqlstore) failed

test-results-ci/report.xml
Raw output
Failed
=== RUN   TestGetSchemeRolesForChannel/channel_with_no_scheme