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

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) on Mac OS runner #95

Open
kwin opened this issue Nov 3, 2022 · 0 comments

Comments

@kwin
Copy link

kwin commented Nov 3, 2022

The default Mac OS runner does no longer seem to be compatible with this action. It emits

Run scacap/action-surefire-report@v1
  with:
    check_name: Test report (macOS-latest, JDK 8)
    github_token: ***
    report_paths: **/surefire-reports/TEST-*.xml, **/failsafe-reports/TEST-*.xml
    fail_on_test_failures: false
    fail_if_no_tests: true
    skip_publishing: false
  env:
    JAVA_HOME: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.345-1/x64/Contents/Home
    MVN_ADDITIONAL_OPTS: 
    MVN_GOAL: clean verify
/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:15798
    throw error;
    ^

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at macosRelease (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:[2](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:2)98[3](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:3)3:26)
    at osName (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:7110:18)
    at getUserAgent (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:15792:53)
    at parseOptions (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:793[4](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:4):[5](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:5)7)
    at new Octokit (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:7[6](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:6)24:31)
    at Object.858 (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:15253:28)
    at __webpack_require__ (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:24:31)
    at Object.8[7](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:7)2 (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:1544[8](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:8):16)
    at __webpack_require__ (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:24:31)
    at Object.507 (/Users/runner/work/_actions/scacap/action-surefire-report/v1/dist/index.js:7[9](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:9)70:[16](https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/3385000713/jobs/5622637838#step:6:17))

The runners for other operating systems are not affected. Probably related to #85.
macOS-latest comes with NodeJS 16: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md

kaklakariada added a commit to itsallcode/openfasttrace that referenced this issue Nov 22, 2022
kaklakariada added a commit to itsallcode/openfasttrace that referenced this issue Nov 22, 2022
kaklakariada added a commit to itsallcode/openfasttrace that referenced this issue Nov 22, 2022
* #338: Colored console report

* #338: Fixed small issues.

* #338: Fixed tests and warnings.

* #338: Fixed tests and warnings.

* #338: Fixed tests and warnings.

* #338: Fixed self-trace.

* #338: Fixed Java 18 JavaDoc warnings.

* #338: Fixed UTF-8 encoding int test.

* #338: Updated user guide.

* #338: Fixed review findings. Improved user guide.

* Deactivate scacap/action-surefire-report on macos

This fails because of ScaCap/action-surefire-report#95 / ScaCap/action-surefire-report#85

* Deactivate surefire report

Caused by ScaCap/action-surefire-report#95

Co-authored-by: kaklakariada <kaklakariada@users.noreply.github.com>
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

1 participant