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 Sarama to 1.29.1 #27717

Merged
merged 3 commits into from
Sep 3, 2021
Merged

Update Sarama to 1.29.1 #27717

merged 3 commits into from
Sep 3, 2021

Conversation

faec
Copy link
Contributor

@faec faec commented Sep 2, 2021

What does this PR do?

This PR updates Sarama to the current Elastic fork, targeting the commit:

commit 11c3ef800752914cae04c171c42d1078f2af9689 (HEAD -> beats-fork, origin/beats-fork)
Merge: 5c8cb34 6333632
Author: Fae Charlton <fae.charlton@elastic.co>
Date:   Mon Aug 23 08:28:11 2021 -0400

    Bump baseline Sarama version to 1.29.1

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.

@faec faec added enhancement Team:Elastic-Agent Label for the Agent team backport-v7.16.0 Automated backport with mergify labels Sep 2, 2021
@faec faec requested a review from kvch September 2, 2021 17:23
@faec faec self-assigned this Sep 2, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Sep 2, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 2, 2021

💔 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: 2021-09-02T19:17:10.552+0000

  • Duration: 102 min 19 sec

  • Commit: 54909cc

Test stats 🧪

Test Results
Failed 0
Passed 53434
Skipped 5316
Total 58750

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 2

Expand to view the steps failures

Google Storage Download
  • Took 1 min 4 sec . View more details on here
  • Description: [2021-09-02T20:34:02.038Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs:
Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here

Log output

Expand to view the last 100 lines of log output

[2021-09-02T20:56:00.795Z] ============================ slowest 20 durations =============================
[2021-09-02T20:56:00.795Z] 14.03s call     packetbeat/tests/system/test_0065_unmatched_http.py::Test::test_unmatched_request
[2021-09-02T20:56:00.795Z] 4.41s call     packetbeat/tests/system/test_0001_mysql_spaces.py::Test::test_mysql_with_spaces
[2021-09-02T20:56:00.795Z] 3.94s call     packetbeat/tests/system/test_0006_wsgi.py::Test::test_send_headers_options
[2021-09-02T20:56:00.795Z] 2.72s call     packetbeat/tests/system/test_0002_thrift_basics.py::Test::test_thrift_send_request_response
[2021-09-02T20:56:00.795Z] 2.55s call     packetbeat/tests/system/test_0060_flows.py::Test::test_community_id_ipv4_tcp
[2021-09-02T20:56:00.795Z] 2.55s call     packetbeat/tests/system/test_0060_flows.py::Test::test_mysql_flow
[2021-09-02T20:56:00.795Z] 2.55s call     packetbeat/tests/system/test_0060_flows.py::Test::test_icmp6_ping
[2021-09-02T20:56:00.795Z] 2.54s call     packetbeat/tests/system/test_0060_flows.py::Test::test_memcache_udp_flow
[2021-09-02T20:56:00.795Z] 2.53s call     packetbeat/tests/system/test_0060_flows.py::Test::test_community_id_icmp
[2021-09-02T20:56:00.795Z] 2.53s call     packetbeat/tests/system/test_0060_flows.py::Test::test_q_in_q_flow
[2021-09-02T20:56:00.795Z] 2.53s call     packetbeat/tests/system/test_0060_flows.py::Test::test_community_id_icmp6
[2021-09-02T20:56:00.795Z] 2.52s call     packetbeat/tests/system/test_0060_flows.py::Test::test_community_id_ipv4_udp
[2021-09-02T20:56:00.795Z] 2.51s call     packetbeat/tests/system/test_0060_flows.py::Test::test_icmp4_ping
[2021-09-02T20:56:00.795Z] 1.66s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_opmsg
[2021-09-02T20:56:00.795Z] 1.65s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_max_doc_length_setting
[2021-09-02T20:56:00.795Z] 1.64s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_mongodb_find
[2021-09-02T20:56:00.795Z] 1.63s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_mongodb_use_db
[2021-09-02T20:56:00.795Z] 1.59s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_max_docs_setting
[2021-09-02T20:56:00.795Z] 1.58s call     packetbeat/tests/system/test_0025_mongodb_basic.py::Test::test_mongodb_find_one
[2021-09-02T20:56:00.795Z] 1.58s call     packetbeat/tests/system/test_0024_http_query.py::Test::test_http_post
[2021-09-02T20:56:00.795Z] ============ 187 passed, 5 skipped, 1 warning in 286.04s (0:04:46) ============
[2021-09-02T20:56:01.057Z] >> python test: Unit Testing Complete
[2021-09-02T20:56:01.459Z] 
[2021-09-02T20:56:01.459Z] C:\Users\jenkins\workspace\PR-27717-3-0e16792b-2328-4711-a649-166a6a9cbf0c\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-09-02T20:56:03.695Z] 
[2021-09-02T20:56:03.696Z] C:\Users\jenkins\workspace\PR-27717-3-0e16792b-2328-4711-a649-166a6a9cbf0c\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-09-02T20:56:08.993Z] Copy .\packetbeat\build into build\packetbeat\build
[2021-09-02T20:56:08.993Z] Copy .\packetbeat\null\build into build\packetbeat\null\build
[2021-09-02T20:56:09.019Z] Running in C:\Users\jenkins\workspace\PR-27717-3-0e16792b-2328-4711-a649-166a6a9cbf0c\src\github.com\elastic\beats\build
[2021-09-02T20:56:09.044Z] Recording test results
[2021-09-02T20:56:13.894Z] [Checks API] No suitable checks publisher found.
[2021-09-02T20:56:14.293Z] 
[2021-09-02T20:56:14.293Z] C:\Users\jenkins\workspace\PR-27717-3-0e16792b-2328-4711-a649-166a6a9cbf0c\src\github.com\elastic\beats>go clean -modcache 
[2021-09-02T20:57:23.845Z] + gsutil --version
[2021-09-02T20:57:24.832Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-09-02T20:57:25.150Z] + gcloud auth activate-service-account --key-file ****
[2021-09-02T20:57:25.722Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-09-02T20:57:26.055Z] + gsutil -m -q cp cGFja2V0YmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTA1NDkwOWNjZjg1ZmNhOGEzZjVlNzc4NTAxYzk2ZWJkMTgyYzk0ZmZj gs://beats-ci-temp/ci/cache/
[2021-09-02T20:57:52.119Z] module\system\test_system.py .....s..s...s.s.                            [ 96%]
[2021-09-02T20:57:52.119Z] module\traefik\test_traefik.py s                                         [ 97%]
[2021-09-02T20:57:52.119Z] module\uwsgi\test_uwsgi.py ss                                            [ 97%]
[2021-09-02T20:57:52.119Z] module\vsphere\test_vsphere.py sss                                       [ 99%]
[2021-09-02T20:57:52.119Z] module\zookeeper\test_zookeeper.py ss                                    [100%]
[2021-09-02T20:57:52.119Z] 
[2021-09-02T20:57:52.119Z] ============================== warnings summary ===============================
[2021-09-02T20:57:52.119Z] tests\system\test_lightmodules.py:57
[2021-09-02T20:57:52.119Z]   C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats\metricbeat\tests\system\test_lightmodules.py:57: PytestCollectionWarning: cannot collect test class 'TestHTTPHandler' because it has a __init__ constructor (from: metricbeat/tests/system/test_lightmodules.py)
[2021-09-02T20:57:52.119Z]     class TestHTTPHandler(http.server.BaseHTTPRequestHandler):
[2021-09-02T20:57:52.119Z] 
[2021-09-02T20:57:52.119Z] -- Docs: https://docs.pytest.org/en/stable/warnings.html
[2021-09-02T20:57:52.119Z] - generated xml file: C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats\metricbeat\build\TEST-python-unit.xml -
[2021-09-02T20:57:52.119Z] ============================ slowest 20 durations =============================
[2021-09-02T20:57:52.119Z] 16.90s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_disable
[2021-09-02T20:57:52.119Z] 16.90s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_enable
[2021-09-02T20:57:52.119Z] 16.89s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_list
[2021-09-02T20:57:52.119Z] 12.54s call     metricbeat/tests/system/test_reload.py::Test::test_start_stop
[2021-09-02T20:57:52.119Z] 12.29s call     metricbeat/tests/system/test_config.py::ConfigTest::test_service_name
[2021-09-02T20:57:52.119Z] 10.80s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_test_error
[2021-09-02T20:57:52.119Z] 10.69s call     metricbeat/module/system/test_system.py::Test::test_process
[2021-09-02T20:57:52.119Z] 10.67s call     metricbeat/tests/system/test_processors.py::Test::test_dropevent_with_condition
[2021-09-02T20:57:52.119Z] 9.58s call     metricbeat/tests/system/test_reload.py::Test::test_reload
[2021-09-02T20:57:52.120Z] 9.13s call     metricbeat/tests/system/test_processors.py::Test::test_dropevent_with_complex_condition
[2021-09-02T20:57:52.120Z] 9.06s call     metricbeat/tests/system/test_processors.py::Test::test_dropfields_with_condition
[2021-09-02T20:57:52.120Z] 9.06s call     metricbeat/tests/system/test_processors.py::Test::test_multiple_actions
[2021-09-02T20:57:52.120Z] 9.05s call     metricbeat/tests/system/test_processors.py::Test::test_include_fields
[2021-09-02T20:57:52.120Z] 9.04s call     metricbeat/tests/system/test_timeseries.py::TestTimeseries::test_enable_timeseries
[2021-09-02T20:57:52.120Z] 9.02s call     metricbeat/tests/system/test_processors.py::Test::test_contradictory_multiple_actions
[2021-09-02T20:57:52.120Z] 8.97s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern_migration
[2021-09-02T20:57:52.120Z] 8.90s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern
[2021-09-02T20:57:52.120Z] 8.86s call     metricbeat/tests/system/test_base.py::Test::test_export_config
[2021-09-02T20:57:52.120Z] 8.83s call     metricbeat/tests/system/test_base.py::Test::test_export_template
[2021-09-02T20:57:52.120Z] 8.76s call     metricbeat/module/http/test_http.py::Test::test_server
[2021-09-02T20:57:52.120Z] =========== 40 passed, 207 skipped, 1 warning in 399.78s (0:06:39) ============
[2021-09-02T20:57:52.120Z] >> python test: Unit Testing Complete
[2021-09-02T20:57:52.526Z] 
[2021-09-02T20:57:52.526Z] C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-09-02T20:57:54.747Z] 
[2021-09-02T20:57:54.747Z] C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-09-02T20:57:56.130Z] Copy .\metricbeat\build into build\metricbeat\build
[2021-09-02T20:57:56.130Z] Copy .\metricbeat\null\build into build\metricbeat\null\build
[2021-09-02T20:57:56.151Z] Running in C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats\build
[2021-09-02T20:57:56.172Z] Recording test results
[2021-09-02T20:58:00.717Z] [Checks API] No suitable checks publisher found.
[2021-09-02T20:58:01.110Z] 
[2021-09-02T20:58:01.110Z] C:\Users\jenkins\workspace\PR-27717-3-0788477e-9e07-4c6e-baf7-29046da788d9\src\github.com\elastic\beats>go clean -modcache 
[2021-09-02T20:59:24.179Z] + gsutil --version
[2021-09-02T20:59:25.168Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-09-02T20:59:25.490Z] + gcloud auth activate-service-account --key-file ****
[2021-09-02T20:59:26.060Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-09-02T20:59:26.384Z] + gsutil -m -q cp bWV0cmljYmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTA1NDkwOWNjZjg1ZmNhOGEzZjVlNzc4NTAxYzk2ZWJkMTgyYzk0ZmZj gs://beats-ci-temp/ci/cache/
[2021-09-02T20:59:27.977Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-09-02T20:59:28.033Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-09-02T20:59:28.118Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-27717/src/github.com/elastic/beats
[2021-09-02T20:59:28.489Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-27717
[2021-09-02T20:59:28.549Z] [INFO] getVaultSecret: Getting secrets
[2021-09-02T20:59:28.600Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-09-02T20:59:29.417Z] + chmod 755 generate-build-data.sh
[2021-09-02T20:59:29.417Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27717/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27717/runs/3 FAILURE 6138597
[2021-09-02T20:59:29.417Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-27717/runs/3/steps/?limit=10000 -o steps-info.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 53434
Skipped 5316
Total 58750

@faec faec changed the title Update to the latest sarama baseline of 1.29.1 Update Sarama to 1.29.1 Sep 2, 2021
@faec faec merged commit 29da912 into elastic:master Sep 3, 2021
@faec faec deleted the sarama branch September 3, 2021 14:58
mergify bot pushed a commit that referenced this pull request Sep 3, 2021
(cherry picked from commit 29da912)

# Conflicts:
#	go.sum
mdelapenya added a commit to mdelapenya/beats that referenced this pull request Sep 9, 2021
* master: (39 commits)
  [Heartbeat] Move JSON tests from python->go (elastic#27816)
  docs: simplify permissions for Dockerfile COPY (elastic#27754)
  Osquerybeat: Fix osquery logger plugin severy levels mapping (elastic#27789)
  [Filebeat] Update compatibility function to remove processor description on ES < 7.9.0 (elastic#27774)
  warn log entry and no validation failure when both queue_url and buck… (elastic#27612)
  libbeat/cmd/instance: ensure test config file has appropriate permissions (elastic#27178)
  [Heartbeat] Add httpcommon options to ZipURL (elastic#27699)
  Add a header round tripper option to httpcommon (elastic#27509)
  [Elastic Agent] Add validation to ensure certificate paths are absolute. (elastic#27779)
  Rename dashboards according to module.yml files for master (elastic#27749)
  Refactor vagrantfile, add scripts for provisioning with docker/kind (elastic#27726)
  Accept syslog dates with leading 0 (elastic#27775)
  [Filebeat] Add timezone config option to decode_cef and syslog input (elastic#27727)
  [Filebeat] Threatintel compatibility updates (elastic#27323)
  Add support for ephemeral containers in elastic agent dynamic provider (elastic#27707)
  [Filebeat] Integration tests in CI for AWS-S3 input (elastic#27491)
  Fix flakyness of TestFilestreamEmptyLine (elastic#27705)
  [Filebeat] kafka v2 using parsers (elastic#27335)
  Update Kafka version parsing / supported range (elastic#27720)
  Update Sarama to 1.29.1 (elastic#27717)
  ...
faec added a commit that referenced this pull request Sep 10, 2021
* Update Sarama to 1.29.1 (#27717)

(cherry picked from commit 29da912)

Co-authored-by: Fae Charlton <fae.charlton@elastic.co>
Icedroid pushed a commit to Icedroid/beats that referenced this pull request Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.16.0 Automated backport with mergify enhancement Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants