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] Set MODULE per relevant stage #18777

Merged
merged 9 commits into from
Jun 5, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented May 27, 2020

What does this PR do?

  • Honor the env variable for those modules that are implementing the MODULE feature. For such, I did change the method signatures to use a map and use the withEnv, since env.MODULE does apply globally.

  • Filter specifically per top level folder. To avoid the issues spotted in [ci] speed builds for module specific changes #18592 (comment)

Why is it important?

Otherwise it causes errors if the MODULE is not valid.

How to test this PR locally

In the CI

Related issues

Closes #18741

Tasks

  • Refactor a bit
  • filter per component (x-pack vs oss)

@v1v v1v self-assigned this May 27, 2020
@v1v v1v added the automation label May 27, 2020
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels May 27, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 27, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #18777 updated]

  • Start Time: 2020-05-29T16:20:22.684+0000

  • Duration: 78 min 11 sec

Test stats 🧪

Test Results
Failed 0
Passed 9263
Skipped 1542
Total 10805

Steps errors

Expand to view the steps failures

  • Name: Install docker-compose 1.21.0

    • Description: .ci/scripts/install-docker-compose.sh

    • Duration: 1 min 57 sec

    • Start Time: 2020-05-29T16:43:50.499+0000

    • log

  • Name: Install docker-compose 1.21.0

    • Description: .ci/scripts/install-docker-compose.sh

    • Duration: 1 min 32 sec

    • Start Time: 2020-05-29T16:44:05.859+0000

    • log

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

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

    • Duration: 6 min 10 sec

    • Start Time: 2020-05-29T17:26:21.281+0000

    • log

@v1v v1v force-pushed the feature/module-at-stage-level branch from a02ff7b to d8663f9 Compare May 27, 2020 20:57
@v1v v1v marked this pull request as ready for review May 28, 2020 07:02
@v1v v1v marked this pull request as draft May 28, 2020 09:56
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! I have added a couple of suggestions.

Jenkinsfile Outdated Show resolved Hide resolved
Jenkinsfile Outdated Show resolved Hide resolved
Mage will be the way to go in the future, for such let's search for x-pack in the directory parameter or target (target is a bit more complex as it support more values than the folder only)
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 if it looks good to Jenkins, it looks good to me too. Thanks!

…-stage-level

* upstream/master: (30 commits)
  Add a GRPC listener service for Agent (elastic#18827)
  Disable host.* fields by default for iptables module (elastic#18756)
  [WIP] Clarify capabilities of the Filebeat auditd module (elastic#17068)
  fix: rename file and remove extra separator (elastic#18881)
  ci: enable JJBB (elastic#18812)
  Disable host.* fields by default for Checkpoint module (elastic#18754)
  Disable host.* fields by default for Cisco module (elastic#18753)
  Update latest.yml testing env to 7.7.0 (elastic#18535)
  Upgrade k8s.io/client-go and k8s keystore tests (elastic#18817)
  Add missing Jenkins stages for Auditbeat (elastic#18835)
  [Elastic Log Driver] Create a config shim between libbeat and the user (elastic#18605)
  Use indexers and matchers in config when defaults are enabled (elastic#18818)
  Fix panic on `metricbeat test modules` (elastic#18797)
  [CI] Fix permissions in MacOSX agents (elastic#18847)
  [Ingest Manager] When not port are specified and the https is used fallback to 443 (elastic#18844)
  [Ingest Manager] Fix install service script for windows (elastic#18814)
  [Metricbeat] Fix getting compute instance metadata with partial zone/region config (elastic#18757)
  Improve error messages in s3 input (elastic#18824)
  Add memory metrics into compute googlecloud (elastic#18802)
  include bucket name when logging error (elastic#18679)
  ...
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Started by user Victor Martinez]

  • Reason: Aborted from #13

  • Start Time: 2020-06-02T13:24:10.113+0000

  • Duration: 19 min 15 sec

  • Commit: 7509af0

Log output

Expand to view the last 100 lines of log output

[2020-06-02T13:43:02.746Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.747Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.749Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-06-02T13:43:02.750Z] Stage "Packetbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.751Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.752Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.753Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.755Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:02.756Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-02T13:43:03.412Z] Failed in branch Elastic Agent x-pack
[2020-06-02T13:43:03.413Z] Failed in branch Elastic Agent x-pack Windows
[2020-06-02T13:43:03.413Z] Failed in branch Elastic Agent Mac OS X
[2020-06-02T13:43:03.414Z] Failed in branch Filebeat oss
[2020-06-02T13:43:03.415Z] Failed in branch Filebeat x-pack
[2020-06-02T13:43:03.416Z] Failed in branch Filebeat Mac OS X
[2020-06-02T13:43:03.417Z] Failed in branch Filebeat x-pack Mac OS X
[2020-06-02T13:43:03.417Z] Failed in branch Filebeat Windows
[2020-06-02T13:43:03.418Z] Failed in branch Filebeat x-pack Windows
[2020-06-02T13:43:03.419Z] Failed in branch Auditbeat oss Linux
[2020-06-02T13:43:03.419Z] Failed in branch Auditbeat crosscompile
[2020-06-02T13:43:03.420Z] Failed in branch Auditbeat oss Mac OS X
[2020-06-02T13:43:03.421Z] Failed in branch Auditbeat oss Windows
[2020-06-02T13:43:03.421Z] Failed in branch Auditbeat x-pack
[2020-06-02T13:43:03.422Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-06-02T13:43:03.422Z] Failed in branch Auditbeat x-pack Windows
[2020-06-02T13:43:03.423Z] Failed in branch Libbeat x-pack
[2020-06-02T13:43:03.423Z] Failed in branch Metricbeat OSS Unit tests
[2020-06-02T13:43:03.424Z] Failed in branch Metricbeat OSS Integration tests
[2020-06-02T13:43:03.425Z] Failed in branch Metricbeat Python integration tests
[2020-06-02T13:43:03.425Z] Failed in branch Metricbeat crosscompile
[2020-06-02T13:43:03.426Z] Failed in branch Metricbeat Mac OS X
[2020-06-02T13:43:03.427Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-06-02T13:43:03.427Z] Failed in branch Metricbeat Windows
[2020-06-02T13:43:03.428Z] Failed in branch Metricbeat x-pack Windows
[2020-06-02T13:43:03.428Z] Failed in branch Winlogbeat Windows x-pack
[2020-06-02T13:43:03.429Z] Failed in branch Kubernetes
[2020-06-02T13:43:03.696Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:03.697Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:03.698Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-06-02T13:43:03.699Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:03.700Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:03.701Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-02T13:43:03.759Z] Failed in branch Packetbeat
[2020-06-02T13:43:03.759Z] Failed in branch dockerlogbeat
[2020-06-02T13:43:03.760Z] Failed in branch Journalbeat
[2020-06-02T13:43:04.113Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:04.115Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:04.116Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-02T13:43:04.117Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-02T13:43:04.182Z] Failed in branch Metricbeat x-pack
[2020-06-02T13:43:04.183Z] Failed in branch Winlogbeat
[2020-06-02T13:43:04.365Z] Failed in branch Heartbeat
[2020-06-02T13:43:04.366Z] Failed in branch Libbeat
[2020-06-02T13:43:04.367Z] Failed in branch Functionbeat
[2020-06-02T13:43:04.368Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-02T13:43:04.441Z] Failed in branch Generators
[2020-06-02T13:43:04.564Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-02T13:43:04.875Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-02T13:43:04.886Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Lint
[2020-06-02T13:43:05.259Z] + cat
[2020-06-02T13:43:05.259Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-02T13:43:05.259Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-02T13:43:11.843Z] runbld>>> runbld started
[2020-06-02T13:43:11.843Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-02T13:43:12.375Z] Click here to forcibly terminate running steps
[2020-06-02T13:43:13.755Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18777' in order of occurrence in the config (last value wins).
[2020-06-02T13:43:15.138Z] runbld>>> Debug logging enabled.
[2020-06-02T13:43:15.138Z] runbld>>> Storing result
[2020-06-02T13:43:15.138Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-02T13:43:15.138Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602134314-0D93E75E
[2020-06-02T13:43:15.138Z] runbld>>> Adding system facts.
[2020-06-02T13:43:16.087Z] runbld>>> Adding vcs info for the latest commit:  b7d693fc5acd39261645ca74ce5a7294b043f210
[2020-06-02T13:43:16.087Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-02T13:43:16.396Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-02T13:43:16.396Z] Processing JUnit reports with runbld...
[2020-06-02T13:43:16.396Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-02T13:43:16.656Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-02T13:43:16.656Z] runbld>>> DURATION: 19ms
[2020-06-02T13:43:16.656Z] runbld>>> STDOUT: 40 bytes
[2020-06-02T13:43:16.656Z] runbld>>> STDERR: 49 bytes
[2020-06-02T13:43:16.656Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-02T13:43:16.656Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-02T13:43:17.598Z] runbld>>> Storing build metadata: 
[2020-06-02T13:43:17.598Z] runbld>>> Adding test report.
[2020-06-02T13:43:17.598Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-02T13:43:18.547Z] runbld>>> Found 0 test output files
[2020-06-02T13:43:18.547Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-06-02T13:43:18.808Z] runbld>>> Storing result
[2020-06-02T13:43:19.069Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-02T13:43:19.069Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602134314-0D93E75E
[2020-06-02T13:43:19.069Z] runbld>>> Email notification disabled by environment variable.
[2020-06-02T13:43:19.069Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-02T13:43:24.680Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777
[2020-06-02T13:43:24.907Z] [INFO] getVaultSecret: Getting secrets
[2020-06-02T13:43:24.962Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-02T13:43:26.986Z] + chmod 755 generate-build-data.sh
[2020-06-02T13:43:26.987Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/12 ABORTED 1155417
[2020-06-02T13:43:26.987Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/12/steps/?limit=10000 -o steps-info.json
[2020-06-02T13:43:27.721Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/12/tests/?status=FAILED -o tests-errors.json
[2020-06-02T13:43:28.486Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/12/log/ -o pipeline-log.txt

…-stage-level

* upstream/master:
  [CI] Fix permissions should not fail (elastic#18899)
  Revert "Allow the Docker image to be run with a random user id (elastic#12905)" (elastic#18872)
  Add new fields to HAProxy module of Metricbeat (elastic#18523)
  Avoid duplicate names in dynamic_templates (elastic#18849)
@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: [Pull request #18777 updated]

  • Start Time: 2020-06-02T16:41:09.146+0000

  • Duration: 124 min 37 sec

Test stats 🧪

Test Results
Failed 6
Passed 9262
Skipped 1571
Total 10839

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – channels

    • Age: 4
    • Duration: 60.79
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – stats

    • Age: 4
    • Duration: 24.06
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – subscriptions

    • Age: 4
    • Duration: 24.1
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – channels

    • Age: 15
    • Duration: 24.03
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – stats

    • Age: 15
    • Duration: 36.49
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – subscriptions

    • Age: 15
    • Duration: 48.25
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Mage build test
    • Description: mage build test

    • Duration: 29 min 37 sec

    • Start Time: 2020-06-02T17:36:19.738+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-02T18:44:16.284Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-06-02T18:44:16.284Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-06-02T18:44:16.284Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-06-02T18:44:16.284Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-06-02T18:44:16.284Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-06-02T18:44:16.284Z] 
[2020-06-02T18:44:16.437Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-02T18:44:16.469Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Lint
[2020-06-02T18:44:16.553Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-02T18:44:16.635Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-02T18:44:16.724Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-02T18:44:16.813Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-02T18:44:16.897Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-02T18:44:16.974Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-02T18:44:17.055Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-02T18:44:17.134Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-02T18:44:17.231Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-02T18:44:17.319Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-02T18:44:17.406Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-02T18:44:17.498Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-02T18:44:17.581Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-02T18:44:17.659Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-02T18:44:17.738Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-02T18:44:17.818Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-02T18:44:17.897Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-02T18:44:17.983Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-02T18:44:18.061Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-02T18:44:18.136Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-02T18:44:18.222Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-02T18:44:18.324Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-02T18:44:18.421Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-02T18:44:18.514Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-02T18:44:18.592Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-02T18:44:18.670Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-oss
[2020-06-02T18:44:18.745Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-oss
[2020-06-02T18:44:18.825Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-02T18:44:18.909Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-02T18:44:18.992Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-06-02T18:44:19.070Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-06-02T18:44:19.148Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-06-02T18:44:19.240Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-02T18:44:19.321Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-06-02T18:44:19.399Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-06-02T18:44:19.479Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-06-02T18:44:19.556Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-06-02T18:44:19.634Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-06-02T18:44:19.709Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-06-02T18:44:19.785Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-06-02T18:44:19.859Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-06-02T18:44:19.935Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-06-02T18:44:20.011Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-02T18:44:20.090Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-02T18:44:20.452Z] + cat
[2020-06-02T18:44:20.452Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-02T18:44:20.452Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-02T18:44:28.620Z] runbld>>> runbld started
[2020-06-02T18:44:28.620Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-02T18:44:30.534Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18777' in order of occurrence in the config (last value wins).
[2020-06-02T18:44:31.494Z] runbld>>> Debug logging enabled.
[2020-06-02T18:44:31.494Z] runbld>>> Storing result
[2020-06-02T18:44:31.778Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-02T18:44:31.778Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602184431-7994F41C
[2020-06-02T18:44:31.778Z] runbld>>> Adding system facts.
[2020-06-02T18:44:32.722Z] runbld>>> Adding vcs info for the latest commit:  0ee7025fd2719b1bebcb13757a3dda7b0d8e39b4
[2020-06-02T18:44:32.983Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-02T18:44:32.983Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-02T18:44:32.983Z] Processing JUnit reports with runbld...
[2020-06-02T18:44:32.983Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-02T18:44:33.245Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-02T18:44:33.245Z] runbld>>> DURATION: 15ms
[2020-06-02T18:44:33.245Z] runbld>>> STDOUT: 40 bytes
[2020-06-02T18:44:33.245Z] runbld>>> STDERR: 49 bytes
[2020-06-02T18:44:33.245Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-02T18:44:33.245Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-02T18:44:34.630Z] runbld>>> Storing build metadata: 
[2020-06-02T18:44:34.630Z] runbld>>> Adding test report.
[2020-06-02T18:44:34.630Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-02T18:44:36.015Z] runbld>>> Found 114 test output files
[2020-06-02T18:44:36.276Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-02T18:44:36.276Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-02T18:44:36.536Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-02T18:44:36.536Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-02T18:44:36.797Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-02T18:44:36.797Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-02T18:44:36.798Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-02T18:44:36.798Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-02T18:44:38.713Z] runbld>>> Test output logs contained: Errors: 0 Failures: 6 Tests: 10689 Skipped: 1335
[2020-06-02T18:44:38.713Z] runbld>>> Storing result
[2020-06-02T18:44:38.713Z] runbld>>> FAILURES: 6
[2020-06-02T18:44:40.096Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-02T18:44:40.096Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602184431-7994F41C
[2020-06-02T18:44:40.096Z] runbld>>> Email notification disabled by environment variable.
[2020-06-02T18:44:40.096Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-02T18:44:45.597Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777
[2020-06-02T18:44:45.720Z] [INFO] getVaultSecret: Getting secrets
[2020-06-02T18:44:45.773Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-02T18:44:46.475Z] + chmod 755 generate-build-data.sh
[2020-06-02T18:44:46.475Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/14 ABORTED 7417069
[2020-06-02T18:44:46.475Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/14/steps/?limit=10000 -o steps-info.json
[2020-06-02T18:44:47.818Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/14/tests/?status=FAILED -o tests-errors.json

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well, as long as CI is happy.

@v1v
Copy link
Member Author

v1v commented Jun 3, 2020

jenkins run the tests please

@v1v
Copy link
Member Author

v1v commented Jun 3, 2020

I need to figure out what's going on but it seems the last successfully build was from 29thJune with commit a449455

The following commits are purely merge with master.

So, maybe #18835 could be the reason for the current builds getting stalled.

image

@@ -848,10 +862,27 @@ def mageTargetWin(String context, String directory, String target) {
}
}

def withBeatsEnv(boolean archive, Closure body) {
def getModulePattern(String toCompare) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this method seems processing the directory internally, I'd not delegate its call to the client code (the caller), instead calling it within the withBeatsEnv method.

As an example:

//...
    withBeatsEnv(archive: true, withModule: withModule, directory: directory) {
//...
    withBeatsEnvWin(withModule: withModule, directory: directory) {
//...
if (withModule) {
    modulePattern = args.containsKey('directory') ? getModulePattern(args.directory) : error('withBeatsEnv: directory parameter is required.')
  }
//...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, I'm not sure if I understood correctly, there is only one minor discrepancy with the directory. withBeatsEnv doesn't need the directory argument, and makeTarget does not have any directory at all but uses withBeatsEnv. I think we cannot move in that direction

@v1v
Copy link
Member Author

v1v commented Jun 4, 2020

I've found what's going on

18:49:50  + mage update build test
18:50:17  Generated fields.yml for auditbeat to /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/x-pack/auditbeat/fields.yml
18:50:17  >> Building auditbeat.yml for linux/amd64
...
18:59:55    Failed building wheel for ordered-set
20:28:26  ........Sending interrupt signal to process
20:28:31  Sending interrupt signal to process
20:28:42  Error: running "docker-compose -p auditbeat_8_0_0_f293d87ebe-snapshot run -e DOCKER_COMPOSE_PROJECT_NAME=auditbeat_8_0_0_f293d87ebe-snapshot -e BEAT_STRICT_PERMS=false -e STACK_ENVIRONMENT=snapshot -e TESTING_ENVIRONMENT=snapshot -e GOCACHE=/go/src/github.com/elastic/beats/build/docker-gocache -e EXEC_UID=1156 -e EXEC_GID=1157 -e GOFLAGS=-mod=vendor -e BEATS_INSIDE_INTEGRATION_TEST_ENV=true -e TEST_COVERAGE=true -e RACE_DETECTOR=true -e TEST_TAGS=null,oracle beat /go/src/github.com/elastic/beats/x-pack/auditbeat/build/mage-linux-amd64 pythonIntegTest" failed with exit code 143
20:28:42  script returned exit code 143

That's exactly the same error that happened in the master branch see build here

23:51:13  + mage update build test
23:51:40  Generated fields.yml for auditbeat to /var/lib/jenkins/workspace/Beats_beats-beats-mbp_master/src/github.com/elastic/beats/x-pack/auditbeat/fields.yml
23:51:40  >> Building auditbeat.yml for linux/amd64
23:51:40  >> Building auditbeat.reference.yml for linux/amd64
...
00:00:58    Failed building wheel for ordered-set
01:29:50  .....Sending interrupt signal to process
01:29:54  Sending interrupt signal to process
01:30:02  Error: running "docker-compose -p auditbeat_8_0_0_cf7b643bfd-snapshot run -e DOCKER_COMPOSE_PROJECT_NAME=auditbeat_8_0_0_cf7b643bfd-snapshot -e BEAT_STRICT_PERMS=false -e STACK_ENVIRONMENT=snapshot -e TESTING_ENVIRONMENT=snapshot -e GOCACHE=/go/src/github.com/elastic/beats/build/docker-gocache -e EXEC_UID=1156 -e EXEC_GID=1157 -e GOFLAGS=-mod=vendor -e BEATS_INSIDE_INTEGRATION_TEST_ENV=true -e TEST_COVERAGE=true -e RACE_DETECTOR=true -e TEST_TAGS=null,oracle beat /go/src/github.com/elastic/beats/x-pack/auditbeat/build/mage-linux-amd64 pythonIntegTest" failed with exit code 143
01:30:02  script returned exit code 143

@v1v
Copy link
Member Author

v1v commented Jun 4, 2020

@ycombinator @jsoriano , I've just raised #18977 , as far as I see the issue seems to be with something in the master branch rather than in this particular PR. What do you want me to do?

@jsoriano
Copy link
Member

jsoriano commented Jun 5, 2020

@ycombinator @jsoriano , I've just raised #18977 , as far as I see the issue seems to be with something in the master branch rather than in this particular PR. What do you want me to do?

Yeah, I don't think this issue is related to this PR, I guess that this can be merged.

@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by user Victor Martinez]

  • Start Time: 2020-06-05T11:44:34.289+0000

  • Duration: 74 min 4 sec

Test stats 🧪

Test Results
Failed 0
Passed 9208
Skipped 1569
Total 10777

Steps errors

Expand to view the steps failures

  • Name: Make -C libbeat testsuite
    • Description: make -C libbeat testsuite

    • Duration: 29 min 25 sec

    • Start Time: 2020-06-05T12:07:35.682+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-05T12:58:09.453Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-05T12:58:09.453Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-05T12:58:09.453Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-05T12:58:09.453Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-05T12:58:09.453Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-05T12:58:09.453Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-05T12:58:10.007Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-05T12:58:10.328Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-05T12:58:10.342Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Lint
[2020-06-05T12:58:10.431Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-06-05T12:58:10.510Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-05T12:58:10.592Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-05T12:58:10.674Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-05T12:58:10.754Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-06-05T12:58:10.836Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-05T12:58:10.919Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-06-05T12:58:11.020Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-05T12:58:11.242Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-06-05T12:58:11.426Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-05T12:58:11.600Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-06-05T12:58:11.836Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-05T12:58:11.995Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-05T12:58:12.074Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-06-05T12:58:12.160Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-05T12:58:12.243Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-05T12:58:12.323Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-05T12:58:12.400Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-05T12:58:12.478Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-05T12:58:12.563Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-05T12:58:12.642Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-06-05T12:58:12.720Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-05T12:58:12.797Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-05T12:58:12.878Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-06-05T12:58:12.966Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-06-05T12:58:13.049Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-05T12:58:13.133Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-05T12:58:13.211Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-05T12:58:13.293Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-05T12:58:13.372Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-05T12:58:13.451Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-05T12:58:13.529Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-05T12:58:13.605Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-05T12:58:13.683Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-05T12:58:13.760Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Libbeat-oss
[2020-06-05T12:58:13.838Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Filebeat-oss
[2020-06-05T12:58:13.914Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-05T12:58:13.991Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-05T12:58:14.069Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-05T12:58:14.157Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-05T12:58:14.240Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-06-05T12:58:14.318Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-06-05T12:58:14.395Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-05T12:58:14.761Z] + cat
[2020-06-05T12:58:14.761Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-05T12:58:14.761Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-05T12:58:21.360Z] runbld>>> runbld started
[2020-06-05T12:58:21.360Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-05T12:58:23.276Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18777' in order of occurrence in the config (last value wins).
[2020-06-05T12:58:24.220Z] runbld>>> Debug logging enabled.
[2020-06-05T12:58:24.221Z] runbld>>> Storing result
[2020-06-05T12:58:24.482Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-05T12:58:24.482Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200605125824-9A1905C0
[2020-06-05T12:58:24.482Z] runbld>>> Adding system facts.
[2020-06-05T12:58:25.427Z] runbld>>> Adding vcs info for the latest commit:  eadcff1ee7eca34d258ac6882de61e707a6faeca
[2020-06-05T12:58:25.690Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-05T12:58:25.690Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-05T12:58:25.690Z] Processing JUnit reports with runbld...
[2020-06-05T12:58:25.690Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-05T12:58:25.953Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-05T12:58:25.953Z] runbld>>> DURATION: 16ms
[2020-06-05T12:58:25.953Z] runbld>>> STDOUT: 40 bytes
[2020-06-05T12:58:25.953Z] runbld>>> STDERR: 49 bytes
[2020-06-05T12:58:25.953Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-05T12:58:25.953Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-05T12:58:27.342Z] runbld>>> Storing build metadata: 
[2020-06-05T12:58:27.342Z] runbld>>> Adding test report.
[2020-06-05T12:58:27.342Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats
[2020-06-05T12:58:28.730Z] runbld>>> Found 114 test output files
[2020-06-05T12:58:28.730Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-05T12:58:28.730Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-05T12:58:28.992Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-05T12:58:28.992Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-05T12:58:28.992Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-05T12:58:28.992Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-05T12:58:29.260Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-05T12:58:29.260Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-05T12:58:30.655Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 10627 Skipped: 1330
[2020-06-05T12:58:30.916Z] runbld>>> Storing result
[2020-06-05T12:58:30.916Z] runbld>>> FAILURES: 0
[2020-06-05T12:58:31.177Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-05T12:58:31.177Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200605125824-9A1905C0
[2020-06-05T12:58:31.177Z] runbld>>> Email notification disabled by environment variable.
[2020-06-05T12:58:31.177Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-05T12:58:37.253Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18777
[2020-06-05T12:58:37.503Z] [INFO] getVaultSecret: Getting secrets
[2020-06-05T12:58:37.557Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-05T12:58:38.322Z] + chmod 755 generate-build-data.sh
[2020-06-05T12:58:38.322Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/16 FAILURE 4443772
[2020-06-05T12:58:38.322Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/16/steps/?limit=10000 -o steps-info.json
[2020-06-05T12:58:39.666Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18777/runs/16/tests/?status=FAILED -o tests-errors.json

@v1v
Copy link
Member Author

v1v commented Jun 5, 2020

I'll merge it now as the latest build didn't fail for the above-mentioned error but it's not related with the changes in this PR.

@v1v v1v merged commit 823a846 into elastic:master Jun 5, 2020
@v1v v1v deleted the feature/module-at-stage-level branch June 5, 2020 13:00
v1v added a commit to v1v/beats that referenced this pull request Jun 5, 2020
@jsoriano
Copy link
Member

@v1v could this be backported to the 7.8 branch? it is also affected by this issue. Thanks!

@v1v
Copy link
Member Author

v1v commented Jun 12, 2020

Let me do it, for some reason I missed, although there is a dependency with #18835, so I'll backport it too otherwise the merge conflict might be a bit tedious

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.

[CI] Set MODULE per relevant stage
7 participants