actions / runner-images

GitHub Actions runner images
MIT License
10.17k stars 3.06k forks source link

On Image: macOS-14, Xcode 16.0 is not found #10929

Open surendrapatel-rak opened 5 days ago

surendrapatel-rak commented 5 days ago

Description

On Image: macOS-14 (Build Agent) Xcode version 16.0 is not found throws error and fails pipeline.

Platforms affected

Runner images affected

Image version and build link

Runner Image Provisioner Current image version: '20241106.300' Agent running as: 'runner'

Screenshot 2024-11-08 at 11 32 33 AM

Is it regression?

NA

Expected behavior

Should be able to find Xcode 16.0 version on On Image: macOS-14 (Build Agent)

Actual behavior

Not able to find Xcode 16.0 version on On Image: macOS-14 (Build Agent)

Repro steps

Run pipleline with On Image: macOS-14 (Build Agent) with Xcode 16 projects

Screenshot 2024-11-08 at 11 14 38 AM Screenshot 2024-11-08 at 11 14 19 AM
susmitamane commented 4 days ago

Hey @surendrapatel-rak

It's expected behaviour. Consider to switch to macOS-15 images, please, in order to use Xcode 16.

Thank you, let us know if there are any other issues with we can help.

grafikrobot commented 4 days ago

Hey @surendrapatel-rak

It's expected behaviour. Consider to switch to macOS-15 images, please, in order to use Xcode 16.

* [[macOS] Support policy changes; Xcode 14 and 16 will be removed from macOS 14 on November 4 #10703](https://github.com/actions/runner-images/issues/10703)

Thank you, let us know if there are any other issues with we can help.

Could you, for the sanity of your users, update documentation when you do that!!!!!

https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md

susmitamane commented 1 day ago

Hi @grafikrobot This week deployment is completed till ring 0 and 1, once all rings completed and changes are deployed it will reflect above changes in the macos-14-Readme.md .

Thank you, please let us know if there are any other issues with we can help.

surendrapatel-rak commented 23 hours ago

Checking on that, Thankyou

surendrapatel-rak commented 20 hours ago

Hi @susmitamane , Any idea on this error: (This I was getting sometimes in macOS 14 also) Sometimes it works well.

/usr/local/bin/openssl pkcs12 -in /Users/runner/work/_temp/**.p12 -nokeys -passin pass:*** | /usr/local/bin/openssl x509 -sha1 -noout -fingerprint -subject -dates -nameopt utf8,sep_semi_plus_space Error outputting keys and certificates 401B0F54F87F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties () Could not find certificate from

[warning]Error parsing certificate. This might be caused by an unsupported algorithm. If you're using old certificate with a new OpenSSL version try to set -legacy flag in opensslPkcsArgs input.

[error]Error: /usr/local/bin/openssl failed with return code: 1

surendrapatel-rak commented 16 hours ago

Certificate installation is not working even once with macOS 15

zypherman commented 14 hours ago

@surendrapatel-rak its because you are getting bounced between 2 versions of the macos-15 image. Older version is forcing OpenSSL 3 to be the default and the newer one has that change reverted. My solution has been to just add 2 versions of the install certificate task, 1 with the legacy flag being passed and one without. Add continueOnError: true to both tasks so that your pipeline won't fail when one doesn't work.