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

fix(core/services/gdrive): Fix gdrive create_dir request: trim trailing / #4732

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

imWildCat
Copy link
Contributor

Per discussion #4722

We have to remove / at the end of name

core/src/raw/path_cache.rs Outdated Show resolved Hide resolved
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Xuanwo
Copy link
Member

Xuanwo commented Jun 18, 2024

Hi, have you tested locally about this PR? Our CI doesn't cover forked repo.

@imWildCat
Copy link
Contributor Author

Hi, have you tested locally about this PR? Our CI doesn't cover forked repo.

I'm testing right now in https://infoflow.app 's alpha version.

Will get back to you tomorrow

@Xuanwo
Copy link
Member

Xuanwo commented Jun 18, 2024

I'm testing right now in https://infoflow.app 's alpha version.

Cool!

@imWildCat
Copy link
Contributor Author

The naming issue of folders is fixed in this PR.

However, the path cache issue of folder ids still exist

image

I think it is existing before this PR

@imWildCat
Copy link
Contributor Author

correction: it is a regression cause by my change. investigating.

@imWildCat
Copy link
Contributor Author

imWildCat commented Jun 20, 2024

the duplication problem got fixed.

I ran behavior test locally but found many other issues:

---- behavior::test_list_dir_with_recursive_no_trailing_slash ----
test panicked: assertion `left == right` failed
  left: []
 right: ["x/", "x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]

---- behavior::test_list_dir_with_recursive ----
test panicked: assertion `left == right` failed
  left: ["xx/", "xy", "xyy"]
 right: ["x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]


failures:
    behavior::test_list_dir_with_metakey_complete
    behavior::test_list_dir
    behavior::test_list_dir_with_metakey
    behavior::test_list_dir_with_file_path
    behavior::test_list_dir_with_recursive_no_trailing_slash
    behavior::test_list_dir_with_recursive

test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 108 filtered out; finished in 27.14s

  2024-06-20T18:02:54.539017Z DEBUG rustls::common_state: Sending warning alert CloseNotify
    at /Users/[user]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.22.4/src/common_state.rs:492

  2024-06-20T18:02:54.539110Z DEBUG rustls::common_state: error: test failed, to rerun pass `--test behavior`

Edit:

This seems to be a dir name issue:

running 114 tests
query: parent_id: root, name: tmp/
query: parent_id: 1e67zzrR4J8Obc9xlJDnN_xHr0AS_4_sN, name: opendal/
query: parent_id: 11kH-GuOrrUHiTF-12ekw29OAsTi0pkMy, name: d5aa1663-d9ec-42dd-98ba-59cf3c917312/
create_dir: parent_id: 11kH-GuOrrUHiTF-12ekw29OAsTi0pkMy, name: d5aa1663-d9ec-42dd-98ba-59cf3c917312/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 2c56f109-68b5-4ec3-87d9-6ed29384be1d/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 2c56f109-68b5-4ec3-87d9-6ed29384be1d/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 7a52a547-de16-4860-b54f-cc99907c24d5/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 7a52a547-de16-4860-b54f-cc99907c24d5/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 160400b3-6ccc-4572-8e67-9bf9227030dc
test behavior::test_copy_source_dir                                    ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c884f2b9-314d-4bd7-9cdf-2fe284a6667a/
test behavior::test_copy_non_existing_source                           ... ok
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c884f2b9-314d-4bd7-9cdf-2fe284a6667a/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: a8e747ff-14be-4052-9d5b-76ba687a3145
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 🐂🍺中文.docx
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 814a03d5-02bf-4041-948f-2ffe88204d20
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 5fa2c785-b41d-4f17-8315-93dff9f750f0
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 43e5dda5-1640-4f91-ba58-6b501dc6b52c
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 499cb189-ba56-43cf-b8c1-6b1d99782755
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 19ca2904-ade5-48d3-8f30-170b82531ef8
test behavior::test_create_dir                                         ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 13431c5d-ef5c-40c3-b95d-a9530fcd844e/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 13431c5d-ef5c-40c3-b95d-a9530fcd844e/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e9458348-a5f9-45f2-9327-a4068e4458de !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 499cb189-ba56-43cf-b8c1-6b1d99782755
test behavior::test_create_dir_existing                                ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 685a2ff7-96b9-40ef-ae4b-5cba5a9094c8
test behavior::test_delete_not_existing                                ... ok
test behavior::test_delete_stream                                      ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 41282794-43d5-4e45-84df-ae13a4a3f7e7
test behavior::test_delete_empty_dir                                   ... ok
query: parent_id: 11kH-GuOrrUHiTF-12ekw29OAsTi0pkMy, name: d5aa1663-d9ec-42dd-98ba-59cf3c917312
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: cb489455-9000-485a-9f29-936095b70bf6/
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312🐂🍺中文.docx doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test behavior::test_check                                              ... FAILED
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: cb489455-9000-485a-9f29-936095b70bf6/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3619ea2a-2dc6-4e03-b9de-f1e4ad696c6b
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6088fde6-840a-4f88-b400-9e567de92b58/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6088fde6-840a-4f88-b400-9e567de92b58/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6088fde6-840a-4f88-b400-9e567de92b58/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 😈🐅Français.docx
test behavior::test_copy_self                                          ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 96d91eda-3661-441b-931f-b5508360e810/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 96d91eda-3661-441b-931f-b5508360e810/
query: parent_id: 1FbYoZUJp9x73DkCdVogFZAlDTw54nCEH, name: 1c187ad7-edb8-4eaa-bc85-c10eb098d7bb/
create_dir: parent_id: 1FbYoZUJp9x73DkCdVogFZAlDTw54nCEH, name: 1c187ad7-edb8-4eaa-bc85-c10eb098d7bb/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 401deb93-6666-4965-aacb-13632f8937f6
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 19ca2904-ade5-48d3-8f30-170b82531ef8
test behavior::test_delete_file                                        ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3a62edd6-71e8-4d40-a2e0-9a8ddc6ab6cd/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 😈🐅Français.docx
query: parent_id: 1XUFy0ajmfe0HhcElUW2gcY5WL6Cwwuqa, name: 12d00668-41d5-402e-b61a-9cba695b827a
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 21417e41-c94f-41d2-821c-04ca8526ac91/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3a62edd6-71e8-4d40-a2e0-9a8ddc6ab6cd/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3a62edd6-71e8-4d40-a2e0-9a8ddc6ab6cd/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e9458348-a5f9-45f2-9327-a4068e4458de !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 41282794-43d5-4e45-84df-ae13a4a3f7e7
test behavior::test_delete_with_special_chars                          ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6088fde6-840a-4f88-b400-9e567de92b58
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 21417e41-c94f-41d2-821c-04ca8526ac91/
test behavior::test_copy_target_dir                                    ... ok
test behavior::test_list_rich_dir                                      ... ok
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 21417e41-c94f-41d2-821c-04ca8526ac91/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 401deb93-6666-4965-aacb-13632f8937f6
query: parent_id: 1XUFy0ajmfe0HhcElUW2gcY5WL6Cwwuqa, name: 12d00668-41d5-402e-b61a-9cba695b827a
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 41282794-43d5-4e45-84df-ae13a4a3f7e7
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 17d7c4a5-3750-4e49-9e75-725bd970aea2
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b47e7ba4-3f7f-4636-a05b-ddd1663d1315/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b47e7ba4-3f7f-4636-a05b-ddd1663d1315/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b47e7ba4-3f7f-4636-a05b-ddd1663d1315
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3a62edd6-71e8-4d40-a2e0-9a8ddc6ab6cd
thread '<unnamed>' panicked at tests/behavior/async_list.rs:88:5:
file should be found in list
test behavior::test_list_dir                                           ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 21417e41-c94f-41d2-821c-04ca8526ac91
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: bd302c45-3522-44f9-8a15-27f05f3da6c3
test behavior::test_list_non_exist_dir                                 ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 1daba1b9-565e-4211-ac46-0e72e7063ce9/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 1daba1b9-565e-4211-ac46-0e72e7063ce9/
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b47e7ba4-3f7f-4636-a05b-ddd1663d1315/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
test behavior::test_list_empty_dir                                     ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b1f46345-d630-4611-aab4-57bc70c726c6/
thread '<unnamed>' panicked at tests/behavior/async_list.rs:138:5:
file should be found in list
test behavior::test_list_dir_with_metakey                              ... FAILED
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b1f46345-d630-4611-aab4-57bc70c726c6/
query: parent_id: 17FXenL0TR7FUoQArI7H-6INta2dl545k, name: d368fd0a-0074-43ac-8f25-52df2b75a066/
create_dir: parent_id: 17FXenL0TR7FUoQArI7H-6INta2dl545k, name: d368fd0a-0074-43ac-8f25-52df2b75a066/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3619ea2a-2dc6-4e03-b9de-f1e4ad696c6b
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c313192f-64c7-4788-a429-ed18294d3a76/
thread '<unnamed>' panicked at tests/behavior/async_list.rs:177:5:
file should be found in list
test behavior::test_list_dir_with_metakey_complete                     ... FAILED
test behavior::test_list_with_start_after                              ... ok
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b1f46345-d630-4611-aab4-57bc70c726c6/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
test behavior::test_list_sub_dir                                       ... FAILED
query: parent_id: 1ez3hCT1I6gmMpXM7-emOh0WFVUU6_Rk2, name: 0f9b851c-a512-481b-99b2-471e00b18a23
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3969616e-12ff-4b11-ab8d-66f0280b7941/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3969616e-12ff-4b11-ab8d-66f0280b7941/
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b1f46345-d630-4611-aab4-57bc70c726c6/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
test behavior::test_list_prefix                                        ... FAILED
query: parent_id: 1pyxo9J2STkD5iUIWTij1DGkyQ7o8efNt, name: x/
create_dir: parent_id: 1pyxo9J2STkD5iUIWTij1DGkyQ7o8efNt, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 10b362d3-8d43-409a-9b48-19cb96fb84e9/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 10b362d3-8d43-409a-9b48-19cb96fb84e9/
query: parent_id: 1oJfCrleltuOlXf-CzEJm-ERq3AYDTRj3, name: x/
create_dir: parent_id: 1oJfCrleltuOlXf-CzEJm-ERq3AYDTRj3, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c313192f-64c7-4788-a429-ed18294d3a76/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c313192f-64c7-4788-a429-ed18294d3a76/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 72ee2670-a9db-40f3-985c-11ef15d36ead/
query: parent_id: 1AyHmgnhKA8joS52J2lVvbbdl5gNquuEx, name: x/
create_dir: parent_id: 1AyHmgnhKA8joS52J2lVvbbdl5gNquuEx, name: x/
query: parent_id: 11mSdXU8kvKaYlwEcE1p-DLh3ArhIYyEM, name: x/
create_dir: parent_id: 11mSdXU8kvKaYlwEcE1p-DLh3ArhIYyEM, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 72ee2670-a9db-40f3-985c-11ef15d36ead/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 72ee2670-a9db-40f3-985c-11ef15d36ead/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 41282794-43d5-4e45-84df-ae13a4a3f7e7
test behavior::test_remove_one_file                                    ... ok
test behavior::test_copy_file_with_ascii_name                          ... ok
test behavior::test_copy_file_with_non_ascii_name                      ... ok
query: parent_id: 15IbuzAlsgiZGk7d1OjSMUkp7rzV13TLn, name: x/
create_dir: parent_id: 15IbuzAlsgiZGk7d1OjSMUkp7rzV13TLn, name: x/
query: parent_id: 1P29LOPPBun4vheAQrK7C8Oo-Xkzvgu5z, name: x/
create_dir: parent_id: 1P29LOPPBun4vheAQrK7C8Oo-Xkzvgu5z, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ea2dafcf-7d52-4523-acd7-210dbc99e707/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ea2dafcf-7d52-4523-acd7-210dbc99e707/
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c91731272ee2670-a9db-40f3-985c-11ef15d36ead/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
test behavior::test_list_root_with_recursive                           ... FAILED
query: parent_id: 1PssYxeEcG8mb7XOsrN81p-iBz94JCM_m, name: x/
create_dir: parent_id: 1PssYxeEcG8mb7XOsrN81p-iBz94JCM_m, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: d3faee3d-4cdb-4b21-b7f6-ed80377d1fe3
query: parent_id: 17mFD1xdMTL-qjjCxMAiLTyh9iix7UR7t, name: x/
test behavior::test_copy_nested                                        ... ok
create_dir: parent_id: 17mFD1xdMTL-qjjCxMAiLTyh9iix7UR7t, name: x/
query: parent_id: 1fHcPShX6saiWyA4YoXpdkO47pIAgToWU, name: x/
create_dir: parent_id: 1fHcPShX6saiWyA4YoXpdkO47pIAgToWU, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 0d6a38ea-60cf-48b6-92fe-b66e50f6b4e0
query: parent_id: 1a6bsCLMyQ3QziAlR0IlJDzFK2tR9mAvo, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 5bc74b85-1eff-4c25-b042-eecd7bd0d396
test query: parent_id: 17mFD1xdMTL-qjjCxMAiLTyh9iix7UR7t, name: y
behavior::test_copy_overwrite                                     ... ok
query: parent_id: 1fHcPShX6saiWyA4YoXpdkO47pIAgToWU, name: y
query: parent_id: 1ez3hCT1I6gmMpXM7-emOh0WFVUU6_Rk2, name: f5bc4243-ddef-4906-b8cc-d9983db3f053/
create_dir: parent_id: 1ez3hCT1I6gmMpXM7-emOh0WFVUU6_Rk2, name: f5bc4243-ddef-4906-b8cc-d9983db3f053/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: de570823-6fe6-401c-ad19-966f11e32c55
test behavior::test_read_not_exist                                     ... ok
test behavior::test_read_with_if_match                                 ... ok
test behavior::test_read_with_if_none_match                            ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b1f46345-d630-4611-aab4-57bc70c726c6
thread '<unnamed>' panicked at src/raw/path.rs:77:9:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312d3faee3d-4cdb-4b21-b7f6-ed80377d1fe3 doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/
test behavior::test_list_dir_with_file_path                            ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 45c6709e-aa1e-4fd6-9cc5-6fcd2f198ef8/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 45c6709e-aa1e-4fd6-9cc5-6fcd2f198ef8/
query: parent_id: 1BcgfG_Jjp5d3BogyVLOlSzblFaCSuKWD, name: yy
test behavior::test_read_with_dir_path                                 ... ok
test behavior::test_read_with_override_cache_control                   ... ok
test behavior::test_read_with_override_content_disposition             ... ok
test behavior::test_read_with_override_content_type                    ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 84adebf0-4189-4318-a02c-30d9bfa1649d !@#$%^&()_+-=;',.txt
thread '<unnamed>' panicked at tests/behavior/async_list.rs:371:5:
assertion `left == right` failed
  left: "b1f46345-d630-4611-aab4-57bc70c726c6d368fd0a-0074-43ac-8f25-52df2b75a066/"
 right: "b1f46345-d630-4611-aab4-57bc70c726c6/d368fd0a-0074-43ac-8f25-52df2b75a066/"
test behavior::test_list_nested_dir                                    ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 85c2c7ca-5f4e-4616-b887-c2ee33916b29
query: parent_id: 1a6bsCLMyQ3QziAlR0IlJDzFK2tR9mAvo, name: x/
create_dir: parent_id: 1a6bsCLMyQ3QziAlR0IlJDzFK2tR9mAvo, name: x/
test behavior::test_read_full                                          ... ok
test behavior::test_read_range                                         ... ok
query: parent_id: 15IbuzAlsgiZGk7d1OjSMUkp7rzV13TLn, name: y
query: parent_id: 1P29LOPPBun4vheAQrK7C8Oo-Xkzvgu5z, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b397d621-abb4-42e3-970c-92545662c806
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: d78631ae-415c-41cc-af1f-d6c376b18b04/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: d78631ae-415c-41cc-af1f-d6c376b18b04/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: d1fcef88-bd80-422f-8035-755354bcdc3b
test behavior::test_rename_source_dir                                  ... ok
query: parent_id: 1cPw0LpDENZY9P9GnE5PJFkcI1NWHF1ul, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e4158448-b277-4f77-97b1-4f0725a80ec3
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b03eadaf-4867-4c77-a441-971dedb485e2
test behavior::test_rename_non_existing_source                         ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 72ee2670-a9db-40f3-985c-11ef15d36ead
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 52089c36-15de-4a3c-a2b9-c42d693e35fa
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 44c87bec-2ab5-448e-a4c6-dc19369bc38a
thread '<unnamed>' panicked at src/raw/path_cache.rs:99:13:
path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/72ee2670-a9db-40f3-985c-11ef15d36eady exists but it's value is inconsistent
test behavior::test_list_file_with_recursive                           ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: db1b9fe7-2c06-4664-bc56-426a223ee7e7
query: parent_id: 11mSdXU8kvKaYlwEcE1p-DLh3ArhIYyEM, name: y
query: parent_id: 1AyHmgnhKA8joS52J2lVvbbdl5gNquuEx, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 85c2c7ca-5f4e-4616-b887-c2ee33916b29
query: parent_id: 1cPw0LpDENZY9P9GnE5PJFkcI1NWHF1ul, name: x/
test behavior::test_read_with_special_chars                            ... ok
create_dir: parent_id: 1cPw0LpDENZY9P9GnE5PJFkcI1NWHF1ul, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f553414f-8e65-4300-8f12-010af023acfe/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f553414f-8e65-4300-8f12-010af023acfe/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 673dcc51-30ba-454e-a0c0-94427e89a035
query: parent_id: 1JT70RetFUF--6ErFJAAGP32dNsnEiql1, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ef77aec9-b34f-481d-89d3-7190ce71e27f/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b8087ff4-7fb9-4844-9a37-326d74a8e91b
test behavior::test_reader                                             ... ok
query: parent_id: 1AyHmgnhKA8joS52J2lVvbbdl5gNquuEx, name: yy
query: parent_id: 11mSdXU8kvKaYlwEcE1p-DLh3ArhIYyEM, name: yy
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e74dbe65-772b-4a29-b75a-5d65552ba6e2/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e74dbe65-772b-4a29-b75a-5d65552ba6e2/
test behavior::test_rename_self                                        ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 85c2c7ca-5f4e-4616-b887-c2ee33916b29
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ef77aec9-b34f-481d-89d3-7190ce71e27f/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ef77aec9-b34f-481d-89d3-7190ce71e27f/
query: parent_id: 14q0848cBk2XK02XLnUTQLnA0Zg165f6-, name: cbb6cd61-7b7b-4ad2-8b09-db4e7aa87f94/
create_dir: parent_id: 14q0848cBk2XK02XLnUTQLnA0Zg165f6-, name: cbb6cd61-7b7b-4ad2-8b09-db4e7aa87f94/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 901dacb7-c641-4006-a467-8b73fcbd7e86/
query: parent_id: 1JT70RetFUF--6ErFJAAGP32dNsnEiql1, name: x/
create_dir: parent_id: 1JT70RetFUF--6ErFJAAGP32dNsnEiql1, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e74dbe65-772b-4a29-b75a-5d65552ba6e2
test behavior::test_rename_target_dir                                  ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 901dacb7-c641-4006-a467-8b73fcbd7e86/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 901dacb7-c641-4006-a467-8b73fcbd7e86/
test behavior::test_stat_dir                                           ... ok
test behavior::test_rename_file                                        ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 673dcc51-30ba-454e-a0c0-94427e89a035/
test behavior::test_stat_file                                          ... ok
test behavior::test_stat_with_if_match                                 ... ok
test behavior::test_stat_with_if_none_match                            ... ok
test behavior::test_stat_with_override_cache_control                   ... ok
test behavior::test_stat_with_override_content_disposition             ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 10b362d3-8d43-409a-9b48-19cb96fb84e9
test behavior::test_stat_with_override_content_type                    ... ok
test behavior::test_stat_root                                          ... ok
query: parent_id: 1pyxo9J2STkD5iUIWTij1DGkyQ7o8efNt, name: x
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 840ef939-47df-404e-b006-13876192d99c !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: ecb3bb7f-78d5-4b6d-a3db-83b38de3187d
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c9db2924-a133-49f8-85b4-feb9c463d734
query: parent_id: 1PssYxeEcG8mb7XOsrN81p-iBz94JCM_m, name: x
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b0334bb3-fc38-4d37-890d-8e7af219e34f
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 52089c36-15de-4a3c-a2b9-c42d693e35fa
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: c9db2924-a133-49f8-85b4-feb9c463d734/
test behavior::test_stat_not_exist                                     ... ok
test behavior::test_write_with_empty_content                           ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 10b362d3-8d43-409a-9b48-19cb96fb84e9x
test behavior::test_write_with_dir_path                                ... ok
thread '<unnamed>' panicked at tests/behavior/async_list.rs:556:5:
assertion `left == right` failed
  left: []
 right: ["x/", "x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]
test behavior::test_list_dir_with_recursive_no_trailing_slash          ... FAILED
test behavior::test_write_with_cache_control                           ... ok
test behavior::test_write_with_content_type                            ... ok
test behavior::test_write_with_content_disposition                     ... ok
test behavior::test_writer_write                                       ... ok
test behavior::test_writer_write_with_concurrent                       ... ok
test behavior::test_writer_sink                                        ... ok
test behavior::test_writer_sink_with_concurrent                        ... ok
query: parent_id: 1pyxo9J2STkD5iUIWTij1DGkyQ7o8efNt, name: xx
thread '<unnamed>' panicked at tests/behavior/async_list.rs:520:5:
assertion `left == right` failed
  left: ["xx/", "xy", "xyy"]
 right: ["x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]
query: parent_id: 1PssYxeEcG8mb7XOsrN81p-iBz94JCM_m, name: xx
test behavior::test_list_dir_with_recursive                            ... FAILED
test behavior::test_stat_nested_parent_dir                             ... ok
test behavior::test_writer_futures_copy                                ... ok
test behavior::test_writer_futures_copy_with_concurrent                ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 9f3d4933-19f4-40d1-839a-ed07f2651878
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 54f8c271-cbde-4f0d-a951-779d7685f021 !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 78792400-675f-41ed-9355-a2bc381862a9
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: a53b2a4a-5451-4b18-9dbd-453d56c32991
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 9f3d4933-19f4-40d1-839a-ed07f2651878
test behavior::test_writer_abort                                       ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 78792400-675f-41ed-9355-a2bc381862a9
test behavior::test_writer_abort_with_concurrent                       ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f3daec29-ed78-41b0-84e7-38a47acccb3c
test behavior::test_blocking_copy_non_existing_source                  ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 7c1770c6-ee23-43c7-adff-12e8c0ebd44b/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 7c1770c6-ee23-43c7-adff-12e8c0ebd44b/
test behavior::test_stat_with_special_chars                            ... ok
test behavior::test_blocking_copy_source_dir                           ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 08557e81-6fc0-409a-b79b-6a6ebf05e408
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 60c445df-2474-4689-a8e4-371378201916
test behavior::test_stat_not_cleaned_path                              ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 52089c36-15de-4a3c-a2b9-c42d693e35fa
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: db1b9fe7-2c06-4664-bc56-426a223ee7e7
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 32b4e404-19ac-4b46-a6e5-6e394ae10461
test behavior::test_write_only                                         ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6930738e-517c-43e8-bc35-ebeec953cd35
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3e8965fd-2aef-4af6-a2df-5f49b10a0182/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3e8965fd-2aef-4af6-a2df-5f49b10a0182/
test behavior::test_rename_nested                                      ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 8cd35926-dd03-4b2f-a7d3-31a7743d8569
test behavior::test_write_with_special_chars                           ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b23d78c0-0a5b-4278-82df-a1fb97a27ece/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b23d78c0-0a5b-4278-82df-a1fb97a27ece/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 46094131-5f5a-48b5-bf1b-042bb6adb3be
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: db1b9fe7-2c06-4664-bc56-426a223ee7e7
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: a19761d5-1ba8-460f-b7de-ad29818f32f7/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: a19761d5-1ba8-460f-b7de-ad29818f32f7/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 8cd35926-dd03-4b2f-a7d3-31a7743d8569
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: be0bc095-c238-48cf-b2c8-f9d2358e1c20/
test behavior::test_blocking_create_dir                                ... ok
test behavior::test_blocking_copy_self                                 ... ok
thread '<unnamed>' panicked at tests/behavior/async_list.rs:614:9:
ea2dafcf-7d52-4523-acd7-210dbc99e707/x/y should be removed
test behavior::test_remove_all                                         ... FAILED
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: be0bc095-c238-48cf-b2c8-f9d2358e1c20/
query: parent_id: 1gFWevNChbv7pB4PwYqnJuNQ9tB3FDvl7, name: 2e95d4b4-67cf-425d-91a9-02d966e7e1ff/
create_dir: parent_id: 1gFWevNChbv7pB4PwYqnJuNQ9tB3FDvl7, name: 2e95d4b4-67cf-425d-91a9-02d966e7e1ff/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e794b5b4-21d3-4a95-8d36-aab93948473f
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 60f1cad3-effc-472a-b3a6-864162ea9c3e/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 04f94fac-c253-4daa-a932-af0ad7f5c77a
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f2376ef9-5cc3-4106-a14f-6670b366f689/
query: parent_id: 1phcyqThnD5da0-K0V0_-_42dQMQDlMWm, name: 568b05a6-aa71-4813-8ef5-746a7e24043f
test behavior::test_rename_overwrite                                   ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 60f1cad3-effc-472a-b3a6-864162ea9c3e/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 60f1cad3-effc-472a-b3a6-864162ea9c3e/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f2376ef9-5cc3-4106-a14f-6670b366f689/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f2376ef9-5cc3-4106-a14f-6670b366f689/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 70596a2e-e484-4f2f-8a65-b4362042ba5f/
query: parent_id: 1phcyqThnD5da0-K0V0_-_42dQMQDlMWm, name: 568b05a6-aa71-4813-8ef5-746a7e24043f
test behavior::test_blocking_create_dir_existing                       ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 70596a2e-e484-4f2f-8a65-b4362042ba5f/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 70596a2e-e484-4f2f-8a65-b4362042ba5f/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 606ff86f-2002-4e73-a064-67b9088560f9
test behavior::test_blocking_list_non_exist_dir                        ... ok
test behavior::test_blocking_copy_target_dir                           ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: bf2faca2-5488-4b59-a91c-4deb824012dc/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: bf2faca2-5488-4b59-a91c-4deb824012dc/
query: parent_id: 13P7dhtrGAH7G72EZmeDx-0ETIB6Op4C9, name: x/
create_dir: parent_id: 13P7dhtrGAH7G72EZmeDx-0ETIB6Op4C9, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 60f1cad3-effc-472a-b3a6-864162ea9c3e
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 46094131-5f5a-48b5-bf1b-042bb6adb3be
test behavior::test_blocking_delete_file                               ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 840bdc95-b2b8-468c-937a-a87aaa6fbe3f/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 840bdc95-b2b8-468c-937a-a87aaa6fbe3f/
query: parent_id: 1PqgtQf2K9_t-ORsD5ijRK9XrXP0789gR, name: x/
create_dir: parent_id: 1PqgtQf2K9_t-ORsD5ijRK9XrXP0789gR, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f2376ef9-5cc3-4106-a14f-6670b366f689
query: parent_id: 13c6SMCke-vZZrdod7CCmZsFDUVtMzt_b, name: x/
create_dir: parent_id: 13c6SMCke-vZZrdod7CCmZsFDUVtMzt_b, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 14ef3d2b-5757-45cf-9b93-75334acac048/
query: parent_id: 1BO7Ij0zVqFnGvCBgKO4cMUeT9zreZHon, name: x/
test behavior::test_blocking_copy_file                                 ... ok
create_dir: parent_id: 1BO7Ij0zVqFnGvCBgKO4cMUeT9zreZHon, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 70596a2e-e484-4f2f-8a65-b4362042ba5f
query: parent_id: 1Mh_k84kuiOyK0hKMmRidseE9qdHAIIPy, name: x/
create_dir: parent_id: 1Mh_k84kuiOyK0hKMmRidseE9qdHAIIPy, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 14ef3d2b-5757-45cf-9b93-75334acac048/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 14ef3d2b-5757-45cf-9b93-75334acac048/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e91afdb9-ad93-45a1-a531-947447edf85d/
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:65:5:
file should be found in list
test behavior::test_blocking_list_dir                                  ... FAILED
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e91afdb9-ad93-45a1-a531-947447edf85d/
query: parent_id: 1f-uFUMVBa4rINvTJEwKLk5XQw1H1B3FJ, name: x/
create_dir: parent_id: 1f-uFUMVBa4rINvTJEwKLk5XQw1H1B3FJ, name: x/
query: parent_id: 1iqvfdHUN7BNbCqf57tOE9Lg6O2Lh7cqH, name: x/
create_dir: parent_id: 1iqvfdHUN7BNbCqf57tOE9Lg6O2Lh7cqH, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 04f94fac-c253-4daa-a932-af0ad7f5c77a
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:115:5:
file should be found in list
test behavior::test_blocking_list_dir_with_metakey                     ... FAILED
test behavior::test_blocking_remove_one_file                           ... ok
query: parent_id: 1hA8jCo20k9Cv1B60iWAGqgARGlQ-ha7u, name: x/
create_dir: parent_id: 1hA8jCo20k9Cv1B60iWAGqgARGlQ-ha7u, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 6ca6e03b-dc5e-40c0-a7a9-1d6ac7170997
query: parent_id: 1XCT-7qlVAUq9TlAy4pcX4LAvuGw4AhET, name: y
query: parent_id: 1Q1HxmjPKvKnL6bC66xJ3MEUGJsVmI390, name: x/
create_dir: parent_id: 1Q1HxmjPKvKnL6bC66xJ3MEUGJsVmI390, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e794b5b4-21d3-4a95-8d36-aab93948473f
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: faa76f7f-303b-4b81-a546-dd43390b4b3b
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f89fc9be-c666-47b8-b2d4-946720def5f0
test behavior::test_blocking_read_not_exist                            ... ok
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:154:5:
file should be found in list
test behavior::test_blocking_list_dir_with_metakey_complete            ... FAILED
query: parent_id: 1hA8jCo20k9Cv1B60iWAGqgARGlQ-ha7u, name: y
test behavior::test_blocking_copy_nested                               ... ok
query: parent_id: 1GiCtMwUMhMLwbWIfuPKjbgGX_eFDyBwN, name: yy
query: parent_id: 1Q1HxmjPKvKnL6bC66xJ3MEUGJsVmI390, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 51c972c5-88e4-44ca-bcc8-7e98c1aef8c9
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b5a60429-9c29-42b6-b70e-7e8d688481c4
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e01f4ab7-c093-4146-bb2b-dde031fa8bb0/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e01f4ab7-c093-4146-bb2b-dde031fa8bb0/
test behavior::test_blocking_rename_source_dir                         ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 29d82b59-c71d-4c92-9eac-09d9cb7fc5bc
test behavior::test_blocking_rename_non_existing_source                ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f75ecfe0-2015-47e4-ac60-9ab0947fa04b
query: parent_id: 1XCT-7qlVAUq9TlAy4pcX4LAvuGw4AhET, name: x/
create_dir: parent_id: 1XCT-7qlVAUq9TlAy4pcX4LAvuGw4AhET, name: x/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 825bb407-134c-4775-8f67-4db7a053e67d
query: parent_id: 1E3OwdQqyMPr5XoDHl_dkjdeyJU5CR8yh, name: y
query: parent_id: 1Mh_k84kuiOyK0hKMmRidseE9qdHAIIPy, name: y
query: parent_id: 1iqvfdHUN7BNbCqf57tOE9Lg6O2Lh7cqH, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 14ef3d2b-5757-45cf-9b93-75334acac048
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 27260c48-10c0-4db1-a461-d7674b5dd446
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:310:5:
assertion `left == right` failed
  left: []
 right: ["yy"]
test behavior::test_blocking_list_file_with_recursive                  ... FAILED
test behavior::test_blocking_copy_overwrite                            ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 248716bd-72af-4df1-99a8-02169134656b
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: abddbf4d-89c9-4d81-a6c3-66b4266e7dc0
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b36ce440-183b-4bfa-8b4b-0176ebe72d88/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b36ce440-183b-4bfa-8b4b-0176ebe72d88/
query: parent_id: 1E3OwdQqyMPr5XoDHl_dkjdeyJU5CR8yh, name: x/
create_dir: parent_id: 1E3OwdQqyMPr5XoDHl_dkjdeyJU5CR8yh, name: x/
query: parent_id: 1BO7Ij0zVqFnGvCBgKO4cMUeT9zreZHon, name: y
query: parent_id: 13c6SMCke-vZZrdod7CCmZsFDUVtMzt_b, name: y
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b5a60429-9c29-42b6-b70e-7e8d688481c4
query: parent_id: 1giVf8ka32XDxfYskCKkO55VV46suuA2B, name: y
test behavior::test_blocking_read_range                                ... ok
test behavior::test_blocking_read_full                                 ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f36e32fb-fb93-44e1-ba16-4a09b7aa57f3/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: cd670e03-6500-4bb2-b126-47f028f08fad/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: cd670e03-6500-4bb2-b126-47f028f08fad/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 11e53aa9-1c97-4f11-9927-812c50fa5132
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 59a948c0-52e9-451c-be4e-4a41df896a7b
test behavior::test_blocking_rename_self                               ... ok
test behavior::test_blocking_rename_target_dir                         ... ok
query: parent_id: 13c6SMCke-vZZrdod7CCmZsFDUVtMzt_b, name: yy
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 1da5a282-3110-48cf-9eb7-36ee7ba5b3dd
test behavior::test_blocking_stat_not_exist                            ... ok
query: parent_id: 1BO7Ij0zVqFnGvCBgKO4cMUeT9zreZHon, name: yy
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f36e32fb-fb93-44e1-ba16-4a09b7aa57f3/
create_dir: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: f36e32fb-fb93-44e1-ba16-4a09b7aa57f3/
query: parent_id: 1Hq0WcxpSrFdwoKlWzPigoPrdakb1IsFp, name: 522c5363-0fde-4216-80db-953f00b4b1cf/
create_dir: parent_id: 1Hq0WcxpSrFdwoKlWzPigoPrdakb1IsFp, name: 522c5363-0fde-4216-80db-953f00b4b1cf/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: cf4e9e7c-4ffe-4d90-baae-ee34734996da !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b18a89f0-4639-4309-9c01-3027d85f4dff
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: b5a60429-9c29-42b6-b70e-7e8d688481c4
query: parent_id: 1giVf8ka32XDxfYskCKkO55VV46suuA2B, name: x/
create_dir: parent_id: 1giVf8ka32XDxfYskCKkO55VV46suuA2B, name: x/
test behavior::test_blocking_stat_dir                                  ... ok
query: parent_id: 13P7dhtrGAH7G72EZmeDx-0ETIB6Op4C9, name: x
test behavior::test_blocking_rename_file                               ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 248716bd-72af-4df1-99a8-02169134656b
test behavior::test_blocking_write_with_dir_path                       ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e40cfb0a-1d98-4dd7-af20-82783f0c36f0 !@#$%^&()_+-=;',.txt
query: parent_id: 1f-uFUMVBa4rINvTJEwKLk5XQw1H1B3FJ, name: x
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 840bdc95-b2b8-468c-937a-a87aaa6fbe3f
query: parent_id: 1f-uFUMVBa4rINvTJEwKLk5XQw1H1B3FJ, name: xx
query: parent_id: 13P7dhtrGAH7G72EZmeDx-0ETIB6Op4C9, name: xx
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:240:5:
assertion `left == right` failed
  left: ["xx/", "xy", "xyy"]
 right: ["x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]
test behavior::test_blocking_list_dir_with_recursive                   ... FAILED
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 840bdc95-b2b8-468c-937a-a87aaa6fbe3fx
test behavior::test_blocking_stat_file                                 ... ok
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:276:5:
assertion `left == right` failed
  left: []
 right: ["x/", "x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]
test behavior::test_blocking_list_dir_with_recursive_no_trailing_slash ... FAILED
test behavior::test_blocking_write_file                                ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: abddbf4d-89c9-4d81-a6c3-66b4266e7dc0
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 248716bd-72af-4df1-99a8-02169134656b
test behavior::test_blocking_stat_with_special_chars                   ... ok
test behavior::test_blocking_rename_nested                             ... ok
test behavior::test_blocking_write_with_special_chars                  ... ok
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: abddbf4d-89c9-4d81-a6c3-66b4266e7dc0
thread '<unnamed>' panicked at tests/behavior/blocking_list.rs:198:9:
e91afdb9-ad93-45a1-a531-947447edf85d/x/y should be removed
test behavior::test_blocking_remove_all                                ... FAILED
test behavior::test_blocking_rename_overwrite                          ... ok

failures:

---- behavior::test_check ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312🐂🍺中文.docx doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_dir ----
test panicked: file should be found in list

---- behavior::test_list_empty_dir ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b47e7ba4-3f7f-4636-a05b-ddd1663d1315/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_dir_with_metakey ----
test panicked: file should be found in list

---- behavior::test_list_dir_with_metakey_complete ----
test panicked: file should be found in list

---- behavior::test_list_sub_dir ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b1f46345-d630-4611-aab4-57bc70c726c6/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_prefix ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312b1f46345-d630-4611-aab4-57bc70c726c6/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_root_with_recursive ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c91731272ee2670-a9db-40f3-985c-11ef15d36ead/ doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_dir_with_file_path ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312d3faee3d-4cdb-4b21-b7f6-ed80377d1fe3 doesn't start with root /tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/

---- behavior::test_list_nested_dir ----
test panicked: assertion `left == right` failed
  left: "b1f46345-d630-4611-aab4-57bc70c726c6d368fd0a-0074-43ac-8f25-52df2b75a066/"
 right: "b1f46345-d630-4611-aab4-57bc70c726c6/d368fd0a-0074-43ac-8f25-52df2b75a066/"

---- behavior::test_list_file_with_recursive ----
test panicked: path tmp/opendal/d5aa1663-d9ec-42dd-98ba-59cf3c917312/72ee2670-a9db-40f3-985c-11ef15d36eady exists but it's value is inconsistent

---- behavior::test_list_dir_with_recursive_no_trailing_slash ----
test panicked: assertion `left == right` failed
  left: []
 right: ["x/", "x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]

---- behavior::test_list_dir_with_recursive ----
test panicked: assertion `left == right` failed
  left: ["xx/", "xy", "xyy"]
 right: ["x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]

---- behavior::test_remove_all ----
test panicked: ea2dafcf-7d52-4523-acd7-210dbc99e707/x/y should be removed

---- behavior::test_blocking_list_dir ----
test panicked: file should be found in list

---- behavior::test_blocking_list_dir_with_metakey ----
test panicked: file should be found in list

---- behavior::test_blocking_list_dir_with_metakey_complete ----
test panicked: file should be found in list

---- behavior::test_blocking_list_file_with_recursive ----
test panicked: assertion `left == right` failed
  left: []
 right: ["yy"]

---- behavior::test_blocking_list_dir_with_recursive ----
test panicked: assertion `left == right` failed
  left: ["xx/", "xy", "xyy"]
 right: ["x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]

---- behavior::test_blocking_list_dir_with_recursive_no_trailing_slash ----
test panicked: assertion `left == right` failed
  left: []
 right: ["x/", "x/x/", "x/x/x/", "x/x/x/x/", "x/x/x/y", "x/x/y", "x/y", "x/yy"]

---- behavior::test_blocking_remove_all ----
test panicked: e91afdb9-ad93-45a1-a531-947447edf85d/x/y should be removed


failures:
    behavior::test_check
    behavior::test_list_dir
    behavior::test_list_empty_dir
    behavior::test_list_dir_with_metakey
    behavior::test_list_dir_with_metakey_complete
    behavior::test_list_sub_dir
    behavior::test_list_prefix
    behavior::test_list_root_with_recursive
    behavior::test_list_dir_with_file_path
    behavior::test_list_nested_dir
    behavior::test_list_file_with_recursive
    behavior::test_list_dir_with_recursive_no_trailing_slash
    behavior::test_list_dir_with_recursive
    behavior::test_remove_all
    behavior::test_blocking_list_dir
    behavior::test_blocking_list_dir_with_metakey
    behavior::test_blocking_list_dir_with_metakey_complete
    behavior::test_blocking_list_file_with_recursive
    behavior::test_blocking_list_dir_with_recursive
    behavior::test_blocking_list_dir_with_recursive_no_trailing_slash
    behavior::test_blocking_remove_all

test result: FAILED. 93 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 128.82s

query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 19ca2904-ade5-48d3-8f30-170b82531ef8
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 13431c5d-ef5c-40c3-b95d-a9530fcd844e/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: e9458348-a5f9-45f2-9327-a4068e4458de !@#$%^&()_+-=;',.txt
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 41282794-43d5-4e45-84df-ae13a4a3f7e7
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 3d2681be-1216-46d2-bc63-b7bf29e96c7b/
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 9f3d4933-19f4-40d1-839a-ed07f2651878
query: parent_id: 1m7aES86eZ9q7CL3xyZBnDNXtRjYLLAgG, name: 78792400-675f-41ed-9355-a2bc381862a9
error: test failed, to rerun pass `--test behavior`

@imWildCat
Copy link
Contributor Author

imWildCat commented Jun 20, 2024

Hi @Xuanwo ,
after many hours on this PR, I found more issues on the main branch.

I'll need to re-prioritize my tasks of my own company first. So I decided to mark this PR as draft first. Please feel free to close this PR if anybody else wants to take over the fix of Google Drive.
My apologies about this.

To help the community fix the problem. Let me share the bugs I found for Google Drive on main:

  1. Another file / dir duplication issue found in test
image
  1. Failed tests
Test logs on main ``` ➜ core git:(main-test) ✗ OPENDAL_TEST=gdrive cargo test behavior --features tests --features services-gdrive -- --nocapture

Compiling opendal v0.47.1 (/Volumes/QuickMac/temp/202406/opendal/core)
Finished test profile [unoptimized + debuginfo] target(s) in 4.52s
Running unittests src/lib.rs (target/debug/deps/opendal-f946c46620ff5110)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 130 filtered out; finished in 0.00s

 Running tests/behavior/main.rs (target/debug/deps/behavior-fbe0dbf02ea722c8)

running 114 tests
test behavior::test_copy_source_dir ... ok
test behavior::test_copy_non_existing_source ... ok
test behavior::test_create_dir ... ok
test behavior::test_create_dir_existing ... ok
test behavior::test_delete_not_existing ... ok
test behavior::test_delete_stream ... ok
test behavior::test_delete_empty_dir ... ok
test behavior::test_copy_self ... ok
test behavior::test_delete_file ... ok
test behavior::test_check ... ok
test behavior::test_delete_with_special_chars ... ok
test behavior::test_copy_target_dir ... ok
test behavior::test_list_rich_dir ... ok
test behavior::test_copy_file_with_ascii_name ... ok
test behavior::test_list_non_exist_dir ... ok
test behavior::test_copy_nested ... ok
test behavior::test_list_dir ... ok
test behavior::test_list_dir_with_metakey ... ok
test behavior::test_list_with_start_after ... ok
test behavior::test_remove_one_file ... ok
test behavior::test_copy_file_with_non_ascii_name ... ok
thread '' panicked at tests/behavior/async_list.rs:343:5:
dir should be found in list, but only got: [Entry { path: "5e806bf6-2517-48ac-bac3-d5cc7b495290/", metadata: Metadata { metakey: FlagSet(Complete | Mode), mode: DIR, cache_control: None, content_disposition: None, content_length: None, content_md5: None, content_range: None, content_type: None, etag: None, last_modified: None, version: None } }]
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
test behavior::test_list_sub_dir ... FAILED
test behavior::test_list_dir_with_metakey_complete ... ok
thread '' panicked at tests/behavior/async_list.rs:422:5:
assertion left == right failed
left: 0
right: 1
test behavior::test_list_dir_with_file_path ... FAILED
test behavior::test_list_prefix ... ok
test behavior::test_list_root_with_recursive ... ok
test behavior::test_list_empty_dir ... ok
test behavior::test_read_not_exist ... ok
test behavior::test_read_with_if_match ... ok
test behavior::test_read_with_if_none_match ... ok
test behavior::test_copy_overwrite ... ok
test behavior::test_read_with_dir_path ... ok
test behavior::test_read_with_override_cache_control ... ok
test behavior::test_read_with_override_content_disposition ... ok
test behavior::test_read_with_override_content_type ... ok
test behavior::test_read_range ... ok
test behavior::test_rename_non_existing_source ... ok
test behavior::test_read_full ... ok
test behavior::test_rename_source_dir ... ok
thread '' panicked at src/raw/path_cache.rs:98:13:
path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/5e806bf6-2517-48ac-bac3-d5cc7b495290/b38639f8-9486-40e5-b717-3877edfe66f2/ad5d1355-37b5-4700-ae05-762bf69e80b8 exists but it's value is inconsistent
test behavior::test_list_nested_dir ... FAILED
thread '' panicked at src/raw/path_cache.rs:98:13:
path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/71394353-2007-4400-adde-e1728f5fb9a4/y exists but it's value is inconsistent
test behavior::test_list_file_with_recursive ... FAILED
test behavior::test_read_with_special_chars ... ok
test behavior::test_reader ... ok
test behavior::test_rename_self ... ok
test behavior::test_stat_dir ... ok
test behavior::test_stat_file ... ok
test behavior::test_list_dir_with_recursive ... ok
test behavior::test_rename_target_dir ... ok
test behavior::test_stat_with_if_match ... ok
test behavior::test_stat_with_if_none_match ... ok
test behavior::test_stat_with_override_cache_control ... ok
test behavior::test_stat_with_override_content_disposition ... ok
test behavior::test_stat_with_override_content_type ... ok
test behavior::test_stat_root ... ok
test behavior::test_stat_not_exist ... ok
test behavior::test_write_with_empty_content ... ok
test behavior::test_write_with_dir_path ... ok
test behavior::test_stat_not_cleaned_path ... ok
test behavior::test_write_with_cache_control ... ok
test behavior::test_write_with_content_type ... ok
test behavior::test_write_with_content_disposition ... ok
test behavior::test_writer_write ... ok
test behavior::test_writer_write_with_concurrent ... ok
test behavior::test_writer_sink ... ok
test behavior::test_writer_sink_with_concurrent ... ok
test behavior::test_list_dir_with_recursive_no_trailing_slash ... ok
test behavior::test_stat_nested_parent_dir ... ok
test behavior::test_writer_futures_copy ... ok
test behavior::test_writer_futures_copy_with_concurrent ... ok
test behavior::test_stat_with_special_chars ... ok
test behavior::test_blocking_copy_non_existing_source ... ok
test behavior::test_rename_nested ... ok
test behavior::test_blocking_copy_source_dir ... ok
test behavior::test_writer_abort_with_concurrent ... ok
test behavior::test_rename_file ... ok
test behavior::test_writer_abort ... ok
test behavior::test_write_with_special_chars ... ok
test behavior::test_write_only ... ok
test behavior::test_blocking_copy_self ... ok
test behavior::test_blocking_create_dir ... ok
test behavior::test_blocking_create_dir_existing ... ok
test behavior::test_blocking_copy_target_dir ... ok
test behavior::test_rename_overwrite ... ok
test behavior::test_blocking_delete_file ... ok
test behavior::test_blocking_list_non_exist_dir ... ok
test behavior::test_blocking_copy_file ... ok
test behavior::test_blocking_remove_one_file ... ok
test behavior::test_remove_all ... ok
test behavior::test_blocking_copy_nested ... ok
test behavior::test_blocking_list_dir ... ok
test behavior::test_blocking_read_not_exist ... ok
thread '' panicked at src/raw/path_cache.rs:98:13:
path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/93867040-759a-40ba-8b6a-979bf1fee296/191dd386-5683-47fb-a323-6f14833e87c1 exists but it's value is inconsistent
test behavior::test_blocking_list_dir_with_metakey_complete ... FAILED
test behavior::test_blocking_list_dir_with_metakey ... ok
test behavior::test_blocking_rename_non_existing_source ... ok
test behavior::test_blocking_rename_source_dir ... ok
test behavior::test_blocking_list_file_with_recursive ... ok
test behavior::test_blocking_read_range ... ok
test behavior::test_blocking_read_full ... ok
test behavior::test_blocking_rename_target_dir ... ok
test behavior::test_blocking_rename_self ... ok
test behavior::test_blocking_rename_file ... ok
test behavior::test_blocking_stat_not_exist ... ok
test behavior::test_blocking_copy_overwrite ... ok
test behavior::test_blocking_write_with_dir_path ... ok
test behavior::test_blocking_stat_file ... ok
test behavior::test_blocking_stat_dir ... ok
thread '' panicked at src/raw/path_cache.rs:98:13:
path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/c7ddbc60-6188-4f6c-96a3-bc7d88e1f4e9/x/x/y exists but it's value is inconsistent
test behavior::test_blocking_list_dir_with_recursive ... FAILED
test behavior::test_blocking_rename_nested ... ok
test behavior::test_blocking_stat_with_special_chars ... ok
test behavior::test_blocking_write_file ... ok
thread '' panicked at src/raw/path_cache.rs:98:13:
path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/72f08e0a-9c81-42cd-b0ae-5756735a9586/x/x/y exists but it's value is inconsistent
test behavior::test_blocking_list_dir_with_recursive_no_trailing_slash ... FAILED
test behavior::test_blocking_write_with_special_chars ... ok
test behavior::test_blocking_rename_overwrite ... ok
test behavior::test_blocking_remove_all ... ok

failures:

---- behavior::test_list_sub_dir ----
test panicked: dir should be found in list, but only got: [Entry { path: "5e806bf6-2517-48ac-bac3-d5cc7b495290/", metadata: Metadata { metakey: FlagSet(Complete | Mode), mode: DIR, cache_control: None, content_disposition: None, content_length: None, content_md5: None, content_range: None, content_type: None, etag: None, last_modified: None, version: None } }]

---- behavior::test_list_dir_with_file_path ----
test panicked: assertion left == right failed
left: 0
right: 1

---- behavior::test_list_nested_dir ----
test panicked: path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/5e806bf6-2517-48ac-bac3-d5cc7b495290/b38639f8-9486-40e5-b717-3877edfe66f2/ad5d1355-37b5-4700-ae05-762bf69e80b8 exists but it's value is inconsistent

---- behavior::test_list_file_with_recursive ----
test panicked: path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/71394353-2007-4400-adde-e1728f5fb9a4/y exists but it's value is inconsistent

---- behavior::test_blocking_list_dir_with_metakey_complete ----
test panicked: path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/93867040-759a-40ba-8b6a-979bf1fee296/191dd386-5683-47fb-a323-6f14833e87c1 exists but it's value is inconsistent

---- behavior::test_blocking_list_dir_with_recursive ----
test panicked: path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/c7ddbc60-6188-4f6c-96a3-bc7d88e1f4e9/x/x/y exists but it's value is inconsistent

---- behavior::test_blocking_list_dir_with_recursive_no_trailing_slash ----
test panicked: path tmp/opendal/5e0bc80d-e0b9-4530-a050-9787ceab7d0a/72f08e0a-9c81-42cd-b0ae-5756735a9586/x/x/y exists but it's value is inconsistent

failures:
behavior::test_list_sub_dir
behavior::test_list_dir_with_file_path
behavior::test_list_nested_dir
behavior::test_list_file_with_recursive
behavior::test_blocking_list_dir_with_metakey_complete
behavior::test_blocking_list_dir_with_recursive
behavior::test_blocking_list_dir_with_recursive_no_trailing_slash

test result: FAILED. 107 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 142.99s

error: test failed, to rerun pass --test behavior

</details>

@imWildCat imWildCat marked this pull request as draft June 20, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants