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

[ITs] Revert healthcheck for elasticsearchssl service to the previous behaviour #20558

Merged
merged 1 commit into from
Aug 12, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Aug 11, 2020

What does this PR do?

Fix ES with SSL docker container

Why is it important?

To fix the ITs when running in the CI

Issues

Supersedes #20557

Tests

cd libbeat
mage build test
>> Building docker images
elasticsearch uses an image, skipping
elasticsearch_monitoring uses an image, skipping
elasticsearchssl uses an image, skipping
logstash uses an image, skipping
kibana uses an image, skipping
proxy_dep uses an image, skipping
Building redis
Building sredis
Building kafka
Building elasticsearch_kerberos.elastic
Building beat
Creating libbeat_8_0_0_3f33563ed9-snapshot_elasticsearch_monitoring_1       ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_kafka_1                          ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_elasticsearchssl_1               ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_kibana_1                         ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_redis_1                          ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_elasticsearch_1                  ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_elasticsearch_kerberos.elastic_1 ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_sredis_1                         ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_logstash_1                       ... done
Creating libbeat_8_0_0_3f33563ed9-snapshot_proxy_dep_1                      ... done
>> go test: Integration Testing

SUMMARY:
  Fail:     0
  Skip:     10
  Pass:     1919
  Packages: 114
  Duration: 5m5.242727402s
  JUnit Report: /go/src/github.com/elastic/beats/libbeat/build/TEST-go-integration.xml
  Output File:  /go/src/github.com/elastic/beats/libbeat/build/TEST-go-integration.out
>> go test: Integration Test Passed


@v1v v1v self-assigned this Aug 11, 2020
@v1v v1v added the automation label Aug 11, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 11, 2020
@v1v v1v requested a review from a team August 11, 2020 15:20
@v1v v1v added the Team:Automation Label for the Observability productivity team label Aug 11, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 11, 2020
@v1v v1v marked this pull request as ready for review August 11, 2020 15:21
@v1v v1v changed the title [ITs] Revert to the previous behaviour [ITs] Revert healthcheck for elasticsearchssl service to the previous behaviour Aug 11, 2020
@v1v v1v requested a review from jsoriano August 11, 2020 15:33
@v1v v1v added the bug label Aug 11, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 11, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [v1v commented: jenkins run the tests please, Started by user Victor Martinez, Rebuilds build #3]

  • Start Time: 2020-08-12T06:19:10.233+0000

  • Duration: 78 min 59 sec

Test stats 🧪

Test Results
Failed 0
Passed 17834
Skipped 1935
Total 19769

Steps errors

Expand to view the steps failures

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

    • Duration: 3 min 42 sec

    • Start Time: 2020-08-12T06:45:04.531+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-08-12T07:36:30.211Z] + tar --version
[2020-08-12T07:36:30.512Z] + tar -xpf source.tgz
[2020-08-12T07:36:40.845Z] + rm source.tgz
[2020-08-12T07:36:40.860Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats
[2020-08-12T07:36:40.885Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Lint
[2020-08-12T07:36:40.998Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-08-12T07:36:41.088Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-08-12T07:36:41.180Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Winlogbeat-oss
[2020-08-12T07:36:41.261Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-08-12T07:36:41.347Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-08-12T07:36:41.427Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Journalbeat-oss
[2020-08-12T07:36:41.511Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-08-12T07:36:41.591Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Dockerlogbeat
[2020-08-12T07:36:41.673Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-08-12T07:36:41.761Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-08-12T07:36:41.841Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-08-12T07:36:41.929Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-08-12T07:36:42.025Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-08-12T07:36:42.108Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Packetbeat-Linux
[2020-08-12T07:36:42.192Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-08-12T07:36:42.276Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-08-12T07:36:42.357Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-08-12T07:36:42.440Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Heartbeat-oss
[2020-08-12T07:36:42.524Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-08-12T07:36:42.601Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Libbeat-x-pack
[2020-08-12T07:36:42.686Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-08-12T07:36:42.763Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-08-12T07:36:42.847Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-08-12T07:36:42.930Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-08-12T07:36:43.015Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-08-12T07:36:43.102Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-08-12T07:36:43.184Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-Windows
[2020-08-12T07:36:43.270Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-08-12T07:36:43.354Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-08-12T07:36:43.436Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-08-12T07:36:43.518Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-Windows
[2020-08-12T07:36:43.602Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-08-12T07:36:43.687Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-08-12T07:36:43.771Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Functionbeat-Windows
[2020-08-12T07:36:43.856Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Packetbeat-Windows
[2020-08-12T07:36:43.941Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-x-pack
[2020-08-12T07:36:44.027Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Filebeat-oss
[2020-08-12T07:36:44.112Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Libbeat-oss
[2020-08-12T07:36:44.202Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Heartbeat-Windows
[2020-08-12T07:36:44.284Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-08-12T07:36:44.375Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-08-12T07:36:44.455Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-08-12T07:36:44.538Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-08-12T07:36:44.618Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-08-12T07:36:45.033Z] + cat
[2020-08-12T07:36:45.033Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-08-12T07:36:45.033Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-08-12T07:36:51.633Z] runbld>>> runbld started
[2020-08-12T07:36:51.633Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-08-12T07:36:53.555Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-08-12T07:36:53.822Z] runbld>>> Matches in the system config:
[2020-08-12T07:36:53.822Z] runbld>>> - Matched ^elastic\+beats
[2020-08-12T07:36:53.822Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-08-12T07:36:55.216Z] runbld>>> Debug logging enabled.
[2020-08-12T07:36:55.216Z] runbld>>> Storing result
[2020-08-12T07:36:55.216Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-08-12T07:36:55.216Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200812073654-83864F08
[2020-08-12T07:36:55.216Z] runbld>>> Adding system facts.
[2020-08-12T07:36:56.605Z] runbld>>> Adding vcs info for the latest commit:  6025eb3027894929b8f71b70959fe83618d8dbdb
[2020-08-12T07:36:56.605Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-08-12T07:36:56.605Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-08-12T07:36:56.605Z] Processing JUnit reports with runbld...
[2020-08-12T07:36:56.605Z] + echo 'Processing JUnit reports with runbld...'
[2020-08-12T07:36:56.866Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-08-12T07:36:56.866Z] runbld>>> DURATION: 27ms
[2020-08-12T07:36:56.866Z] runbld>>> STDOUT: 40 bytes
[2020-08-12T07:36:56.866Z] runbld>>> STDERR: 49 bytes
[2020-08-12T07:36:56.866Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-08-12T07:36:56.866Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20558
[2020-08-12T07:36:57.811Z] runbld>>> Storing build metadata: 
[2020-08-12T07:36:57.811Z] runbld>>> Adding test report.
[2020-08-12T07:36:57.812Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats
[2020-08-12T07:36:58.756Z] runbld>>> Found 137 test output files
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-08-12T07:36:59.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-08-12T07:36:59.965Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20558/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-08-12T07:37:01.882Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 19619 Skipped: 1664
[2020-08-12T07:37:02.144Z] runbld>>> Storing result
[2020-08-12T07:37:02.144Z] runbld>>> FAILURES: 0
[2020-08-12T07:37:02.406Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-08-12T07:37:02.406Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200812073654-83864F08
[2020-08-12T07:37:02.406Z] runbld>>> Email notification disabled by environment variable.
[2020-08-12T07:37:02.406Z] runbld>>> Slack notification disabled by environment variable.
[2020-08-12T07:37:08.061Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20558
[2020-08-12T07:37:08.174Z] [INFO] getVaultSecret: Getting secrets
[2020-08-12T07:37:08.251Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-12T07:37:09.071Z] + chmod 755 generate-build-data.sh
[2020-08-12T07:37:09.072Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20558/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20558/runs/4 FAILURE 4678576
[2020-08-12T07:37:09.072Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20558/runs/4/steps/?limit=10000 -o steps-info.json
[2020-08-12T07:37:11.555Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20558/runs/4/tests/?status=FAILED -o tests-errors.json
[2020-08-12T07:37:11.805Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20558/runs/4/log/ -o pipeline-log.txt

@v1v
Copy link
Member Author

v1v commented Aug 11, 2020

jenkins run the tests please

@v1v
Copy link
Member Author

v1v commented Aug 12, 2020

Generators Metricbeat Linux fails in the master branch too:

@v1v v1v merged commit cf959bf into elastic:master Aug 12, 2020
@v1v v1v deleted the fix/ssl-es branch August 12, 2020 07:39
v1v added a commit to v1v/beats that referenced this pull request Aug 12, 2020
v1v added a commit that referenced this pull request Aug 12, 2020
#20558) (#20538)

* [ITs] change healthcheck for elasticsearch (#20514)
* [ITs] Revert healthcheck for elasticsearchssl service to the previous behaviour (#20558)
v1v added a commit to v1v/beats that referenced this pull request Aug 12, 2020
…ne-2.0

* upstream/master: (39 commits)
  [ITs] Revert healthcheck for elasticsearchssl service to the previous behaviour (elastic#20558)
  [Heartbeat] Fix packaging (elastic#20566)
  [Heartbeat] Add Magefile to X-Pack (elastic#20549)
  [Packetbeat] Add "network" to event.category (elastic#20392)
  fix typo in docs (elastic#20541)
  Add service resource in k8s cluster role (elastic#20546)
  Update Golang version to 1.14.7 (elastic#20508)
  Add missing inputs to filebeat spec (elastic#20388)
  add warning log in aws and googlecloud module for API cost (elastic#20523)
  Fix fortinet.firewall.mem value to be interpreted as integer (elastic#19335)
  [CI] add more resilience (elastic#20505)
  [JJBB] fix credentials with a service account for golang-crossbuild (elastic#20537)
  [ITs] change healthcheck for elasticsearch (elastic#20514)
  [JJBB] fix credentials with a service account (elastic#20535)
  chore(ci): use build step for checking if is PR (elastic#20536)
  [CI] runbld project name (elastic#20466)
  Add panw.panos.endreason field (elastic#18705)
  [Filebeat] Fix PANW field spelling "veredict" to "verdict" (elastic#18808)
  Fix typo in netflow module docs (elastic#18992)
  Modified auditd ingest pipeline to handle node=hostname (elastic#19659)
  ...
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation bug Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants