-
Notifications
You must be signed in to change notification settings - Fork 309
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-16220 test: Include username in default common test directory #14937
base: master
Are you sure you want to change the base?
Conversation
To support multiple users testing in the same environment without sudo access the default common test directory will be made unique by including the user ID in the path. Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Ticket title is 'ftest: Include username in default common test directory' |
Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: test_setup_vm test_setup Skip-func-hw-test-medium-verbs-provider: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: test_setup_vm test_setup Skip-func-hw-test-medium-verbs-provider: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: test_setup_vm test_setup Skip-func-hw-test-medium-verbs-provider: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: test_setup_vm test_setup Skip-func-hw-test-medium-verbs-provider: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-14937/7/display/redirect |
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/8/execution/node/824/log |
Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/9/execution/node/823/log |
Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/10/execution/node/823/log |
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/11/execution/node/823/log |
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/12/execution/node/823/log |
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
into pahender/DAOS-16220 Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/13/execution/node/798/log |
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/14/execution/node/823/log |
Test-tag: test_setup_vm Skip-unit-tests: true Skip-fault-injection-test: true Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/15/execution/node/798/log |
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
str: regular expression to use to search for the command | ||
|
||
""" | ||
return "'({})'".format("|".join(self._exe_names + self.job._exe_names)) |
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.
protected-access, Access to a protected member _exe_names of a client class
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.
Removed, will address in DAOS-16100
@@ -45,7 +46,7 @@ def get_server_command(group, cert_dir, bin_dir, config_file, config_temp=None): | |||
transport_config = DaosServerTransportCredentials(cert_dir) | |||
common_config = CommonConfig(group, transport_config) | |||
config = DaosServerYamlParameters(config_file, common_config) | |||
command = DaosServerCommand(bin_dir, config, None) | |||
command = DaosServerCommand(bin_dir, config, None, run_user) |
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.
Not a big deal, but the server fundamentally cannot be ran as a non-privileged user so this will probably never be used
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.
Understood, this is more to keep the code aligned and to avoid any special handling where an attribute may not be set.
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/42/execution/node/800/log |
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/43/execution/node/825/log |
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/44/execution/node/1158/log |
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/44/execution/node/1112/log |
Failures in https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-14937/44/testReport/ are due to known issues: |
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/45/execution/node/1116/log |
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/45/execution/node/1100/log |
Adding SubprocessManager.get_journalctl() method to ensure command is run with the correct user. Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression AgentFailure CriticalIntegrationWithServers CriticalIntegrationWithoutServers ContinuesAfterStop TestWithScrubberTargetEviction soak_smoke Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: pr control test_agent_failure_isolation daily_regression AgentFailure CriticalIntegrationWithServers CriticalIntegrationWithoutServers ContinuesAfterStop TestWithScrubberTargetEviction soak_smoke Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
@@ -444,7 +448,7 @@ def get_host_data(hosts, command, text, error, timeout=None): | |||
data_error = "[ERROR]" | |||
|
|||
# Find the data for each specified servers | |||
log.info(" Obtaining %s data on %s", text, hosts) | |||
log.info(" Obtaining %s data on %s using: %s", text, hosts, command) |
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.
This is to compensate for the loss of logging the journalctl command in src/tests/ftest/util/soak_utils.py old line 224.
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/47/execution/node/1025/log |
Test stage Functional Hardware Medium Verbs Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14937/47/execution/node/1169/log |
Test stage Functional Hardware Medium completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-14937/47/testReport/ |
To support multiple users testing in the same environment without sudo access the default common test directory will be made unique by including the user ID in the path.
Skip-unit-tests: true
Skip-fault-injection-test: true
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: