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

Cherry-pick to 7.8: fix: use a fixed worker type for tests (#20130) #20248

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

kuisathaverat
Copy link
Contributor

Backports the following commits to 7.8:

@kuisathaverat kuisathaverat self-assigned this Jul 27, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 27, 2020
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20248 opened]

  • Start Time: 2020-07-27T15:39:46.759+0000

  • Duration: 80 min 15 sec

Test stats 🧪

Test Results
Failed 13
Passed 9276
Skipped 1586
Total 10875

Test errors

Expand to view the tests failures

  • Name: Build and Test / Auditbeat x-pack / test_connected_udp_ipv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.099
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_connected_udp_ipv6 – test_system_socket.Test

    • Age: 1
    • Duration: 60.111
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_dns_enrichment – test_system_socket.Test

    • Age: 1
    • Duration: 60.099
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_dns_long_request – test_system_socket.Test

    • Age: 1
    • Duration: 60.102
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_dns_udp_ipv6 – test_system_socket.Test

    • Age: 1
    • Duration: 60.095
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_dns_unidirectional_udp – test_system_socket.Test

    • Age: 1
    • Duration: 60.097
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_multi_udp_upv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.11
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_no_dns_enrichment – test_system_socket.Test

    • Age: 1
    • Duration: 60.094
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_tcp_ipv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.095
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_tcp_ipv6_disabled – test_system_socket.Test

    • Age: 1
    • Duration: 60.095
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_udp_ipv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.092
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_udp_ipv6 – test_system_socket.Test

    • Age: 1
    • Duration: 60.106
    • Error Details: Expected exit code to be 0, but it was 1
  • Name: Build and Test / Auditbeat x-pack / test_udp_ipv6_disabled – test_system_socket.Test

    • Age: 1
    • Duration: 60.101
    • Error Details: Expected exit code to be 0, but it was 1

Steps errors

Expand to view the steps failures

  • Name: Mage update build test

    • Description: mage update build test

    • Duration: 23 min 30 sec

    • Start Time: 2020-07-27T16:03:51.794+0000

    • log

  • 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

    • Duration: 2 min 22 sec

    • Start Time: 2020-07-27T16:24:19.110+0000

    • log

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

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

    • Duration: 2 min 20 sec

    • Start Time: 2020-07-27T16:40:07.751+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-27T16:59:25.619Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-27T16:59:25.619Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-07-27T16:59:25.619Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-27T16:59:25.619Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-07-27T16:59:28.258Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats
[2020-07-27T16:59:28.592Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-27T16:59:28.617Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Lint
[2020-07-27T16:59:28.778Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Winlogbeat-oss
[2020-07-27T16:59:28.953Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-07-27T16:59:29.125Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-07-27T16:59:29.309Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Dockerlogbeat
[2020-07-27T16:59:29.462Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Journalbeat-oss
[2020-07-27T16:59:29.616Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-07-27T16:59:29.774Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-07-27T16:59:29.937Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-07-27T16:59:30.108Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-07-27T16:59:30.314Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-27T16:59:30.482Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-07-27T16:59:30.664Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-27T16:59:30.817Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-27T16:59:30.982Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-27T16:59:31.149Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Heartbeat-oss
[2020-07-27T16:59:31.321Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-07-27T16:59:31.505Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-07-27T16:59:31.676Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Libbeat-x-pack
[2020-07-27T16:59:31.845Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-07-27T16:59:32.013Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-07-27T16:59:32.222Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-27T16:59:32.390Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-27T16:59:32.545Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-27T16:59:32.708Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Packetbeat-oss
[2020-07-27T16:59:32.873Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-07-27T16:59:33.044Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-27T16:59:33.224Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-07-27T16:59:33.394Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-27T16:59:33.550Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-27T16:59:33.705Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-07-27T16:59:33.865Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-07-27T16:59:34.026Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-07-27T16:59:34.181Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-27T16:59:34.335Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-07-27T16:59:34.493Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Filebeat-oss
[2020-07-27T16:59:34.659Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Libbeat-oss
[2020-07-27T16:59:34.817Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-07-27T16:59:34.966Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-07-27T16:59:35.118Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-07-27T16:59:35.272Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-07-27T16:59:35.423Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Functionbeat-Windows
[2020-07-27T16:59:35.595Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Heartbeat-Windows
[2020-07-27T16:59:35.752Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-07-27T16:59:35.905Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-07-27T16:59:36.065Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-27T16:59:36.506Z] + cat
[2020-07-27T16:59:36.506Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-27T16:59:36.506Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-27T16:59:43.099Z] runbld>>> runbld started
[2020-07-27T16:59:43.099Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-27T16:59:44.486Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20248' in order of occurrence in the config (last value wins).
[2020-07-27T16:59:45.871Z] runbld>>> Debug logging enabled.
[2020-07-27T16:59:45.871Z] runbld>>> Storing result
[2020-07-27T16:59:45.871Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-27T16:59:45.871Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200727165945-25763746
[2020-07-27T16:59:45.871Z] runbld>>> Adding system facts.
[2020-07-27T16:59:46.816Z] runbld>>> Adding vcs info for the latest commit:  85cf74837a2b150d69b8eb43b7b9f48568da4981
[2020-07-27T16:59:46.816Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-27T16:59:46.816Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-27T16:59:46.816Z] Processing JUnit reports with runbld...
[2020-07-27T16:59:46.816Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-27T16:59:47.387Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-27T16:59:47.387Z] runbld>>> DURATION: 30ms
[2020-07-27T16:59:47.387Z] runbld>>> STDOUT: 40 bytes
[2020-07-27T16:59:47.387Z] runbld>>> STDERR: 49 bytes
[2020-07-27T16:59:47.387Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-27T16:59:47.387Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats
[2020-07-27T16:59:48.775Z] runbld>>> Storing build metadata: 
[2020-07-27T16:59:48.775Z] runbld>>> Adding test report.
[2020-07-27T16:59:48.775Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats
[2020-07-27T16:59:49.718Z] runbld>>> Found 115 test output files
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-27T16:59:50.291Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-27T16:59:50.864Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-07-27T16:59:50.864Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20248/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-07-27T16:59:51.806Z] runbld>>> Test output logs contained: Errors: 0 Failures: 13 Tests: 10725 Skipped: 1349
[2020-07-27T16:59:51.806Z] runbld>>> Storing result
[2020-07-27T16:59:52.067Z] runbld>>> FAILURES: 13
[2020-07-27T16:59:54.612Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-27T16:59:54.612Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200727165945-25763746
[2020-07-27T16:59:54.612Z] runbld>>> Email notification disabled by environment variable.
[2020-07-27T16:59:54.612Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-27T17:00:00.188Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20248
[2020-07-27T17:00:00.368Z] [INFO] getVaultSecret: Getting secrets
[2020-07-27T17:00:00.463Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-27T17:00:01.587Z] + chmod 755 generate-build-data.sh
[2020-07-27T17:00:01.587Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20248/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20248/runs/1 FAILURE 4814556
[2020-07-27T17:00:01.587Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20248/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-27T17:00:03.449Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20248/runs/1/tests/?status=FAILED -o tests-errors.json

@kuisathaverat kuisathaverat added automation Team:Automation Label for the Observability productivity team labels Jul 28, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 28, 2020
@kuisathaverat kuisathaverat merged commit abc3396 into elastic:7.8 Jul 28, 2020
@kuisathaverat kuisathaverat deleted the backport/7.8/pr-20130 branch December 24, 2020 11:07
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation backport Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants