io_wrapper_test failing at head
See original GitHub issueFailing with 2020-02-19 TF nightly on Python 3, current master:
$ python -c 'print(__import__("tensorflow").__version__)'
2.2.0-dev20200218
$ python --version
Python 3.7.5rc1
$ git status && git rev-parse --verify HEAD
HEAD detached at origin/master
nothing to commit, working tree clean
7ea2af7ae0f1539dbc1041a2f73a1aeb74803b2c
$ bazel test //tensorboard/backend/event_processing:io_wrapper_test --test_output=errors
INFO: Analyzed target //tensorboard/backend/event_processing:io_wrapper_test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
FAIL: //tensorboard/backend/event_processing:io_wrapper_test (see /HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/execroot/org_tensorflow_tensorboard/bazel-out/k8-fastbuild/testlogs/tensorboard/backend/event_processing/io_wrapper_test/test.log)
INFO: From Testing //tensorboard/backend/event_processing:io_wrapper_test:
==================== Test output for //tensorboard/backend/event_processing:io_wrapper_test:
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
Running tests under Python 3.7.5: /HOMEDIR/virtualenv/tf-nightly-20200219-py3.7/bin/python
[ RUN ] IoWrapperTest.testGetLogdirSubdirectories
I0219 18:54:26.423715 140524062205760 io_wrapper.py:227] GetLogdirSubdirectories: Starting to list directories via walking.
[ OK ] IoWrapperTest.testGetLogdirSubdirectories
[ RUN ] IoWrapperTest.testIsCloudPathCnsIsTrue
[ OK ] IoWrapperTest.testIsCloudPathCnsIsTrue
[ RUN ] IoWrapperTest.testIsCloudPathFileIsFalse
[ OK ] IoWrapperTest.testIsCloudPathFileIsFalse
[ RUN ] IoWrapperTest.testIsCloudPathGcsIsTrue
[ OK ] IoWrapperTest.testIsCloudPathGcsIsTrue
[ RUN ] IoWrapperTest.testIsCloudPathLocalIsFalse
[ OK ] IoWrapperTest.testIsCloudPathLocalIsFalse
[ RUN ] IoWrapperTest.testIsCloudPathS3IsTrue
[ OK ] IoWrapperTest.testIsCloudPathS3IsTrue
[ RUN ] IoWrapperTest.testIsIsTensorFlowEventsFileWithEmptyInput
[ OK ] IoWrapperTest.testIsIsTensorFlowEventsFileWithEmptyInput
[ RUN ] IoWrapperTest.testIsSummaryEventsFileFalse
[ OK ] IoWrapperTest.testIsSummaryEventsFileFalse
[ RUN ] IoWrapperTest.testIsSummaryEventsFileTrue
[ OK ] IoWrapperTest.testIsSummaryEventsFileTrue
[ RUN ] IoWrapperTest.testIsSummaryEventsFilesReturnsFalseForProfileEmptyEventsFiles
[ OK ] IoWrapperTest.testIsSummaryEventsFilesReturnsFalseForProfileEmptyEventsFiles
[ RUN ] IoWrapperTest.testIsTensorFlowEventsFileFalse
[ OK ] IoWrapperTest.testIsTensorFlowEventsFileFalse
[ RUN ] IoWrapperTest.testIsTensorFlowEventsFileTrue
[ OK ] IoWrapperTest.testIsTensorFlowEventsFileTrue
[ RUN ] IoWrapperTest.testIsTensorFlowEventsFilesReturnsTrueForProfileEmptyEventsFiles
[ OK ] IoWrapperTest.testIsTensorFlowEventsFilesReturnsTrueForProfileEmptyEventsFiles
[ RUN ] IoWrapperTest.testListDirectoryAbsolute
[ OK ] IoWrapperTest.testListDirectoryAbsolute
[ RUN ] IoWrapperTest.testListRecursivelyViaGlobbing
I0219 18:54:26.426012 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 0
I0219 18:54:26.442919 140524062205760 io_wrapper.py:140] GlobAndListFiles: 6 files glob-ed at level 0
I0219 18:54:26.443111 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 1
I0219 18:54:26.452905 140524062205760 io_wrapper.py:140] GlobAndListFiles: 7 files glob-ed at level 1
I0219 18:54:26.453045 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 2
I0219 18:54:26.470290 140524062205760 io_wrapper.py:140] GlobAndListFiles: 8 files glob-ed at level 2
I0219 18:54:26.470462 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 3
I0219 18:54:26.489182 140524062205760 io_wrapper.py:140] GlobAndListFiles: 2 files glob-ed at level 3
I0219 18:54:26.489345 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 4
I0219 18:54:26.502435 140524062205760 io_wrapper.py:140] GlobAndListFiles: 0 files glob-ed at level 4
[ OK ] IoWrapperTest.testListRecursivelyViaGlobbing
[ RUN ] IoWrapperTest.testListRecursivelyViaGlobbingForPathWithGlobCharacters
I0219 18:54:26.503477 140524062205760 io_wrapper.py:137] GlobAndListFiles: Starting to glob level 0
I0219 18:54:26.506970 140524062205760 io_wrapper.py:140] GlobAndListFiles: 0 files glob-ed at level 0
[ FAILED ] IoWrapperTest.testListRecursivelyViaGlobbingForPathWithGlobCharacters
[ RUN ] IoWrapperTest.testListRecursivelyViaWalking
[ OK ] IoWrapperTest.testListRecursivelyViaWalking
[ RUN ] IoWrapperTest.testPathSeparator
[ OK ] IoWrapperTest.testPathSeparator
[ RUN ] IoWrapperTest.test_session
WARNING:tensorflow:From /usr/lib/python3.7/contextlib.py:82: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `self.session()` or `self.cached_session()` instead.
W0219 18:54:26.510363 140524062205760 deprecation.py:323] From /usr/lib/python3.7/contextlib.py:82: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `self.session()` or `self.cached_session()` instead.
[ OK ] IoWrapperTest.test_session
======================================================================
FAIL: testListRecursivelyViaGlobbingForPathWithGlobCharacters (__main__.IoWrapperTest)
testListRecursivelyViaGlobbingForPathWithGlobCharacters (__main__.IoWrapperTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/sandbox/linux-sandbox/990/execroot/org_tensorflow_tensorboard/bazel-out/k8-fastbuild/bin/tensorboard/backend/event_processing/io_wrapper_test.runfiles/org_tensorflow_tensorboard/tensorboard/backend/event_processing/io_wrapper_test.py", line 181, in testListRecursivelyViaGlobbingForPathWithGlobCharacters
expected, io_wrapper.ListRecursivelyViaGlobbing(top)
File "/HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/sandbox/linux-sandbox/990/execroot/org_tensorflow_tensorboard/bazel-out/k8-fastbuild/bin/tensorboard/backend/event_processing/io_wrapper_test.runfiles/org_tensorflow_tensorboard/tensorboard/backend/event_processing/io_wrapper_test.py", line 301, in _CompareFilesPerSubdirectory
gotten_directory_to_listing.keys(),
AssertionError: Element counts were not equal:
First has 1, Second has 0: '/HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/sandbox/linux-sandbox/990/execroot/org_tensorflow_tensorboard/_tmp/fe450d345c63ee63c148c5f7fea2ea39fntzzp4v/tmpj_lw08wdq69bxerj/ba*'
First has 1, Second has 0: '/HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/sandbox/linux-sandbox/990/execroot/org_tensorflow_tensorboard/_tmp/fe450d345c63ee63c148c5f7fea2ea39fntzzp4v/tmpj_lw08wdq69bxerj/ba*/subdirectory'
----------------------------------------------------------------------
Ran 19 tests in 0.088s
FAILED (failures=1)
================================================================================
Target //tensorboard/backend/event_processing:io_wrapper_test up-to-date:
bazel-bin/tensorboard/backend/event_processing/io_wrapper_test
INFO: Elapsed time: 1.785s, Critical Path: 1.58s
INFO: 1 process: 1 linux-sandbox.
INFO: Build completed, 1 test FAILED, 2 total actions
//tensorboard/backend/event_processing:io_wrapper_test FAILED in 1.6s
/HOMEDIR/.cache/bazel/_bazel_wchargin/52a95bbdd50941251730eb33b7476a66/execroot/org_tensorflow_tensorboard/bazel-out/k8-fastbuild/testlogs/tensorboard/backend/event_processing/io_wrapper_test/test.log
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Face Failure Head On With These Essential Tools - Live Happy
If you live in fear of failure, you'll never take the risks necessary to achieve your true potential.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
TensorBoard does not put asterisks in file names, but users may do so on platforms that support them, and TensorBoard must then properly read those files. This happens in real invocations, not just tests.
@wchargin,
As the PR is merged, Can you try using the latest version and confirm if we are good to close this issue? Thanks!