-
Notifications
You must be signed in to change notification settings - Fork 196
ENT-13533: Fixed findlocalusers_unsafe test #5979
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
Conversation
|
@cf-bottom Jenkins with exotics please :) |
|
Sure, I triggered a build: (with exotics) Jenkins: https://ci.cfengine.com/job/pr-pipeline/13125/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13125/ |
b1c51c1 to
0f5c54a
Compare
craigcomstock
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.
It looks like we needed to change the user names for some reason? I think this commit deserves some explanation of what was going wrong and how it was fixed.
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.
Yes, would be nice with some explanation in the commit message as @craigcomstock points out
0f5c54a to
cc65046
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.
On AIX:
FAIL (UNEXPECTED FAILURE) ./01_vars/02_functions/unsafe/findlocalusers_unsafe.cf
---snip---
R: FILES DIFFER BUT SHOULD BE THE SAME
R: CONTENTS OF /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.27.0a.7d3cbe96a/tests/acceptance/workdir/__01_vars_02_functions_unsafe_findlocalusers_unsafe_cf/tmp/TESTDIR.cfengine/actual:
{
"ulist1": [
"testu1"
],
"ulist2": [
"testu1"
],
"ulist3": [],
"ulist4": [],
"ulist5": [
"testu1",
"testu2"
],
"ulist6": [
"testu1"
],
"ulist7": [
"testu1"
],
"ulist8": {
}
}
R: CONTENTS OF /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.27.0a.7d3cbe96a/tests/acceptance/./01_vars/02_functions/unsafe/findlocalusers_unsafe.cf.expected.json:
{
"ulist1": [
"testu1"
],
"ulist2": [
"testu1"
],
"ulist3": [
"testu1"
],
"ulist4": [
"testu1"
],
"ulist5": [
"testu1",
"testu2"
],
"ulist6": [
"testu1"
],
"ulist7": [
"testu1"
],
"ulist8": {
}
}
Changelog: Fixed the unsafe test for findlocalusers unsafe. Replaced the users in the test with custom ones, to make it depend less on the individual quirks of the OS. Changed the username of the custom users, because on AIX and HP-UX, it is limited by 8 characters. Ticket: ENT-13533 Signed-off-by: Victor Moene <victor.moene@northern.tech>
cc65046 to
e242e90
Compare
|
It looks like the failure are not related to the PR |
Fixed the unsafe test for findlocalusers unsafe. Replaced the users in the test with custom ones, to make it depend less on the individual quirks of the OS. Changed the username of the custom users, because on AIX and HP-UX, it is limited by 8 characters.