tensorflow / tensorflow/tensorboard
Plugin error message is unclear about the cause even with --verbose_failures
@nfelt is already working on this.
Since Jul 7, 2020.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
Below is the output for building the plugin I'm working on and the error message doesn't provide me much to go on. Comparing the BUILD file of my plugin with Image plugin, they're almost identical outside of the plugin name and local files
$ bazel build tensorboard:tensorboard --verbose_failures
...
ERROR: /home/z/projects/TB/z-2020-Tensorboard/tensorboard/plugins/z_video/z_video_dashboard/BUILD:7:15: Checking webfiles //tensorboard/plugins/z_video/z_video_dashboard:z_video_dashboard failed (Exit 1): ClosureWorker failed: error executing command
(cd /home/z/.cache/bazel/_bazel_z/235ea30dc62cb54a15febc8e6e607029/execroot/org_tensorflow_tensorboard && \
exec env - \
bazel-out/host/bin/external/io_bazel_rules_closure/java/io/bazel/rules/closure/ClosureWorker @@bazel-out/k8-fastbuild/bin/tensorboard/plugins/z_video/z_video_dashboard/z_video_dashboard-webfiles-checker-args.txt)
Execution platform: @local_config_platform//:host
There are other errors but I'm guessing they're just a consequence of the prior:
ERROR: tensorboard/plugins/z_video/z_video_dashboard/z-video-dashboard.html: Referenced ../tf-dashboard-common/tf-regex-group.html (/tf-dashboard-common/tf-regex-group.html) without depending on a web_library() rule providing it
ERROR: tensorboard/plugins/z_video/z_video_dashboard/z-video-dashboard.html: Referenced ../tf-paginated-view/tf-paginated-view.html (/tf-paginated-view/tf-paginated-view.html) without depending on a web_library() rule providing it
NOTE: Use suppress=["strictDependencies"] to make the errors above warnings
Target //tensorboard:tensorboard failed to build
ERROR: /home/z/projects/TB/z-2020-Tensorboard/tensorboard/BUILD:289:21 Checking webfiles //tensorboard/plugins/z_video/z_video_dashboard:z_video_dashboard failed (Exit 1): ClosureWorker failed: error executing command
(cd /home/z/.cache/bazel/_bazel_z/235ea30dc62cb54a15febc8e6e607029/execroot/org_tensorflow_tensorboard && \
exec env - \
bazel-out/host/bin/external/io_bazel_rules_closure/java/io/bazel/rules/closure/ClosureWorker @@bazel-out/k8-fastbuild/bin/tensorboard/plugins/z_video/z_video_dashboard/z_video_dashboard-webfiles-checker-args.txt)
Execution platform: @local_config_platform//:host
INFO: Elapsed time: 0.454s, Critical Path: 0.16s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.