Skip to content

[7.x](backport #26438) Refactor add_cloud_metadata to handle ECS fields easier#26556

Merged
ChrsMark merged 1 commit into7.xfrom
mergify/bp/7.x/pr-26438
Jun 29, 2021
Merged

[7.x](backport #26438) Refactor add_cloud_metadata to handle ECS fields easier#26556
ChrsMark merged 1 commit into7.xfrom
mergify/bp/7.x/pr-26438

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jun 29, 2021

This is an automatic backport of pull request #26438 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/

@mergify mergify bot added the backport label Jun 29, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 29, 2021
@botelastic
Copy link
Copy Markdown

botelastic bot commented Jun 29, 2021

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jun 29, 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

Expand to view the summary

Build stats

  • Build Cause: Started by user Chris Mark

  • Start Time: 2021-06-29T11:01:28.085+0000

  • Duration: 98 min 5 sec

  • Commit: 244833d

Test stats 🧪

Test Results
Failed 0
Passed 47558
Skipped 5201
Total 52759

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 2

Expand to view the steps failures

Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here
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-06-29T12:36:07.297Z] module\docker\test_docker.py sssssssss                                   [ 31%]
[2021-06-29T12:36:07.297Z] module\dropwizard\test_dropwizard.py sss                                 [ 32%]
[2021-06-29T12:36:07.297Z] module\elasticsearch\test_elasticsearch.py sssssssssss                   [ 36%]
[2021-06-29T12:36:07.297Z] module\envoyproxy\test_envoyproxy.py ss                                  [ 37%]
[2021-06-29T12:36:07.297Z] module\etcd\test_etcd.py ssssssss                                        [ 41%]
[2021-06-29T12:36:07.297Z] module\golang\test_golang.py s                                           [ 41%]
[2021-06-29T12:36:07.297Z] module\haproxy\test_haproxy.py sssssssssssssssssssssssss                 [ 51%]
[2021-06-29T12:36:12.237Z] warn: failed to upgrade pip (ignoring): running "null\build\ve\windows\Scripts\pip install -U pip" failed with exit code 1>> python test: Unit Testing - No tests found.
[2021-06-29T12:36:12.595Z] 
[2021-06-29T12:36:12.595Z] C:\Users\jenkins\workspace\PR-26556-2-b5882299-7629-42a7-b403-250797a9e506\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-29T12:36:14.267Z] 
[2021-06-29T12:36:14.267Z] C:\Users\jenkins\workspace\PR-26556-2-b5882299-7629-42a7-b403-250797a9e506\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-29T12:36:14.526Z] Copy .\x-pack\packetbeat\build into build\x-pack\packetbeat\build
[2021-06-29T12:36:14.526Z] Copy .\x-pack\packetbeat\null\build into build\x-pack\packetbeat\null\build
[2021-06-29T12:36:14.565Z] Running in C:\Users\jenkins\workspace\PR-26556-2-b5882299-7629-42a7-b403-250797a9e506\src\github.com\elastic\beats\build
[2021-06-29T12:36:14.591Z] Recording test results
[2021-06-29T12:36:17.305Z] module\http\test_http.py s.                                              [ 52%]
[2021-06-29T12:36:17.305Z] module\jolokia\test_jolokia.py ssss                                      [ 54%]
[2021-06-29T12:36:17.305Z] module\kafka\test_kafka.py ssssssssssssssssssss                          [ 62%]
[2021-06-29T12:36:17.305Z] module\kibana\test_kibana.py ss                                          [ 63%]
[2021-06-29T12:36:17.305Z] module\logstash\test_logstash.py sss                                     [ 64%]
[2021-06-29T12:36:17.305Z] module\memcached\test_memcached.py s                                     [ 64%]
[2021-06-29T12:36:17.305Z] module\mongodb\test_mongodb.py s                                         [ 65%]
[2021-06-29T12:36:17.305Z] module\munin\test_munin.py s                                             [ 65%]
[2021-06-29T12:36:17.305Z] module\mysql\test_mysql.py sssssss                                       [ 68%]
[2021-06-29T12:36:17.305Z] module\nats\test_nats.py ssssssssssssssssss                              [ 75%]
[2021-06-29T12:36:17.305Z] module\php_fpm\test_phpfpm.py s                                          [ 76%]
[2021-06-29T12:36:17.305Z] module\postgresql\test_postgresql.py ssssssssssssssssssss                [ 84%]
[2021-06-29T12:36:17.305Z] module\prometheus\test_prometheus.py sss                                 [ 85%]
[2021-06-29T12:36:17.305Z] module\redis\test_redis.py ssssssssssss                                  [ 90%]
[2021-06-29T12:36:17.626Z] [Checks API] No suitable checks publisher found.
[2021-06-29T12:36:17.999Z] 
[2021-06-29T12:36:17.999Z] C:\Users\jenkins\workspace\PR-26556-2-b5882299-7629-42a7-b403-250797a9e506\src\github.com\elastic\beats>go clean -modcache 
[2021-06-29T12:36:58.187Z] + gsutil --version
[2021-06-29T12:36:59.596Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-29T12:37:00.045Z] + gcloud auth activate-service-account --key-file ****
[2021-06-29T12:37:00.612Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-29T12:37:00.923Z] + gsutil -m -q cp -a public-read eC1wYWNrL3BhY2tldGJlYXQtd2luZG93cy0yMDA4LXdpbmRvd3MtMjAwOC1yMjI0NDgzM2QwYzJiMjBmNDAwNTJjZmZiNTEzMDhhN2RhYzZhMWM2MWM gs://beats-ci-temp/ci/cache/
[2021-06-29T12:38:10.632Z] module\system\test_system.py .....s..s...s.s.                            [ 96%]
[2021-06-29T12:38:10.632Z] module\traefik\test_traefik.py s                                         [ 97%]
[2021-06-29T12:38:10.632Z] module\uwsgi\test_uwsgi.py ss                                            [ 97%]
[2021-06-29T12:38:10.633Z] module\vsphere\test_vsphere.py sss                                       [ 99%]
[2021-06-29T12:38:10.633Z] module\zookeeper\test_zookeeper.py ss                                    [100%]
[2021-06-29T12:38:10.633Z] 
[2021-06-29T12:38:10.633Z] ============================== warnings summary ===============================
[2021-06-29T12:38:10.633Z] tests\system\test_lightmodules.py:57
[2021-06-29T12:38:10.633Z]   C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\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-06-29T12:38:10.633Z]     class TestHTTPHandler(http.server.BaseHTTPRequestHandler):
[2021-06-29T12:38:10.633Z] 
[2021-06-29T12:38:10.633Z] -- Docs: https://docs.pytest.org/en/stable/warnings.html
[2021-06-29T12:38:10.633Z] - generated xml file: C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\src\github.com\elastic\beats\metricbeat\build\TEST-python-unit.xml -
[2021-06-29T12:38:10.633Z] ============================ slowest 20 durations =============================
[2021-06-29T12:38:10.633Z] 16.85s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_list
[2021-06-29T12:38:10.633Z] 16.84s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_disable
[2021-06-29T12:38:10.633Z] 16.81s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_enable
[2021-06-29T12:38:10.633Z] 12.74s call     metricbeat/tests/system/test_config.py::ConfigTest::test_service_name
[2021-06-29T12:38:10.633Z] 12.56s call     metricbeat/tests/system/test_reload.py::Test::test_start_stop
[2021-06-29T12:38:10.633Z] 10.80s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_test_error
[2021-06-29T12:38:10.633Z] 10.06s call     metricbeat/module/system/test_system.py::Test::test_process
[2021-06-29T12:38:10.633Z] 9.75s call     metricbeat/tests/system/test_processors.py::Test::test_dropevent_with_condition
[2021-06-29T12:38:10.633Z] 9.55s call     metricbeat/tests/system/test_reload.py::Test::test_reload
[2021-06-29T12:38:10.633Z] 8.90s call     metricbeat/tests/system/test_timeseries.py::TestTimeseries::test_enable_timeseries
[2021-06-29T12:38:10.633Z] 8.87s call     metricbeat/tests/system/test_base.py::Test::test_export_config
[2021-06-29T12:38:10.633Z] 8.84s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern_migration
[2021-06-29T12:38:10.633Z] 8.82s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern
[2021-06-29T12:38:10.633Z] 8.74s call     metricbeat/tests/system/test_base.py::Test::test_export_template
[2021-06-29T12:38:10.633Z] 8.74s call     metricbeat/module/system/test_system.py::Test::test_fsstat
[2021-06-29T12:38:10.633Z] 8.72s call     metricbeat/module/system/test_system.py::Test::test_network
[2021-06-29T12:38:10.633Z] 8.72s call     metricbeat/module/http/test_http.py::Test::test_server
[2021-06-29T12:38:10.633Z] 8.71s call     metricbeat/module/system/test_system.py::Test::test_process_summary
[2021-06-29T12:38:10.633Z] 8.70s call     metricbeat/module/system/test_system.py::Test::test_memory
[2021-06-29T12:38:10.633Z] 8.69s call     metricbeat/module/system/test_system.py::Test::test_socket_summary
[2021-06-29T12:38:10.633Z] =========== 40 passed, 206 skipped, 1 warning in 395.58s (0:06:35) ============
[2021-06-29T12:38:10.633Z] >> python test: Unit Testing Complete
[2021-06-29T12:38:10.992Z] 
[2021-06-29T12:38:10.992Z] C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-29T12:38:13.202Z] 
[2021-06-29T12:38:13.203Z] C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-29T12:38:15.107Z] Copy .\metricbeat\build into build\metricbeat\build
[2021-06-29T12:38:15.107Z] Copy .\metricbeat\null\build into build\metricbeat\null\build
[2021-06-29T12:38:15.123Z] Running in C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\src\github.com\elastic\beats\build
[2021-06-29T12:38:15.141Z] Recording test results
[2021-06-29T12:38:18.256Z] [Checks API] No suitable checks publisher found.
[2021-06-29T12:38:18.615Z] 
[2021-06-29T12:38:18.615Z] C:\Users\jenkins\workspace\PR-26556-2-a3c6ede8-e8b5-4ff3-b3af-f15c6a8f1d14\src\github.com\elastic\beats>go clean -modcache 
[2021-06-29T12:39:27.804Z] + gsutil --version
[2021-06-29T12:39:29.218Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-29T12:39:29.523Z] + gcloud auth activate-service-account --key-file ****
[2021-06-29T12:39:30.089Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-29T12:39:30.396Z] + gsutil -m -q cp -a public-read bWV0cmljYmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTAyNDQ4MzNkMGMyYjIwZjQwMDUyY2ZmYjUxMzA4YTdkYWM2YTFjNjFj gs://beats-ci-temp/ci/cache/
[2021-06-29T12:39:31.900Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-06-29T12:39:31.938Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-29T12:39:31.998Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26556/src/github.com/elastic/beats
[2021-06-29T12:39:32.389Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26556
[2021-06-29T12:39:32.439Z] [INFO] getVaultSecret: Getting secrets
[2021-06-29T12:39:32.481Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-29T12:39:33.154Z] + chmod 755 generate-build-data.sh
[2021-06-29T12:39:33.154Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26556/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26556/runs/2 FAILURE 5884808
[2021-06-29T12:39:33.154Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26556/runs/2/steps/?limit=10000 -o steps-info.json
[2021-06-29T12:39:51.130Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26556/runs/2/tests/?status=FAILED -o tests-errors.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 47558
Skipped 5201
Total 52759

@ChrsMark ChrsMark merged commit 6452107 into 7.x Jun 29, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-26438 branch June 29, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants