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

Renovate fails to update local example's wrapper #714

Open
TWiStErRob opened this issue Mar 22, 2024 · 0 comments
Open

Renovate fails to update local example's wrapper #714

TWiStErRob opened this issue Mar 22, 2024 · 0 comments
Labels
a:bug something isn't working as expected in:build build.gradle, CI on GitHub Actions on:gradle issue related to Gradle
Milestone

Comments

@TWiStErRob
Copy link
Owner

image

WARN: Error executing gradle wrapper update command. It can be not a critical one though. (branch="renovate/gradle-8.7.x")
{
  "err": {
    "cmd": "/bin/sh -c ./gradlew :wrapper --gradle-distribution-url https://services.gradle.org/distributions/gradle-8.7-all.zip",
    "stderr": "\nFAILURE: Build failed with an exception.\n\n* Where:\nSettings file '/tmp/renovate/repos/github/TWiStErRob/net.twisterrob.gradle/docs/examples/local/settings.gradle.kts' line: 30\n\n* What went wrong:\nPlugin [id: 'net.twisterrob.gradle.plugin.settings', version: '0.17-SNAPSHOT'] was not found in any of the following sources:\n\n- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)\n- Included Builds (No included builds contain this plugin)\n- Plugin Repositories (could not resolve plugin artifact 'net.twisterrob.gradle.plugin.settings:net.twisterrob.gradle.plugin.settings.gradle.plugin:0.17-SNAPSHOT')\n  Searched in the following repositories:\n    MavenRepo\n    Google\n    MavenLocal(file:/home/ubuntu/.m2/repository)\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 46s\n",
    "stdout": "To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.\nDaemon will be stopped at the end of the build \nConfiguration on demand is an incubating feature.\n",
    "options": {
      "cwd": "/tmp/renovate/repos/github/TWiStErRob/net.twisterrob.gradle/docs/examples/local",
      "encoding": "utf-8",
      "env": {
        "GRADLE_OPTS": "-Dorg.gradle.parallel=true -Dorg.gradle.configureondemand=true -Dorg.gradle.daemon=false -Dorg.gradle.caching=false",
        "HOME": "/home/ubuntu",
        "PATH": "/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "LC_ALL": "C.UTF-8",
        "LANG": "C.UTF-8",
        "CONTAINERBASE_CACHE_DIR": "/tmp/renovate/cache/containerbase"
      },
      "maxBuffer": 10485760,
      "timeout": 900000
    },
    "exitCode": 1,
    "name": "ExecError",
    "message": "Command failed: ./gradlew :wrapper --gradle-distribution-url https://services.gradle.org/distributions/gradle-8.7-all.zip\n\nFAILURE: Build failed with an exception.\n\n* Where:\nSettings file '/tmp/renovate/repos/github/TWiStErRob/net.twisterrob.gradle/docs/examples/local/settings.gradle.kts' line: 30\n\n* What went wrong:\nPlugin [id: 'net.twisterrob.gradle.plugin.settings', version: '0.17-SNAPSHOT'] was not found in any of the following sources:\n\n- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)\n- Included Builds (No included builds contain this plugin)\n- Plugin Repositories (could not resolve plugin artifact 'net.twisterrob.gradle.plugin.settings:net.twisterrob.gradle.plugin.settings.gradle.plugin:0.17-SNAPSHOT')\n  Searched in the following repositories:\n    MavenRepo\n    Google\n    MavenLocal(file:/home/ubuntu/.m2/repository)\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 46s\n",
    "stack": "ExecError: Command failed: ./gradlew :wrapper --gradle-distribution-url https://services.gradle.org/distributions/gradle-8.7-all.zip\n\nFAILURE: Build failed with an exception.\n\n* Where:\nSettings file '/tmp/renovate/repos/github/TWiStErRob/net.twisterrob.gradle/docs/examples/local/settings.gradle.kts' line: 30\n\n* What went wrong:\nPlugin [id: 'net.twisterrob.gradle.plugin.settings', version: '0.17-SNAPSHOT'] was not found in any of the following sources:\n\n- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)\n- Included Builds (No included builds contain this plugin)\n- Plugin Repositories (could not resolve plugin artifact 'net.twisterrob.gradle.plugin.settings:net.twisterrob.gradle.plugin.settings.gradle.plugin:0.17-SNAPSHOT')\n  Searched in the following repositories:\n    MavenRepo\n    Google\n    MavenLocal(file:/home/ubuntu/.m2/repository)\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 46s\n\n    at ChildProcess.<anonymous> (/usr/local/renovate/lib/util/exec/common.ts:99:11)\n    at ChildProcess.emit (node:events:529:35)\n    at ChildProcess.emit (node:domain:489:12)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)"
  }
}

ensure some form of fallback?

@TWiStErRob TWiStErRob added a:bug something isn't working as expected in:build build.gradle, CI on GitHub Actions on:gradle issue related to Gradle labels Mar 22, 2024
@TWiStErRob TWiStErRob added this to the 0.17 milestone Mar 22, 2024
@TWiStErRob TWiStErRob modified the milestones: 0.17, 0.18 May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug something isn't working as expected in:build build.gradle, CI on GitHub Actions on:gradle issue related to Gradle
Projects
None yet
Development

No branches or pull requests

1 participant