-
Notifications
You must be signed in to change notification settings - Fork 298
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-14718 test: Fix reading of DAOS_TEST_INSECURE_MODE envar #13441
Conversation
Bug-tracker data: |
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. No errors found by checkpatch.
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.
Code LGTM, but since this touches a utility file it should run more tests. Thoughts @phender? Maybe just one more test that uses allow_insecure: True
?
FWIW, this is a VM test that does: test_daos_control_config_basic
Since the removal of setting DAOS_INSECURE_MODE the control/config_generate_run.py is the only test that has failed. As this env was used to set the default value when the test neglected to set a value in its yaml file, I think the tag selection is sufficient. |
Test stage Functional Hardware Large completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13441/1/testReport/ |
The ConfigGenerateRun tests fail to use certs because insecure mode is enabled when trying to access non-existent DAOS_INSECURE_MODE env. Fix by updating env keyname to DAOS_TEST_INSECURE_MODE. Test-tag: control,dmg_config_generate Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
d0c5b09
to
a81022f
Compare
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. No errors found by checkpatch.
…ure-mode Test-tag: control,dmg_config_generate Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
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. No errors found by checkpatch.
Test stage Functional Hardware Large completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-13441/3/testReport/ |
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. No errors found by checkpatch.
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-13441/4/execution/node/1281/log |
Test-tag: control,dmg_config_generate Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
39ac3ad
to
32e62f7
Compare
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. No errors found by checkpatch.
The linting issues in this PR are as a result of being behind master, this is something we're getting better at but the checks should run if you merge with master. The failures are because the checks aren't running properly so I can't say if they'll pass or not but looking at the PR they should. |
…ure-mode Features: control Required-githooks: true Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
Merged master and repushed with |
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
The ConfigGenerateRun tests fail to use certs because insecure mode is enabled when trying to access non-existent DAOS_INSECURE_MODE env. Fix by updating env keyname to DAOS_TEST_INSECURE_MODE. Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
#13560) The ConfigGenerateRun tests fail to use certs because insecure mode is enabled when trying to access non-existent DAOS_INSECURE_MODE env. Fix by updating env keyname to DAOS_TEST_INSECURE_MODE. Signed-off-by: Tom Nabarro <tom.nabarro@intel.com>
The ConfigGenerateRun tests fail to use certs because insecure mode is
enabled when trying to access non-existent DAOS_INSECURE_MODE env.
Update env keyname to DAOS_TEST_INSECURE_MODE and explicitly set
allow_insecure mode to true in ConfigGenerateRun tests.
Test-tag: control,dmg_config_generate
Required-githooks: true
Signed-off-by: Tom Nabarro tom.nabarro@intel.com
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: