-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Test framework incorrectly creates beat config file #42779
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Looks like this is coming from your change @rdner. |
Few things here:
|
The error mentions:
I believe the correct permission is |
It depends on the system umask. Most likely the umask on CI only allows the owner to write to the file, therefore it works. The permission passed to
I believe so. But I'd go with beats/libbeat/common/config.go Lines 115 to 150 in ba3bce4
|
The tests using the new integration test framework fail to run locally on linux.
The config file is saved with
777
, whereas it should only allow the owner to have write permissions.beats/libbeat/testing/integration/run_beat.go
Line 140 in a6ab04f
For confirmed bugs, please report:
run the sample integration tests from the new test framework
The text was updated successfully, but these errors were encountered: