We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
root@bench-01:~/juicefs/# git checkout test-pysdk root@bench-01:~/juicefs/# make root@bench-01:~/juicefs/# make -C sdk/python libjfs.so root@bench-01:~/juicefs/# ./juicefs format sqlite3://test.db test-volume --enable-acl --trash-days 0 root@bench-01:~/juicefs# META_URL=sqlite3://test.db python3 .github/scripts/pysdk/pysdk_test.py 2025/01/03 19:52:15.310141 juicefs[1805511] <WARNING>: Deleting object will be disabled since max-deletes is 0 [[email protected]:61] 2025/01/03 19:52:15.310844 juicefs[1805511] <WARNING>: max-uploads should be greater than 0, set it to 1 [SelfCheck@cached_store.go:602] 2025/01/03 19:52:15.310885 juicefs[1805511] <WARNING>: verify-cache-checksum should be one of [none full shrink extend] [SelfCheck@cached_store.go:616] 2025/01/03 19:52:15.310926 juicefs[1805511] <WARNING>: No cache dir existed, use memory cache instead, cache size: 100 MiB [newCacheManager@disk_cache.go:1059] .FFF...makedirs: /test/dir1/dir2/dir3 --: 511 --: 18 makedirs: /test/dir1/dir2/dir3/dir4 --: 511 --: 18 makedirs: . --: 511 --: 18 Fmakedirs: base/some_dir --: 511 --: 18 .EFF ====================================================================== ERROR: test_summary (__main__.SummaryTests.test_summary) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 167, in setUp v.mkdir(TESTFN + '/dir1') File "/root/juicefs/sdk/python/juicefs/juicefs/juicefs.py", line 221, in mkdir self.lib.jfs_mkdir(_tid(), self.h, _bin(path), c_uint16(mode&0o777), c_uint16(self.umask)) File "/root/juicefs/sdk/python/juicefs/juicefs/juicefs.py", line 38, in check_error raise e OSError: call jfs_mkdir failed: [Errno 17] File exists: (b'/test/dir1', c_ushort(511), c_ushort(18)) ====================================================================== FAIL: test_chown_with_root (__main__.ChownFileTests.test_chown_with_root) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 127, in test_chown_with_root self.assertEqual(uid, uid_1) AssertionError: 738347740 != 0 ====================================================================== FAIL: test_fds (__main__.ExtendedAttributeTests.test_fds) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 291, in test_fds self._check_xattrs(getxattr, setxattr, removexattr, listxattr) File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 267, in _check_xattrs self._check_xattrs_str(str, *args, **kwargs) File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 237, in _check_xattrs_str with self.assertRaises(OSError) as cm: AssertionError: OSError not raised ====================================================================== FAIL: test_simple (__main__.ExtendedAttributeTests.test_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 274, in test_simple self._check_xattrs(v.getxattr, v.setxattr, v.removexattr, File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 267, in _check_xattrs self._check_xattrs_str(str, *args, **kwargs) File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 237, in _check_xattrs_str with self.assertRaises(OSError) as cm: AssertionError: OSError not raised ====================================================================== FAIL: test_makedir (__main__.MakedirTests.test_makedir) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 85, in test_makedir self.assertRaises(OSError, v.makedirs, os.curdir) AssertionError: OSError not raised by makedirs ====================================================================== FAIL: test_utime (__main__.UtimeTests.test_utime) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 67, in test_utime self._test_utime(set_time) File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 61, in _test_utime self.assertEqual(st.st_atime, atime) AssertionError: 1000 != 1.0 ====================================================================== FAIL: test_utime_by_times (__main__.UtimeTests.test_utime_by_times) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 70, in test_utime_by_times self.test_utime() File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 67, in test_utime self._test_utime(set_time) File "/root/juicefs/.github/scripts/pysdk/pysdk_test.py", line 61, in _test_utime self.assertEqual(st.st_atime, atime) AssertionError: 1000 != 1.0 ---------------------------------------------------------------------- Ran 12 tests in 0.183s FAILED (failures=6, errors=1)
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:
juicefs --version
cat /etc/os-release
uname -a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:
juicefs --version
) or Hadoop Java SDK version:cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: