-
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
[Elastic-agent] Sometimes backend processes are not started #21120
Comments
This flakiness affects both stand-alone and fleet mode tests |
@blakerouse could you take a look, this looks like a concurrency issue. I am not sure it due because of composable input. Maybe a concurrency issue in the structure? |
I can confirm that since past week, this is happening much more frequently (I'd say almost always), when in the past it happened from time to time, possibly being resolved restarting the CI job. |
@mdelapenya / @EricDavisX I've moved the issue into the beats repository. |
Pinging @elastic/ingest-management (Team:Ingest Management) |
I have also found this issue while testing this change #21213 It looks like the
The check for the install operation seems to check only if the directory exists: beats/x-pack/elastic-agent/pkg/artifact/install/dir/dir_checker.go Lines 21 to 24 in 78dc0cf
So it seems that second installation request thinks that the service is correctly installed because the first one has already created the directory. If we need concurrent installations of the same service maybe an option is to have an exclusive lock file in the installation directory. |
Update: with latest updates we see this error:
It seems that the .ASC is not present in none of the expected locations: filesystem or artifactory. So no process is able to start |
@mdelapenya Can you file your last comment in a seperate issue, that is unrelated to the initial issue. Just want to be able to track it correctly and not get them confused. |
Sure, I can do it. I thought it was related because the observed results are the same: backend proceses are not started. I'll do as you suggest and convert that comment in a new issue. Thanks! |
@michalpristas @blakerouse can this issue be closed? |
Yes this can be closed. |
@mdelapenya quick check to confirm that this is not being trapped by the e2e-testing framework at this point. |
I.e. https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp/detail/PR-289/1/pipeline/350
It causes some flakiness in the test suite
Log error
Agent log
cc/ @ph @EricDavisX
The text was updated successfully, but these errors were encountered: