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

The test data at tests/texture/repeatable is invalid #832

Closed
jiangliu opened this issue Nov 3, 2022 · 0 comments
Closed

The test data at tests/texture/repeatable is invalid #832

jiangliu opened this issue Nov 3, 2022 · 0 comments

Comments

@jiangliu
Copy link
Collaborator

jiangliu commented Nov 3, 2022

With v2.1 branch:
target/debug/nydusd fuse -M mnt/ -C nydusd-config1.json -B images/blake3-lz4_block-non_repeatable &
root@0fba9939116d:/nydus# grep "test" mnt/ -r
[2022-11-03 15:16:49.463085 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.463168 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
[2022-11-03 15:16:49.489291 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.489368 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
[2022-11-03 15:16:49.578303 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.578371 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
Binary file mnt/normal-file-test/busybox/1f777dbdd68d1c4d554bc0d20e027bfef9ed2dfe2d8d5f029e958552a0e12475/layer.tar matches
[2022-11-03 15:16:49.595104 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.595169 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
[2022-11-03 15:16:49.599128 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.599178 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
mnt/normal-file-test/busybox/manifest.json:[{"Config":"af2f74c517aac1d26793a6ed05ff45b299a037e1a9eefeae5eacda133e70a825.json","RepoTags":["busybox:latest"],"Layers":["1f777dbdd68d1c4d554bc0d20e027bfef9ed2dfe2d8d5f029e958552a0e12475/layer.tar"]}]
[2022-11-03 15:16:49.602858 +00:00] ERROR [error/src/error.rs:21] Error:
"decompression failed"
at utils/src/compress/lz4_standard.rs:56
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 15:16:49.602923 +00:00] ERROR [storage/src/cache/mod.rs:331] failed to decompress chunk: Input/output error (os error 5)
mnt/normal-file-test/busybox/repositories:{"busybox":{"latest":"1f777dbdd68d1c4d554bc0d20e027bfef9ed2dfe2d8d5f029e958552a0e12475"}}

With master branch,

[2022-11-03 14:32:17.380525 +00:00] INFO [api/src/http_handler.rs:282] http server started
[2022-11-03 14:32:17.382278 +00:00] INFO [src/bin/nydusd/main.rs:698] Fuse daemon started!
[2022-11-03 14:32:17.382368 +00:00] INFO [src/bin/nydusd/api_server_glue.rs:406] HTTP API server running at /tmp/sEMJa8/api.sock
[2022-11-03 14:32:17.382436 +00:00] INFO [api/src/http_handler.rs:282] http server started
[2022-11-03 14:32:19.254825 +00:00] WARN [storage/src/cache/mod.rs:356] chunk info: 885369 100121 1052487 367104 0 daacf6958ee830c517490073b009d3408c7eb51b5acb47e47d02ca9378759efe
[2022-11-03 14:32:19.255208 +00:00] ERROR [error/src/error.rs:22] Error:
"data digest value doesn't match"
at storage/src/cache/mod.rs:365
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 14:32:19.258855 +00:00] WARN [storage/src/cache/mod.rs:356] chunk info: 778 837 944 1497 0 b98feba6955703140aa56755e645fec861024879b8d39fc4eaf5c78ed3b28fd5
[2022-11-03 14:32:19.259414 +00:00] ERROR [error/src/error.rs:22] Error:
"data digest value doesn't match"
at storage/src/cache/mod.rs:365
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 14:32:19.260450 +00:00] WARN [storage/src/cache/mod.rs:356] chunk info: 1615 203 2441 203 0 fd81be82630d02c030a83d21b25f69697267f2004fe86163fd2d13a6099dd5f5
[2022-11-03 14:32:19.260965 +00:00] ERROR [error/src/error.rs:22] Error:
"data digest value doesn't match"
at storage/src/cache/mod.rs:365
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 14:32:19.261956 +00:00] WARN [storage/src/cache/mod.rs:356] chunk info: 1818 90 2644 90 0 276b9da2d71a793a940421fae6a5e5b6b9fa63cba2d5b935c4366d49a3ee7548
[2022-11-03 14:32:19.262477 +00:00] ERROR [error/src/error.rs:22] Error:
"data digest value doesn't match"
at storage/src/cache/mod.rs:365
note: enable RUST_BACKTRACE=1 env to display a backtrace
[2022-11-03 14:32:19.386354 +00:00] INFO [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/transport/fusedev/linux_session.rs:250] FUSE channel already closed!

jiangliu added a commit to jiangliu/image-service that referenced this issue Nov 12, 2022
Fix invalid digest value of repeatable blob.

Fixes: dragonflyoss#832

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
@imeoer imeoer closed this as completed in df31803 Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant