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: [CI] MacOS stages for branches/tags and PRs when certain conditions (#20069) #20333

Merged
merged 2 commits into from
Jul 31, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Jul 30, 2020

Backports the following commits to 7.9:

@v1v v1v added automation backport ci Team:Automation Label for the Observability productivity team labels Jul 30, 2020
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 30, 2020
@v1v v1v self-assigned this Jul 30, 2020
@v1v v1v requested a review from a team July 30, 2020 07:12
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 30, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20333 updated]

  • Start Time: 2020-07-30T07:59:35.456+0000

  • Duration: 123 min 38 sec

Test stats 🧪

Test Results
Failed 14
Passed 17013
Skipped 1829
Total 18856

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestDockerStart – docker

    • Age: 1
    • Duration: 12.22
    • Error Details: Failed
  • Name: Build and Test / Auditbeat x-pack / test_connected_udp_ipv4 – test_system_socket.Test

    • Age: 1
    • Duration: 60.108
    • 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.111
    • 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.109
    • 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.117
    • 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.113
    • 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.109
    • 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.11
    • 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.111
    • 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.109
    • 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.117
    • 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.113
    • 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: 22 min 44 sec

    • Start Time: 2020-07-30T08:25:08.759+0000

    • log

  • Name: Mage build test

    • Description: mage build test

    • Duration: 23 min 51 sec

    • Start Time: 2020-07-30T08:25:10.298+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-30T09:58:42.364Z] It requires Docker daemon to be installed and running
[2020-07-30T10:00:17.348Z] Still waiting to schedule task
[2020-07-30T10:00:17.348Z] All nodes of label ‘windows-immutable&&windows-2019’ are offline
[2020-07-30T10:01:42.589Z] Cancelling nested steps due to timeout
[2020-07-30T10:01:42.750Z] Failed in branch Packetbeat
[2020-07-30T10:01:42.896Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats
[2020-07-30T10:01:43.203Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-30T10:01:43.216Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Lint
[2020-07-30T10:01:43.309Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Winlogbeat-oss
[2020-07-30T10:01:43.455Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-07-30T10:01:43.533Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-07-30T10:01:43.633Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Dockerlogbeat
[2020-07-30T10:01:43.741Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Journalbeat-oss
[2020-07-30T10:01:43.834Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-07-30T10:01:43.925Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-07-30T10:01:44.023Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Packetbeat-Linux
[2020-07-30T10:01:44.111Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-07-30T10:01:44.199Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-30T10:01:44.281Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-07-30T10:01:44.368Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Heartbeat-oss
[2020-07-30T10:01:44.452Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-07-30T10:01:44.543Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-30T10:01:44.633Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-07-30T10:01:44.727Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-30T10:01:44.824Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-07-30T10:01:44.925Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-30T10:01:45.022Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Libbeat-x-pack
[2020-07-30T10:01:45.106Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-30T10:01:45.211Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-07-30T10:01:45.325Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-30T10:01:45.406Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-07-30T10:01:45.486Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-07-30T10:01:45.572Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Libbeat-oss
[2020-07-30T10:01:45.667Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-30T10:01:45.752Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-oss
[2020-07-30T10:01:45.832Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-07-30T10:01:45.921Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-07-30T10:01:45.999Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-30T10:01:46.091Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-07-30T10:01:46.178Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-07-30T10:01:46.259Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-30T10:01:46.336Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-07-30T10:01:46.412Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-07-30T10:01:46.490Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-30T10:01:46.571Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-30T10:01:46.660Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-30T10:01:46.770Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-07-30T10:01:46.874Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-07-30T10:01:46.957Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-07-30T10:01:47.046Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Functionbeat-Windows
[2020-07-30T10:01:47.129Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Heartbeat-Windows
[2020-07-30T10:01:47.209Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-07-30T10:01:47.579Z] + cat
[2020-07-30T10:01:47.580Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-30T10:01:47.580Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-30T10:01:54.370Z] runbld>>> runbld started
[2020-07-30T10:01:54.370Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-30T10:01:55.787Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20333' in order of occurrence in the config (last value wins).
[2020-07-30T10:01:57.175Z] runbld>>> Debug logging enabled.
[2020-07-30T10:01:57.175Z] runbld>>> Storing result
[2020-07-30T10:01:57.175Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-30T10:01:57.175Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200730100156-6C6A3298
[2020-07-30T10:01:57.175Z] runbld>>> Adding system facts.
[2020-07-30T10:01:58.125Z] runbld>>> Adding vcs info for the latest commit:  6858172bfa1dfc5129e9b13303c8e4ca71274cd7
[2020-07-30T10:01:58.125Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-30T10:01:58.125Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-30T10:01:58.386Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-30T10:01:58.386Z] Processing JUnit reports with runbld...
[2020-07-30T10:01:58.648Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-30T10:01:58.648Z] runbld>>> DURATION: 26ms
[2020-07-30T10:01:58.648Z] runbld>>> STDOUT: 40 bytes
[2020-07-30T10:01:58.648Z] runbld>>> STDERR: 49 bytes
[2020-07-30T10:01:58.648Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-30T10:01:58.648Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats
[2020-07-30T10:02:00.036Z] runbld>>> Storing build metadata: 
[2020-07-30T10:02:00.036Z] runbld>>> Adding test report.
[2020-07-30T10:02:00.036Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats
[2020-07-30T10:02:00.609Z] runbld>>> Found 133 test output files
[2020-07-30T10:02:01.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-30T10:02:01.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-30T10:02:01.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-30T10:02:01.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-30T10:02:01.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-30T10:02:01.843Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-07-30T10:02:01.843Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20333/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-07-30T10:02:03.241Z] runbld>>> Test output logs contained: Errors: 0 Failures: 14 Tests: 18710 Skipped: 1552
[2020-07-30T10:02:03.503Z] runbld>>> Storing result
[2020-07-30T10:02:03.503Z] runbld>>> FAILURES: 14
[2020-07-30T10:02:06.806Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-30T10:02:06.806Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200730100156-6C6A3298
[2020-07-30T10:02:06.806Z] runbld>>> Email notification disabled by environment variable.
[2020-07-30T10:02:06.806Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-30T10:02:12.750Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20333
[2020-07-30T10:02:13.010Z] [INFO] getVaultSecret: Getting secrets
[2020-07-30T10:02:13.085Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-30T10:02:13.944Z] + chmod 755 generate-build-data.sh
[2020-07-30T10:02:13.945Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20333/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20333/runs/2 FAILURE 7358223
[2020-07-30T10:02:13.945Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20333/runs/2/steps/?limit=10000 -o steps-info.json
[2020-07-30T10:02:16.427Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20333/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-07-30T10:02:17.024Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20333/runs/2/log/ -o pipeline-log.txt

@v1v v1v merged commit 3152e56 into elastic:7.9 Jul 31, 2020
@v1v v1v deleted the backport/7.9/pr-20069 branch July 31, 2020 07:08
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…certain conditions (elastic#20069) (elastic#20333)

* [CI] MacOS stages for branches/tags and PRs when certain conditions (elastic#20069)
* [CI] fix null string with contains (elastic#20182)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation backport ci Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants