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

Failed to push branch for rules_jvm_external upgrade #395

Open
dhalperi opened this issue Jul 10, 2024 · 0 comments
Open

Failed to push branch for rules_jvm_external upgrade #395

dhalperi opened this issue Jul 10, 2024 · 0 comments

Comments

@dhalperi
Copy link
Contributor

https://github.com/batfish/batfish/actions/runs/9873936375/job/27267286196

main] INFO org.virtuslab.bazelsteward.app.App - Update suggestions (1):
rules_jvm_external 6.1 -> 6.2
[main] INFO org.virtuslab.bazelsteward.bazel.rules.Sha256 - Computing sha256 for https://github.com/bazelbuild/rules_jvm_external/releases/download/6.2/rules_jvm_external-6.2.tar.gz
...
[main] INFO org.virtuslab.bazelsteward.app.PullRequestManager - Creating branch bazel-steward/rules_jvm_external/6.2, current PR status: NONE
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git checkout --quiet -b bazel-steward/rules_jvm_external/6.2
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git add /home/runner/work/batfish/batfish/WORKSPACE
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git commit --quiet -m "Updated rules_jvm_external to 6.2"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_jol_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_jmh_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git add maven_install.json tools/jol/jol_maven_install.json tools/benchmarks/jmh_maven_install.json
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git git diff --quiet --exit-code --cached
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git commit --quiet -m "Post update hook"
[main] ERROR org.virtuslab.bazelsteward.app.PullRequestManager - Failed to create branch bazel-steward/rules_jvm_external/6.2
java.lang.RuntimeException: /usr/bin/git commit --quiet -m Post update hook
On branch bazel-steward/rules_jvm_external/6.2
nothing to commit, working tree clean


	at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion.runForOutput(CommandRunner.kt:28)
	at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion$runForOutput$2.invokeSuspend(CommandRunner.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:[104](https://github.com/batfish/batfish/actions/runs/9873936375/job/27267286196#step:3:109))
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at org.virtuslab.bazelsteward.app.Main$Companion.main(Main.kt:14)
	at org.virtuslab.bazelsteward.app.Main.main(Main.kt)
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git checkout --quiet master

Any suggestions what to do here?

As far as I can tell, this worked fine for the upgrade to 6.1 a few months ago: batfish/batfish#9004

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