-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 tests on macos-14
GH runner (M1, iOS)
#4415
Comments
@asafkorem @noomorph sorry to tag you, but just wanted to bring a little bit more attention to this issue 😅 I'm keen to help you with the investigation, but it would be good to know at least a direction and which additional information I need to provide. |
Not 100% sure our issues are releated, but @kirillzyusko have you tried running your tests with Xcode 14.1? We've also started experiencing issues with synchronization timeouts on CircleCI (not locally) when bumping from Xcode 14.1 to Xcode 14.3.1 More details in discord: https://discord.com/channels/957617863550697482/1219819351109275648 |
@awinograd no, I tried only 15.0, 15.2 and 14.3 🤔 Thank you for a hint - I'll try to use XCode 14.1 and return back with results 👀 From what I observed - I switched from |
@kirillzyusko the memory change is an interesting observation. Our machines went from 8GB to 6GB when switching from 14.1 to 14.3. For both machines, we see memory utilization around 80-85% which is near the 1GB mark of free RAM |
@awinograd yeah, I observed similar values. The discord link - I can not open it... Do I need to join to detox server first and only then press a link?
Yeah, but I decided to came back to P. S. I've tried to use XCode 14.1, but in this case my build fails 🙈 |
@kirillzyusko hmm i'm not sure about discord... i found this issue from the official detox discord (i think you posted it in response to someone else (edit: it was ericswpark)). Here's a link to the message (vs the thread which i linked above) invite link to discord: https://discord.gg/CkD5QKheF5 and a link to the post contents as a txt file discordmessage.txt |
@awinograd thank you! I joined a server 😊 When I debug this problem more I discovered that the problem happens on Unfortunately I can not use XCode 14.1 again, because I use RN 0.73 and build stage fails 😔 |
I'm closing this issue. It looks like it's a problem with GH runners rather than Detox. Similar problem was reported in actions/runner-images#9591 |
What happened?
I've been running tests on
macos-12
(Intel) and everything was working well.After switching to
macos-14
I see that test fails, because:or here
I also debugged video output and it looks like simulator freezes - and I'm not sure what exactly causes this freeze (but cursor is not blinking in TextInputs and before a freeze the simulator is very laggy).
The issue is not reproducible on my local machine.
What was the expected behaviour?
Tests should be running without problems.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
I think you can reproduce it via fork of https://github.com/kirillzyusko/react-native-keyboard-controller
And then run https://github.com/kirillzyusko/react-native-keyboard-controller/blob/main/.github/workflows/ios-e2e-test.yml this action (from my observation successful rate is 50/50).
In what environment did this happen?
Detox version: 20.19.3
React Native version: 0.73.5
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 18.x
Device model: iPhone 15 Pro (simulator)
iOS version: iOS 16.4, iOS 17.2
macOS version: 14
Xcode version: 14.3, 15.0, 15.2
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Can be found here: https://github.com/kirillzyusko/react-native-keyboard-controller/actions/runs/8358181451/artifacts/1342341074
But I don't understand why failed tests do not include these logs?..
Device logs
More data, please!
I'd be glad to help but I even don't know a direction for investigation. I assume that issue can be not because of
detox
but I haven't found any problems searching othermacos-14
problems and UI tests over github.The text was updated successfully, but these errors were encountered: