Comments (5)
/cc @dmitrievanthony The CI failure is flaky so I am wondering if the issue could be that //tensorflow_io/ignite:ignite_py_test and //tensorflow_io/ignite:igfs_py_test could not run concurrently?
from io.
Thanks, @yongtang. These tests can run concurrently, I think the root cause is another. Actually, when I start Ignite in Docker container I can't easily understand outside if Ignite is ready or not and I just wait for 5 seconds. Looks like 5 seconds waiting is not the best choice.
Let me think a bit about it, I'll check if it's possible to ensure that Ignite is ready without waiting. Meanwhile, if this fails are frequent I can increase the waiting period.
from io.
BTW, do you know if it's possible to download raw log from our Travis without special characters? Currently I see the raw log like this:
travis_fold:start:worker_info
�[0K�[33;1mWorker information�[0m
from io.
Thanks @dmitrievanthony for looking into the issue. I created a PR #35 which enables ignite test, and also --test_output=errors
in bazel command so that the errors could be shown in the Travis logs.
From Travis CI it looks like the following error(in python 2.7) will show up:
======================================================================
ERROR: test_ignite_dataset_with_plain_client (__main__.IgniteDatasetTest)
Test Ignite Dataset with plain client.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/.cache/bazel/_bazel_travis/50a9fc5d0e0cf7fe188c59f2e8fe814c/sandbox/linux-sandbox/854/execroot/__main__/bazel-out/k8-fastbuild/bin/tensorflow_io/ignite/ignite_py_test.runfiles/__main__/tensorflow_io/ignite/python/tests/ignite_dataset_test.py", line 47, in test_ignite_dataset_with_plain_client
ds = IgniteDataset(cache_name="SQL_PUBLIC_TEST_CACHE", port=42300)
File "/home/travis/.cache/bazel/_bazel_travis/50a9fc5d0e0cf7fe188c59f2e8fe814c/sandbox/linux-sandbox/854/execroot/__main__/bazel-out/k8-fastbuild/bin/tensorflow_io/ignite/ignite_py_test.runfiles/__main__/tensorflow_io/ignite/python/ops/ignite_dataset_ops.py", line 745, in __init__
self.cache_type = client.get_cache_type(cache_name)
File "/home/travis/.cache/bazel/_bazel_travis/50a9fc5d0e0cf7fe188c59f2e8fe814c/sandbox/linux-sandbox/854/execroot/__main__/bazel-out/k8-fastbuild/bin/tensorflow_io/ignite/ignite_py_test.runfiles/__main__/tensorflow_io/ignite/python/ops/ignite_dataset_ops.py", line 439, in get_cache_type
"Scan Query Error [status=%s, message='%s']" % (status, err_msg))
RuntimeError: Scan Query Error [status=1000, message='Cache does not exist [cacheId= -919715654]']
----------------------------------------------------------------------
Ran 2 tests in 0.097s
FAILED (errors=1)
================================================================================
from io.
With the PR #37 merged, this issue has been fix, so closing.
from io.
Related Issues (20)
- versions >0.31.0 do not work with TensorFlow versions > 2.10.0 using poetry HOT 2
- Colab: 'tensorflow._api.v2.io' has no attribute 'image' for tf.io.image.decode_dicom_image HOT 1
- [Question] Reading parquet files with numpy arrays in columns as a tfio.IODataset results in error
- Tensorflow 2.15 support HOT 3
- Missing ARM64 wheels for v0.35.0 on PyPI HOT 5
- [v0.35.0] Build Failure on "Analysis of target '@bazel_tools//platforms:windows' failed"
- S3 filesystem pure virtual method called; terminate called without an active exception HOT 12
- DICOM `scale=preserve` not working as intended and performance consideration
- Is the windows support dropped? HOT 1
- Inefficient Write+Copy+Delete pattern when writing to S3. HOT 1
- S3 read throughput slow down after hit prefix limit HOT 1
- extra not provided
- Tensorflow version-pinning should be reflected in setup.py. HOT 1
- Bug in Reading Compressed String Column in Parquet Dataset HOT 2
- Unable to use tensorflow_io.audio.resample on Mac M1
- tensorflow-io-gcs-filesystem==0.36.0 not available via pip HOT 1
- Missing files for Python 3.12 HOT 2
- Tensorflow 2.16 support HOT 1
- Grail bazel toolchain changed/missing
- S3 Express One Zone support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from io.