-
Notifications
You must be signed in to change notification settings - Fork 301
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
DAOS-15038 test: Parsing NVMe controller details from SMD info JSON is failing #13630
Conversation
JSON output format of dmg storage query list-devices changed in commit 8e1c846 and specifically dev_state was moved to a ctrlr sub-node of smd_info. This has broken src/common/tests_dmg_helpers.c:parse_device_info() which looks for dev_state in smd_info. This change updates the function to look for dev_state inside the ctrlr sub-node. Features: DaosCoreTestNvme Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
Bug-tracker data: |
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-13630/1/execution/node/1387/log |
…evlist-c-helpers Features: DaosCoreTestNvme Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-13630/2/execution/node/1387/log |
Features: DaosCoreTestNvme Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
…evlist-c-helpers Features: DaosCoreTestNvme Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
a216e18
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.
LGTM
@@ -1277,9 +1283,10 @@ dmg_storage_query_device_health(const char *dmg_config_file, char *host, | |||
struct json_object *storage_map = NULL; | |||
struct json_object *smd_info = NULL; | |||
struct json_object *storage_info = NULL; | |||
struct json_object *health_info = NULL; | |||
struct json_object *health_stats = NULL; |
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.
NIT indentation issue
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.
I will fix these either if I repush or in a subsequent PR
struct json_object *devices = NULL; | ||
struct json_object *dev_info = NULL; | ||
struct json_object *ctrlr_info = NULL; |
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.
NIT indentation issue
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.
I will fix these either if I repush or in a subsequent PR
GATEKEEPER: Please use the PR title and description above as the commit message when landing. TIA |
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.
LGTM
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-13630/3/execution/node/1451/log |
…evlist-c-helpers Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
…sage in control log Features: DaosCoreTestNvme Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
a9180ac
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13630/4/testReport/ |
Test stage Functional Hardware Medium completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13630/4/testReport/ |
In CI run https://build.hpdd.intel.com/blue/organizations/jenkins/daos-stack%2Fdaos/detail/PR-13630/4/tests/ the unit tests failed as expected due to breakage that has been addressed by the landing of PR-13672. NVMe recovery tests have been fixed but there is an unrelated known failure on REBUILD15 - DER_BUSY DAOS-14682. @phender @NiuYawei do you think it's feasible requesting forced landing given the above test results or should I rebase and repush? |
…s failing (#13630) * DAOS-15038 test: Parsing device state from SMD info JSON is failing JSON output format of dmg storage query list-devices changed in commit 8e1c846 and specifically dev_state was moved to a ctrlr sub-node of smd_info. This has broken src/common/tests_dmg_helpers.c:parse_device_info() which looks for dev_state in smd_info. This change updates the function to look for dev_state inside the ctrlr sub-node. #Pragmas from previous commit message: Skip-checkpatch: true Skip-python-bandit: true Skip-build: true Quick-build: true Quick-Functional: true Allow-unstable-test: true #RPM-test-version: version[-release] #RPM-test-version: 2.5.100 # VM1-label: ci_vm1 # Ubuntu-VM9-label: ci_vm9 # Leap15-VM9-label: ci_vm9 # EL8-VM9-label: ci_vm9 # HW-medium-label: ci_nvme5 # HW-large-label: ci_nvme9 Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
JSON output format of dmg storage query list-devices changed in commit
8e1c846 and specifically dev_state
and health_stats were moved to a ctrlr sub-node of smd_info. This has
broken parse_device_info() and dmg_storage_query_device_health() in
src/common/tests_dmg_helpers.c. This change updates the function to
look for dev_state and health_stats keys inside the ctrlr sub-node.
Also fix NVMe recovery test 4 by removing check for non-existent error
message in control log as noted in DAOS-14907.
Features: DaosCoreTestNvme
Required-githooks: true
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: