You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [integration tests] Keep work directory if test fails
This commit enables the work directory used by the integration tests
framework to be kept in the filesystem if the test fails. The full
path of the test directory is printed when the test fails.
* Update pkg/testing/fixture.go
Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
* Update pkg/testing/fixture.go
Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
* Remove log in error branch
* [Integration Tests] Generate namespace based on UUIDv4
The namespace generated by the integration tests framework was not
unique among different tests and test runs, so sometimes collisions
would occurs causing some tests to be flaky.
* Add debug logs
* run mage fmt
* Fix TestDebLogIngestFleetManaged
- Remove debug logs
- Make the deb respect the AGENT_KEEP_INSTALLED env var
- Add errors that only happen on deb to allow list
* Improve logs and test error message
---------
Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
Co-authored-by: Julien Lind <julien.lind@elastic.co>
"Error dialing dial tcp 127.0.0.1:9200: connect: connection refused", // beat is running default config before its config gets updated
163
-
"Global configuration artifact is not available", // Endpoint: failed to load user artifact due to connectivity issues
163
+
"Failed to apply initial policy from on disk configuration",
164
+
"Failed to connect to backoff(elasticsearch(http://127.0.0.1:9200)): Get \"http://127.0.0.1:9200\": dial tcp 127.0.0.1:9200: connect: connection refused", // Deb test
164
165
"Failed to download artifact",
165
166
"Failed to initialize artifact",
166
-
"Failed to apply initial policy from on disk configuration",
167
-
"elastic-agent-client error: rpc error: code = Canceled desc = context canceled", // can happen on restart
167
+
"Global configuration artifact is not available", // Endpoint: failed to load user artifact due to connectivity issues
168
+
"add_cloud_metadata: received error failed fetching EC2 Identity Document", // okay for the cloud metadata to not work
168
169
"add_cloud_metadata: received error failed requesting openstack metadata", // okay for the cloud metadata to not work
169
170
"add_cloud_metadata: received error failed with http status code 404", // okay for the cloud metadata to not work
170
-
"add_cloud_metadata: received error failed fetching EC2 Identity Document", // okay for the cloud metadata to not work
171
+
"elastic-agent-client error: rpc error: code = Canceled desc = context canceled", // can happen on restart
171
172
"failed to invoke rollback watcher: failed to start Upgrade Watcher", // on debian this happens probably need to fix.
172
173
"falling back to IMDSv1: operation error ec2imds: getToken", // okay for the cloud metadata to not work
0 commit comments