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

Bump github.com/elastic/elastic-agent-client/v7 from 7.4.0 to 7.5.0 #3689

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2023

Bumps github.com/elastic/elastic-agent-client/v7 from 7.4.0 to 7.5.0.

Release notes

Sourced from github.com/elastic/elastic-agent-client/v7's releases.

v7.5.0

What's Changed

Full Changelog: elastic/elastic-agent-client@v7.4.0...v7.5.0

Commits
  • 21e4fd8 Bump golang.org/x/net from 0.7.0 to 0.17.0 in /dev-tools/v2tool (#86)
  • fb479ad Add a README explaining the protocol design and include example messages (#84)
  • 8d80633 Bump golang.org/x/net from 0.7.0 to 0.17.0 (#85)
  • d28caf6 Bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#87)
  • a1e9859 Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /dev-tools/v2tool (#88)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/elastic/elastic-agent-client/v7](https://github.com/elastic/elastic-agent-client) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/elastic/elastic-agent-client/releases)
- [Commits](elastic/elastic-agent-client@v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-client/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner November 1, 2023 21:34
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Copy link
Contributor

mergify bot commented Nov 1, 2023

This pull request does not have a backport label. Could you fix it @dependabot[bot]? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip label Nov 1, 2023
@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 1, 2023

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2023-11-03T01:59:00.637+0000

  • Duration: 16 min 3 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cmacknz
Copy link
Member

cmacknz commented Nov 3, 2023

I manually ran the currently disabled FQDN integration test to verify the features change here had no effect and it passed as expected. The removed field was never sent from the Beats.

TEST_PLATFORMS=linux/amd64 SNAPSHOT=true INSTANCE="multipass" mage integration:single TestFQDN

{"Time":"2023-11-03T14:00:19.294979119Z","Action":"start","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"","Output":""}
{"Time":"2023-11-03T14:00:19.317513346Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"","Output":"-test.shuffle 1699020019317380725\n"}
{"Time":"2023-11-03T14:00:19.318239898Z","Action":"run","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":""}
{"Time":"2023-11-03T14:00:19.318277845Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"=== RUN   TestFQDN\n"}
{"Time":"2023-11-03T14:00:47.070467914Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:63: Set FQDN on host to vjyjif.baz.io\n"}
{"Time":"2023-11-03T14:00:47.07310099Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:67: Enroll agent in Fleet with a test policy\n"}
{"Time":"2023-11-03T14:00:56.289590373Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:87: Creating enrollment API key...\n"}
{"Time":"2023-11-03T14:00:57.328517056Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:87: Unpacking and installing Elastic Agent\n"}
{"Time":"2023-11-03T14:00:57.328577017Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture_install.go:95: [test TestFQDN] Inside fixture install function\n"}
{"Time":"2023-11-03T14:01:01.880858851Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture.go:261: Extracting artifact elastic-agent-8.12.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestFQDN1636831135/001\n"}
{"Time":"2023-11-03T14:01:22.308988306Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture.go:274: Completed extraction of artifact elastic-agent-8.12.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestFQDN1636831135/001\n"}
{"Time":"2023-11-03T14:01:22.309228425Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture.go:702: Components were not modified from the fetched artifact\n"}
{"Time":"2023-11-03T14:01:22.309391248Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture.go:505: \u003e\u003e running binary with: [/tmp/TestFQDN1636831135/001/elastic-agent-8.12.0-SNAPSHOT-linux-x86_64/elastic-agent install --force --non-interactive --url https://86a44479f97443deaed1e713477272f9.fleet.us-central1.gcp.foundit.no:443 --enrollment-token SVBoOGxZc0JRN242SGdGS3A2Vkg6dTZzNnNEWkxTaHlSOGNNdlRzSHhiUQ==]\n"}
{"Time":"2023-11-03T14:01:44.140168967Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:87: \u003e\u003e\u003e Ran Enroll. Output: Installing in non-interactive mode.\n"}
{"Time":"2023-11-03T14:01:44.140212425Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"        \r[    ] Copying install files  [0s] \r                                   \r\r[=   ] Successfully copied files  [18s] \r                                        \r\r[=   ] Installing service  [18s] \r                                        \r\r[==  ] Installed service  [19s] \r                                        \r\r[==  ] Starting Service  [19s] \r                                        \r\r[=   ] Service Started  [19s] \r                                        \r\r[=   ] Enrolling Elastic Agent with Fleet  [19s] \r                                                 \r\r[=   ] Waiting For Enroll...  [19s] {\"log.level\":\"info\",\"@timestamp\":\"2023-11-03T14:01:42.498Z\",\"log.origin\":{\"file.name\":\"cmd/enroll_cmd.go\",\"file.line\":479},\"message\":\"Starting enrollment to URL: https://86a44479f97443deaed1e713477272f9.fleet.us-central1.gcp.foundit.no:443/\",\"ecs.version\":\"1.6.0\"}\n"}
{"Time":"2023-11-03T14:01:44.14023599Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"        {\"log.level\":\"info\",\"@timestamp\":\"2023-11-03T14:01:44.131Z\",\"log.origin\":{\"file.name\":\"cmd/enroll_cmd.go\",\"file.line\":277},\"message\":\"Successfully triggered restart on running Elastic Agent.\",\"ecs.version\":\"1.6.0\"}\n"}
{"Time":"2023-11-03T14:01:44.140244802Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"        Successfully enrolled the Elastic Agent.\n"}
{"Time":"2023-11-03T14:01:44.140250762Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"        \r                                                 \r\r[   =] Enroll Completed  [21s] \r                                                 \r\r[   =] Done  [21s] \r                                                 \r\r[   =] Done  [21s] \n"}
{"Time":"2023-11-03T14:01:44.140255934Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"        Elastic Agent has been successfully installed.\n"}
{"Time":"2023-11-03T14:01:54.236239232Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:103: Verify that agent name is short hostname\n"}
{"Time":"2023-11-03T14:01:59.298836108Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:106: Verify that hostname in `logs-*` and `metrics-*` is short hostname\n"}
{"Time":"2023-11-03T14:02:09.375905832Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:110: Update Agent policy to enable FQDN\n"}
{"Time":"2023-11-03T14:02:11.418652915Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:125: Wait until policy has been applied by Agent\n"}
{"Time":"2023-11-03T14:02:13.47948421Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:134: Verify that agent name is FQDN\n"}
{"Time":"2023-11-03T14:02:23.554429941Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:137: Verify that hostname in `logs-*` and `metrics-*` is FQDN\n"}
{"Time":"2023-11-03T14:02:38.58032831Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:141: Update Agent policy to disable FQDN\n"}
{"Time":"2023-11-03T14:02:40.493711417Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:156: Wait until policy has been applied by Agent\n"}
{"Time":"2023-11-03T14:02:42.557367823Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:165: Verify that agent name is short hostname again\n"}
{"Time":"2023-11-03T14:02:47.626233706Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:91: Un-enrolling Elastic Agent...\n"}
{"Time":"2023-11-03T14:02:50.659531692Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:94: Restoring hostname...\n"}
{"Time":"2023-11-03T14:02:50.661759425Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fqdn_test.go:98: Restoring original /etc/hosts...\n"}
{"Time":"2023-11-03T14:02:50.661833003Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture_install.go:119: [test TestFQDN] Inside fixture cleanup function\n"}
{"Time":"2023-11-03T14:02:50.661853428Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"    fixture.go:505: \u003e\u003e running binary with: [/opt/Elastic/Agent/elastic-agent uninstall --force]\n"}
{"Time":"2023-11-03T14:02:52.213950022Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":"--- PASS: TestFQDN (152.90s)\n"}
{"Time":"2023-11-03T14:02:52.21402048Z","Action":"pass","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"TestFQDN","Output":""}
{"Time":"2023-11-03T14:02:52.214070059Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"","Output":"PASS\n"}
{"Time":"2023-11-03T14:02:52.216068405Z","Action":"output","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"","Output":"ok  \tgithub.com/elastic/elastic-agent/testing/integration\t152.921s\n"}
{"Time":"2023-11-03T14:02:52.216105332Z","Action":"pass","Package":"github.com/elastic/elastic-agent/testing/integration(linux-amd64-ubuntu-2204)(sudo)","Test":"","Output":""}

@cmacknz cmacknz merged commit 38bdc91 into main Nov 3, 2023
7 of 8 checks passed
@cmacknz cmacknz deleted the dependabot/go_modules/github.com/elastic/elastic-agent-client/v7-7.5.0 branch November 3, 2023 15:03
@cmacknz cmacknz added the backport-v8.11.0 Automated backport with mergify label Nov 30, 2023
mergify bot pushed a commit that referenced this pull request Nov 30, 2023
…3689)

* Bump github.com/elastic/elastic-agent-client/v7 from 7.4.0 to 7.5.0

Bumps [github.com/elastic/elastic-agent-client/v7](https://github.com/elastic/elastic-agent-client) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/elastic/elastic-agent-client/releases)
- [Commits](elastic/elastic-agent-client@v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-client/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update NOTICE.txt

* Remove check on unused field.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
(cherry picked from commit 38bdc91)
cmacknz pushed a commit that referenced this pull request Nov 30, 2023
…3689) (#3850)

* Bump github.com/elastic/elastic-agent-client/v7 from 7.4.0 to 7.5.0

Bumps [github.com/elastic/elastic-agent-client/v7](https://github.com/elastic/elastic-agent-client) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/elastic/elastic-agent-client/releases)
- [Commits](elastic/elastic-agent-client@v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-client/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update NOTICE.txt

* Remove check on unused field.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
(cherry picked from commit 38bdc91)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

2 participants