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.9: fix: use a fixed worker type for tests (#20130) #20247

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

kuisathaverat
Copy link
Contributor

Backports the following commits to 7.9:

@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 #20247 opened]

  • Start Time: 2020-07-27T15:38:31.840+0000

  • Duration: 78 min 8 sec

Test stats 🧪

Test Results
Failed 14
Passed 9844
Skipped 1588
Total 11446

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat Mac OS X / test_inode_marker_based_identity_tracking – test_input.Test

    • Age: 1
    • Duration: 10.269
    • Error Details: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build and Test / Auditbeat x-pack / test_connected_udp_ipv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.1
    • 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.106
    • 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.115
    • 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.109
    • 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.093
    • 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.094
    • 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.109
    • 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.104
    • 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.109
    • 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.099
    • 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.098
    • 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.101
    • 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.118
    • Error Details: Expected exit code to be 0, but it was 1

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 8 min 25 sec

    • Start Time: 2020-07-27T16:02:32.222+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Duration: 0 min 11 sec

    • Start Time: 2020-07-27T16:11:29.748+0000

    • log

  • Name: Mage update build test

    • Description: mage update build test

    • Duration: 21 min 29 sec

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

    • log

  • Name: Report to Codecov

    • Description: .ci/scripts/report-codecov.sh auditbeat filebeat heartbeat journalbeat libbeat metricbeat packetbeat winlogbeat

    • Duration: 1 min 27 sec

    • Start Time: 2020-07-27T16:23:56.979+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-27T16:55:58.921Z] + '[' -f packetbeat/build/coverage/full.cov ']'
[2020-07-27T16:55:58.921Z] + for i in "$@"
[2020-07-27T16:55:58.921Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-27T16:55:58.921Z] + '[' -f winlogbeat/build/coverage/full.cov ']'
[2020-07-27T16:56:02.644Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats
[2020-07-27T16:56:03.014Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-27T16:56:03.049Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Lint
[2020-07-27T16:56:03.287Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-07-27T16:56:03.518Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-07-27T16:56:03.982Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-07-27T16:56:04.175Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Winlogbeat-oss
[2020-07-27T16:56:04.342Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-07-27T16:56:04.513Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-07-27T16:56:04.690Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-27T16:56:04.862Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-07-27T16:56:05.045Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Dockerlogbeat
[2020-07-27T16:56:05.205Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Journalbeat-oss
[2020-07-27T16:56:05.397Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-07-27T16:56:05.557Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-07-27T16:56:05.721Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-27T16:56:05.911Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-27T16:56:06.099Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-27T16:56:06.283Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-07-27T16:56:06.455Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Heartbeat-oss
[2020-07-27T16:56:06.645Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-07-27T16:56:06.806Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-27T16:56:06.978Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-07-27T16:56:07.142Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-27T16:56:07.329Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Libbeat-x-pack
[2020-07-27T16:56:07.526Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-27T16:56:07.725Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Packetbeat-oss
[2020-07-27T16:56:07.886Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-07-27T16:56:08.150Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-07-27T16:56:08.366Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-27T16:56:08.552Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-27T16:56:08.730Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-27T16:56:08.907Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-07-27T16:56:09.073Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-07-27T16:56:09.257Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-07-27T16:56:09.417Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-07-27T16:56:09.588Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-27T16:56:09.751Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Filebeat-oss
[2020-07-27T16:56:09.919Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Libbeat-oss
[2020-07-27T16:56:10.108Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-07-27T16:56:10.295Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-07-27T16:56:10.454Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-07-27T16:56:10.606Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Functionbeat-Windows
[2020-07-27T16:56:10.766Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-07-27T16:56:10.936Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-07-27T16:56:11.113Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Heartbeat-Windows
[2020-07-27T16:56:11.283Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-07-27T16:56:11.434Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-27T16:56:11.881Z] + cat
[2020-07-27T16:56:11.881Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-27T16:56:11.881Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-27T16:56:20.029Z] runbld>>> runbld started
[2020-07-27T16:56:20.029Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-27T16:56:21.942Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20247' in order of occurrence in the config (last value wins).
[2020-07-27T16:56:23.329Z] runbld>>> Debug logging enabled.
[2020-07-27T16:56:23.329Z] runbld>>> Storing result
[2020-07-27T16:56:23.329Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-27T16:56:23.329Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200727165622-281BB9D8
[2020-07-27T16:56:23.329Z] runbld>>> Adding system facts.
[2020-07-27T16:56:24.728Z] runbld>>> Adding vcs info for the latest commit:  8783ea2f5876cc216d07556f0b78c9687f9263ac
[2020-07-27T16:56:24.728Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-27T16:56:24.728Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-27T16:56:24.728Z] Processing JUnit reports with runbld...
[2020-07-27T16:56:24.728Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-27T16:56:24.990Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-27T16:56:24.990Z] runbld>>> DURATION: 35ms
[2020-07-27T16:56:24.990Z] runbld>>> STDOUT: 40 bytes
[2020-07-27T16:56:24.990Z] runbld>>> STDERR: 49 bytes
[2020-07-27T16:56:24.990Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-27T16:56:24.990Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats
[2020-07-27T16:56:25.938Z] runbld>>> Storing build metadata: 
[2020-07-27T16:56:25.938Z] runbld>>> Adding test report.
[2020-07-27T16:56:25.938Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats
[2020-07-27T16:56:26.880Z] runbld>>> Found 115 test output files
[2020-07-27T16:56:27.451Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-27T16:56:27.451Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-27T16:56:27.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-27T16:56:27.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-27T16:56:27.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-27T16:56:27.978Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-07-27T16:56:28.239Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20247/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-07-27T16:56:29.624Z] runbld>>> Test output logs contained: Errors: 1 Failures: 13 Tests: 11300 Skipped: 1351
[2020-07-27T16:56:29.624Z] runbld>>> Storing result
[2020-07-27T16:56:29.624Z] runbld>>> FAILURES: 14
[2020-07-27T16:56:32.958Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-27T16:56:32.958Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200727165622-281BB9D8
[2020-07-27T16:56:32.958Z] runbld>>> Email notification disabled by environment variable.
[2020-07-27T16:56:32.958Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-27T16:56:38.553Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20247
[2020-07-27T16:56:38.715Z] [INFO] getVaultSecret: Getting secrets
[2020-07-27T16:56:38.809Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-27T16:56:39.873Z] + chmod 755 generate-build-data.sh
[2020-07-27T16:56:39.873Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20247/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20247/runs/1 FAILURE 4687759
[2020-07-27T16:56:39.874Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20247/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-27T16:56:43.101Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20247/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-07-27T16:56:43.352Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20247/runs/1/log/ -o pipeline-log.txt

@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 a347837 into elastic:7.9 Jul 28, 2020
v1v added a commit to v1v/beats that referenced this pull request Jul 29, 2020
* upstream/7.9: (32 commits)
  feat(ci): support storing artifacts for PRs in separate dirs (elastic#20282) (elastic#20301)
  Cisco ASA: Fix message 106100 (elastic#20245) (elastic#20277)
  [CI] Change upstream reference (elastic#20296) (elastic#20297)
  [docs] Fix Windows download link for agent (elastic#20258) (elastic#20290)
  Cherry-pick to 7.9: [docs] Rename release highlights to what's new (elastic#20255) (elastic#20285)
  Elastic agent on k8s (elastic#19727) (elastic#20262)
  [Filebeat Module] Defender ATP - Adding dashboard (elastic#20058) (elastic#20093)
  fix: use a fixed worker type for tests (elastic#20130) (elastic#20247)
  [Elastic Agent] Fix Windows powershell install service script (elastic#20203) (elastic#20252)
  [Ingest Manager] Fixed unzip on older windows  (elastic#20088) (elastic#20109)
  adding possibility to override content-type checks, it was breaking certain webhooks that is not able to set content-headers at all. Still defaults to application/json (elastic#20232) (elastic#20237)
  [Filebeat][Gsuite] Make GSuite docs more clear (elastic#19981) (elastic#20067)
  Increase index.max_docvalue_fields_search to 200 (elastic#20218) (elastic#20221)
  Call host parser only once when building light metricsets (elastic#20149) (elastic#20190)
  [Metricbeat] Use MySQL Host Parser in Query metricset (elastic#20191) (elastic#20212)
  [Filebeat] Ignore cylance.protect timestamps while testing (elastic#20207) (elastic#20217)
  [libbeat] Fix write error in ensureWriter.Write (elastic#20112) (elastic#20145)
  Cherry-pick elastic#20127 to 7.9: Fix failing unit tests on windows  (elastic#20180)
  Remove f5/firepass rsa2elk fileset (elastic#20160) (elastic#20206)
  Cherry-pick elastic#20138 to 7.9: [Filebeat] Update crowdstrike module (elastic#20177)
  ...
@kuisathaverat kuisathaverat deleted the backport/7.9/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