-
Notifications
You must be signed in to change notification settings - Fork 341
Jlo/posix default #17516
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
base: master
Are you sure you want to change the base?
Jlo/posix default #17516
Changes from all commits
ee71448
4ce4b15
132ad95
e329783
74b1d41
471245c
2d511aa
9f95f79
122be11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,7 @@ pool: | |
|
|
||
| container: | ||
| properties: cksum:crc16,cksum_size:16384 | ||
| type: NONE | ||
|
|
||
| dkeys: | ||
| no_of_dkeys: 50 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,7 @@ container: | |
| run_time: 10 | ||
| rank: 1 | ||
| obj_classs: "OC_RP_3G1" | ||
| type: NONE | ||
|
|
||
| boundary_test: !mux | ||
| test_1: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,3 +17,4 @@ pool: | |
| threshold_percent: 0.1 # 10% | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,4 @@ pool: | |
| size: 1G | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,4 @@ pool: | |
|
|
||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,3 +18,4 @@ pool: | |
| scm_size: 1G | ||
| container: | ||
| properties: cksum:crc16,cksum_size:16384 | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,4 @@ container: | |
| data_size: 32 | ||
| object_qty: 1 | ||
| record_qty: 1 | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ pool: | |
| scm_size: 2G | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| test: | ||
| container_qty: 5 | ||
| open_close_qty: 3 | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,6 +18,6 @@ pool: | |||||||
| scm_size: 500000000 | ||||||||
| container: | ||||||||
| cont_types: | ||||||||
| - "" | ||||||||
| - "NONE" | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't we still test
Suggested change
We also might want to clarify https://github.com/daos-stack/daos/blob/master/src/tests/ftest/dfuse/container_type.py#L43, now that "NONE" should create a POSIX container. Either way https://github.com/daos-stack/daos/blob/master/src/tests/ftest/dfuse/container_type.py#L48-L49 will need to be updated to support setting
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I fixed the python, but the purpose of this test is to verify dfuse behavior with POSIX and non-POSIX, so I don't think there is any need to create a container with an empty type |
||||||||
| - "POSIX" | ||||||||
| control_method: daos | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,7 @@ container: | |
| dkey_size: 10 | ||
| data_array: 10 | ||
| control_method: daos | ||
| type: NONE | ||
|
|
||
| object_class: OC_RP_3G1 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,3 +44,4 @@ container: | |
| dkey_size: 10 | ||
| data_size: 4096 | ||
| array_size: 1 | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,3 +18,4 @@ pool: | |
| scm_size: 160000000 | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,7 @@ pool: | |
|
|
||
| container: | ||
| properties: cksum:crc16,cksum_size:16384 | ||
| type: NONE | ||
|
|
||
| test_sequence: | ||
| dmg_cmd_test: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,4 @@ container: | |
| data_size: 32 | ||
| object_qty: 1 | ||
| record_qty: 1 | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ pool: | |
|
|
||
| container: | ||
| control_method: API | ||
| type: NONE | ||
|
|
||
| createtests: | ||
| permissions: !mux | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,6 +31,7 @@ container: | |
| dkey_size: 5 | ||
| debug: true | ||
| properties: rd_fac:2 | ||
| type: NONE | ||
|
|
||
| testparams: | ||
| num_pools: 2 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,6 +32,7 @@ container: | |
| object_qty: 30 | ||
| record_qty: 1 | ||
| debug: true | ||
| type: NONE | ||
| rebuild: | ||
| rank: 4 | ||
| object_class: OC_RP_3G1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ server_config: | |
| container: | ||
| control_method: daos | ||
| properties: "rd_fac:1" | ||
| type: NONE | ||
|
|
||
| pool: | ||
| scm_size: 1G | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,7 @@ container: | |
| akey_size: 5 | ||
| dkey_size: 5 | ||
| data_size: 5 | ||
| type: NONE | ||
| rebuild: | ||
| object_class: OC_RP_3G1 | ||
| rank: 3 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,3 +21,4 @@ pool: | |
|
|
||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,4 @@ pool: | |
|
|
||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,3 +27,4 @@ pool: | |
|
|
||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,3 +19,4 @@ pool: | |
| scm_size: 1073741824 | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,4 @@ pool: | |
| size: 1G | ||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,3 +32,4 @@ pool: | |
|
|
||
| container: | ||
| control_method: daos | ||
| type: NONE | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,7 @@ container: | |
| control_method: API | ||
| silent: true | ||
| register_cleanup: False | ||
| type: NONE | ||
|
|
||
| ior: | ||
| np: 1 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1778,7 +1778,13 @@ def run_daos_cmd(conf, | |
| conf.valgrind_errors = True | ||
| rc.returncode = 0 | ||
| if use_json: | ||
| rc.json = json.loads(rc.stdout.decode('utf-8')) | ||
| try: | ||
| rc.json = json.loads(rc.stdout.decode('utf-8')) | ||
| except json.JSONDecodeError: | ||
| print("Failed to decode json output") | ||
| print(f"command={exec_cmd}") | ||
| print(rc.stdout.decode('utf-8')) | ||
| raise | ||
|
Comment on lines
+1781
to
+1787
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what's going on, but from the log, when this fails, there is no |
||
| dcr.rc = rc | ||
| return dcr | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be better to add these C layout types as Go constants in
src/control/lib/daos/container_property.go, and then use the constant here.I wouldn't block on this -- we're still making some changes around the way we organize the cgo code.