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

The latest MacOS-14 vm-image provided by github at the time of this writing (22nd of October 2024) causes a cryptic python error #633

Closed
ksidirop-laerdal opened this issue Oct 22, 2024 · 3 comments

Comments

@ksidirop-laerdal
Copy link

I have the following simple yaml:

jobs:
  
  build:

    runs-on: 'macos-14'

    [...]

      - name: '📡 Publish Test Results' # https://github.com/marketplace/actions/publish-test-results
        uses: 'EnricoMi/publish-unit-test-result-action/macos@v2'
        if: always()
        with:
          files: |
            TestResults/**/TEST-*.xml
            TestResults/**/TEST-*.trx

This used to work up until a few days ago just fine but it now results in the following cryptic error:

 src/c/_cffi_backend.c:6121:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
                ^
        src/c/_cffi_backend.c:6121:9: note: did you mean 'PyErr_WriteUnraisable'?
        /opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
        PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
                         ^
        1 warning and 1 error generated.
        error: command '/usr/bin/clang' failed with exit code 1
        [end of output]

Any insights appreciated.

ksidirop-laerdal added a commit to Laerdal/Laerdal.McuMgr that referenced this issue Oct 22, 2024
…ror affecting EnricoMi/publish-unit-test-result-action/macos@v2

   more details here EnricoMi/publish-unit-test-result-action#633
ksidirop-laerdal added a commit to Laerdal/Laerdal.McuMgr that referenced this issue Oct 22, 2024
…ror affecting EnricoMi/publish-unit-test-result-action/macos@v2

   more details here EnricoMi/publish-unit-test-result-action#633
@EnricoMi
Copy link
Owner

I suspect this is a duplicate of #630.

Can you please test if this is fixed with:

uses: 'EnricoMi/publish-unit-test-result-action/macos@master'

@ksidirop-laerdal
Copy link
Author

ksidirop-laerdal commented Oct 22, 2024

On it.

Update: Verified that it works. Appreciate the tip. 💯

@EnricoMi
Copy link
Owner

Potential fix has been released, available as @v2. Please give it a try,

@EnricoMi EnricoMi closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants