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

Update to elastic-agent-client with chunking support. #37343

Merged
merged 9 commits into from
Dec 18, 2023

Conversation

blakerouse
Copy link
Contributor

@blakerouse blakerouse commented Dec 7, 2023

Proposed commit message

Update to elastic-agent-client with chunking support.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • Enables chunking support when communicating with the Elastic Agent.

How to test this PR locally

See elastic/elastic-agent#3884 for how to test.

Related issues

@blakerouse blakerouse added the Team:Elastic-Agent Label for the Agent team label Dec 7, 2023
@blakerouse blakerouse self-assigned this Dec 7, 2023
@blakerouse blakerouse requested review from a team as code owners December 7, 2023 18:47
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 7, 2023
Copy link

cla-checker-service bot commented Dec 7, 2023

💚 CLA has been signed

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Dec 7, 2023
Copy link
Contributor

mergify bot commented Dec 7, 2023

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @blakerouse? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

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

Copy link
Contributor

mergify bot commented Dec 7, 2023

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b agent-client-chunking upstream/agent-client-chunking
git merge upstream/main
git push upstream agent-client-chunking

@blakerouse blakerouse force-pushed the agent-client-chunking branch from 64a2051 to a276c93 Compare December 7, 2023 18:51
@blakerouse blakerouse added the backport-skip Skip notification from the automated backport with mergify label Dec 7, 2023
@elasticmachine
Copy link
Collaborator

💔 Build 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

  • Duration: 7 min 32 sec

Pipeline error 1

This error is likely related to the pipeline itself. Click here
and then you will see the error (either incorrect syntax or an invalid configuration).

❕ 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@blakerouse
Copy link
Contributor Author

go.mod replace will be removed once elastic/elastic-agent-client#89 is merged

@elasticmachine
Copy link
Collaborator

❕ Build Aborted

Either there was a build timeout or someone aborted the build.

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

  • Duration: 6 min 42 sec

🤖 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@elasticmachine
Copy link
Collaborator

💔 Build 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: 2023-12-07T18:54:26.168+0000

  • Duration: 128 min 26 sec

Test stats 🧪

Test Results
Failed 0
Passed 28676
Skipped 2015
Total 30691

Steps errors 8

Expand to view the steps failures

x-pack/filebeat-goIntegTest - mage goIntegTest
  • Took 7 min 35 sec . View more details here
  • Description: mage goIntegTest
x-pack/libbeat-unitTest - mage build unitTest
  • Took 4 min 18 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-unitTest - mage build unitTest
  • Took 1 min 34 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-unitTest - mage build unitTest
  • Took 1 min 35 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 5 min 6 sec . View more details here
  • Description: mage goIntegTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 1 min 11 sec . View more details here
  • Description: mage goIntegTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 1 min 12 sec . View more details here
  • Description: mage goIntegTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

💚 Flaky test report

Tests succeeded.

🤖 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@elasticmachine
Copy link
Collaborator

💔 Build 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

  • Duration: 129 min 45 sec

Pipeline error 1

This error is likely related to the pipeline itself. Click here
and then you will see the error (either incorrect syntax or an invalid configuration).

❕ 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@blakerouse blakerouse force-pushed the agent-client-chunking branch from 0fdf2ae to e82a2e5 Compare December 18, 2023 16:11
@blakerouse
Copy link
Contributor Author

go.mod replace has been removed, now that v7.6.0 of elastic-agent-client has been released

@elasticmachine
Copy link
Collaborator

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

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

  • Start Time: 2023-12-18T16:11:58.452+0000

  • Duration: 41 min 44 sec

Test stats 🧪

Test Results
Failed 0
Passed 8948
Skipped 593
Total 9541

Steps errors 7

Expand to view the steps failures

x-pack/libbeat-unitTest - mage build unitTest
  • Took 4 min 25 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-unitTest - mage build unitTest
  • Took 1 min 35 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-unitTest - mage build unitTest
  • Took 1 min 35 sec . View more details here
  • Description: mage build unitTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 5 min 14 sec . View more details here
  • Description: mage goIntegTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 1 min 15 sec . View more details here
  • Description: mage goIntegTest
x-pack/libbeat-goIntegTest - mage goIntegTest
  • Took 1 min 14 sec . View more details here
  • Description: mage goIntegTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'org.jenkinsci.plugins.workflow.steps.FlowInterruptedException'

🤖 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@elasticmachine
Copy link
Collaborator

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

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

  • Start Time: 2023-12-18T16:23:54.066+0000

  • Duration: 32 min 14 sec

Test stats 🧪

Test Results
Failed 7
Passed 4663
Skipped 38
Total 4708

Test errors 7

Expand to view the tests failures

Build&Test / libbeat-unitTest / [empty] – TEST-go-unit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-37343-8-6448dda7-98bd-4ede-a5e7-f9967892ade6/src/github.com/elastic/beats/build/libbeat/build/TEST-go-unit.xml was length 0 
    

Build&Test / x-pack/libbeat-unitTest / [empty] – TEST-go-unit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-37343-8-fb8c5b14-0536-4e6a-bf10-e9488bc43fb8/src/github.com/elastic/beats/build/x-pack/libbeat/build/TEST-go-unit.xml was length 0 
    

Build&Test / metricbeat-unitTest / TestAll – github.com/elastic/beats/v7/metricbeat/mb/testing/data
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestAll
    === RUN   TestAll/apache.status
    --- PASS: TestAll/apache.status (0.75s)
    === RUN   TestAll/apache.status/docs.plain
        testdata.go:238: Testing ../../../module/apache/status/_meta/testdata/docs.plain file
        testdata.go:307: Expected ../../../module/apache/status/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/apache.status/docs.plain (0.75s)
    === RUN   TestAll/ceph.mgr_cluster_disk
    --- PASS: TestAll/ceph.mgr_cluster_disk (1.43s)
    === RUN   TestAll/ceph.mgr_cluster_disk/failed.json
        testdata.go:238: Testing ../../../module/ceph/mgr_cluster_disk/_meta/testdata/failed.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_cluster_disk/_meta/testdata/failed.json-expected.json file
    --- PASS: TestAll/ceph.mgr_cluster_disk/failed.json (0.81s)
    === RUN   TestAll/ceph.mgr_cluster_disk/sample.json
        testdata.go:238: Testing ../../../module/ceph/mgr_cluster_disk/_meta/testdata/sample.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_cluster_disk/_meta/testdata/sample.json-expected.json file
    --- PASS: TestAll/ceph.mgr_cluster_disk/sample.json (0.62s)
    === RUN   TestAll/ceph.mgr_osd_perf
    --- PASS: TestAll/ceph.mgr_osd_perf (1.53s)
    === RUN   TestAll/ceph.mgr_osd_perf/failed.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_perf/_meta/testdata/failed.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_perf/_meta/testdata/failed.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_perf/failed.json (0.70s)
    === RUN   TestAll/ceph.mgr_osd_perf/sample.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_perf/_meta/testdata/sample.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_perf/_meta/testdata/sample.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_perf/sample.json (0.83s)
    === RUN   TestAll/ceph.mgr_osd_pool_stats
    --- PASS: TestAll/ceph.mgr_osd_pool_stats (1.47s)
    === RUN   TestAll/ceph.mgr_osd_pool_stats/failed.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_pool_stats/_meta/testdata/failed.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_pool_stats/_meta/testdata/failed.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_pool_stats/failed.json (0.75s)
    === RUN   TestAll/ceph.mgr_osd_pool_stats/sample.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_pool_stats/_meta/testdata/sample.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_pool_stats/_meta/testdata/sample.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_pool_stats/sample.json (0.72s)
    === RUN   TestAll/ceph.mgr_osd_tree
    --- PASS: TestAll/ceph.mgr_osd_tree (1.32s)
    === RUN   TestAll/ceph.mgr_osd_tree/failed.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_tree/_meta/testdata/failed.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_tree/_meta/testdata/failed.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_tree/failed.json (0.78s)
    === RUN   TestAll/ceph.mgr_osd_tree/sample.json
        testdata.go:238: Testing ../../../module/ceph/mgr_osd_tree/_meta/testdata/sample.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_osd_tree/_meta/testdata/sample.json-expected.json file
    --- PASS: TestAll/ceph.mgr_osd_tree/sample.json (0.54s)
    === RUN   TestAll/ceph.mgr_pool_disk
    --- PASS: TestAll/ceph.mgr_pool_disk (1.29s)
    === RUN   TestAll/ceph.mgr_pool_disk/failed.json
        testdata.go:238: Testing ../../../module/ceph/mgr_pool_disk/_meta/testdata/failed.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_pool_disk/_meta/testdata/failed.json-expected.json file
    --- PASS: TestAll/ceph.mgr_pool_disk/failed.json (0.65s)
    === RUN   TestAll/ceph.mgr_pool_disk/sample.json
        testdata.go:238: Testing ../../../module/ceph/mgr_pool_disk/_meta/testdata/sample.json file
        testdata.go:307: Expected ../../../module/ceph/mgr_pool_disk/_meta/testdata/sample.json-expected.json file
    --- PASS: TestAll/ceph.mgr_pool_disk/sample.json (0.64s)
    === RUN   TestAll/ceph.monitor_health
    --- PASS: TestAll/ceph.monitor_health (0.52s)
    === RUN   TestAll/ceph.monitor_health/docs.json
        testdata.go:238: Testing ../../../module/ceph/monitor_health/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/ceph/monitor_health/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/ceph.monitor_health/docs.json (0.52s)
    === RUN   TestAll/couchbase.cluster
    --- PASS: TestAll/couchbase.cluster (1.40s)
    === RUN   TestAll/couchbase.cluster/4.5.1.json
        testdata.go:238: Testing ../../../module/couchbase/cluster/_meta/testdata/4.5.1.json file
        testdata.go:307: Expected ../../../module/couchbase/cluster/_meta/testdata/4.5.1.json-expected.json file
    --- PASS: TestAll/couchbase.cluster/4.5.1.json (0.74s)
    === RUN   TestAll/couchbase.cluster/docs.json
        testdata.go:238: Testing ../../../module/couchbase/cluster/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/couchbase/cluster/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/couchbase.cluster/docs.json (0.66s)
    === RUN   TestAll/couchbase.node
    --- PASS: TestAll/couchbase.node (1.24s)
    === RUN   TestAll/couchbase.node/4.5.1.json
        testdata.go:238: Testing ../../../module/couchbase/node/_meta/testdata/4.5.1.json file
        testdata.go:307: Expected ../../../module/couchbase/node/_meta/testdata/4.5.1.json-expected.json file
    --- PASS: TestAll/couchbase.node/4.5.1.json (0.68s)
    === RUN   TestAll/couchbase.node/docs.json
        testdata.go:238: Testing ../../../module/couchbase/node/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/couchbase/node/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/couchbase.node/docs.json (0.57s)
    === RUN   TestAll/dropwizard.collector
    --- PASS: TestAll/dropwizard.collector (0.50s)
    === RUN   TestAll/dropwizard.collector/docs.json
        testdata.go:238: Testing ../../../module/dropwizard/collector/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/dropwizard/collector/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/dropwizard.collector/docs.json (0.50s)
    === RUN   TestAll/etcd.metrics
    --- PASS: TestAll/etcd.metrics (0.48s)
    === RUN   TestAll/etcd.metrics/metrics.plain
        testdata.go:238: Testing ../../../module/etcd/metrics/_meta/testdata/metrics.plain file
        testdata.go:307: Expected ../../../module/etcd/metrics/_meta/testdata/metrics.plain-expected.json file
    --- PASS: TestAll/etcd.metrics/metrics.plain (0.48s)
    === RUN   TestAll/http.json
    --- PASS: TestAll/http.json (0.67s)
    === RUN   TestAll/http.json/docs.json
        testdata.go:238: Testing ../../../module/http/json/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/http/json/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/http.json/docs.json (0.67s)
    === RUN   TestAll/kibana.status
    --- PASS: TestAll/kibana.status (1.51s)
    === RUN   TestAll/kibana.status/7.0.0.json
        testdata.go:238: Testing ../../../module/kibana/status/_meta/testdata/7.0.0.json file
        testdata.go:307: Expected ../../../module/kibana/status/_meta/testdata/7.0.0.json-expected.json file
    --- PASS: TestAll/kibana.status/7.0.0.json (0.79s)
    === RUN   TestAll/kibana.status/docs.json
        testdata.go:238: Testing ../../../module/kibana/status/_meta/testdata/docs.json file
        testdata.go:307: Expected ../../../module/kibana/status/_meta/testdata/docs.json-expected.json file
    --- PASS: TestAll/kibana.status/docs.json (0.71s)
    === RUN   TestAll/kubernetes.apiserver
    --- PASS: TestAll/kubernetes.apiserver (1.97s)
    === RUN   TestAll/kubernetes.apiserver/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/apiserver/_meta/testdata/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/apiserver/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.apiserver/docs.plain (1.97s)
    === RUN   TestAll/kubernetes.controllermanager
    --- PASS: TestAll/kubernetes.controllermanager (1.05s)
    === RUN   TestAll/kubernetes.controllermanager/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/controllermanager/_meta/testdata/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/controllermanager/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.controllermanager/docs.plain (1.05s)
    === RUN   TestAll/kubernetes.proxy
    --- PASS: TestAll/kubernetes.proxy (0.76s)
    === RUN   TestAll/kubernetes.proxy/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/proxy/_meta/testdata/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/proxy/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.proxy/docs.plain (0.76s)
    === RUN   TestAll/kubernetes.scheduler
    --- PASS: TestAll/kubernetes.scheduler (0.73s)
    === RUN   TestAll/kubernetes.scheduler/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/scheduler/_meta/testdata/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/scheduler/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.scheduler/docs.plain (0.73s)
    === RUN   TestAll/kubernetes.state_container
    --- PASS: TestAll/kubernetes.state_container (2.49s)
    === RUN   TestAll/kubernetes.state_container/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_container/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_container/docs.plain (0.75s)
    === RUN   TestAll/kubernetes.state_container/ksm.v2.10.0.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.10.0.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_container/_meta/testdata/ksm.v2.10.0.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_container/ksm.v2.10.0.plain (0.60s)
    === RUN   TestAll/kubernetes.state_container/ksm.v2.8.2.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.8.2.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_container/_meta/testdata/ksm.v2.8.2.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_container/ksm.v2.8.2.plain (0.58s)
    === RUN   TestAll/kubernetes.state_container/ksm.v2.9.2.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.9.2.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_container/_meta/testdata/ksm.v2.9.2.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_container/ksm.v2.9.2.plain (0.56s)
    === RUN   TestAll/kubernetes.state_cronjob
    === RUN   TestAll/kubernetes.state_cronjob/docs.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/docs.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_cronjob/_meta/testdata/docs.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_cronjob/docs.plain (0.47s)
    === RUN   TestAll/kubernetes.state_cronjob/ksm.v2.10.0.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.10.0.plain file
        testdata.go:307: Expected ../../../module/kubernetes/state_cronjob/_meta/testdata/ksm.v2.10.0.plain-expected.json file
    --- PASS: TestAll/kubernetes.state_cronjob/ksm.v2.10.0.plain (0.49s)
    === RUN   TestAll/kubernetes.state_cronjob/ksm.v2.8.2.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.8.2.plain file
     
    

Build&Test / metricbeat-unitTest / TestAll/kubernetes.state_cronjob – github.com/elastic/beats/v7/metricbeat/mb/testing/data
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestAll/kubernetes.state_cronjob
     
    

Build&Test / metricbeat-unitTest / TestAll/kubernetes.state_cronjob/ksm.v2.8.2.plain – github.com/elastic/beats/v7/metricbeat/mb/testing/data
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestAll/kubernetes.state_cronjob/ksm.v2.8.2.plain
        testdata.go:238: Testing ../../../module/kubernetes/_meta/test/KSM/ksm.v2.8.2.plain file
     
    

Build&Test / x-pack/filebeat-goIntegTest / [empty] – TEST-go-integration.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-37343-8-db675eb2-d8d3-483a-96de-e7359bd8dbd5/src/github.com/elastic/beats/build/x-pack/filebeat/build/TEST-go-integration.xml was length 0 
    

Build&Test / x-pack/functionbeat-unitTest / [empty] – TEST-go-unit.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-37343-8-73fab0a6-2dce-4287-92ee-f8d676982d20/src/github.com/elastic/beats/build/x-pack/functionbeat/build/TEST-go-unit.xml was length 0 
    

Steps errors 1

Expand to view the steps failures

Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'org.jenkinsci.plugins.workflow.steps.FlowInterruptedException'

🤖 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@elasticmachine
Copy link
Collaborator

💚 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

  • Duration: 163 min 10 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@@ -133,7 +133,7 @@ func TestSimpleInputConfig(t *testing.T) {
fmt.Sprintf(":%d", server.Port),
"",
client.VersionInfo{},
grpc.WithTransportCredentials(insecure.NewCredentials()))
client.WithGRPCDialOptions(grpc.WithTransportCredentials(insecure.NewCredentials())))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the test in here be modified to verify that chunking works as expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't make sense to test a feature of an external library. The library handles all the chunking and ensures that its on, and that library is fully tested.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case where there are essentially no changes besides the dependency this seems reasonable.

I am a bit worried that nothing is actually testing that this works with a real Beat anywhere though. If we can force an existing integration test in the agent repository to use chunking for everything that's probably a better way to test this.

@blakerouse blakerouse enabled auto-merge (squash) December 18, 2023 20:00
@elasticmachine
Copy link
Collaborator

💚 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-12-18T19:29:21.744+0000

  • Duration: 164 min 51 sec

Test stats 🧪

Test Results
Failed 0
Passed 28732
Skipped 2015
Total 30747

💚 Flaky test report

Tests succeeded.

🤖 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 and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@blakerouse blakerouse merged commit 5fab3e9 into elastic:main Dec 18, 2023
119 checks passed
@blakerouse blakerouse deleted the agent-client-chunking branch December 19, 2023 14:33
Scholar-Li pushed a commit to Scholar-Li/beats that referenced this pull request Feb 5, 2024
* Update to elastic-agent-client with chunking support.

* Add changelog entry.

* Fix changelog again.

* Update to v7.6.0 elastic-agent-client.

* Fix tests.

* Fix another test.

* Fix windows lint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants