forked from cfengine/core
-
Notifications
You must be signed in to change notification settings - Fork 0
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
ENT-11771: Fix windows-acceptance job to run more tests #3
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…libntech-85fcb1b Bump libntech from `36c24bc` to `85fcb1b`
Ticket: ENT-10447 Changelog: none
In travis this test didn't pass Ticket: ENT-10447 Changelog: none
ENT-10447: Removed references to travis
This reverts commit dbda08a. Ticket: CFE-4249 Changelog: none Turns out it is still failing even in github. Already reverted in 3.18.x and 3.21.x.
CFE-4249: Revert "Re-enabled passopenfile_test after migrating to github actions"
Bumps [libntech](https://github.com/cfengine/libntech) from `85fcb1b` to `b6245f1`. - [Commits](NorthernTechHQ/libntech@85fcb1b...b6245f1) --- updated-dependencies: - dependency-name: libntech dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…libntech-b6245f1 Bump libntech from `85fcb1b` to `b6245f1`
The original issue that leads to this is the fact that the cache for execresult and execresult_as_data were mixed. This is caused by two separate issues: * The function cache uses the args list as key and discards the function itself. This means different function with the same args are considered identical, and cache is reused. * The args are passed as an Rlist, and the used Rlist comparison ignores the additional items of the longest list when comparing two lists of different lengths, leading to treating execresult and execresult_as_data as identical when using the same command and shell args. This PR only fixes the specific case of execresult, but leaves other function cache issues (e.g. host2ip vs. ip2host could be confused).
CFE-4244: Fix RlistEqual comparison on lists of different lengths
The function cache only used the args values, which in some cases could lead to mixing results from different functions with the same arguments. Ticket: CFE-4244 Changelog: Cashed policy function results now take into account number of arguments and function name. Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech> Co-authored-by: Alexis Mousset <alexis.mousset@rudder.io>
Two reasons for this: 1. CONTRIBUTING.md says to do this at the top 2. the `ctx` argument was actually used before the assert Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
CFE-4244: Add the function name to the result cache key
Ticket: ENT-10470 Issue was that these failures were visible in Jenkins, turning build "unstable".
With fixed headers not including <config.h>.
With libntech's headers no longer pulling in platform.h, we need to add it together with some other headers to some places in the codebase.
…_cleanup_fixes Add missing #include's previously pulled in by libntech
Change suppress fail to soft fail on known failing tests
in bodies having local parameters. This also prevents a memory corruption when an attribute contains external vars but no local vars. Ticket: CFE-4254 Changelog: Bodies can now inherit attributes containing global variables Signed-off-by: Alexis Mousset <alexis.mousset@rudder.io>
CFE-4254: Allow inheriting attributes using global variables in bodies having local parameters
We require OpenSSL 1.0.0 or newer so we don't need this compatibility code for older versions.
With libcrypto-compat code removed.
…crypto_compat Do not #include libcrypto-compat
cfengine/nova@8b8726e changed cf-hub behavior for ENT-9825 This change fixes an issue with hubs that have SELinux set to enforce. Hubs which do not have SELinux set to enforce are unaffected by this issue. Ticket: ENT-10696 Changelog: title
ENT-10696: Added selinux policy to allow cf-hub to initiate scheduled reports
…d in kerenl.core_pattern It's possible for coredumpctl to be present yet the system not correctly configured to use systemd-coredump which results in coredumpctl not being able to find core files. This change restricts the use of coredumpctl for when systemd-coredump is present in sysctl kernel.core_pattern. Ticket: ENT-9985 Changelog: Title
ENT-9985: Made cf-support use coredumpctl for core analysis only when configured in kerenl.core_pattern
Created SECURITY.md
Bumps [libntech](https://github.com/cfengine/libntech) from `49cd554` to `8545ebb`. - [Commits](NorthernTechHQ/libntech@49cd554...8545ebb) --- updated-dependencies: - dependency-name: libntech dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bump libntech and fix GH Actions failures
There's no need to try to introduce as much syntax as possible in this example. Hello world can and should be simple. Changelog: None Ticket: None Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Co-authored-by: Nick Anderson <nick@cmdln.org>
README.md: Simplified hello world example
It's now part of cf-reactor. Ticket: ENT-11538 Changelog: cf-runalerts.service no longer exists, alerts are now periodically run by cf-reactor
This is needed for successful uploads of custom action scripts.
Ticket: ENT-11538 Changelog: None
The latest and greatest release. [1] [1] https://fedoramagazine.org/announcing-fedora-linux-40/
Bumps [libntech](https://github.com/NorthernTechHQ/libntech) from `28df3c4` to `329361a`. - [Release notes](https://github.com/NorthernTechHQ/libntech/releases) - [Commits](NorthernTechHQ/libntech@28df3c4...329361a) --- updated-dependencies: - dependency-name: libntech dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…libntech-329361a Bump libntech from `28df3c4` to `329361a`
…actor Drop cf-runalerts.service + SELinux policy updates
Switch static checks to Fedora 40
To prevent multiple processes from opening/closing the DB at the same time. From what we have seen, the *Invalid argument* issues only happen when multiple processes try to work with the DB, multiple threads inside a single process don't seem to hit the trigger. Also, we have seen that the issues happen when LMDB tries to use a robust (shared inter-process) mutex that was already destroyed. Ticket: ENT-11543 Changelog: CFEngine processes no longer suffer from the "Invalid argument" issues when working with LMDB
…file Try to acquire file lock when closing DB
…ginning of every minute This could fix issues if things are slow and agent runs end up getting skipped if cf-execd wakes up too late. Changelog: Title Ticket: ENT-11765 Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Ticket: ENT-10699 Changelog: none
Ticket: ENT-10699 Changelog: none
ENT-10699: Fixed windows acceptance test workflow
ENT-11765: Changed cf-execd's sleep behavior so it attempts to wake up at the beginning of every minute
We need to take care of the newly required checks in configure.ac because we are responsible for producing config.h usable for both us and libntech. Ticket: CFE-4380 Changelog: File copying now uses more efficient implementation on Linux platforms
Copying should respect holes in sparse files, but if the original file is not sparse, it's not a goal of the copy code to create a sparse copy. So to test respecting holes in sparse files during copying, we need to create the source files as sparse files. Ticket: CFE-4380 Changelog: None
20.04 has an older version of valgrind that doesn't support the `FICLONE` `ioctl()`. Ticket: CFE-4380 Changelog: None
…ent_data_copying Support libntech's new efficient file/data copying
There was an issue with 3.18.x version of this job which required this change. Ticket: ENT-11771 Changelog: none
ENT-11771: Adjust windows acceptance test job workflow to use only C: partition
To make the windows acceptance workflow go faster I tested only one failing test. This change wasn't noticed when committing the fix for using only C: partition. Ticket: ENT-11771 Changelog: none
605a48d
to
bbec3f3
Compare
don't know what's up with this branch/PR, abandonding :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
b005906
tod39ee5e
769e7f1
to36c24bc
36c24bc
to85fcb1b
85fcb1b
tob6245f1
49cd554
to8545ebb
WriterWriteHelp
to adapt to API changecf-check
8545ebb
to303bccb
cf-check
303bccb
to469add7
cf-check dump
CF_LOCKHORIZON
to check whether to purge lockslinesep
linesep
to constants examplelinesep
constantarglist
attribute now preserves spaces in argumentsarglist
ps
and get info about processes1899478
toddc25a6
ddc25a6
tocc1540a
cc1540a
to8b72e12
8b72e12
to61d6baa
include <glob_lib.h>
where needed after moving GlobFileList()#include<sequence.h>
togetopt_test.c
58705c5
to412f6b3
28df3c4
to329361a