We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The integration tests fail, I've disabled them for dnf_versionlock in #9552 when adding Fedora 41 to CI.
One run where it fails is https://dev.azure.com/ansible/community.general/_build/results?buildId=133678&view=logs&j=1ee8c8b7-b7da-55d5-bfe2-cd3a7d69b175&t=1117eb2f-c304-5521-3979-0c5cd492fdb5&l=1518
01:41 TASK [dnf_versionlock : Lock installed package bash] *************************** 01:41 task path: /root/ansible_collections/community/general/tests/output/.tmp/integration/dnf_versionlock-il99usxq-ÅÑŚÌβŁÈ/tests/integration/targets/dnf_versionlock/tasks/lock_bash.yml:15 01:43 Using module file /root/ansible_collections/community/general/plugins/modules/dnf_versionlock.py 01:43 Pipelining is enabled. 01:43 <testhost> ESTABLISH LOCAL CONNECTION FOR USER: root 01:43 <testhost> EXEC /bin/sh -c '/usr/bin/python3.13 && sleep 0' 01:43 changed: [testhost] => { 01:43 "changed": true, 01:43 "invocation": { 01:43 "module_args": { 01:43 "name": [ 01:43 "bash" 01:43 ], 01:43 "raw": false, 01:43 "state": "present" 01:43 } 01:43 }, 01:43 "locklist_post": [ 01:43 "#", 01:43 "Added", 01:43 "by", 01:43 "'versionlock", 01:43 "add'", 01:43 "command", 01:43 "on", 01:43 "2025-01-08", 01:43 "05:40:29", 01:43 "Package", 01:43 "name:", 01:43 "bash", 01:43 "evr", 01:43 "=", 01:43 "5.2.32-1.fc41" 01:43 ], 01:43 "locklist_pre": [], 01:43 "msg": "Adding versionlock on \"bash = 5.2.32-1.fc41\".\n", 01:43 "specs_toadd": [ 01:43 "bash-0:5.2.32-1.fc41.*" 01:43 ], 01:43 "specs_todelete": [] 01:43 } 01:43 01:43 TASK [dnf_versionlock : assert] ************************************************ 01:43 task path: /root/ansible_collections/community/general/tests/output/.tmp/integration/dnf_versionlock-il99usxq-ÅÑŚÌβŁÈ/tests/integration/targets/dnf_versionlock/tasks/lock_bash.yml:21 01:43 fatal: [testhost]: FAILED! => { 01:43 "assertion": "lock_bash.locklist_post | length == 1", 01:43 "changed": false, 01:43 "evaluated_to": false, 01:43 "msg": "Assertion failed" 01:43 }
As you can see, the locklist_post output is wrong.
locklist_post
Bug Report
dnf_versionlock
devel
main branch
No response
Re-enable dnf_versionlock tests for Fedora 41 and run CI
Tests pass
Tests fail, see above.
The text was updated successfully, but these errors were encountered:
Files identified in the description:
plugins/modules/dnf_versionlock.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
Sorry, something went wrong.
cc @moreda click here for bot help
No branches or pull requests
Summary
The integration tests fail, I've disabled them for dnf_versionlock in #9552 when adding Fedora 41 to CI.
One run where it fails is https://dev.azure.com/ansible/community.general/_build/results?buildId=133678&view=logs&j=1ee8c8b7-b7da-55d5-bfe2-cd3a7d69b175&t=1117eb2f-c304-5521-3979-0c5cd492fdb5&l=1518
As you can see, the
locklist_post
output is wrong.Issue Type
Bug Report
Component Name
dnf_versionlock
Ansible Version
devel
Community.general Version
main branch
Configuration
No response
OS / Environment
No response
Steps to Reproduce
Re-enable dnf_versionlock tests for Fedora 41 and run CI
Expected Results
Tests pass
Actual Results
Tests fail, see above.
Code of Conduct
The text was updated successfully, but these errors were encountered: