Code Monkey home page Code Monkey logo

Comments (5)

yongtang avatar yongtang commented on June 13, 2024

/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.

dmitrievanthony avatar dmitrievanthony commented on June 13, 2024

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.

dmitrievanthony avatar dmitrievanthony commented on June 13, 2024

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.

yongtang avatar yongtang commented on June 13, 2024

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.

yongtang avatar yongtang commented on June 13, 2024

With the PR #37 merged, this issue has been fix, so closing.

from io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.