Closed yanxue-intel closed 4 months ago
The panic seems to be triggered by acond code (src/server.rs) at line 237, where it attempts to unwrap a ‘None‘’ value.
blobs details: [tdx@localhost .acon]$ ll blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar -rw------- 1 tdx tdx 0 Apr 1 14:39 blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar
[tdx@localhost .acon]$ ll blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar -rw------- 1 tdx tdx 0 Apr 1 14:39 blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar
painc details: 2024/04/01 15:28:03 Missing layers: 2024/04/01 15:28:03 [0]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [1]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [2]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [3]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 AddBlob, URL: https://:10020/api/v1/blob/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar?alg=2 2024/04/01 15:28:03 build multiform for data using 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar ... thread 'main' panicked at src/server.rs:237:44: called Option::unwrap() on a None value note: run with RUST_BACKTRACE=1 environment variable to display a backtrace traps: acond[1] general protection fault ip:7fd99a396719 sp:7ffebe75cb60 error:0 in acond[7fd99a1b8000+4e1000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU: 0 PID: 1 Comm: acond Not tainted 6.3.0-rc6-tde-20230418-00119-gdb5e84a614bb #3 Call Trace:
Option::unwrap()
None
RUST_BACKTRACE=1
Kernel Offset: 0x2d800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]--- 2024/04/01 15:28:13 Failed, AddBlob sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b: AddBlob: error send request: Put " https://:10020/api/v1/blob/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar?alg=2": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Acond fix - https://github.com/intel/ACON/commit/1c41335790e91087427afa27fbb62c080754babc
The panic seems to be triggered by acond code (src/server.rs) at line 237, where it attempts to unwrap a ‘None‘’ value.
blobs details:
[tdx@localhost .acon]$ ll blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar -rw------- 1 tdx tdx 0 Apr 1 14:39 blobs/sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar
painc details: 2024/04/01 15:28:03 Missing layers: 2024/04/01 15:28:03 [0]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [1]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [2]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 [3]: "sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b" 2024/04/01 15:28:03 AddBlob, URL: https://:10020/api/v1/blob/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar?alg=2 2024/04/01 15:28:03 build multiform for data using 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar ... thread 'main' panicked at src/server.rs:237:44: called
Option::unwrap()
on aNone
value note: run withRUST_BACKTRACE=1
environment variable to display a backtrace traps: acond[1] general protection fault ip:7fd99a396719 sp:7ffebe75cb60 error:0 in acond[7fd99a1b8000+4e1000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU: 0 PID: 1 Comm: acond Not tainted 6.3.0-rc6-tde-20230418-00119-gdb5e84a614bb #3 Call Trace:Kernel Offset: 0x2d800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]--- 2024/04/01 15:28:13 Failed, AddBlob sha384/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b: AddBlob: error send request: Put " https://:10020/api/v1/blob/38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b.tar?alg=2": context deadline exceeded (Client.Timeout exceeded while awaiting headers)