tensorflow / tensorflow/tensorboard

Plugin error message is unclear about the cause even with --verbose_failures

Open
#3,798 6 comments 0 reactions 1 assignee View on GitHub

@nfelt is already working on this.

Since Jul 7, 2020.

core:backend stat:awaiting tensorflower type:bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.