* [QA][Code Coverage] Drop dead code
We've some code no longer used,
that was used when code coverage was
orchestrated in Jenkins.
Since we use Buildkite instead,
we can drop this code.
* Updated the docs to reflect we
no longer use Jenkins and use
Buildkite instead.
* Updated doc per review and dropped the bit about 4 indexes,
since we no longer need the other R & D job.
* change APM nodejs agent default
By default APM agent instruments the code to be a base for log correlation. But it doesn't send transactions to the APM server.
* emit trace IDs into the logs
* use ELASTIC_APM_DISABLE_SEND to keep APM agent active but disable send when necessary
* send data whenver active is set to "true"
* update tests
* keep APM agent active. control disableSend instead
* update snapshot tests
* add debug logging
* REMOVE me. log path to the agent
* init APM agent explicitly in test plugin. it uses another package instance
* REMOVE me. create transaction explicitly
* increase timeout setting for the test
* refactor tests
* remove debug logs
* remove explicit transaction creation
* Revert "remove explicit transaction creation"
This reverts commit cdf2d308e0.
* point to apm nodejs agent commit temporary until a new version is released
* migrate from disableSend to contextPropagationOnly
* TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined
* Revert "TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined"
This reverts commit 62dda4fb27.
* bump to version with fix
* commit using @elastic.co
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* added cypress setup for fleet
* updated readme
* fixed types
* fix unused
* starting up fleet server in cypress
* added more fleet tests
* added package update test
* updated readme
* trying jenkins run
* trying jenkins run
* trying jenkins run
* fix types, cypress config
* example of mocked requests
* added getBySel
* fix test after refactor
* removed duplication
* fix tests
* added to buildkite
* updated tests
* starting agent with docker
* trying to fix ip address
* ifconfig
* ip address
* ip address
* ip address
* type fix
* remove extra logging
* fixed test
* fix buildkite
* cleanup
* cleanup
* using docker for fleet_server
* fix
* fix
* trying to fix
* update config
* test
* test
* test
* test
* revert changes
* test
* test
* static ip on linux
* docker version
* try again
* fixed review comments
* fixed types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
* Re-enable APM E2E tests and allow server to shut down cleanly on failure
Calling `process.exit` in the test script made it so the FTR runner would not properly shut down the server, and cause other tests to fail because Kibana was left running on a port. Remove that and just throw
instead.
No changes were made to the tests, as I was unable to reproduce any failures locally. I'll try in CI and see if we can get anything to fail.
Fixes#115280.
* Re-enable previously disabled APM E2E tests.
* Round to the nearest second in `getComparisonTypes` to avoid cases where a millisecond difference can change which results get shown.
* Simplify error count alert tests to test the "happy path" (#79284 exists in order to expand to more tests for rule editing and creation.)
* Wait for alert list API request to complete before clicking "Create rule" button when running the test to create a rule from the Stack Management UI.
I ran the e2e tests 100 times locally with no failures so I'm confident the flakiness has been addressed.
Fixes#114419.
Fixes#109205.
* [Reporting] Functional test structure & improvements
* show the error of the report generation failure in the test failure
* update snapshot
* remove import to non-existent functional app test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
[skip-ci]
APM Cypress tests are again failing on PRs. Disable temporarily.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Revert "skip flaky suite (#97382)"
This reverts commit e321f57f64.
* Revert "skip flaky suite (#97387)"
This reverts commit a89b756710.
* Revert "Skip test to try and stabilize master" (#97378)
This reverts commit 194355fdd3.
* upload heap dumps when they are created
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Track stats and add extra output information
* Update api docs output
* Clean up id names
* update api docs
* Consolidate error messages and fix a bug
* Update docs
* Update get_declaration_nodes_for_plugin.ts
* Fix bug with removeBrokenLinks not being recursive
* Update docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>