Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ci/test_files_to_stash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ build/*/*/src/utils/dlck/tests/dlck_checker_common_ut,
build/*/*/src/utils/dlck/tests/dlck_checker_macros_ut,
build/*/*/src/utils/dlck/tests/dlck_checker_main_ut,
build/*/*/src/utils/dlck/tests/dlck_checker_worker_ut,
build/*/*/src/utils/dlck/tests/dlck_test_helper,
src/common/tests/btree.sh,
src/control/run_go_tests.sh,
src/rdb/raft_tests/raft_tests.py,
src/vos/tests/evt_ctl.sh
src/control/lib/netdetect/netdetect.go
src/include/**
src/vos/tests/evt_ctl.sh,
src/control/lib/netdetect/netdetect.go,
src/include/**,
src/utils/dlck/test/fault_templates/**
4 changes: 3 additions & 1 deletion src/utils/dlck/dlck_args_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ args_engine_check(struct argp_state *state, struct dlck_args_engine *args)

if (d_fault_inject_is_enabled()) {
if (args->targets > 1) {
RETURN_FAIL(state, EINVAL, "Fault injection requires targets == 1");
RETURN_FAIL(state, EINVAL,
"Fault injection requires targets == 1, actual targets == %u",
args->targets);
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/utils/dlck/dlck_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ dlck_engine_xstream_is_sys(int tgt_id)
static inline bool
dlck_engine_xstream_has_nvme(int tgt_id)
{
if (getenv("DLCK_NO_NVME") != NULL) {
return false;
}

/**
* Since there are no helper execution streams (XS) right now. All non-sys XSes are main
* XSes as defined for daos_engine.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Effective user: root
Log directory: {{LOG_DIR}}
Start the engine... ok.
Create pools directories... ok.
Start targets... ok.
Wait for targets to stop...
[0] pool {{UUID}} check result: ok.
[0] container {{UUID}} check resultok (1 warning(s)).
Wait for targets to stop: ok.
Stop the engine... ok.
===============================
Targets:
===============================
[0] result: 0 error(s), 1 warning(s).
===============================
Total: 0 error(s), 1 warning(s).
===============================
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
VOS file allocation: ok.
Check pool:
path: {{STORAGE}}/{{UUID}}/vos-0
uuid: {{UUID}}
- NVMe devices (if applicable): ok.
- Open the pool: ok.
- Magic... ok.
- Version... ok.
- UUID... ok.
- Containers tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a4c0)... ok.
- Containers tree: ok.
- Pool extension (off=0x400550)... ok.
- Garbage collector's tree...
-- Tree class... ok.
-- Tree features... ok.
-- Empty tree
- Garbage collector's tree: ok.
Check pool: ok.
Check container:
uuid: {{UUID}}
- uuid... ok.
- Padding (cd_pad)... warning: non-zero (0)
ok.
- Padding (cd_used)... ok.
- Reserved (cd_reserv_upgrade)... ok.
- Object index tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a6c0)... ok.
--- Record fetch (off=0xac05c0)... ok.
---- Object (oid=1185667690.2136093645.0.0)...
----- ILOG... ok.
---- Object (oid=1185667690.2136093645.0.0)... ok.
--- Record fetch (off=0xac0540)... ok.
---- Object (oid=471378945.1581695481.0.0)...
----- ILOG... ok.
---- Object (oid=471378945.1581695481.0.0)... ok.
- Object index tree: ok.
- Active DTX blob list...
-- DTX blob (off=0x514650)...
--- Magic... ok.
--- 7 active entries:
---- [0] ID (dae_xid)... ok.
---- [0] LID (dae_lid)... ok.
---- [0] Append to active DTX tree... ok.
---- [1] ID (dae_xid)... ok.
---- [1] LID (dae_lid)... ok.
---- [1] Append to active DTX tree... ok.
---- [2] flagged invalid.
---- [3] ID (dae_xid)... ok.
---- [3] LID (dae_lid)... ok.
---- [3] Append to active DTX tree... ok.
---- [4] flagged invalid.
---- [5] ID (dae_xid)... ok.
---- [5] LID (dae_lid)... ok.
---- [5] Append to active DTX tree... ok.
---- [6] ID (dae_xid)... ok.
---- [6] LID (dae_lid)... ok.
---- [6] Append to active DTX tree... ok.
-- DTX blob (off=0x514650)... ok.
- Active DTX blob list: ok.
Check container: ok.
Check oid: 1185667690.2136093645.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb01880)... ok.
- Dkey tree: ok.
Check oid: 1185667690.2136093645.0.0: ok.
Check oid: 471378945.1581695481.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb016a0)... ok.
- Dkey tree: ok.
Check oid: 471378945.1581695481.0.0: ok.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Effective user: root
Log directory: {{LOG_DIR}}
Start the engine... ok.
Create pools directories... ok.
Start targets... ok.
Wait for targets to stop...
[0] pool {{UUID}} check result: ok.
[0] container {{UUID}} check resultok (1 warning(s)).
Wait for targets to stop: ok.
Stop the engine... ok.
===============================
Targets:
===============================
[0] result: 0 error(s), 1 warning(s).
===============================
Total: 0 error(s), 1 warning(s).
===============================
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
VOS file allocation: ok.
Check pool:
path: {{STORAGE}}/{{UUID}}/vos-0
uuid: {{UUID}}
- NVMe devices (if applicable): ok.
- Open the pool: ok.
- Magic... ok.
- Version... ok.
- UUID... ok.
- Containers tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a4c0)... ok.
- Containers tree: ok.
- Pool extension (off=0x400550)... ok.
- Garbage collector's tree...
-- Tree class... ok.
-- Tree features... ok.
-- Empty tree
- Garbage collector's tree: ok.
Check pool: ok.
Check container:
uuid: {{UUID}}
- uuid... ok.
- Padding (cd_pad)... ok.
- Padding (cd_used)... ok.
- Reserved (cd_reserv_upgrade)... warning: non-zero (0)
ok.
- Object index tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a6c0)... ok.
--- Record fetch (off=0xac05c0)... ok.
---- Object (oid=1185667690.2136093645.0.0)...
----- ILOG... ok.
---- Object (oid=1185667690.2136093645.0.0)... ok.
--- Record fetch (off=0xac0540)... ok.
---- Object (oid=471378945.1581695481.0.0)...
----- ILOG... ok.
---- Object (oid=471378945.1581695481.0.0)... ok.
- Object index tree: ok.
- Active DTX blob list...
-- DTX blob (off=0x514650)...
--- Magic... ok.
--- 7 active entries:
---- [0] ID (dae_xid)... ok.
---- [0] LID (dae_lid)... ok.
---- [0] Append to active DTX tree... ok.
---- [1] ID (dae_xid)... ok.
---- [1] LID (dae_lid)... ok.
---- [1] Append to active DTX tree... ok.
---- [2] flagged invalid.
---- [3] ID (dae_xid)... ok.
---- [3] LID (dae_lid)... ok.
---- [3] Append to active DTX tree... ok.
---- [4] flagged invalid.
---- [5] ID (dae_xid)... ok.
---- [5] LID (dae_lid)... ok.
---- [5] Append to active DTX tree... ok.
---- [6] ID (dae_xid)... ok.
---- [6] LID (dae_lid)... ok.
---- [6] Append to active DTX tree... ok.
-- DTX blob (off=0x514650)... ok.
- Active DTX blob list: ok.
Check container: ok.
Check oid: 1185667690.2136093645.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb01880)... ok.
- Dkey tree: ok.
Check oid: 1185667690.2136093645.0.0: ok.
Check oid: 471378945.1581695481.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb016a0)... ok.
- Dkey tree: ok.
Check oid: 471378945.1581695481.0.0: ok.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Effective user: root
Log directory: {{LOG_DIR}}
Start the engine... ok.
Create pools directories... ok.
Start targets... ok.
Wait for targets to stop...
[0] pool {{UUID}} check result: ok.
[0] container {{UUID}} check resultok (1 warning(s)).
Wait for targets to stop: ok.
Stop the engine... ok.
===============================
Targets:
===============================
[0] result: 0 error(s), 1 warning(s).
===============================
Total: 0 error(s), 1 warning(s).
===============================
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
VOS file allocation: ok.
Check pool:
path: {{STORAGE}}/{{UUID}}/vos-0
uuid: {{UUID}}
- NVMe devices (if applicable): ok.
- Open the pool: ok.
- Magic... ok.
- Version... ok.
- UUID... ok.
- Containers tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a4c0)... ok.
- Containers tree: ok.
- Pool extension (off=0x400550)... ok.
- Garbage collector's tree...
-- Tree class... ok.
-- Tree features... ok.
-- Empty tree
- Garbage collector's tree: ok.
Check pool: ok.
Check container:
uuid: {{UUID}}
- uuid... ok.
- Padding (cd_pad)... ok.
- Padding (cd_used)... warning: non-zero (0)
ok.
- Reserved (cd_reserv_upgrade)... ok.
- Object index tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a6c0)... ok.
--- Record fetch (off=0xac05c0)... ok.
---- Object (oid=1185667690.2136093645.0.0)...
----- ILOG... ok.
---- Object (oid=1185667690.2136093645.0.0)... ok.
--- Record fetch (off=0xac0540)... ok.
---- Object (oid=471378945.1581695481.0.0)...
----- ILOG... ok.
---- Object (oid=471378945.1581695481.0.0)... ok.
- Object index tree: ok.
- Active DTX blob list...
-- DTX blob (off=0x514650)...
--- Magic... ok.
--- 7 active entries:
---- [0] ID (dae_xid)... ok.
---- [0] LID (dae_lid)... ok.
---- [0] Append to active DTX tree... ok.
---- [1] ID (dae_xid)... ok.
---- [1] LID (dae_lid)... ok.
---- [1] Append to active DTX tree... ok.
---- [2] flagged invalid.
---- [3] ID (dae_xid)... ok.
---- [3] LID (dae_lid)... ok.
---- [3] Append to active DTX tree... ok.
---- [4] flagged invalid.
---- [5] ID (dae_xid)... ok.
---- [5] LID (dae_lid)... ok.
---- [5] Append to active DTX tree... ok.
---- [6] ID (dae_xid)... ok.
---- [6] LID (dae_lid)... ok.
---- [6] Append to active DTX tree... ok.
-- DTX blob (off=0x514650)... ok.
- Active DTX blob list: ok.
Check container: ok.
Check oid: 1185667690.2136093645.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb01880)... ok.
- Dkey tree: ok.
Check oid: 1185667690.2136093645.0.0: ok.
Check oid: 471378945.1581695481.0.0...
- Dkey tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xb016a0)... ok.
- Dkey tree: ok.
Check oid: 471378945.1581695481.0.0: ok.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Effective user: root
Log directory: {{LOG_DIR}}
Start the engine... ok.
Create pools directories... ok.
Start targets... ok.
Wait for targets to stop...
[0] pool {{UUID}} check result: ok.
error: [0] container {{UUID}} check result: DER_ID_MISMATCH(-2035): 'ID mismatch'
Wait for targets to stop: ok.
Stop the engine... ok.
===============================
Targets:
===============================
[0] result: 1 error(s), 0 warning(s).
===============================
Total: 1 error(s), 0 warning(s).
===============================
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
VOS file allocation: ok.
Check pool:
path: {{STORAGE}}/{{UUID}}/vos-0
uuid: {{UUID}}
- NVMe devices (if applicable): ok.
- Open the pool: ok.
- Magic... ok.
- Version... ok.
- UUID... ok.
- Containers tree...
-- Tree class... ok.
-- Tree features... ok.
-- Node (off=0xa7a4c0)... ok.
- Containers tree: ok.
- Pool extension (off=0x400550)... ok.
- Garbage collector's tree...
-- Tree class... ok.
-- Tree features... ok.
-- Empty tree
- Garbage collector's tree: ok.
Check pool: ok.
Check container:
uuid: {{UUID}}
- uuid... error: mismatch ({{UUID}} != {{UUID}})

error: Check container: DER_ID_MISMATCH(-2035): 'ID mismatch'
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Effective user: root
Log directory: {{LOG_DIR}}
Start the engine... ok.
Create pools directories... ok.
Start targets... ok.
Wait for targets to stop...
error: [0] pool {{UUID}} check result: DER_PROTO(-1014): 'Incompatible protocol'
Wait for targets to stop: ok.
Stop the engine... ok.
===============================
Targets:
===============================
[0] result: 1 error(s), 0 warning(s).
===============================
Total: 1 error(s), 0 warning(s).
===============================
Loading
Loading