-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/elasticsearch] TestIntegration test times out intermittently #32656
Comments
Pinging code owners:
%s See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I am not sure if is related to the
As it fails intermittently and not only for the elasticreceiver, it might be related to the testcontainers framework itself. The panic occurs due to a waitgroup wait that never exits and finally killed due to the testing timeout ( func (it *IntegrationTest) createContainers(t *testing.T) *ContainerInfo {
var wg sync.WaitGroup
ci := &ContainerInfo{
containers: make(map[string]testcontainers.Container, len(it.containerRequests)),
}
wg.Add(len(it.containerRequests))
for _, cr := range it.containerRequests {
go func(req testcontainers.ContainerRequest) {
var errs error
require.Eventuallyf(t, func() bool {
c, err := testcontainers.GenericContainer(
context.Background(),
testcontainers.GenericContainerRequest{
ContainerRequest: req,
Started: true,
})
if err != nil {
errs = multierr.Append(errs, fmt.Errorf("execute container request: %w", err))
return false
}
ci.add(req.Name, c)
return true
}, it.createContainerTimeout, time.Second, "create container timeout: %v", errs)
wg.Done()
}(cr)
}
wg.Wait()
return ci
}
|
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/elasticsearch
Describe the issue you're reporting
Failing CI/CD link
It looks like the test may be looking for a
.dockerignore
file that doesn't exist, and that's what causes the timeout.Failure output:
The text was updated successfully, but these errors were encountered: