-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
macOS 13 runner also needs Xcode UI testing capabilities #7621
Comments
Hey @erikng! |
Should be fixed |
Thanks. I'll revert some of my Ui test skips and test it out. |
I think I am still seeing macOS 13 time out around
|
Could the underlying issue here be #7531 where macOS 13 runners are having issues running applescript/osascript? |
As far as I can see the root cause is the same as the original bug here and not related to #7531. I added
While in
|
@erikng new image on board. May I ask you to check if the issue still persist? |
It's still failing for me - but it's weird: We have a pipeline with two parallel jobs (for debug and release), the debug job passed while the release job failed. |
Hey @idigra! ![]() |
Yes, that's right. Versions precisely matching the ones you mentioned. |
Due to macOS 13 still being in beta, it's difficult for me to give an exact timeline. It shouldn't take more than a couple of working days, but I'll come back separately and let you know when everything is ready. I'm afraid I may have bothered you with checks too early this time. |
Thanks! That's fine, for us it's not urgent. I can wait until we're sure that it's done. Also we're fine with small percentages of agents that are not upgraded, the only implication is that developers will be required to rerun which is a cost we can be tolerated for, as long as it's rare and is going to be solved. |
Yes, I'm also waiting on the new image version as I have gone ahead and started doing development on Xcode 15 so the runner would fail the unit tests anyway now as some functionality is only in the new Swift 5.9 frameworks. It appears to only be 29% deployed out, but as soon as it's fully deployed, I can try it. I will try it now and see if I get the luck of the draw with Edit: Got |
It's deployed to about 90% now so my luck of the draw was much better this morning. My unit tests are working now and I was able to cut a new pre-release of my application, including the use of Xcode 15. Thanks! |
Same here, tests are passing. Thanks! |
Passing on my end. Thank you! |
@idigra i am still facing the issue. |
I guess you'd like to tag one of the issues owner rather than me, who only encountered this issue. |
@idigra where in the script i should add |
IIRC I added it within a bash script step. |
i added this - |
Sorry, too long ago, I don't remember the details. |
|
Hey @sssuourabh! I checked automation-mode: jobs:
test:
strategy:
matrix:
os: [ macos-12, macos-13, macos-14 ]
runs-on: ${{ matrix.os }}
steps:
- name: Run command
run: automationmodetool
- name: Run command
run: sudo /usr/sbin/DevToolsSecurity --enable Got next (the same for all macOS images): It seems fine. There is a possibility that you trying to use not authorised operation. |
I have added run command @erik-bershel ![]() but i get an error - Simulator device returned an error for the requested operation. |
Hey @sssuourabh! |
@erik-bershel Now when i solved that identifier problem then it says this problem. ![]() All other unit tests passes but UI tests failed so it exited with error - |
@sssuourabh please provide archive with logs and link to the failed run, no matter if private. |
I am attaching logs, please have a look. |
Hey @sssuourabh! 2024-04-09T09:09:04.4786430Z 2024-04-09 09:09:02.669 xcodebuild[20053:114125] iOSSimulator: 97C573C1-C829-42F5-8F4A-E13807B80A3B: Failed to launch app with identifier: com.doxel.app and options: {
This indicates that the application failed to run on the simulator with ID "com.doxel.app". The reasons for this error may be different:
To resolve this issue, you may need to follow these steps:
If you continue to experience problems after checking the above steps, you may need to analyse the simulator logs or build logs in more detail to identify the specific cause of the error. Separately, I would like to note that firstly I would try to run the same tests in the same way configured local environment. There is always a possibility that your test did not run simply because the base runner did not have enough resources. I can say right away that we have no influence on performance issues. Example of this kind: fastlane/fastlane#21025 (comment) Unfortunately, the problem is not in the automation itself - this is a simple problem to solve, but is located somewhere between the simulator and your application. |
hi @erik-bershel can you please check my logs my build is getting succeeded but TEST BUILD FAILED. |
Hey @sssuourabh! Please, update your message. There is no logs at all. |
can you please check - |
Hey @sssuourabh! |
<img width="812" alt="Screenshot 2024-05-18 at 10 24 22 A@erik-bershel rc="https://github.com/actions/runner-images/assets/2918573/d71be61f-7951-4708-84f2-403339b74aa0"> |
Description
Someone had reported this for the macOS 12 runner #5410
#5417 solved for it, but unfortunately this logic wasn't updated for the 13 runner https://github.com/actions/runner-images/blob/main/images/macos/provision/configuration/configure-machine.sh#L60
This needs to be updated to be performed on macOS 12 and higher
My CI job is failing due to this
Platforms affected
Runner images affected
Image version and build link
https://github.com/macadmins/nudge/actions/runs/5026342911/jobs/9014503504
Is it regression?
yes
Expected behavior
xcode ui unit tests should work
Actual behavior
they don't work
Repro steps
Run xcode ui tests on a project, see that they fail.
The text was updated successfully, but these errors were encountered: