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

Fix autodiscover docs #18097

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Apr 29, 2020

Fixes autodiscover docs that were broken by conditions added on #16306.

See: https://www.elastic.co/guide/en/beats/metricbeat/master/configuration-autodiscover.html

Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark added docs review [zube]: In Review Team:Platforms Label for the Integrations - Platforms team labels Apr 29, 2020
@ChrsMark ChrsMark requested review from a team April 29, 2020 15:01
@ChrsMark ChrsMark self-assigned this Apr 29, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 29, 2020
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 7697
Skipped 1238
Total 8935

Steps errors

Expand to view the steps failures

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 2 min 22 sec<

    • Start Time: 2020-04-29T15:46:17.487+0000

  • Name: Make -C generator/_templates/metricbeat test

    • Description: make -C generator/_templates/metricbeat test

    • Result: FAILURE

    • Duration: 3 min 52 sec<

    • Start Time: 2020-04-29T15:35:04.456+0000

Log output

Expand to view the last 100 lines of log output

[2020-04-29T16:17:11.689Z] 
Creating redisenterprise_c24b56514905d102_redisenterprise_1   ... done
..Stopping redisenterprise_c24b56514905d102_redisenterprise_1   ... 
[2020-04-29T16:17:15.026Z] 
Stopping redisenterprise_c24b56514905d102_redisenterprise_1   ... done
Removing redisenterprise_c24b56514905d102_redisenterprise_1   ... 
[2020-04-29T16:17:15.972Z] 
Removing redisenterprise_c24b56514905d102_redisenterprise_1   ... done
Creating sql_7918a246f6f8_mysql_1                             ... 
[2020-04-29T16:17:31.854Z] 
Creating sql_7918a246f6f8_mysql_1                             ... done
.Stopping sql_7918a246f6f8_mysql_1                             ... 
[2020-04-29T16:17:31.855Z] 
Stopping sql_7918a246f6f8_mysql_1                             ... done
Removing sql_7918a246f6f8_mysql_1                             ... 
[2020-04-29T16:17:32.434Z] 
Removing sql_7918a246f6f8_mysql_1                             ... done
Creating stan_7918a246f6f8_stan_1                             ... 
[2020-04-29T16:17:39.550Z] 
Creating stan_7918a246f6f8_stan_1                             ... done
...Stopping stan_7918a246f6f8_stan_1                             ... 
[2020-04-29T16:17:51.800Z] 
Stopping stan_7918a246f6f8_stan_1                             ... done
Removing stan_7918a246f6f8_stan_1                             ... 
[2020-04-29T16:17:56.007Z] 
Removing stan_7918a246f6f8_stan_1                             ... done
.
[2020-04-29T16:17:56.007Z] [success] 66.08% test_xpack_base.Test.test_dashboards: 88.1147s
[2020-04-29T16:17:56.007Z] [success] 4.41% test_activemq.ActiveMqTest_0.test_broker_metrics_collected: 5.8807s
[2020-04-29T16:17:56.007Z] [success] 4.33% test_activemq.ActiveMqTest_1.test_topic_metrics_collected: 5.7789s
[2020-04-29T16:17:56.007Z] [success] 4.32% test_statsd.Test.test_server: 5.7616s
[2020-04-29T16:17:56.007Z] [success] 3.10% test_cockroachdb.Test.test_status: 4.1369s
[2020-04-29T16:17:56.007Z] [success] 1.89% test_xpack_base.Test.test_migration: 2.5152s
[2020-04-29T16:17:56.007Z] [success] 1.72% test_sql.Test.test_query: 2.2992s
[2020-04-29T16:17:56.007Z] [success] 1.67% test_openmetrics.Test.test_openmetrics: 2.2309s
[2020-04-29T16:17:56.007Z] [success] 1.42% test_appsearch.Test.test_stats: 1.8927s
[2020-04-29T16:17:56.007Z] [success] 1.25% test_xpack_base.Test.test_template: 1.6652s
[2020-04-29T16:17:56.007Z] [success] 0.95% test_ibmmq.Test.test_qmgr: 1.2710s
[2020-04-29T16:17:56.007Z] [success] 0.92% test_redisenterprise.Test_0.test_metricset_0_node: 1.2307s
[2020-04-29T16:17:56.007Z] [success] 0.90% test_activemq.ActiveMqTest_1.test_queue_metrics_collected: 1.1986s
[2020-04-29T16:17:56.007Z] [success] 0.81% test_redisenterprise.Test_0.test_metricset_1_proxy: 1.0830s
[2020-04-29T16:17:56.007Z] [success] 0.76% test_activemq.ActiveMqTest_0.test_queue_metrics_collected: 1.0140s
[2020-04-29T16:17:56.007Z] [success] 0.68% test_stan.TestStan.test_metricset_0_stats: 0.9048s
[2020-04-29T16:17:56.007Z] [success] 0.67% test_coredns.Test.test_stats: 0.8917s
[2020-04-29T16:17:56.007Z] [success] 0.64% test_activemq.ActiveMqTest_0.test_topic_metrics_collected: 0.8471s
[2020-04-29T16:17:56.007Z] [success] 0.63% test_activemq.ActiveMqTest_1.test_broker_metrics_collected: 0.8422s
[2020-04-29T16:17:56.007Z] [success] 0.61% test_stan.TestStan.test_metricset_1_channels: 0.8130s
[2020-04-29T16:17:56.007Z] [success] 0.59% test_mssql.Test.test_status: 0.7851s
[2020-04-29T16:17:56.007Z] [success] 0.59% test_mssql.Test.test_performance: 0.7812s
[2020-04-29T16:17:56.008Z] [success] 0.58% test_stan.TestStan.test_metricset_2_subscriptions: 0.7766s
[2020-04-29T16:17:56.008Z] [success] 0.48% test_xpack_base.Test.test_start_stop: 0.6363s
[2020-04-29T16:17:56.008Z] ----------------------------------------------------------------------
[2020-04-29T16:17:56.008Z] Ran 24 tests in 653.076s
[2020-04-29T16:17:56.008Z] 
[2020-04-29T16:17:56.008Z] OK
[2020-04-29T16:17:56.008Z] >> python test: Integration Testing Complete
[2020-04-29T16:17:56.270Z] >> Stopping Docker test environment...
[2020-04-29T16:17:56.602Z] WARNING: You are using pip version 19.2.3, however version 20.1 is available.
[2020-04-29T16:17:56.602Z] You should consider upgrading via the 'python -m pip install --upgrade pip' command.
[2020-04-29T16:17:56.602Z] S.S.SSSS
[2020-04-29T16:17:56.602Z] [success] 80.18% test_file_integrity.Test.test_non_recursive: 1.4581s
[2020-04-29T16:17:56.602Z] [success] 19.82% test_base.Test.test_start_stop: 0.3604s
[2020-04-29T16:17:56.602Z] ----------------------------------------------------------------------
[2020-04-29T16:17:56.602Z] Ran 8 tests in 1.821s
[2020-04-29T16:17:56.602Z] 
[2020-04-29T16:17:56.602Z] OK (SKIP=6)
[2020-04-29T16:17:56.602Z] >> python test: Unit Testing Complete
[2020-04-29T16:17:56.889Z] Recording test results
[2020-04-29T16:17:59.031Z] Recording test results
[2020-04-29T16:18:01.547Z] Archiving artifacts
[2020-04-29T16:18:02.509Z] Archiving artifacts
[2020-04-29T16:18:03.639Z] + curl -sSLo codecov https://codecov.io/bash
[2020-04-29T16:18:04.219Z] + FILE=auditbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=filebeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=heartbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=libbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=metricbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=packetbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-04-29T16:18:04.220Z] + FILE=journalbeat/build/coverage/full.cov
[2020-04-29T16:18:04.220Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-04-29T16:18:05.154Z] SUMMARY:
[2020-04-29T16:18:05.154Z]   Fail:     0
[2020-04-29T16:18:05.154Z]   Skip:     1
[2020-04-29T16:18:05.154Z]   Pass:     146
[2020-04-29T16:18:05.154Z]   Packages: 13
[2020-04-29T16:18:05.155Z]   Duration: 2m31.9258097s
[2020-04-29T16:18:05.155Z]   Coverage Report: C:\Users\jenkins\workspace\Beats_beats-beats-mbp_PR-18097\src\github.com\elastic\beats\x-pack\functionbeat\build\TEST-go-unit.html
[2020-04-29T16:18:05.155Z]   JUnit Report:    C:\Users\jenkins\workspace\Beats_beats-beats-mbp_PR-18097\src\github.com\elastic\beats\x-pack\functionbeat\build\TEST-go-unit.xml
[2020-04-29T16:18:05.155Z]   Output File:     C:\Users\jenkins\workspace\Beats_beats-beats-mbp_PR-18097\src\github.com\elastic\beats\x-pack\functionbeat\build\TEST-go-unit.out
[2020-04-29T16:18:05.155Z] >> go test: Unit Test Passed
[2020-04-29T16:19:56.714Z] >> python test: Unit Testing
[2020-04-29T16:20:53.357Z] WARNING: You are using pip version 19.2.3, however version 20.1 is available.
[2020-04-29T16:20:53.357Z] You should consider upgrading via the 'python -m pip install --upgrade pip' command.
[2020-04-29T16:20:53.357Z] S..
[2020-04-29T16:20:53.357Z] [success] 66.83% test_base.Test.test_export_function: 0.2375s
[2020-04-29T16:20:53.357Z] [success] 33.17% test_base.Test.test_export_function_invalid_conf: 0.1179s
[2020-04-29T16:20:53.357Z] ----------------------------------------------------------------------
[2020-04-29T16:20:53.357Z] Ran 3 tests in 0.356s
[2020-04-29T16:20:53.357Z] 
[2020-04-29T16:20:53.357Z] OK (SKIP=1)
[2020-04-29T16:20:53.357Z] >> python test: Unit Testing Complete
[2020-04-29T16:20:53.942Z] Recording test results
[2020-04-29T16:21:03.652Z] Archiving artifacts
[2020-04-29T16:21:11.364Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18097
[2020-04-29T16:21:12.252Z] [INFO] getVaultSecret: Getting secrets
[2020-04-29T16:21:12.377Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-29T16:21:13.942Z] + chmod 755 generate-build-data.sh
[2020-04-29T16:21:13.943Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18097/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18097/runs/1 FAILURE 4787329
[2020-04-29T16:21:14.854Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18097/runs/1/steps/?limit=10000 -o steps-info.json
[2020-04-29T16:21:16.197Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18097/runs/1/tests/?status=FAILED -o tests-errors.json

Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

I think the CI failure is not related?!

@ChrsMark ChrsMark merged commit bee8ef3 into elastic:master Apr 30, 2020
@andresrc andresrc removed [zube]: Done needs_team Indicates that the issue/PR needs a Team:* label labels May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs review Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants