Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyxattr test_empty_value failed with meta engine tikv. #4844

Open
zhoucheng361 opened this issue May 13, 2024 · 2 comments
Open

pyxattr test_empty_value failed with meta engine tikv. #4844

zhoucheng361 opened this issue May 13, 2024 · 2 comments
Labels
priority/wishlist The lowest priority

Comments

@zhoucheng361
Copy link
Contributor

zhoucheng361 commented May 13, 2024

What happened:
https://github.com/juicedata/juicefs/actions/runs/9057923627/job/24882685721


============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-8.2.0, pluggy-1.5.0
rootdir: /home/runner/work/juicefs/juicefs/pyxattr
collected 287 items

tests/test_xattr.py FFFFFFFFFFFF........................................ [ 18%]
........................................................................ [ [43](https://github.com/juicedata/juicefs/actions/runs/9057923627/job/24882685721#step:13:44)%]
........................................................................ [ 68%]
........................................................................ [ 93%]
...................                                                      [100%]

=================================== FAILURES ===================================
_________________________ test_empty_value[file name] __________________________

subject = ('/jfs/tmp6jvlbtbs/xattr-g0ujrajc.test', False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
_____________________ test_empty_value[file name (bytes)] ______________________

subject = (b'/jfs/tmpiby30ipp/xattr-iv3xnkqk.test', False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
______________________ test_empty_value[file name (path)] ______________________

subject = (PurePosixPath('/jfs/tmpcx38pave/xattr-a_uxwt7c.test'), False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
__________________________ test_empty_value[file FD] ___________________________

subject = (11, False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
________________________ test_empty_value[file object] _________________________

subject = (<_io.TextIOWrapper name=11 mode='r' encoding='UTF-8'>, False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
__________________ test_empty_value[file via symlink (bytes)] __________________

subject = (b'/jfs/tmphxxdkbmc/xattr-muc8k4gx.test.symlink', False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
__________________ test_empty_value[file via symlink (path)] ___________________

subject = (PurePosixPath('/jfs/tmpo1pjo1qn/xattr-sndeg5wj.test.symlink'), False)

    def test_empty_value(subject):
        item, nofollow = subject
>       xattr.set(item, USER_ATTR, EMPTY_VAL, nofollow=nofollow)
E       OSError: [Errno 5] Input/output error

tests/test_xattr.py:229: OSError
=========================== short test summary info ============================
FAILED tests/test_xattr.py::test_empty_value[file name] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file name (bytes)] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file name (path)] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file FD] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file object] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file io stream] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[directory] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[directory (bytes)] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[directory (path)] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file via symlink] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file via symlink (bytes)] - OSError: [Errno 5] Input/output error
FAILED tests/test_xattr.py::test_empty_value[file via symlink (path)] - OSError: [Errno 5] Input/output error
================= 12 failed, 2[75](https://github.com/juicedata/juicefs/actions/runs/9057923627/job/24882685721#step:13:76) passed in 1385.37s (0:23:05) ==================

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?

Environment:

  • JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
  • Cloud provider or hardware configuration running JuiceFS:
  • OS (e.g cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Object storage (cloud provider and region, or self maintained):
  • Metadata engine info (version, cloud provider managed or self maintained):
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:
@zhoucheng361 zhoucheng361 added the kind/bug Something isn't working label May 13, 2024
@SandyXSD
Copy link
Contributor

TiKV doesn't support nil value.

@SandyXSD SandyXSD removed the kind/bug Something isn't working label May 13, 2024
@davies
Copy link
Contributor

davies commented May 16, 2024

We don't know which use case depends on this feature, ignore it in tests for now.

@SandyXSD SandyXSD added the priority/wishlist The lowest priority label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/wishlist The lowest priority
Projects
None yet
Development

No branches or pull requests

3 participants