gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
671 stars 97 forks source link

Macos runner: getaddrinfo ENOTFOUND downloads.gradle.org #1030

Closed eygraber closed 8 months ago

eygraber commented 8 months ago

A not insignificant percentage of my GitHub Actions runs on macos fails with

Run gradle/wrapper-validation-action@v[1](https://github.com/eygraber/cmp-library-template/actions/runs/7458677158/job/20293112859?pr=2#step:5:1).1.0
  with:
    min-wrapper-count: 1
    allow-snapshots: false
  env:
    GRADLE_OPTS: -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -Xms51[2](https://github.com/eygraber/cmp-library-template/actions/runs/7458677158/job/20293112859?pr=2#step:5:2)m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=102[4](https://github.com/eygraber/cmp-library-template/actions/runs/7458677158/job/20293112859?pr=2#step:5:4)m"
    JAVA_HOME: /Users/runner/hostedtoolcache/Java_Zulu_jdk/21.0.1-12/x[6](https://github.com/eygraber/cmp-library-template/actions/runs/7458677158/job/20293112859?pr=2#step:5:6)4
    JAVA_HOME_21_X64: /Users/runner/hostedtoolcache/Java_Zulu_jdk/21.0.1-12/x64
Error: getaddrinfo ENOTFOUND downloads.gradle.org

Running it again usually solves it, but this is very annoying. Happening for months now, but it's getting worse since I run more actions on macos recently.

bigdaz commented 8 months ago

Can you please report this issue at https://github.com/gradle/wrapper-validation-action?

eygraber commented 8 months ago

Oh sorry, must've clicked the wrong link :see_no_evil: