gradle / wrapper-validation-action

Gradle Wrapper Validation Action
https://github.com/marketplace/actions/gradle-wrapper-validation
MIT License
259 stars 58 forks source link

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

Closed eygraber closed 9 months ago

eygraber commented 10 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 9 months ago

This should be fixed by #167