Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

[7.x](backport #1645) Add autodiscover 2e2 testcases for Agent (standalone)#1656

Merged
ChrsMark merged 1 commit into7.xfrom
mergify/bp/7.x/pr-1645
Oct 15, 2021
Merged

[7.x](backport #1645) Add autodiscover 2e2 testcases for Agent (standalone)#1656
ChrsMark merged 1 commit into7.xfrom
mergify/bp/7.x/pr-1645

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Oct 15, 2021

This is an automatic backport of pull request #1645 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* Add initial case

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Add go dep

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Add go dep

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Review changes and more tests

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Add more cases

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Add extra case

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* Update e2e/_suites/kubernetes-autodiscover/features/elastic-agent.feature

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>

* Update e2e/_suites/kubernetes-autodiscover/testdata/templates/elastic-agent.yml.tmpl

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>

* Fix scope of cronjob test

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>

* chore: fix go fmt

* chore: do not destroy kind cluster in DEV mode

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
(cherry picked from commit a23b3b4)
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Tests Failed

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

Expand to view the summary

Build stats

  • Start Time: 2021-10-15T10:16:29.459+0000

  • Duration: 36 min 40 sec

  • Commit: f2f47ca

Test stats 🧪

Test Results
Failed 2
Passed 236
Skipped 0
Total 238

Test errors 2

Expand to view the tests failures

Initializing / Pre-Submit / Sanity checks / checkgherkinlint – pre_commit.lint
    Expand to view the error details

     error 
    

  • no stacktrace
Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Deploying the centos agent – Fleet Mode Agent
    Expand to view the error details

     Step system package dashboards are listed in Fleet 
    

  • no stacktrace

Steps errors 3

Expand to view the steps failures

Run functional tests for windows-2019:fleet:fleet_mode_agent && ~@nightly && ~debian && ~@skip:windo
  • Took 16 min 34 sec . View more details here
  • Description: go test -timeout 60m -v --godog.format="junit:..\..\..\outputs\TEST-windows-fleet.xml" --godog.tags="fleet_mode_agent && ~@nightly && ~debian && ~@skip:windows && ~@skip:amd64"
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2021-10-15T10:50:32.107Z] Archiving artifacts script returned exit code 1
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2021-10-15T10:50:34.083Z] Archiving artifacts script returned exit code 1

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 2

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / Pre-Submit / Sanity checks / checkgherkinlint – pre_commit.lint
  • Name: Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Deploying the centos agent – Fleet Mode Agent

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@ChrsMark
Copy link
Copy Markdown
Member

Failure is on fleet's tests. Merging.

@ChrsMark ChrsMark merged commit 96c049d into 7.x Oct 15, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-1645 branch October 15, 2021 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants