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 #19032 to 7.8: Improve performance of PANW module dashboards #19060

Merged
merged 2 commits into from
Jun 9, 2020

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Jun 9, 2020

Cherry-pick of PR #19032 to 7.8 branch. Original message:

A saved search was using panw.panos: * as to filter for data from the
dataset, instead of the more efficient event.dataset: panw.panos.

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

Closes #19031

A saved search was using `panw.panos: *` as to filter for data from the
dataset, instead of the more efficient `event.dataset: panw.panos`.

(cherry picked from commit 2dad8db)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@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 Jun 9, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 9, 2020

❕ 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: [Pull request #19060 opened]

  • Reason: Aborted from #2

  • Start Time: 2020-06-09T08:08:53.135+0000

  • Duration: 45 min 0 sec

  • Commit: 47c8ee7

Test stats 🧪

Test Results
Failed 0
Passed 1680
Skipped 255
Total 1935

Log output

Expand to view the last 100 lines of log output

[2020-06-09T08:53:20.656Z] [success] 0.48% test_xpack_modules.XPackTest.test_fileset_file_106_aws: 1.8576s
[2020-06-09T08:53:20.656Z] [success] 0.48% test_xpack_modules.XPackTest.test_fileset_file_148_o365: 1.8567s
[2020-06-09T08:53:20.656Z] [success] 0.48% test_xpack_modules.XPackTest.test_fileset_file_041_zeek: 1.8566s
[2020-06-09T08:53:20.656Z] [success] 0.48% test_xpack_modules.XPackTest.test_fileset_file_077_aws: 1.8549s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_055_zeek: 1.8459s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_100_aws: 1.8442s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_057_zeek: 1.8436s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_098_aws: 1.8429s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_052_zeek: 1.8377s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_104_aws: 1.8369s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_046_zeek: 1.8352s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_062_zeek: 1.8300s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_053_zeek: 1.8290s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_086_aws: 1.8254s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_083_aws: 1.8250s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_116_aws: 1.8226s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_109_aws: 1.8184s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_103_aws: 1.8182s
[2020-06-09T08:53:20.656Z] [success] 0.47% test_xpack_modules.XPackTest.test_fileset_file_127_iptables: 1.8156s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_085_aws: 1.8100s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_119_aws: 1.8051s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_087_aws: 1.8037s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_110_aws: 1.8036s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_080_aws: 1.8015s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_078_aws: 1.8005s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_125_iptables: 1.7975s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_099_aws: 1.7960s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_097_aws: 1.7936s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_102_aws: 1.7921s
[2020-06-09T08:53:20.656Z] [success] 0.46% test_xpack_modules.XPackTest.test_fileset_file_105_aws: 1.7792s
[2020-06-09T08:53:20.656Z] ----------------------------------------------------------------------
[2020-06-09T08:53:20.656Z] Ran 156 tests in 389.742s
[2020-06-09T08:53:20.656Z] 
[2020-06-09T08:53:20.656Z] OK
[2020-06-09T08:53:20.656Z] >> python test: Integration Testing Complete
[2020-06-09T08:53:22.709Z] Recording test results
[2020-06-09T08:53:24.794Z] Stashed 4 file(s)
[2020-06-09T08:53:24.815Z] Archiving artifacts
[2020-06-09T08:53:25.716Z] + curl -sSLo codecov https://codecov.io/bash
[2020-06-09T08:53:25.977Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-09T08:53:25.977Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-09T08:53:25.977Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-09T08:53:28.998Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats
[2020-06-09T08:53:29.326Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-09T08:53:29.350Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats/Lint
[2020-06-09T08:53:29.575Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-09T08:53:29.723Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-09T08:53:30.157Z] + cat
[2020-06-09T08:53:30.157Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-09T08:53:30.157Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-09T08:53:38.333Z] runbld>>> runbld started
[2020-06-09T08:53:38.333Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-09T08:53:39.277Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19060' in order of occurrence in the config (last value wins).
[2020-06-09T08:53:40.660Z] runbld>>> Debug logging enabled.
[2020-06-09T08:53:40.660Z] runbld>>> Storing result
[2020-06-09T08:53:40.660Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-09T08:53:40.660Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200609085340-10EAA6FC
[2020-06-09T08:53:40.660Z] runbld>>> Adding system facts.
[2020-06-09T08:53:41.600Z] runbld>>> Adding vcs info for the latest commit:  47c8ee7cae95300465be76be3fc600da04cd9d86
[2020-06-09T08:53:41.861Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-09T08:53:41.861Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-09T08:53:41.861Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-09T08:53:41.861Z] Processing JUnit reports with runbld...
[2020-06-09T08:53:42.434Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-09T08:53:42.434Z] runbld>>> DURATION: 21ms
[2020-06-09T08:53:42.434Z] runbld>>> STDOUT: 40 bytes
[2020-06-09T08:53:42.434Z] runbld>>> STDERR: 49 bytes
[2020-06-09T08:53:42.434Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-09T08:53:42.434Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats
[2020-06-09T08:53:43.810Z] runbld>>> Storing build metadata: 
[2020-06-09T08:53:43.810Z] runbld>>> Adding test report.
[2020-06-09T08:53:43.810Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060/src/github.com/elastic/beats
[2020-06-09T08:53:44.747Z] runbld>>> Found 6 test output files
[2020-06-09T08:53:45.316Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 1935 Skipped: 240
[2020-06-09T08:53:45.575Z] runbld>>> Storing result
[2020-06-09T08:53:45.575Z] runbld>>> FAILURES: 0
[2020-06-09T08:53:45.834Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-09T08:53:45.834Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200609085340-10EAA6FC
[2020-06-09T08:53:45.834Z] runbld>>> Email notification disabled by environment variable.
[2020-06-09T08:53:45.834Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-09T08:53:51.664Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19060
[2020-06-09T08:53:52.116Z] [INFO] getVaultSecret: Getting secrets
[2020-06-09T08:53:52.285Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-09T08:53:53.639Z] + chmod 755 generate-build-data.sh
[2020-06-09T08:53:53.639Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19060/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19060/runs/1 ABORTED 2700231
[2020-06-09T08:53:53.639Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19060/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-09T08:53:54.189Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19060/runs/1/tests/?status=FAILED -o tests-errors.json

@adriansr adriansr merged commit 7eddfae into elastic:7.8 Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants