Skip to content
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

[7.12] systemtest: test apm-server in Fleet mode (#4650) | systemtest: fix missing error check (#4683) | systemtest: compensate for Fleet API bug (#4693) #4832

Merged
merged 3 commits into from
Feb 19, 2021

Conversation

axw
Copy link
Member

@axw axw commented Feb 19, 2021

Backports the following commits to 7.12:

axw added 3 commits February 19, 2021 20:43
* systemtest: test apm-server in Fleet mode

We run a custom package registry into which
the "apm" integration package is bind-mounted
from the tree, enabling us to test with
unreleased package changes.

Add a system test that runs Elastic Agent in
Fleet mode, with a locally built APM Server
binary injected into the container. The test
adds the "apm" integration package to a new
agent policy, waits for elastic-agent to start
apm-server, and verifies it is functional.
# Conflicts:
#	systemtest/elasticsearch.go
* systemtest: compensate for Fleet API bug

elastic/kibana#90544 is
causing the system test to respond with 404 Not Found,
despite the policy existing and being successfully
deleted.

Update the test to temporarily expect a 404 response to
avoid failing all our builds. Once the Kibana bug is
resolved this will start failing, and we can again check
that no error is returned.
@axw axw added the backport label Feb 19, 2021
@axw axw enabled auto-merge (squash) February 19, 2021 12:43
@codecov-io
Copy link

Codecov Report

Merging #4832 (ddafd8d) into 7.12 (6b273c3) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             7.12    #4832      +/-   ##
==========================================
- Coverage   76.68%   76.62%   -0.06%     
==========================================
  Files         166      166              
  Lines       10215    10215              
==========================================
- Hits         7833     7827       -6     
- Misses       2382     2388       +6     
Impacted Files Coverage Δ
kibana/connecting_client.go 61.40% <0.00%> (-8.78%) ⬇️
beater/beater.go 69.88% <0.00%> (-0.38%) ⬇️

@apmmachine
Copy link
Contributor

apmmachine commented Feb 19, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: axw commented: jenkins run the tests please

  • Start Time: 2021-02-19T13:41:39.764+0000

  • Duration: 34 min 36 sec

  • Commit: ddafd8d

Test stats 🧪

Test Results
Failed 0
Passed 4484
Skipped 126
Total 4610

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 4

Expand to view the steps failures

Run Window tests
  • Took 10 min 20 sec . View more details on here
Compress
  • Took 0 min 0 sec . View more details on here
  • Description: tar --exclude=coverage-files.tgz -czf coverage-files.tgz coverage
Compress
  • Took 0 min 0 sec . View more details on here
  • Description: tar --exclude=system-tests-linux-files.tgz -czf system-tests-linux-files.tgz system-tests
Test Sync
  • Took 3 min 24 sec . View more details on here
  • Description: ./.ci/scripts/sync.sh

@axw
Copy link
Member Author

axw commented Feb 19, 2021

jenkins run the tests please

@axw axw merged commit 7a4e44d into elastic:7.12 Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants