-
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-15234 test: Moving to Avocado 103 LTS #14148
base: master
Are you sure you want to change the base?
Conversation
Moving to the latest avocado LTS release. Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Doc-only: false Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Ticket title is 'Update to newer avocado LTS release.' |
avocado-framework==82 | ||
avocado-framework-plugin-result-html==82 | ||
avocado-framework-plugin-varianter-yaml-to-mux==82 | ||
avocado-framework>=103.0,<104.0 |
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 range ensures we pick up any dot fixes to the 103 LTS release.
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.
Does ==103
not allow any 103.x point release? That was my experience with ==82
.
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.
According to https://peps.python.org/pep-0440/#version-matching it looks like we could use ==103.*
.
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/1/execution/node/739/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Doc-only: false Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/2/execution/node/734/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/3/execution/node/768/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/4/execution/node/763/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/5/execution/node/711/log |
Test stage Functional on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/5/execution/node/833/log |
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-14148/5/execution/node/820/log |
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.
The pylint changes in this PR are due to changes to the Avocado API between versions so they all need updating.
I assume you're aware that the Jenkins lightweight images run launch.py
to detect the test list and they are using 82
so any changes made will need to be backwards compatible as well, at least until the lightweight images can be updated.
src/tests/ftest/scripts/main.sh
Outdated
@@ -22,7 +22,8 @@ then | |||
rm -rf venv | |||
fi | |||
|
|||
python3 -m venv venv | |||
latest_python=$(find /usr/bin -name 'python*' -type f -executable | grep -E '[0-9]$' | sort -r | head -1) |
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.
The other option would be to call update-alternatives
after installing a later version at https://github.com/daos-stack/daos/blob/master/ci/provisioning/post_provision_config_nodes_EL_8.sh#L23
I think we concluded that my PR installed python3.9 on EL8 but actually it didn't need to so you could also try removing that.
avocado-framework==82 | ||
avocado-framework-plugin-result-html==82 | ||
avocado-framework-plugin-varianter-yaml-to-mux==82 | ||
avocado-framework>=103.0,<104.0 |
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.
Does ==103
not allow any 103.x point release? That was my experience with ==82
.
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
I would have assumed that too, but I'm seeing Avocado 92.1 being used:
|
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/6/execution/node/768/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild PosixSimul Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/7/execution/node/764/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-el9: false Skip-func-test-leap15: false Doc-only: false Test-tag: pr,-rebuild PosixSimul Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/8/execution/node/769/log |
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-14148/8/execution/node/837/log |
Test stage Functional on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/8/execution/node/824/log |
Signed-off-by: Phil Henderson <[email protected]>
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-leap15: false Skip-func-test-el9: false Test-tag: always_passes test_setup_vm test_core_files PosixSimul EcodSpaceUsage Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/9/execution/node/805/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-leap15: false Skip-func-test-el9: false Test-tag: pr,-cart Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/10/execution/node/890/log |
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-14148/10/execution/node/821/log |
Test stage Functional on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/10/execution/node/805/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-leap15: false Skip-func-test-el9: false Test-tag: pr,-cart Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/11/execution/node/805/log |
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-14148/11/execution/node/854/log |
Test stage Functional on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/11/execution/node/870/log |
Skip-unit-tests: true Skip-fault-injection-test: true Skip-func-hw-test: true Skip-func-test-leap15: false Skip-func-test-el9: false Test-tag: pr,-cart Required-githooks: true Signed-off-by: Phil Henderson <[email protected]>
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/12/execution/node/805/log |
Test stage Functional on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14148/12/execution/node/854/log |
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-14148/12/execution/node/870/log |
Moving to the latest avocado LTS release.
Skip-unit-tests: true
Skip-fault-injection-test: true
Skip-func-hw-test: true
Doc-only: false
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: