googleforgames / agones

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes
https://agones.dev
Apache License 2.0
6k stars 793 forks source link

Flaky: TestControllerSyncGameServer #3624

Open Kalaiselvi84 opened 7 months ago

Kalaiselvi84 commented 7 months ago

What happened:

Trace[1995358745]: [29.979963541s] [29.979963541s] END
panic: test timed out after 10m0s
running tests:
    TestControllerSyncGameServer (9m59s)
    TestControllerSyncGameServer/Creating_a_new_GameServer (9m59s)

goroutine 3403 [running]:
testing.(*M).startAlarm.func1()
    /usr/local/go/src/testing/testing.go:2259 +0x259
created by time.goFunc
    /usr/local/go/src/time/sleep.go:176 +0x45

goroutine 1 [chan receive, 9 minutes]:
testing.tRunner.func1()
    /usr/local/go/src/testing/testing.go:1561 +0x9ac
testing.tRunner(0xc000504d00, 0xc0005fdaf8)
    /usr/local/go/src/testing/testing.go:1601 +0x295
testing.runTests(0xc000305220?, {0x3d60f80, 0x23, 0x23}, {0x80?, 0xc0005fdb68?, 0x3d78e80?})
    /usr/local/go/src/testing/testing.go:2052 +0x8ae
testing.(*M).Run(0xc000305220)
    /usr/local/go/src/testing/testing.go:1925 +0xcd8
main.main()
    _testmain.go:115 +0x2be

goroutine 28 [chan receive, 9 minutes]:
testing.(*T).Run(0xc000505040, {0x2aa5067, 0x19}, 0x2b8b120)
    /usr/local/go/src/testing/testing.go:1649 +0x871
agones.dev/agones/pkg/gameservers.TestControllerSyncGameServer(0x0?)
    /go/src/agones.dev/agones/pkg/gameservers/controller_test.go:62 +0x45
testing.tRunner(0xc000505040, 0x2b8aed0)
    /usr/local/go/src/testing/testing.go:1595 +0x262
created by testing.(*T).Run in goroutine 1
    /usr/local/go/src/testing/testing.go:1648 +0x846

What you expected to happen: Tests to pass

How to reproduce it (as minimally and precisely as possible): Not entirely sure. Seems to mostly happen in CI, have yet to try and reproduce locally.

Anything else we need to know?:

Environment:

github-actions[bot] commented 1 month ago

'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions '