Open blindpirate opened 2 years ago
Hi @blindpirate, thanks for raising this issue. Can you correlate this in any way with the length of the video?
Can you also reproduce sometimes it when just running a single test?
Thanks @kiview for reply, I was on vacation in the past days. Now I seem to be able to narrow down the problematic test to a single test case, and it seems to be reproducible on my mac machine - running that single test hangs. It's not reproducible on my Linux servers, though.
$ ./gradlew server:app:browserTest --tests AnonymousPlayerKickOffBrowserTest
> Configure project :
Use buildTimestamp 20220209205703
> Task :utils:buildProductionGameResources
Game resources has been generated in /Users/zhb/Projects/ByteLegend/utils/build/game-resources-production
<============-> 99% EXECUTING [12m 30s]
> :server:app:browserTest > 0 tests completed
> :server:app:browserTest > Executing test com...browsertest.AnonymousPlayerKickOffBrowserTest
Unfortunately it's a private project so I can't share it publicly.
Can you correlate this in any way with the length of the video?
The recorded video is pretty small (<1M).
Can you confirm that the test runs fine if you disable video recording? Are you on an ARM MacBook? We are using this image for doing the encoding.
@blindpirate are you on an ARM system, by chance (you said you are using a MacBook, are you on an M1 MacBook; what does arch
show)? Or, have you possibly configured a large screen size for the browser in BrowserWebDriverContainer
? If so, you might be running into this issue: https://github.com/testcontainers/testcontainers-java/discussions/6229
No I'm on Intel mac.
@blindpirate if you have time to check, I'm curious if #6307 fixes your issue.
Can someone else confirm if it is fixed in the newest version?
Thanks for the awesome project. It really really help out. I've been experiencing this issue for several months. It happens frequently (several times per day) but I didn't find a stable way to reproduce, thus I can't provide a minimal reproducer. My project runs browser tests with Kotlin 1.6.10, Gradle 7.3. It hangs frequently if I enabled recording, regardless of format (flv/mp4). Once I disable recording, no issues at all.
Environment:
macOS 11.3.1 docker desktop 4.2.0 (70708) testcontainers 1.16.3
When it hangs, the docker ps outputs:
The stacktrace and jstack dump:
Any help/guidance on how to mitigate would be appreciated.