-
Notifications
You must be signed in to change notification settings - Fork 196
CFE-4621: Fix owner on file creation with content attribute #5996
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
base: 3.24.x
Are you sure you want to change the base?
Conversation
|
@cf-bottom Jenkins please :) |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/13214/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13214/ |
|
Thanks for submitting the PR @btriller 🚀 We will get back to is shortly |
|
@cf-bottom Jenkins please :) |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/13236/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13236/ |
larsewi
left a comment
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.
Hi @btriller it appears you test has surfaced what appears to be a bug on RHEL 7:
2025-12-19T09:35:16+0000 info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_x86_64_linux_redhat_7/cfengine-3.24.4a.db693b48b/tests/acceptance/workdir/__10_files_01_create_013_cf/tmp/TESTDIR.cfengine/.", mode 0700
2025-12-19T09:35:16+0000 info: Could not get UID for user "sys", (getpwnam: not found)
2025-12-19T09:35:16+0000 info: Promise belongs to bundle "test" in file "./10_files/01_create/013.cf" near line 38
2025-12-19T09:35:16+0000 info: Created file "/home/jenkins/workspace/testing-pr/label/PACKAGES_x86_64_linux_redhat_7/cfengine-3.24.4a.db693b48b/tests/acceptance/workdir/__10_files_01_create_013_cf/tmp/TEST.cfengine", mode 0644
2025-12-19T09:35:16+0000 info: Could not get UID for user "sys", (getpwnam: not found)
2025-12-19T09:35:16+0000 info: Promise belongs to bundle "test" in file "./10_files/01_create/013.cf" near line 38
2025-12-19T09:35:16+0000 error: None of the promised owners for "/home/jenkins/workspace/testing-pr/label/PACKAGES_x86_64_linux_redhat_7/cfengine-3.24.4a.db693b48b/tests/acceptance/workdir/__10_files_01_create_013_cf/tmp/TEST.cfengine" exist -- see INFO logs for more
2025-12-19T09:35:16+0000 error: Errors encountered when actuating files promise "/home/jenkins/workspace/testing-pr/label/PACKAGES_x86_64_linux_redhat_7/cfengine-3.24.4a.db693b48b/tests/acceptance/workdir/__10_files_01_create_013_cf/tmp/TEST.cfengine"
2025-12-19T09:35:16+0000 info: Could not get UID for user "sys", (getpwnam: not found)
2025-12-19T09:35:16+0000 info: Promise belongs to bundle "test" in file "./10_files/01_create/013.cf" near line 38
2025-12-19T09:35:16+0000 info: Could not get UID for user "sys", (getpwnam: not found)
2025-12-19T09:35:16+0000 info: Promise belongs to bundle "test" in file "./10_files/01_create/013.cf" near line 38
2025-12-19T09:35:16+0000 error: Method "test" failed in some repairs
R: expected: username = "sys"
R: got: username = "root"
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_x86_64_linux_redhat_7/cfengine-3.24.4a.db693b48b/tests/acceptance/./10_files/01_create/013.cf FAIL
2025-12-19T09:35:16+0000 error: Method "test_run" failed in some repairs
Will you look into this or should we take over from here?
Fixed in master by 3cda000. Add test which checks owner on created files with content attribute. Ticket: CFE-4621
Let's try |
Fixed in master by 3cda000. Add test which checks owner on created files with content attribute.
Ticket: CFE-4621