Skip to content

Conversation

@victormlg
Copy link
Contributor

No description provided.

@larsewi
Copy link
Contributor

larsewi commented Nov 18, 2025

Build Status

@larsewi
Copy link
Contributor

larsewi commented Nov 18, 2025

Solaris

Stack Trace

2025-11-18T14:42:19+0100     info: filestat bailing on link "/perl5/5.12/bin/perl" (original "/bin/perl") because it could not be read
2025-11-18T14:42:19+0100     info: filestat bailing on link "/perl5/5.12/bin/perl" (original "/bin/perl") because it could not be read
2025-11-18T14:42:20+0100     info: filestat bailing on link "/perl5/5.12/bin/perl" (original "/bin/perl") because it could not be read
2025-11-18T14:42:20+0100     info: filestat bailing on link "/perl5/5.12/bin/perl" (original "/bin/perl") because it could not be read
2025-11-18T14:42:21+0100     info: filestat bailing on link "/perl5/5.12/bin/perl" (original "/bin/perl") because it could not be read
2025-11-18T14:42:22+0100     info: Created directory "/export/home/jenkins/workspace/testing-pr/label/PACKAGES_sparc64_solaris_11/cfengine-3.27.0a.18f05d614/tests/acceptance/workdir/__01_vars_02_functions_getgroups_cf/tmp/TESTDIR.cfengine/.", mode 0700
R: /export/home/jenkins/workspace/testing-pr/label/PACKAGES_sparc64_solaris_11/cfengine-3.27.0a.18f05d614/tests/acceptance/./01_vars/02_functions/getgroups.cf FAIL

AIX

Stack Trace

2025-11-18T09:13:19CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.27.0a.18f05d614/tests/acceptance/workdir/__01_vars_02_functions_getgroups_cf/tmp/TESTDIR.cfengine/.", mode 0700
R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.27.0a.18f05d614/tests/acceptance/./01_vars/02_functions/getgroups.cf FAIL

@larsewi
Copy link
Contributor

larsewi commented Nov 25, 2025

Build Status

@larsewi
Copy link
Contributor

larsewi commented Nov 26, 2025

There was some conflicts. Can you squash the merge commit?

Copy link
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

This test doesn't read well for me due to the concat(nth(splitstring expressions with seemingly random integers.

You could improve it by adding a comment near each type of var you create explaining what it should contain and maybe an example.

nth(splitstring("$(this)", ":", 2), 0), "@(group_entries)"
);
# slice out the 3 first entries: root, bin, daemon
# filter out root, bin, daemon
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of filtering out... why don't you create the actual result dynamically by some shell scripting and compare that to the getgroups() output?

@victormlg victormlg changed the title CFE-4605: Fixed getgroups test for AIX and solaris CFE-4605: Fixed getgroups test for AIX, solaris and suse 15 Dec 4, 2025
Ticket: CFE-4605
Changelog: Made the test for getgroups() more robust and fixed it for AIX and solaris
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@larsewi
Copy link
Contributor

larsewi commented Dec 4, 2025

@cf-bottom Jenkins with exotics please :)

@cf-bottom
Copy link

@victormlg
Copy link
Contributor Author

Alright, I triggered a build:

Build Status

(with exotics)

Jenkins: https://ci.cfengine.com/job/pr-pipeline/13126/

Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13126/

The error is not related

@larsewi larsewi merged commit 73cae13 into cfengine:master Dec 5, 2025
12 checks passed
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