Skip to content
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

[CI][MATLAB] MATLAB macOS CI workflow fails because of macos-latest change to macos-14 #41370

Closed
kou opened this issue Apr 24, 2024 · 5 comments

Comments

@kou
Copy link
Member

kou commented Apr 24, 2024

Describe the bug, including details regarding any error messages, version, and platform.

macos-latest is now macos-14 not macos-12.

In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to macos-14 was planned for April-June 2024).

See also: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Example:

https://github.com/apache/arrow/actions/runs/8819911040/job/24212270905?pr=41359#step:9:28

CMake Error at /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
-- Configuring incomplete, errors occurred!
  Could NOT find Matlab (missing: Matlab_MEX_LIBRARY Matlab_MX_LIBRARY)
  (found version "9.14.0.2489007")
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindMatlab.cmake:2029 (find_package_handle_standard_args)
  CMakeLists.txt:135 (find_package)

Component(s)

Continuous Integration, MATLAB

@kou
Copy link
Member Author

kou commented Apr 24, 2024

@kevingurney @sgilmore10 We may need to update matlab-actions/setup-matlab for macos-14 or use macos-12 instead of macos-latest temporary.

@kevingurney kevingurney changed the title [CI][MATLAB] macOS job is failed because of mascos-latest change [CI][MATLAB] macOS job is failed because of macos-latest change Apr 25, 2024
@kevingurney
Copy link
Member

kevingurney commented Apr 25, 2024

Thanks for reporting this @kou!

This may be due to the fact that we are currently using MATLAB R2023a in the GitHub Actions workflow, and R2023a is not officially supported on macos-14.

See the Platform Road Map here for more information on version compatibility:

https://www.mathworks.com/support/requirements/platform-road-map.html

We can try updating the version of MATLAB used in the GitHub Actions workflow to R2024a (latest available version). Hopefully, that will resolve the issue.

@kevingurney
Copy link
Member

After some more investigation, we realized that there are a few issues that need to be addressed in mathworks/libmexclass before we can start using R2024a.

So, we think it makes the most sense to just pin this CI workflow back to use macos-12 for the time being.

We will prioritize addressing the libmexclass issues as soon as we can.

@kevingurney kevingurney self-assigned this Apr 25, 2024
@kevingurney kevingurney changed the title [CI][MATLAB] macOS job is failed because of macos-latest change [CI][MATLAB] MATLAB macOS CI workflow fails because of macos-latest change to macos-14 Apr 25, 2024
@kevingurney
Copy link
Member

I've created #41385 to capture the work of moving to R2024a.

kevingurney added a commit that referenced this issue Apr 25, 2024
…os-latest` change to `macos-14` (#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  #41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: #41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
@kevingurney kevingurney added this to the 16.1.0 milestone Apr 25, 2024
@kevingurney
Copy link
Member

Issue resolved by pull request 41384
#41384

raulcd pushed a commit that referenced this issue Apr 29, 2024
…os-latest` change to `macos-14` (#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  #41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: #41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
tolleybot pushed a commit to tmct/arrow that referenced this issue May 2, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
tolleybot pushed a commit to tmct/arrow that referenced this issue May 4, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
rok pushed a commit to tmct/arrow that referenced this issue May 8, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
rok pushed a commit to tmct/arrow that referenced this issue May 8, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
vibhatha pushed a commit to vibhatha/arrow that referenced this issue May 25, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
CurtHagenlocher pushed a commit to CurtHagenlocher/arrow that referenced this issue Jun 14, 2024
…f `macos-latest` change to `macos-14` (apache#41384)

### Rationale for this change

* The MATLAB macOS CI workflow is failing because of the recent change to `macos-latest` from `macos-12` to `macos-14`.
* In https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ it is mentioned that the transition to `macos-14` was planned for April-June 2024.
* As noted in the [Platform Road Map](https://www.mathworks.com/support/requirements/platform-road-map.html), MATLAB R2023a is not officially supported with `macos-14`.
* Until we can move to building against MATLAB R2024a (latest available version of MATLAB), it makes sense to pin back the macOS version to version 14.

### What changes are included in this PR?

1. Pin back MATLAB CI workflow to use `macos-12`.
2. Pin back MATLAB crossbow packaging workflow to use `macos-12`.

### Are these changes tested?

I will run a crossbow job and ensure that the MATLAB CI workflow passes successfully before merging this PR.

### Are there any user-facing changes?

No.

### Future Directions

1.  apache#41385

### Notes

1. Thanks @ sgilmore10 for your help with this pull request!
* GitHub Issue: apache#41370

Authored-by: Kevin Gurney <[email protected]>
Signed-off-by: Kevin Gurney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants