Closed kchodorow closed 7 years ago
AFAICT everything passed ("Executed 7 out of 7 tests: 7 tests pass.") so I'm not sure why the pipeline says it fails... summoning @damienmg.
groovy.lang.MissingMethodException: No signature of method: build.bazel.ci.BazelUtils.copyCommands() is applicable for argument types: (java.util.ArrayList, java.util.HashMap) values: [[], [name:test.xml, uri:file:///home/ci/.cache/bazel/_bazel_ci/a123b34acc5de28efdcbead8be7ebf66/execroot/__main__/bazel-out/local-fastbuild/testlogs/generate_workspace/src/test/java/com/google/devtools/build/workspace/output/WorkspaceWriterTest/test.xml]]
Did the WorkspaceWriterTests also pass?
It looks it (//generate_workspace/src/test/java/com/google/devtools/build/workspace/output:WorkspaceWriterTest PASSED in 1.0s
), so I'm guess a pipeline misconfiguration.
Sorry I pushed a wrong config, just retrigger the build and it should be alright
On Tue, Jul 18, 2017, 8:05 PM Kristina notifications@github.com wrote:
It looks it (//generate_workspace/src/test/java/com/google/devtools/build/workspace/output:WorkspaceWriterTest PASSED in 1.0s), so I'm guess a pipeline misconfiguration.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bazelbuild/migration-tooling/pull/44#issuecomment-316147278, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjHf_EFWl_YRod92HGV5qPZjpPcIo9Zks5sPPPVgaJpZM4ObrAI .
Cool, np. Test this please!
BTW this looks like the PR I was waiting for, is it?
I have no idea, what were you waiting for?
I had that dependencies explosion trying to pull test deps for testing Jenkins pipeline (the kind of test that would have prevented the error above :p)
On Tue, Jul 18, 2017, 8:18 PM Kristina notifications@github.com wrote:
I have no idea, what were you waiting for?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bazelbuild/migration-tooling/pull/44#issuecomment-316151211, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjHf-3nWeas_MsngXqbHy6_wGd2iP9Oks5sPPcRgaJpZM4ObrAI .
Oh yeah! Well, here's the fix.
LGTM. Tried it out with com.google.guava:guava:22.0
and it checks out. No unnecessary dependencies.
@buchgr any status on the review
Given I've gotten an LGTM from @petroseskinder and it's been a couple days, going to submit.
My previous implementation found the transitive dependencies of any dependency mentioned in the DependencyManagement section and added them all as dependencies. This was very incorrect and very bloated.
Now that the generate_workspace.bzl has been de-bloated, I've switched the BUILD files to using the generated java_libraries and ran unused_deps on everything.
Fixes #41.