tensorflow / tensorflow/tensorboard
//tensorboard:manager_test and //tensorboard/plugins/debugger:interactive_debugger_plugin_test are failing with branch 2.2
@ericdnielsen is already working on this.
Since Jul 8, 2020.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
Environment information (required)
Please run diagnose_tensorboard.py (link below) in the same
environment from which you normally run TensorFlow/TensorBoard, and
paste the output here:
Diagnostics
Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 724b56cee52e7d8eb89bbeec1f0d5ce3e38c9682
--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=7, micro=8, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='41d3cf1380f3', release='4.4.0-1109-aws', version='#120-Ubuntu SMP Fri Jun 5 01:26:57 UTC 2020', machine='x86_64')
INFO: sys.getwindowsversion(): N/A
--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: None
--- check: installed_packages
INFO: installed: tensorboard==2.2.2
INFO: installed: tensorflow==2.2.0
INFO: installed: tensorflow-estimator==2.2.0
--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '2.2.2'
--- check: tensorflow_python_version
INFO: tensorflow.__version__: '2.2.0'
INFO: tensorflow.__git_version__: 'v2.2.0-rc4-8-g2b96f3662b'
--- check: tensorboard_binary_path
INFO: which tensorboard: b'/usr/local/bin/tensorboard\n'
--- check: addrinfos
socket.has_ipv6 = True
socket.AF_UNSPEC = <AddressFamily.AF_UNSPEC: 0>
socket.SOCK_STREAM = <SocketKind.SOCK_STREAM: 1>
socket.AI_ADDRCONFIG = <AddressInfo.AI_ADDRCONFIG: 32>
socket.AI_PASSIVE = <AddressInfo.AI_PASSIVE: 1>
Loopback flags: <AddressInfo.AI_ADDRCONFIG: 32>
Loopback infos: [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 0))]
Wildcard flags: <AddressInfo.AI_PASSIVE: 1>
Wildcard infos: [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('0.0.0.0', 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 0, 0, 0))]
--- check: readable_fqdn
INFO: socket.getfqdn(): '41d3cf1380f3'
--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info
INFO: .tensorboard-info directory does not exist
--- check: source_trees_without_genfiles
INFO: tensorboard_roots (2): ['', '/usr/local/lib/python3.7/dist-packages']; bad_roots (1): ['']
--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.9.0
appdirs==1.4.4
astunparse==1.6.3
auditwheel==2.0.0
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
distlib==0.3.1
filelock==3.0.12
gast==0.3.3
google-auth==1.18.0
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.30.0
grpcio-testing==1.30.0
h5py==2.10.0
idna==2.10
importlib-metadata==1.7.0
Keras-Preprocessing==1.1.2
Markdown==3.2.2
numpy==1.19.0
oauthlib==3.1.0
opt-einsum==3.2.1
pandas==1.0.5
pip==20.1.1
protobuf==3.12.2
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycurl==7.43.0
pyelftools==0.26
pygobject==3.20.0
python-apt==1.1.0b1+ubuntu0.16.4.9
python-dateutil==2.8.1
pytz==2020.1
requests==2.24.0
requests-oauthlib==1.3.0
rsa==4.6
scipy==1.4.1
setuptools==47.3.1
six==1.15.0
tensorboard==2.2.2
tensorboard-plugin-wit==1.7.0
tensorflow==2.2.0
tensorflow-estimator==2.2.0
termcolor==1.1.0
typing==3.7.4.1
urllib3==1.25.9
virtualenv==20.0.25
Werkzeug==1.0.1
wheel==0.31.1
wrapt==1.12.1
zipp==3.1.0
Suggestion: Avoid tensorboard packages without genfiles
Your current directory contains a tensorboard Python package that
does not include generated files. This can happen if your current
directory includes the TensorBoard source tree (e.g., you are in the
TensorBoard Git repository). Consider changing to a different
directory.
Next steps
Please try each suggestion enumerated above to determine whether it
solves your problem. If none of these suggestions works, please copy
ALL of the above output, including the lines containing only
backticks, into your GitHub issue or comment. Be sure to redact any
sensitive information.
Issue description
What i'm testing with:
tensorboard: git clone this repo, checkout -b 2.2
tensorflow: pip install tensorflow==2.2.0
I'm trying to run bazel test for tensorboard with the command bazel test -c opt --test_tag_filters=-webtest --test_timeout=300 --test_output=streamed //tensorboard/...
2 Tests are failing:
//tensorboard:manager_test FAILED in 0.3s
/root/.cache/bazel/_bazel_root/a36a811a364119af12ee2b9441a2e940/execroot/org_tensorflow_tensorboard/bazel-out/k8-opt/testlogs/tensorboard/manager_test/test.log
//tensorboard/plugins/debugger:interactive_debugger_plugin_test FAILED in 8.1s
/root/.cache/bazel/_bazel_root/a36a811a364119af12ee2b9441a2e940/execroot/org_tensorflow_tensorboard/bazel-out/k8-opt/testlogs/tensorboard/plugins/debugger/interactive_debugger_plugin_test/test.log
Detailed error message:
[ RUN ] TensorBoardInfoIoTest.test_get_all_ignores_bad_files
[ FAILED ] TensorBoardInfoIoTest.test_get_all_ignores_bad_files
FAIL: test_get_all_ignores_bad_files (__main__.TensorBoardInfoIoTest)
test_get_all_ignores_bad_files (__main__.TensorBoardInfoIoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/a36a811a364119af12ee2b9441a2e940/sandbox/processwrapper-sandbox/1/execroot/org_tensorflow_tensorboard/bazel-out/k8-opt/bin/tensorboard/manager_test.runfiles/org_tensorflow_tensorboard/tensorboard/manager_test.py", line 409, in test_get_all_ignores_bad_files
self.assertEqual(fn.call_count, 2) # 2 invalid, 1 unreadable (silent)
AssertionError: 3 != 2
ERROR: testHealthPill (__main__.InteractiveDebuggerPluginTest)
testHealthPill (__main__.InteractiveDebuggerPluginTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/a36a811a364119af12ee2b9441a2e940/sandbox/processwrapper-sandbox/2/execroot/org_tensorflow_tensorboard/bazel-out/k8-opt/bin/tensorboard/plugins/debugger/interactive_debugger_plugin_test.runfiles/org_tensorflow_tensorboard/tensorboard/plugins/debugger/interactive_debugger_plugin_test.py", line 1041, in testHealthPill
self.assertAllClose(1.0, tensor_data[0]) # IsInitialized.
TypeError: 'NoneType' object is not subscriptable
It will be great if anyone has the idea why these 2 tests are failing. Thank you.
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.