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

[CI] add more resilience #20505

Merged
merged 1 commit into from
Aug 11, 2020
Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Aug 10, 2020

What does this PR do?

Retry with sleep the python installation

Why is it important?

If something bad happened with the choco installation, then let's try again with some pause.

@v1v v1v self-assigned this Aug 10, 2020
@v1v v1v added the automation label Aug 10, 2020
@v1v v1v requested a review from a team August 10, 2020 08:17
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 10, 2020
@v1v v1v marked this pull request as ready for review August 10, 2020 08:20
@v1v v1v added the Team:Automation Label for the Observability productivity team label Aug 10, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 10, 2020
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

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

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Started by user Victor Martinez]

  • Start Time: 2020-08-10T11:18:11.546+0000

  • Duration: 122 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 17679
Skipped 1929
Total 19608

Log output

Expand to view the last 100 lines of log output

[2020-08-10T13:20:03.774Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2020-08-10T13:20:05.322Z] Failed in branch Libbeat x-pack
[2020-08-10T13:20:05.486Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats
[2020-08-10T13:20:05.799Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-08-10T13:20:05.814Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Lint
[2020-08-10T13:20:05.917Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-08-10T13:20:05.995Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-08-10T13:20:06.081Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-08-10T13:20:06.163Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-08-10T13:20:06.241Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Winlogbeat-oss
[2020-08-10T13:20:06.328Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-08-10T13:20:06.408Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-08-10T13:20:06.490Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Dockerlogbeat
[2020-08-10T13:20:06.568Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Journalbeat-oss
[2020-08-10T13:20:06.655Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-08-10T13:20:06.777Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-08-10T13:20:06.868Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-08-10T13:20:06.958Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Packetbeat-Linux
[2020-08-10T13:20:07.045Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-08-10T13:20:07.126Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-08-10T13:20:07.204Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Heartbeat-oss
[2020-08-10T13:20:07.290Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-08-10T13:20:07.384Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-08-10T13:20:07.483Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-08-10T13:20:07.583Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-08-10T13:20:07.676Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-08-10T13:20:07.767Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-08-10T13:20:07.849Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-08-10T13:20:07.939Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-08-10T13:20:08.023Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-08-10T13:20:08.109Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-Windows
[2020-08-10T13:20:08.203Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-08-10T13:20:08.299Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-08-10T13:20:08.386Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-08-10T13:20:08.471Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-Windows
[2020-08-10T13:20:08.559Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-08-10T13:20:08.652Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-08-10T13:20:08.741Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Heartbeat-Windows
[2020-08-10T13:20:08.824Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-08-10T13:20:08.901Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Functionbeat-Windows
[2020-08-10T13:20:08.980Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Packetbeat-Windows
[2020-08-10T13:20:09.065Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-oss
[2020-08-10T13:20:09.158Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Filebeat-x-pack
[2020-08-10T13:20:09.258Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Libbeat-oss
[2020-08-10T13:20:09.368Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-08-10T13:20:09.470Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-08-10T13:20:09.562Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-08-10T13:20:09.647Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-08-10T13:20:09.729Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-08-10T13:20:09.807Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-08-10T13:20:09.885Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-08-10T13:20:09.961Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Libbeat-x-pack
[2020-08-10T13:20:10.349Z] + cat
[2020-08-10T13:20:10.349Z] + /usr/local/bin/runbld ./runbld-script
[2020-08-10T13:20:10.349Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-08-10T13:20:16.957Z] runbld>>> runbld started
[2020-08-10T13:20:16.957Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-08-10T13:20:18.407Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20505' in order of occurrence in the config (last value wins).
[2020-08-10T13:20:19.790Z] runbld>>> Debug logging enabled.
[2020-08-10T13:20:19.790Z] runbld>>> Storing result
[2020-08-10T13:20:19.790Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-08-10T13:20:19.790Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200810132019-9A656D9C
[2020-08-10T13:20:19.790Z] runbld>>> Adding system facts.
[2020-08-10T13:20:21.178Z] runbld>>> Adding vcs info for the latest commit:  24251269f64c4d5e4868da6ffcecc6fc9ffb3f4b
[2020-08-10T13:20:21.178Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-08-10T13:20:21.178Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-08-10T13:20:21.178Z] + echo 'Processing JUnit reports with runbld...'
[2020-08-10T13:20:21.178Z] Processing JUnit reports with runbld...
[2020-08-10T13:20:21.439Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-08-10T13:20:21.440Z] runbld>>> DURATION: 41ms
[2020-08-10T13:20:21.440Z] runbld>>> STDOUT: 40 bytes
[2020-08-10T13:20:21.440Z] runbld>>> STDERR: 49 bytes
[2020-08-10T13:20:21.440Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-08-10T13:20:21.440Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats
[2020-08-10T13:20:22.388Z] runbld>>> Storing build metadata: 
[2020-08-10T13:20:22.388Z] runbld>>> Adding test report.
[2020-08-10T13:20:22.388Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats
[2020-08-10T13:20:23.329Z] runbld>>> Found 135 test output files
[2020-08-10T13:20:23.904Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-08-10T13:20:23.904Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-08-10T13:20:24.166Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-08-10T13:20:24.166Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-08-10T13:20:24.166Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-08-10T13:20:24.167Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-08-10T13:20:24.167Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20505/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-08-10T13:20:26.099Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 19458 Skipped: 1658
[2020-08-10T13:20:26.359Z] runbld>>> Storing result
[2020-08-10T13:20:26.359Z] runbld>>> FAILURES: 0
[2020-08-10T13:20:26.359Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-08-10T13:20:26.359Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200810132019-9A656D9C
[2020-08-10T13:20:26.620Z] runbld>>> Email notification disabled by environment variable.
[2020-08-10T13:20:26.620Z] runbld>>> Slack notification disabled by environment variable.
[2020-08-10T13:20:32.597Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20505
[2020-08-10T13:20:32.812Z] [INFO] getVaultSecret: Getting secrets
[2020-08-10T13:20:32.888Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-10T13:20:33.647Z] + chmod 755 generate-build-data.sh
[2020-08-10T13:20:33.647Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20505/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20505/runs/2 ABORTED 7341841
[2020-08-10T13:20:33.647Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20505/runs/2/steps/?limit=10000 -o steps-info.json
[2020-08-10T13:20:36.130Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20505/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-08-10T13:20:36.681Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20505/runs/2/log/ -o pipeline-log.txt

@v1v
Copy link
Member Author

v1v commented Aug 11, 2020

Unrelated test failures

@v1v v1v merged commit 562d29c into elastic:master Aug 11, 2020
@v1v v1v deleted the feature/retry-python-installation branch August 11, 2020 10:46
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 Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants