Skip to content

Conversation

@victormlg
Copy link
Contributor

No description provided.

@victormlg victormlg force-pushed the findlocalusers_tests_fix branch 5 times, most recently from f284ce7 to dba961e Compare December 4, 2025 11:50
@larsewi
Copy link
Contributor

larsewi commented Dec 4, 2025

Build Status

@victormlg victormlg force-pushed the findlocalusers_tests_fix branch from dba961e to 37fee76 Compare December 5, 2025 10:41
Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FAIL (UNEXPECTED FAILURE) ./01_vars/02_functions/findlocalusers.cf
 ---snip---
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.cca9c3a91/tests/acceptance/./01_vars/02_functions/findlocalusers.cf FAIL
R: {
  "root": {
    "dir": "/root",
    "gecos": "",
    "gid": 3,
    "shell": "/sbin/sh",
    "uid": 0
  }
}

@larsewi
Copy link
Contributor

larsewi commented Dec 8, 2025

Only acceptance tests (with exotics):
Build Status

@victormlg
Copy link
Contributor Author

Error Details
Error Details

FAIL (UNEXPECTED FAILURE) ./01_vars/02_functions/findlocalusers.cf

Stack Trace


2025-12-18T13:16:38CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:38CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:40CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:40CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.587889069/tests/acceptance/workdir/__01_vars_02_functions_findlocalusers_cf/tmp/TESTDIR.cfengine/.", mode 0700
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.587889069/tests/acceptance/./01_vars/02_functions/findlocalusers.cf FAIL
R: {
  "root": {
    "dir": "/root",
    "gecos": "",
    "gid": 3,
    "shell": "/sbin/sh",
    "uid": 0
  }
}
        


2025-12-18T13:16:38CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:38CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:39CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:40CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:40CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2025-12-18T13:16:41CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.587889069/tests/acceptance/workdir/__01_vars_02_functions_findlocalusers_cf/tmp/TESTDIR.cfengine/.", mode 0700
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.587889069/tests/acceptance/./01_vars/02_functions/findlocalusers.cf FAIL
R: {
  "root": {
    "dir": "/root",
    "gecos": "",
    "gid": 3,
    "shell": "/sbin/sh",
    "uid": 0
  }
}
       

@victormlg victormlg force-pushed the findlocalusers_tests_fix branch 2 times, most recently from 6844001 to 6551247 Compare January 12, 2026 09:35
@larsewi
Copy link
Contributor

larsewi commented Jan 12, 2026

Acceptance tests on HP-UX only:
Build Status

@victormlg
Copy link
Contributor Author

2026-01-12T07:00:32CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2026-01-12T07:00:32CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2026-01-12T07:00:33CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2026-01-12T07:00:33CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2026-01-12T07:00:33CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2026-01-12T07:00:33CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2026-01-12T07:00:34CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2026-01-12T07:00:34CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2026-01-12T07:00:35CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/usr/bin/perl") because it could not be read
2026-01-12T07:00:35CST     info: filestat bailing on link "/opt/perl/bin/perl" (original "/bin/perl") because it could not be read
2026-01-12T07:00:35CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.24ee7faaa/tests/acceptance/workdir/__01_vars_02_functions_findlocalusers_cf/tmp/TESTDIR.cfengine/.", mode 0700
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ia64_hpux_11.23/cfengine-3.27.0a.24ee7faaa/tests/acceptance/./01_vars/02_functions/findlocalusers.cf FAIL
R: {
  "root": {
    "dir": "/root",
    "gecos": "",
    "gid": 3,
    "shell": "/sbin/sh",
    "uid": 0
  }
}
R: {
  "dfrench": {
    "dir": "/home/dfrench",
    "gecos": "SO_Dana_French",
    "gid": 20,
    "shell": "/sbin/sh",
    "uid": 0
  },
  "root": {
    "dir": "/root",
    "gecos": "",
    "gid": 3,
    "shell": "/sbin/sh",
    "uid": 0
  }
}
R: {
}
R: $(test.ulist1)

Ticket: ENT-13532
Signed-off-by: Victor Moene <[email protected]>
@victormlg victormlg force-pushed the findlocalusers_tests_fix branch from 6551247 to 251986a Compare January 12, 2026 15:24
@victormlg
Copy link
Contributor Author

So apparently, there is a user with uid=0 that is not root on HP-UX. So I decided to remove the test finding user using their UID because I cannot be certain of any other uid than root.

@victormlg
Copy link
Contributor Author

@cf-bottom jenkins, please with exotics :)

@cf-bottom
Copy link

@victormlg
Copy link
Contributor Author

victormlg commented Jan 13, 2026

Trying again, with only acceptance tests on exotics:
Build Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants